Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
languages /
classes /
Delete
Unzip
Name
Size
Permission
Date
Action
LanguageAm.php
404
B
-rw-r--r--
2011-05-29 17:03
LanguageAr.php
1.45
KB
-rw-r--r--
2016-11-28 20:20
LanguageAz.php
1.14
KB
-rw-r--r--
2016-11-28 20:20
LanguageBe.php
1.17
KB
-rw-r--r--
2011-05-29 17:20
LanguageBe_tarask.php
2.39
KB
-rw-r--r--
2016-11-28 20:20
LanguageBg.php
1.3
KB
-rw-r--r--
2016-11-28 20:20
LanguageBh.php
412
B
-rw-r--r--
2011-05-29 17:53
LanguageBs.php
1.63
KB
-rw-r--r--
2016-11-28 20:20
LanguageCs.php
690
B
-rw-r--r--
2011-05-29 17:20
LanguageCu.php
2.16
KB
-rw-r--r--
2016-11-28 20:20
LanguageCy.php
683
B
-rw-r--r--
2011-05-29 17:20
LanguageDsb.php
1.59
KB
-rw-r--r--
2016-11-28 20:20
LanguageEo.php
3.8
KB
-rw-r--r--
2011-06-17 18:05
LanguageEs.php
1.17
KB
-rw-r--r--
2016-11-28 20:20
LanguageEt.php
1.21
KB
-rw-r--r--
2016-11-28 20:20
LanguageFi.php
4.57
KB
-rw-r--r--
2016-11-28 20:20
LanguageFr.php
413
B
-rw-r--r--
2011-05-29 17:03
LanguageGa.php
1.73
KB
-rw-r--r--
2016-11-28 20:20
LanguageGan.php
2.76
KB
-rw-r--r--
2016-11-28 20:20
LanguageGd.php
1
KB
-rw-r--r--
2011-05-29 17:03
LanguageGv.php
544
B
-rw-r--r--
2011-05-29 17:20
LanguageHe.php
1.9
KB
-rw-r--r--
2016-11-28 20:20
LanguageHi.php
408
B
-rw-r--r--
2011-05-29 17:53
LanguageHr.php
755
B
-rw-r--r--
2011-05-29 17:20
LanguageHsb.php
1.58
KB
-rw-r--r--
2016-11-28 20:20
LanguageHu.php
1.36
KB
-rw-r--r--
2016-11-28 20:20
LanguageHy.php
2.77
KB
-rw-r--r--
2016-11-28 20:20
LanguageIu.deps.php
394
B
-rw-r--r--
2011-04-21 23:21
LanguageIu.php
8.02
KB
-rw-r--r--
2016-11-28 20:20
LanguageJa.php
1.83
KB
-rw-r--r--
2016-11-28 20:20
LanguageKaa.php
2.34
KB
-rw-r--r--
2016-11-28 20:20
LanguageKk.deps.php
461
B
-rw-r--r--
2010-07-29 11:43
LanguageKk.php
14.99
KB
-rw-r--r--
2016-11-28 20:20
LanguageKk_cyrl.php
26.6
KB
-rw-r--r--
2016-11-28 20:20
LanguageKm.php
1.2
KB
-rw-r--r--
2016-11-28 20:20
LanguageKsh.php
6.53
KB
-rw-r--r--
2016-11-28 20:20
LanguageKu.deps.php
459
B
-rw-r--r--
2010-07-29 11:43
LanguageKu.php
6.59
KB
-rw-r--r--
2016-11-28 20:20
LanguageKu_ku.php
1.3
KB
-rw-r--r--
2016-11-28 20:20
LanguageLa.php
3.41
KB
-rw-r--r--
2016-11-28 20:20
LanguageLn.php
492
B
-rw-r--r--
2011-05-29 17:53
LanguageLt.php
802
B
-rw-r--r--
2011-05-29 17:20
LanguageLv.php
997
B
-rw-r--r--
2011-05-18 00:03
LanguageMg.php
401
B
-rw-r--r--
2011-05-29 17:03
LanguageMk.php
556
B
-rw-r--r--
2011-05-29 17:53
LanguageMl.php
1.63
KB
-rw-r--r--
2016-11-28 20:20
LanguageMo.php
604
B
-rw-r--r--
2011-05-29 17:20
LanguageMt.php
564
B
-rw-r--r--
2011-05-29 17:20
LanguageMy.php
1.18
KB
-rw-r--r--
2016-11-28 20:20
LanguageNso.php
416
B
-rw-r--r--
2011-05-29 17:03
LanguageOs.php
3.67
KB
-rw-r--r--
2016-11-28 20:20
LanguagePl.php
1.16
KB
-rw-r--r--
2016-11-28 20:20
LanguageQqx.php
1.28
KB
-rw-r--r--
2016-11-28 20:20
LanguageRo.php
587
B
-rw-r--r--
2011-05-29 17:21
LanguageRu.php
2.35
KB
-rw-r--r--
2016-11-28 20:20
LanguageSe.php
569
B
-rw-r--r--
2011-05-29 17:21
LanguageSgs.php
641
B
-rw-r--r--
2011-06-11 00:33
LanguageSh.php
948
B
-rw-r--r--
2011-05-29 17:21
LanguageShi.php
5.32
KB
-rw-r--r--
2016-11-28 20:20
LanguageSk.php
481
B
-rw-r--r--
2011-05-29 17:21
LanguageSl.php
1.62
KB
-rw-r--r--
2016-11-28 20:20
LanguageSma.php
574
B
-rw-r--r--
2011-07-16 13:40
LanguageSr.deps.php
459
B
-rw-r--r--
2010-07-29 11:43
LanguageSr.php
6.76
KB
-rw-r--r--
2016-11-28 20:20
LanguageSr_ec.php
571
B
-rw-r--r--
2011-05-29 17:21
LanguageSr_el.deps.php
394
B
-rw-r--r--
2010-07-29 11:43
LanguageSr_el.php
568
B
-rw-r--r--
2011-05-29 17:21
LanguageTg.php
2.46
KB
-rw-r--r--
2016-11-28 20:20
LanguageTi.php
405
B
-rw-r--r--
2011-05-29 17:59
LanguageTl.php
399
B
-rw-r--r--
2011-05-29 17:59
LanguageTr.php
1.62
KB
-rw-r--r--
2016-11-28 20:20
LanguageTyv.php
8.76
KB
-rw-r--r--
2016-11-28 20:20
LanguageUk.php
2.75
KB
-rw-r--r--
2016-11-28 20:20
LanguageUz.php
4.17
KB
-rw-r--r--
2016-11-28 20:20
LanguageWa.php
3.04
KB
-rw-r--r--
2016-11-28 20:20
LanguageYue.php
1.58
KB
-rw-r--r--
2016-11-28 20:20
LanguageZh.deps.php
461
B
-rw-r--r--
2010-07-29 11:43
LanguageZh.php
5.74
KB
-rw-r--r--
2016-11-28 20:20
LanguageZh_hans.php
2.64
KB
-rw-r--r--
2016-11-28 20:20
Save
Rename
<?php /** * Serbian (Српски / Srpski) specific code. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * http://www.gnu.org/copyleft/gpl.html * * @file * @ingroup Language */ /** * There are two levels of conversion for Serbian: the script level * (Cyrillics <-> Latin), and the variant level (ekavian * <->iyekavian). The two are orthogonal. So we really only need two * dictionaries: one for Cyrillics and Latin, and one for ekavian and * iyekavian. * * @ingroup Language */ class SrConverter extends LanguageConverter { public $mToLatin = [ 'а' => 'a', 'б' => 'b', 'в' => 'v', 'г' => 'g', 'д' => 'd', 'ђ' => 'đ', 'е' => 'e', 'ж' => 'ž', 'з' => 'z', 'и' => 'i', 'ј' => 'j', 'к' => 'k', 'л' => 'l', 'љ' => 'lj', 'м' => 'm', 'н' => 'n', 'њ' => 'nj', 'о' => 'o', 'п' => 'p', 'р' => 'r', 'с' => 's', 'т' => 't', 'ћ' => 'ć', 'у' => 'u', 'ф' => 'f', 'х' => 'h', 'ц' => 'c', 'ч' => 'č', 'џ' => 'dž', 'ш' => 'š', 'А' => 'A', 'Б' => 'B', 'В' => 'V', 'Г' => 'G', 'Д' => 'D', 'Ђ' => 'Đ', 'Е' => 'E', 'Ж' => 'Ž', 'З' => 'Z', 'И' => 'I', 'Ј' => 'J', 'К' => 'K', 'Л' => 'L', 'Љ' => 'Lj', 'М' => 'M', 'Н' => 'N', 'Њ' => 'Nj', 'О' => 'O', 'П' => 'P', 'Р' => 'R', 'С' => 'S', 'Т' => 'T', 'Ћ' => 'Ć', 'У' => 'U', 'Ф' => 'F', 'Х' => 'H', 'Ц' => 'C', 'Ч' => 'Č', 'Џ' => 'Dž', 'Ш' => 'Š', ]; public $mToCyrillics = [ 'a' => 'а', 'b' => 'б', 'c' => 'ц', 'č' => 'ч', 'ć' => 'ћ', 'd' => 'д', 'dž' => 'џ', 'đ' => 'ђ', 'e' => 'е', 'f' => 'ф', 'g' => 'г', 'h' => 'х', 'i' => 'и', 'j' => 'ј', 'k' => 'к', 'l' => 'л', 'lj' => 'љ', 'm' => 'м', 'n' => 'н', 'nj' => 'њ', 'o' => 'о', 'p' => 'п', 'r' => 'р', 's' => 'с', 'š' => 'ш', 't' => 'т', 'u' => 'у', 'v' => 'в', 'z' => 'з', 'ž' => 'ж', 'A' => 'А', 'B' => 'Б', 'C' => 'Ц', 'Č' => 'Ч', 'Ć' => 'Ћ', 'D' => 'Д', 'Dž' => 'Џ', 'Đ' => 'Ђ', 'E' => 'Е', 'F' => 'Ф', 'G' => 'Г', 'H' => 'Х', 'I' => 'И', 'J' => 'Ј', 'K' => 'К', 'L' => 'Л', 'LJ' => 'Љ', 'M' => 'М', 'N' => 'Н', 'NJ' => 'Њ', 'O' => 'О', 'P' => 'П', 'R' => 'Р', 'S' => 'С', 'Š' => 'Ш', 'T' => 'Т', 'U' => 'У', 'V' => 'В', 'Z' => 'З', 'Ž' => 'Ж', 'DŽ' => 'Џ', 'd!ž' => 'дж', 'D!ž' => 'Дж', 'D!Ž' => 'ДЖ', 'Lj' => 'Љ', 'l!j' => 'лј', 'L!j' => 'Лј', 'L!J' => 'ЛЈ', 'Nj' => 'Њ', 'n!j' => 'нј', 'N!j' => 'Нј', 'N!J' => 'НЈ' ]; function loadDefaultTables() { $this->mTables = [ 'sr-ec' => new ReplacementArray( $this->mToCyrillics ), 'sr-el' => new ReplacementArray( $this->mToLatin ), 'sr' => new ReplacementArray() ]; } /** * rules should be defined as -{ekavian | iyekavian-} -or- * -{code:text | code:text | ...}- * * update: delete all rule parsing because it's not used * currently, and just produces a couple of bugs * * @param string $rule * @param array $flags * @return array */ function parseManualRule( $rule, $flags = [] ) { if ( in_array( 'T', $flags ) ) { return parent::parseManualRule( $rule, $flags ); } $carray = []; // otherwise ignore all formatting foreach ( $this->mVariants as $v ) { $carray[$v] = $rule; } return $carray; } /** * A function wrapper: * - if there is no selected variant, leave the link * names as they were * - do not try to find variants for usernames * * @param string &$link * @param Title &$nt * @param bool $ignoreOtherCond */ function findVariantLink( &$link, &$nt, $ignoreOtherCond = false ) { // check for user namespace if ( is_object( $nt ) ) { $ns = $nt->getNamespace(); if ( $ns == NS_USER || $ns == NS_USER_TALK ) { return; } } $oldlink = $link; parent::findVariantLink( $link, $nt, $ignoreOtherCond ); if ( $this->getPreferredVariant() == $this->mMainLanguageCode ) { $link = $oldlink; } } /** * It translates text into variant, specials: * - ommiting roman numbers * * @param string $text * @param string $toVariant * * @throws MWException * @return string */ function translate( $text, $toVariant ) { $breaks = '[^\w\x80-\xff]'; // regexp for roman numbers $roman = 'M{0,4}(CM|CD|D?C{0,3})(XC|XL|L?X{0,3})(IX|IV|V?I{0,3})'; $reg = '/^' . $roman . '$|^' . $roman . $breaks . '|' . $breaks . $roman . '$|' . $breaks . $roman . $breaks . '/'; $matches = preg_split( $reg, $text, -1, PREG_SPLIT_OFFSET_CAPTURE ); $m = array_shift( $matches ); $this->loadTables(); if ( !isset( $this->mTables[$toVariant] ) ) { throw new MWException( "Broken variant table: " . implode( ',', array_keys( $this->mTables ) ) ); } $ret = $this->mTables[$toVariant]->replace( $m[0] ); $mstart = $m[1] + strlen( $m[0] ); foreach ( $matches as $m ) { $ret .= substr( $text, $mstart, $m[1] -$mstart ); $ret .= parent::translate( $m[0], $toVariant ); $mstart = $m[1] + strlen( $m[0] ); } return $ret; } /** * Guess if a text is written in Cyrillic or Latin. * Overrides LanguageConverter::guessVariant() * * @param string $text The text to be checked * @param string $variant Language code of the variant to be checked for * @return bool True if $text appears to be written in $variant * * @author Nikola Smolenski <smolensk@eunet.rs> * @since 1.19 */ public function guessVariant( $text, $variant ) { $numCyrillic = preg_match_all( "/[шђчћжШЂЧЋЖ]/u", $text, $dummy ); $numLatin = preg_match_all( "/[šđč枊ĐČĆŽ]/u", $text, $dummy ); if ( $variant == 'sr-ec' ) { return $numCyrillic > $numLatin; } elseif ( $variant == 'sr-el' ) { return $numLatin > $numCyrillic; } else { return false; } } } /** * Serbian (Српски / Srpski) * * @ingroup Language */ class LanguageSr extends Language { function __construct() { parent::__construct(); $variants = [ 'sr', 'sr-ec', 'sr-el' ]; $variantfallbacks = [ 'sr' => 'sr-ec', 'sr-ec' => 'sr', 'sr-el' => 'sr', ]; $flags = [ 'S' => 'S', 'писмо' => 'S', 'pismo' => 'S', 'W' => 'W', 'реч' => 'W', 'reč' => 'W', 'ријеч' => 'W', 'riječ' => 'W' ]; $this->mConverter = new SrConverter( $this, 'sr', $variants, $variantfallbacks, $flags ); } }