diff options
Diffstat (limited to 'extensions')
2132 files changed, 28657 insertions, 27411 deletions
diff --git a/extensions/Cite/Cite.i18n.php b/extensions/Cite/Cite.i18n.php deleted file mode 100644 index 79601ad1..00000000 --- a/extensions/Cite/Cite.i18n.php +++ /dev/null @@ -1,35 +0,0 @@ -<?php -/** - * This is a backwards-compatibility shim, generated by: - * https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/maintenance%2FgenerateJsonI18n.php - * - * Beginning with MediaWiki 1.23, translation strings are stored in json files, - * and the EXTENSION.i18n.php file only exists to provide compatibility with - * older releases of MediaWiki. For more information about this migration, see: - * https://www.mediawiki.org/wiki/Requests_for_comment/Localisation_format - * - * This shim maintains compatibility back to MediaWiki 1.17. - */ -$messages = array(); -if ( !function_exists( 'wfJsonI18nShim857dcab70cc9660a' ) ) { - function wfJsonI18nShim857dcab70cc9660a( $cache, $code, &$cachedData ) { - $codeSequence = array_merge( array( $code ), $cachedData['fallbackSequence'] ); - foreach ( $codeSequence as $csCode ) { - $fileName = dirname( __FILE__ ) . "/i18n/core/$csCode.json"; - if ( is_readable( $fileName ) ) { - $data = FormatJson::decode( file_get_contents( $fileName ), true ); - foreach ( array_keys( $data ) as $key ) { - if ( $key === '' || $key[0] === '@' ) { - unset( $data[$key] ); - } - } - $cachedData['messages'] = array_merge( $data, $cachedData['messages'] ); - } - - $cachedData['deps'][] = new FileDependency( $fileName ); - } - return true; - } - - $GLOBALS['wgHooks']['LocalisationCacheRecache'][] = 'wfJsonI18nShim857dcab70cc9660a'; -} diff --git a/extensions/Cite/Cite.php b/extensions/Cite/Cite.php index bb8ece86..bbf26e46 100644 --- a/extensions/Cite/Cite.php +++ b/extensions/Cite/Cite.php @@ -1,89 +1,14 @@ <?php -if ( ! defined( 'MEDIAWIKI' ) ) - die(); -/**#@+ - * A parser extension that adds two tags, <ref> and <references> for adding - * citations to pages - * - * @file - * @ingroup Extensions - * - * @link http://www.mediawiki.org/wiki/Extension:Cite/Cite.php Documentation - * - * @bug 4579 - * - * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> - * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later - */ -$wgHooks['ParserFirstCallInit'][] = 'wfCite'; - -$wgExtensionCredits['parserhook'][] = array( - 'path' => __FILE__, - 'name' => 'Cite', - 'author' => array( - 'Ævar Arnfjörð Bjarmason', - 'Andrew Garrett', - 'Brion Vibber', - 'Marius Hoch', - 'Steve Sanbeg' - ), - 'descriptionmsg' => 'cite-desc', - 'url' => 'https://www.mediawiki.org/wiki/Extension:Cite/Cite.php', - 'license-name' => 'GPLv2', -); - -$wgParserTestFiles[] = __DIR__ . "/citeParserTests.txt"; -$wgMessagesDirs['Cite'] = __DIR__ . '/i18n/core'; -$wgExtensionMessagesFiles['Cite'] = __DIR__ . "/Cite.i18n.php"; -$wgAutoloadClasses['Cite'] = __DIR__ . "/Cite_body.php"; -$wgSpecialPageGroups['Cite'] = 'pagetools'; - -define( 'CITE_DEFAULT_GROUP', '' ); -/** - * The emergency shut-off switch. Override in local settings to disable - * groups; or remove all references from this file to enable unconditionally - */ -$wgAllowCiteGroups = true; - -/** - * An emergency optimisation measure for caching cite <references /> output. - */ -$wgCiteCacheReferences = false; - -/** - * Performs the hook registration. - * Note that several extensions (and even core!) try to detect if Cite is - * installed by looking for wfCite(). - * - * @param $parser Parser - * - * @return bool - */ -function wfCite( $parser ) { - return Cite::setHooks( $parser ); +if ( function_exists( 'wfLoadExtension' ) ) { + wfLoadExtension( 'Cite' ); + // Keep i18n globals so mergeMessageFileList.php doesn't break + $wgMessagesDirs['Cite'] = __DIR__ . '/i18n'; + /* wfWarn( + 'Deprecated PHP entry point used for Cite extension. Please use wfLoadExtension instead, ' . + 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' + ); */ + return true; +} else { + die( 'This version of the Cite extension requires MediaWiki 1.25+' ); } - -// Resources -$citeResourceTemplate = array( - 'localBasePath' => __DIR__ . '/modules', - 'remoteExtPath' => 'Cite/modules' -); - -$wgResourceModules['ext.cite'] = $citeResourceTemplate + array( - 'scripts' => 'ext.cite.js', - 'styles' => 'ext.cite.css', - 'messages' => array( - 'cite_references_link_accessibility_label', - 'cite_references_link_many_accessibility_label', - ), -); - -/* Add RTL fix for the cite <sup> elements */ -$wgResourceModules['ext.rtlcite'] = $citeResourceTemplate + array( - 'styles' => 'ext.rtlcite.css', - 'position' => 'top', -); - -/**#@-*/ diff --git a/extensions/Cite/Cite_body.php b/extensions/Cite/Cite_body.php index 496e32d8..6072cdfc 100644 --- a/extensions/Cite/Cite_body.php +++ b/extensions/Cite/Cite_body.php @@ -17,7 +17,17 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later */ +/** + * WARNING: MediaWiki core hardcodes this class name to check if the + * Cite extension is installed. See T89151. + */ class Cite { + + /** + * @todo document + */ + const DEFAULT_GROUP = ''; + /**#@+ * @access private */ @@ -158,19 +168,24 @@ class Cite { function ref( $str, $argv, $parser, $frame ) { if ( $this->mInCite ) { return htmlspecialchars( "<ref>$str</ref>" ); - } else { - $this->mCallCnt++; - $this->mInCite = true; - $ret = $this->guardedRef( $str, $argv, $parser ); - $this->mInCite = false; - $parserOutput = $parser->getOutput(); - $parserOutput->addModules( 'ext.cite' ); - $parserOutput->addModuleStyles( 'ext.rtlcite' ); - if ( is_callable( array( $frame, 'setVolatile' ) ) ) { - $frame->setVolatile(); - } - return $ret; } + + $this->mCallCnt++; + $this->mInCite = true; + + $ret = $this->guardedRef( $str, $argv, $parser ); + + $this->mInCite = false; + + $parserOutput = $parser->getOutput(); + $parserOutput->addModules( 'ext.cite' ); + $parserOutput->addModuleStyles( 'ext.rtlcite' ); + + if ( is_callable( array( $frame, 'setVolatile' ) ) ) { + $frame->setVolatile(); + } + + return $ret; } /** @@ -180,7 +195,7 @@ class Cite { * @param $default_group string * @return string */ - function guardedRef( $str, $argv, $parser, $default_group = CITE_DEFAULT_GROUP ) { + function guardedRef( $str, $argv, $parser, $default_group = self::DEFAULT_GROUP ) { $this->mParser = $parser; # The key here is the "name" attribute. @@ -296,7 +311,7 @@ class Cite { # Not clear how we could get here, but something is probably # wrong with the types. Let's fail fast. - throw new MWException( 'Invalid $str and/or $key: ' . serialize( array( $str, $key ) ) ); + throw new Exception( 'Invalid $str and/or $key: ' . serialize( array( $str, $key ) ) ); } /** @@ -386,18 +401,19 @@ class Cite { $this->mRefs[$group][$follow]['text'] = $this->mRefs[$group][$follow]['text'] . ' ' . $str; } else { // insert part of note at the beginning of the group - for ( $k = 0 ; $k < count( $this->mRefs[$group] ) ; $k++ ) { - if ( $this->mRefs[$group][$k]['follow'] == null ) { + $groupsCount = count( $this->mRefs[$group] ); + for ( $k = 0; $k < $groupsCount; $k++ ) { + if ( !isset( $this->mRefs[$group][$k]['follow'] ) ) { break; } } array_splice( $this->mRefs[$group], $k, 0, - array( array( 'count' => - 1, - 'text' => $str, - 'key' => ++$this->mOutCnt , - 'follow' => $follow ) ) ); + array( array( 'count' => - 1, + 'text' => $str, + 'key' => ++$this->mOutCnt , + 'follow' => $follow ) ) ); array_splice( $this->mRefCallStack, $k, 0, - array( array( 'new', $call, $str, $key, $group, $this->mOutCnt ) ) ); + array( array( 'new', $call, $str, $key, $group, $this->mOutCnt ) ) ); } // return an empty string : this is not a reference return ''; @@ -450,7 +466,7 @@ class Cite { ); } } else { - throw new MWException( 'Invalid stack key: ' . serialize( $key ) ); + throw new Exception( 'Invalid stack key: ' . serialize( $key ) ); } } @@ -556,7 +572,7 @@ class Cite { * @param $group string * @return string */ - function guardedReferences( $str, $argv, $parser, $group = CITE_DEFAULT_GROUP ) { + function guardedReferences( $str, $argv, $parser, $group = self::DEFAULT_GROUP ) { global $wgAllowCiteGroups; $this->mParser = $parser; @@ -635,7 +651,6 @@ class Cite { return ''; } - wfProfileIn( __METHOD__ ); wfProfileIn( __METHOD__ . '-entries' ); $ent = array(); foreach ( $this->mRefs[$group] as $k => $v ) { @@ -646,7 +661,8 @@ class Cite { $suffix = wfMessage( 'cite_references_suffix' )->inContentLanguage()->plain(); $content = implode( "\n", $ent ); - // Prepare the parser input. We add new lines between the pieces to avoid a confused tidy (bug 13073) + // Prepare the parser input. + // We add new lines between the pieces to avoid a confused tidy (bug 13073). $parserInput = $prefix . "\n" . $content . "\n" . $suffix; // Let's try to cache it. @@ -679,8 +695,6 @@ class Cite { $ret = $this->mParser->unserializeHalfParsedText( $data ); } - wfProfileOut( __METHOD__ ); - // done, clean up so we can reuse the group unset( $this->mRefs[$group] ); unset( $this->mGroupCnt[$group] ); @@ -713,7 +727,7 @@ class Cite { $this->referencesKey( $val['follow'] ), $text )->inContentLanguage()->plain(); - } elseif ( $val['text'] == '' ) { + } elseif ( !isset( $val['text'] ) ) { return wfMessage( 'cite_references_link_one', $this->referencesKey( $key ), @@ -772,7 +786,7 @@ class Cite { * @return String */ function referenceText( $key, $text ) { - if ( $text == '' ) { + if ( !isset( $text ) || $text === '' ) { return $this->error( 'cite_error_references_no_text', $key, 'noparse' ); } return '<span class="reference-text">' . rtrim( $text, "\n" ) . "</span>\n"; @@ -921,7 +935,7 @@ class Cite { $this->refKey( $key, $count ), $this->referencesKey( $key . $subkey ), $this->getLinkLabel( $label, $group, - ( ( $group == CITE_DEFAULT_GROUP ) ? '' : "$group " ) . $wgContLang->formatNum( $label ) ) + ( ( $group == self::DEFAULT_GROUP ) ? '' : "$group " ) . $wgContLang->formatNum( $label ) ) )->inContentLanguage()->plain() ); } @@ -959,11 +973,9 @@ class Cite { * arbitrary number of tokens separated by [\t\n ] */ function genBacklinkLabels() { - wfProfileIn( __METHOD__ ); $text = wfMessage( 'cite_references_link_many_format_backlink_labels' ) ->inContentLanguage()->plain(); $this->mBacklinkLabels = preg_split( '#[\n\t ]#', $text ); - wfProfileOut( __METHOD__ ); } /** @@ -975,14 +987,12 @@ class Cite { * @param $message */ function genLinkLabels( $group, $message ) { - wfProfileIn( __METHOD__ ); $text = false; $msg = wfMessage( $message )->inContentLanguage(); if ( $msg->exists() ) { $text = $msg->plain(); } - $this->mLinkLabels[$group] = ( $text == '' ) ? false : preg_split( '#[\n\t ]#', $text ); - wfProfileOut( __METHOD__ ); + $this->mLinkLabels[$group] = ( !$text ) ? false : preg_split( '#[\n\t ]#', $text ); } /** @@ -1027,8 +1037,8 @@ class Cite { } $parser->extCite = clone $this; - $parser->setHook( 'ref' , array( $parser->extCite, 'ref' ) ); - $parser->setHook( 'references' , array( $parser->extCite, 'references' ) ); + $parser->setHook( 'ref', array( $parser->extCite, 'ref' ) ); + $parser->setHook( 'references', array( $parser->extCite, 'references' ) ); // Clear the state, making sure it will actually work. $parser->extCite->mInCite = false; @@ -1067,18 +1077,20 @@ class Cite { if ( count( $refs ) == 0 ) { continue; } - if ( $group == CITE_DEFAULT_GROUP ) { + if ( $group == self::DEFAULT_GROUP ) { $text .= $this->referencesFormat( $group, '', '' ); } else { - $text .= "\n<br />" . $this->error( 'cite_error_group_refs_without_references', htmlspecialchars( $group ) ); + $text .= "\n<br />" . + $this->error( 'cite_error_group_refs_without_references', htmlspecialchars( $group ) ); } } return true; } /** - * Hook for the InlineEditor extension. If any ref or reference reference tag is in the text, the entire - * page should be reparsed, so we return false in that case. + * Hook for the InlineEditor extension. + * If any ref or reference reference tag is in the text, + * the entire page should be reparsed, so we return false in that case. * * @param $output * @@ -1110,8 +1122,8 @@ class Cite { $wgHooks['InlineEditorPartialAfterParse'][] = array( $parser->extCite, 'checkAnyCalls' ); Cite::$hooksInstalled = true; } - $parser->setHook( 'ref' , array( $parser->extCite, 'ref' ) ); - $parser->setHook( 'references' , array( $parser->extCite, 'references' ) ); + $parser->setHook( 'ref', array( $parser->extCite, 'ref' ) ); + $parser->setHook( 'references', array( $parser->extCite, 'references' ) ); return true; } @@ -1128,12 +1140,16 @@ class Cite { # We rely on the fact that PHP is okay with passing unused argu- # ments to functions. If $1 is not used in the message, wfMessage will # just ignore the extra parameter. - $ret = '<strong class="error mw-ext-cite-error">' . - wfMessage( 'cite_error', wfMessage( $key, $param )->inContentLanguage()->plain() )->inContentLanguage()->plain() . - '</strong>'; + $msg = wfMessage( 'cite_error', wfMessage( $key, $param )->inContentLanguage()->plain() ) + ->inContentLanguage() + ->plain(); + + $ret = '<strong class="error mw-ext-cite-error">' . $msg . '</strong>'; + if ( $parse == 'parse' ) { $ret = $this->mParser->recursiveTagParse( $ret ); } + return $ret; } diff --git a/extensions/Cite/Gruntfile.js b/extensions/Cite/Gruntfile.js new file mode 100644 index 00000000..0e5498ee --- /dev/null +++ b/extensions/Cite/Gruntfile.js @@ -0,0 +1,19 @@ +/*! + * Grunt file + * + * @package Cite + */ + +/*jshint node:true */ +module.exports = function ( grunt ) { + 'use strict'; + grunt.loadNpmTasks( 'grunt-banana-checker' ); + grunt.initConfig( { + banana: { + all: ['i18n/'] + } + } ); + + grunt.registerTask( 'test', [ 'banana' ] ); + grunt.registerTask( 'default', 'test' ); +}; diff --git a/extensions/Cite/SpecialCite.alias.php b/extensions/Cite/SpecialCite.alias.php deleted file mode 100644 index 05b7686a..00000000 --- a/extensions/Cite/SpecialCite.alias.php +++ /dev/null @@ -1,430 +0,0 @@ -<?php -/** - * Aliases for Special:Cite - * - * @file - * @ingroup Extensions - */ -// @codingStandardsIgnoreFile - -$specialPageAliases = array(); - -/** English (English) */ -$specialPageAliases['en'] = array( - 'Cite' => array( 'Cite' ), -); - -/** Arabic (العربية) */ -$specialPageAliases['ar'] = array( - 'Cite' => array( 'استشهاد' ), -); - -/** Egyptian Spoken Arabic (مصرى) */ -$specialPageAliases['arz'] = array( - 'Cite' => array( 'استشهاد' ), -); - -/** Assamese (অসমীয়া) */ -$specialPageAliases['as'] = array( - 'Cite' => array( 'উদ্ধৃতি' ), -); - -/** Bikol Central (Bikol Central) */ -$specialPageAliases['bcl'] = array( - 'Cite' => array( 'Sambitón' ), -); - -/** Bulgarian (български) */ -$specialPageAliases['bg'] = array( - 'Cite' => array( 'Цитиране' ), -); - -/** Banjar (Bahasa Banjar) */ -$specialPageAliases['bjn'] = array( - 'Cite' => array( 'Juhut' ), -); - -/** Breton (brezhoneg) */ -$specialPageAliases['br'] = array( - 'Cite' => array( 'Menegiñ' ), -); - -/** Bosnian (bosanski) */ -$specialPageAliases['bs'] = array( - 'Cite' => array( 'Citiraj' ), -); - -/** буряад (буряад) */ -$specialPageAliases['bxr'] = array( - 'Cite' => array( 'Сайт' ), -); - -/** Catalan (català) */ -$specialPageAliases['ca'] = array( - 'Cite' => array( 'Citau', 'Citeu' ), -); - -/** Min Dong Chinese (Mìng-dĕ̤ng-ngṳ̄) */ -$specialPageAliases['cdo'] = array( - 'Cite' => array( '註' ), -); - -/** Chechen (нохчийн) */ -$specialPageAliases['ce'] = array( - 'Cite' => array( 'Дош' ), -); - -/** Czech (čeština) */ -$specialPageAliases['cs'] = array( - 'Cite' => array( 'Citovat' ), -); - -/** Danish (dansk) */ -$specialPageAliases['da'] = array( - 'Cite' => array( 'Citer' ), -); - -/** German (Deutsch) */ -$specialPageAliases['de'] = array( - 'Cite' => array( 'Zitierhilfe', 'Zitieren' ), -); - -/** Zazaki (Zazaki) */ -$specialPageAliases['diq'] = array( - 'Cite' => array( 'Sita' ), -); - -/** Lower Sorbian (dolnoserbski) */ -$specialPageAliases['dsb'] = array( - 'Cite' => array( 'Citěrowańska_pomoc' ), -); - -/** Greek (Ελληνικά) */ -$specialPageAliases['el'] = array( - 'Cite' => array( 'Παραπομπή' ), -); - -/** Esperanto (Esperanto) */ -$specialPageAliases['eo'] = array( - 'Cite' => array( 'Citi' ), -); - -/** Spanish (español) */ -$specialPageAliases['es'] = array( - 'Cite' => array( 'Citar' ), -); - -/** Estonian (eesti) */ -$specialPageAliases['et'] = array( - 'Cite' => array( 'Tsiteerimine' ), -); - -/** Persian (فارسی) */ -$specialPageAliases['fa'] = array( - 'Cite' => array( 'یادکرد' ), -); - -/** Finnish (suomi) */ -$specialPageAliases['fi'] = array( - 'Cite' => array( 'Viittaus' ), -); - -/** French (français) */ -$specialPageAliases['fr'] = array( - 'Cite' => array( 'Citer' ), -); - -/** Franco-Provençal (arpetan) */ -$specialPageAliases['frp'] = array( - 'Cite' => array( 'Citar' ), -); - -/** Galician (galego) */ -$specialPageAliases['gl'] = array( - 'Cite' => array( 'Cita', 'Citar' ), -); - -/** Swiss German (Alemannisch) */ -$specialPageAliases['gsw'] = array( - 'Cite' => array( 'Zitierhilf' ), -); - -/** Hebrew (עברית) */ -$specialPageAliases['he'] = array( - 'Cite' => array( 'ציטוט' ), -); - -/** Croatian (hrvatski) */ -$specialPageAliases['hr'] = array( - 'Cite' => array( 'Citiraj' ), -); - -/** Upper Sorbian (hornjoserbsce) */ -$specialPageAliases['hsb'] = array( - 'Cite' => array( 'Citowanska_pomoc' ), -); - -/** 湘语 (湘语) */ -$specialPageAliases['hsn'] = array( - 'Cite' => array( '建脚注' ), -); - -/** Haitian (Kreyòl ayisyen) */ -$specialPageAliases['ht'] = array( - 'Cite' => array( 'Site' ), -); - -/** Hungarian (magyar) */ -$specialPageAliases['hu'] = array( - 'Cite' => array( 'Hivatkozás', 'Irodalomjegyzék' ), -); - -/** Interlingua (interlingua) */ -$specialPageAliases['ia'] = array( - 'Cite' => array( 'Citation' ), -); - -/** Indonesian (Bahasa Indonesia) */ -$specialPageAliases['id'] = array( - 'Cite' => array( 'Kutip' ), -); - -/** Igbo (Igbo) */ -$specialPageAliases['ig'] = array( - 'Cite' => array( 'Dépùtà' ), -); - -/** Ido (Ido) */ -$specialPageAliases['io'] = array( - 'Cite' => array( 'Citar' ), -); - -/** Italian (italiano) */ -$specialPageAliases['it'] = array( - 'Cite' => array( 'Cita' ), -); - -/** Japanese (日本語) */ -$specialPageAliases['ja'] = array( - 'Cite' => array( '引用' ), -); - -/** Korean (한국어) */ -$specialPageAliases['ko'] = array( - 'Cite' => array( '인용' ), -); - -/** Colognian (Ripoarisch) */ -$specialPageAliases['ksh'] = array( - 'Cite' => array( 'Zitteere' ), -); - -/** Cornish (kernowek) */ -$specialPageAliases['kw'] = array( - 'Cite' => array( 'Devynna' ), -); - -/** Ladino (Ladino) */ -$specialPageAliases['lad'] = array( - 'Cite' => array( 'MostrarManaderos' ), -); - -/** Luxembourgish (Lëtzebuergesch) */ -$specialPageAliases['lb'] = array( - 'Cite' => array( 'Zitéierhellëf' ), -); - -/** Literary Chinese (文言) */ -$specialPageAliases['lzh'] = array( - 'Cite' => array( '引文' ), -); - -/** Macedonian (македонски) */ -$specialPageAliases['mk'] = array( - 'Cite' => array( 'Навод' ), -); - -/** Malayalam (മലയാളം) */ -$specialPageAliases['ml'] = array( - 'Cite' => array( 'അവലംബം' ), -); - -/** Marathi (मराठी) */ -$specialPageAliases['mr'] = array( - 'Cite' => array( 'संदर्भद्या' ), -); - -/** Malay (Bahasa Melayu) */ -$specialPageAliases['ms'] = array( - 'Cite' => array( 'Petik' ), -); - -/** Maltese (Malti) */ -$specialPageAliases['mt'] = array( - 'Cite' => array( 'Iċċita' ), -); - -/** Nahuatl (Nāhuatl) */ -$specialPageAliases['nah'] = array( - 'Cite' => array( 'Tlahtoa', 'Citar' ), -); - -/** Norwegian Bokmål (norsk bokmål) */ -$specialPageAliases['nb'] = array( - 'Cite' => array( 'Siteringshjelp' ), -); - -/** Low German (Plattdüütsch) */ -$specialPageAliases['nds'] = array( - 'Cite' => array( 'Ziteerhelp' ), -); - -/** Low Saxon (Netherlands) (Nedersaksies) */ -$specialPageAliases['nds-nl'] = array( - 'Cite' => array( 'Siteerhulpe' ), -); - -/** Dutch (Nederlands) */ -$specialPageAliases['nl'] = array( - 'Cite' => array( 'Citeren' ), -); - -/** Norwegian Nynorsk (norsk nynorsk) */ -$specialPageAliases['nn'] = array( - 'Cite' => array( 'Siter' ), -); - -/** Occitan (occitan) */ -$specialPageAliases['oc'] = array( - 'Cite' => array( 'Citar' ), -); - -/** Punjabi (ਪੰਜਾਬੀ) */ -$specialPageAliases['pa'] = array( - 'Cite' => array( 'ਹਵਾਲਾ' ), -); - -/** Polish (polski) */ -$specialPageAliases['pl'] = array( - 'Cite' => array( 'Cytuj' ), -); - -/** Pashto (پښتو) */ -$specialPageAliases['ps'] = array( - 'Cite' => array( 'درک' ), -); - -/** Portuguese (português) */ -$specialPageAliases['pt'] = array( - 'Cite' => array( 'Citar' ), -); - -/** Brazilian Portuguese (português do Brasil) */ -$specialPageAliases['pt-br'] = array( - 'Cite' => array( 'Citar' ), -); - -/** Romanian (română) */ -$specialPageAliases['ro'] = array( - 'Cite' => array( 'Citează' ), -); - -/** Russian (русский) */ -$specialPageAliases['ru'] = array( - 'Cite' => array( 'Цитата' ), -); - -/** Sanskrit (संस्कृतम्) */ -$specialPageAliases['sa'] = array( - 'Cite' => array( 'उद्धृत' ), -); - -/** Sicilian (sicilianu) */ -$specialPageAliases['scn'] = array( - 'Cite' => array( 'Cita' ), -); - -/** Slovak (slovenčina) */ -$specialPageAliases['sk'] = array( - 'Cite' => array( 'Citovať' ), -); - -/** Slovenian (slovenščina) */ -$specialPageAliases['sl'] = array( - 'Cite' => array( 'Navedi' ), -); - -/** Albanian (shqip) */ -$specialPageAliases['sq'] = array( - 'Cite' => array( 'Citim' ), -); - -/** Serbian (Cyrillic script) (српски (ћирилица)) */ -$specialPageAliases['sr-ec'] = array( - 'Cite' => array( 'Цитирај' ), -); - -/** Swedish (svenska) */ -$specialPageAliases['sv'] = array( - 'Cite' => array( 'Citera' ), -); - -/** Swahili (Kiswahili) */ -$specialPageAliases['sw'] = array( - 'Cite' => array( 'Taja', 'Hakikisha' ), -); - -/** Tetum (tetun) */ -$specialPageAliases['tet'] = array( - 'Cite' => array( 'Sita' ), -); - -/** Thai (ไทย) */ -$specialPageAliases['th'] = array( - 'Cite' => array( 'อ้างอิง' ), -); - -/** Tagalog (Tagalog) */ -$specialPageAliases['tl'] = array( - 'Cite' => array( 'Sipiin' ), -); - -/** Turkish (Türkçe) */ -$specialPageAliases['tr'] = array( - 'Cite' => array( 'KaynakGöster' ), -); - -/** Urdu (اردو) */ -$specialPageAliases['ur'] = array( - 'Cite' => array( 'حوالہ' ), -); - -/** vèneto (vèneto) */ -$specialPageAliases['vec'] = array( - 'Cite' => array( 'Cita' ), -); - -/** Vietnamese (Tiếng Việt) */ -$specialPageAliases['vi'] = array( - 'Cite' => array( 'Ghi_chú' ), -); - -/** Yiddish (ייִדיש) */ -$specialPageAliases['yi'] = array( - 'Cite' => array( 'ציטירן' ), -); - -/** Cantonese (粵語) */ -$specialPageAliases['yue'] = array( - 'Cite' => array( '引用' ), -); - -/** Simplified Chinese (中文(简体)) */ -$specialPageAliases['zh-hans'] = array( - 'Cite' => array( '引用' ), -); - -/** Traditional Chinese (中文(繁體)) */ -$specialPageAliases['zh-hant'] = array( - 'Cite' => array( '引用' ), -);
\ No newline at end of file |