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 /** * Ripuarian (Ripoarėsh) 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 * @author Purodha Blissenbach * @ingroup Language */ /** * Ripuarian (Ripoarėsh) * * @ingroup Language */ class LanguageKsh extends Language { private static $familygender = [ // Do not add male wiki families, since that's the default. // No need add neuter wikis having names ending in -wiki. 'wikipedia' => 'f', 'wikiversity' => 'f', 'wiktionary' => 'n', 'wikibooks' => 'n', 'wikiquote' => 'n', 'wikisource' => 'n', 'wikitravel' => 'n', 'wikia' => 'f', 'translatewiki.net' => 'n', ]; /** * Convert from the nominative form of a noun to other cases. * Invoked with {{GRAMMAR:case|word}} inside messages. * * case is a sequence of words, each of which is case insensitive. * Between words, there must be at least one space character. * Only the 1st character of each word is considered. * Word order is irrelevant. * * Possible values specifying the grammatical case are: * 1, Nominative * 2, Genitive * 3, Dative * 4, Accusative, -omitted- * * Possible values specifying the article type are: * Betoont focussed or stressed article * -omitted- unstressed or unfocussed article * * Possible values for the type of genitive are: * Sing, Iehr prepositioned genitive = possessive dative * Vun, Fon, -omitted- postpositioned genitive * = preposition "vun" with dative * * Values of case overrides & prepositions, in the order of preceedence: * Sing, Iehr possessive dative = prepositioned genitive * Vun, Fon preposition "vun" with dative * = postpositioned genitive * En, em preposition "en" with dative * * Values for object gender specifiers of the possessive dative, or * prepositioned genitive, evaluated with "Sing, Iehr" of above only: * Male a singular male object follows * -omitted- a non-male or plural object follows * * We currently handle definite articles of the singular only. * There is a full set of test cases at: * http://translatewiki.net/wiki/Portal:Ksh#GRAMMAR_Pr%C3%B6%C3%B6fe * Contents of the leftmost table column can be copied and pasted as * "case" values. * * @param string $word * @param string $case * * @return string */ function convertGrammar( $word, $case ) { $lord = strtolower( $word ); $gender = 'm'; // Nuutnaarel // default if ( preg_match( '/wiki$/', $lord ) ) { $gender = 'n'; // Dat xyz-wiki } if ( isset( self::$familygender[$lord] ) ) { $gender = self::$familygender[$lord]; } $case = ' ' . strtolower( $case ); if ( preg_match( '/ [is]/', $case ) ) { # däm WikiMaatplaz singe, dä Wikipeedija iere, däm Wikiwööterbooch singe # dem/em WikiMaatplaz singe, de Wikipeedija iere, dem/em Wikiwööterbooch singe # däm WikiMaatplaz sing, dä Wikipeedija ier, däm Wikiwööterbooch sing # dem/em WikiMaatplaz sing, de Wikipeedija ier, dem/em Wikiwööterbooch sing $word = ( preg_match( '/ b/', $case ) ? ( $gender == 'f' ? 'dä' : 'däm' ) : ( $gender == 'f' ? 'de' : 'dem' ) ) . ' ' . $word . ' ' . ( $gender == 'f' ? 'ier' : 'sing' ) . ( preg_match( '/ m/', $case ) ? 'e' : '' ); } elseif ( preg_match( '/ e/', $case ) ) { # en dämm WikiMaatPlaz, en dä Wikipeedija, en dämm Wikiwööterbooch # em WikiMaatplaz, en de Wikipeedija, em Wikiwööterbooch if ( preg_match( '/ b/', $case ) ) { $word = 'en ' . ( $gender == 'f' ? 'dä' : 'däm' ) . ' ' . $word; } else { $word = ( $gender == 'f' ? 'en de' : 'em' ) . ' ' . $word; } } elseif ( preg_match( '/ [fv]/', $case ) || preg_match( '/ [2jg]/', $case ) ) { # vun däm WikiMaatplaz, vun dä Wikipeedija, vun däm Wikiwööterbooch # vum WikiMaatplaz, vun de Wikipeedija, vum Wikiwööterbooch if ( preg_match( '/ b/', $case ) ) { $word = 'vun ' . ( $gender == 'f' ? 'dä' : 'däm' ) . ' ' . $word; } else { $word = ( $gender == 'f' ? 'vun de' : 'vum' ) . ' ' . $word; } } elseif ( preg_match( '/ [3d]/', $case ) ) { # dämm WikiMaatPlaz, dä Wikipeedija, dämm Wikiwööterbooch # dem/em WikiMaatplaz, de Wikipeedija, dem/em Wikiwööterbooch if ( preg_match( '/ b/', $case ) ) { $word = ( $gender == 'f' ? 'dää' : 'dämm' ) . ' ' . $word; } else { $word = ( $gender == 'f' ? 'de' : 'dem' ) . ' ' . $word; } } else { # dä WikiMaatPlaz, di Wikipeedija, dat Wikiwööterbooch # der WikiMaatplaz, de Wikipeedija, et Wikiwööterbooch if ( preg_match( '/ b/', $case ) ) { switch ( $gender ) { case 'm': $lord = 'dä'; break; case 'f': $lord = 'di'; break; default: $lord = 'dat'; } } else { switch ( $gender ) { case 'm': $lord = 'der'; break; case 'f': $lord = 'de'; break; default: $lord = 'et'; } } $word = $lord . ' ' . $word; } return $word; } /** * Avoid grouping whole numbers between 0 to 9999 * * @param string $_ * * @return string */ public function commafy( $_ ) { if ( !preg_match( '/^\d{1,4}$/', $_ ) ) { return strrev( (string)preg_replace( '/(\d{3})(?=\d)(?!\d*\.)/', '$1,', strrev( $_ ) ) ); } else { return $_; } } /** * Handle cases of (1, other, 0) or (1, other) * * @param int $count * @param array $forms * * @return string */ function convertPlural( $count, $forms ) { $forms = $this->handleExplicitPluralForms( $count, $forms ); if ( is_string( $forms ) ) { return $forms; } if ( !count( $forms ) ) { return ''; } $forms = $this->preConvertPlural( $forms, 3 ); if ( $count == 1 ) { return $forms[0]; } elseif ( $count == 0 ) { return $forms[2]; } else { return $forms[1]; } } }