From: jenkins-bot Date: Sun, 3 Apr 2016 02:50:29 +0000 (+0000) Subject: Merge "resourceloader: Make action=purge affect ResourceLoaderWikiModule" X-Git-Tag: 1.31.0-rc.0~7402 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=052d2ba86aa56209e060f882bd6c250f74920549;hp=435db17da8eb6531d169ea5654275bee381a074b;p=lhc%2Fweb%2Fwiklou.git Merge "resourceloader: Make action=purge affect ResourceLoaderWikiModule" --- diff --git a/RELEASE-NOTES-1.27 b/RELEASE-NOTES-1.27 index 12fb06e3b4..0aebf38710 100644 --- a/RELEASE-NOTES-1.27 +++ b/RELEASE-NOTES-1.27 @@ -264,6 +264,7 @@ regularly. Below only new and removed languages are listed, as well as changes to languages because of Phabricator reports. * (T113688) Change default numerals from Gurmukhi to Arabic for Punjabi locale. +* (T116020) Aliases of magic words in MessagesXx.php are sorted by usage. === Other changes in 1.27 === * ProfilerOutputUdp was removed. Note that there is a ProfilerOutputStats class. @@ -396,6 +397,12 @@ changes to languages because of Phabricator reports. * Skin::newFromKey() was removed (deprecated since 1.24). * Skin::getUsableSkins() was removed (deprecated since 1.23). * LoadBalancer::pickRandom() was removed (deprecated in 1.21). +* Article::getUndoText() and WikiPage::getUndoText were removed (deprecated since + 1.21). +* DifferenceEngine::setText() was removed (deprecated in 1.21). +* Title::newFromRedirectArray() was removed (deprecated in 1.21). +* UserMailer::send() no longer accepts $replyto as the 5th argument and $contentType + as the 6th. These must be passed in the options array now. == Compatibility == diff --git a/autoload.php b/autoload.php index a4c09e0390..2d1f0867f7 100644 --- a/autoload.php +++ b/autoload.php @@ -185,7 +185,7 @@ $wgAutoloadLocalClasses = [ 'BmpHandler' => __DIR__ . '/includes/media/BMP.php', 'BotPassword' => __DIR__ . '/includes/user/BotPassword.php', 'BrokenRedirectsPage' => __DIR__ . '/includes/specials/SpecialBrokenRedirects.php', - 'BufferingStatsdDataFactory' => __DIR__ . '/includes/libs/BufferingStatsdDataFactory.php', + 'BufferingStatsdDataFactory' => __DIR__ . '/includes/libs/stats/BufferingStatsdDataFactory.php', 'CLIParser' => __DIR__ . '/maintenance/parse.php', 'CSSMin' => __DIR__ . '/includes/libs/CSSMin.php', 'CacheDependency' => __DIR__ . '/includes/cache/CacheDependency.php', @@ -893,6 +893,7 @@ $wgAutoloadLocalClasses = [ 'NullJob' => __DIR__ . '/includes/jobqueue/jobs/NullJob.php', 'NullLockManager' => __DIR__ . '/includes/filebackend/lockmanager/LockManager.php', 'NullRepo' => __DIR__ . '/includes/filerepo/NullRepo.php', + 'NullStatsdDataFactory' => __DIR__ . '/includes/libs/stats/NullStatsdDataFactory.php', 'OOUIHTMLForm' => __DIR__ . '/includes/htmlform/OOUIHTMLForm.php', 'ORAField' => __DIR__ . '/includes/db/DatabaseOracle.php', 'ORAResult' => __DIR__ . '/includes/db/DatabaseOracle.php', @@ -934,7 +935,7 @@ $wgAutoloadLocalClasses = [ 'PackedHoverImageGallery' => __DIR__ . '/includes/gallery/PackedOverlayImageGallery.php', 'PackedImageGallery' => __DIR__ . '/includes/gallery/PackedImageGallery.php', 'PackedOverlayImageGallery' => __DIR__ . '/includes/gallery/PackedOverlayImageGallery.php', - 'Page' => __DIR__ . '/includes/page/WikiPage.php', + 'Page' => __DIR__ . '/includes/page/Page.php', 'PageArchive' => __DIR__ . '/includes/specials/SpecialUndelete.php', 'PageExists' => __DIR__ . '/maintenance/pageExists.php', 'PageLangLogFormatter' => __DIR__ . '/includes/logging/PageLangLogFormatter.php', @@ -1266,6 +1267,7 @@ $wgAutoloadLocalClasses = [ 'SquidPurgeClientPool' => __DIR__ . '/includes/clientpool/SquidPurgeClientPool.php', 'SquidUpdate' => __DIR__ . '/includes/deferred/CdnCacheUpdate.php', 'SrConverter' => __DIR__ . '/languages/classes/LanguageSr.php', + 'StatsdAwareInterface' => __DIR__ . '/includes/libs/stats/StatsdAwareInterface.php', 'StatsOutput' => __DIR__ . '/maintenance/language/StatOutputs.php', 'Status' => __DIR__ . '/includes/Status.php', 'StatusValue' => __DIR__ . '/includes/libs/StatusValue.php', diff --git a/composer.json b/composer.json index e0667e2f3c..56b27f89ac 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "wiki": "https://www.mediawiki.org/" }, "require": { - "composer/semver": "1.2.0", + "composer/semver": "1.4.0", "cssjanus/cssjanus": "1.1.2", "ext-iconv": "*", "liuggio/statsd-php-client": "1.0.18", diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 0e6aabbe7f..facb92f05b 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -6480,6 +6480,10 @@ $wgUnwatchedPageThreshold = false; * 'legend' => 'legend-msg', * // optional (defaults to 'flag'), CSS class to put on changes lists rows * 'class' => 'css-class', + * // optional (defaults to 'any'), how top-level flag is determined. 'any' + * // will set the top-level flag if any line contains the flag, 'all' will + * // only be set if all lines contain the flag. + * 'grouping' => 'any', * ); * @endcode * @@ -6490,23 +6494,27 @@ $wgRecentChangesFlags = [ 'letter' => 'newpageletter', 'title' => 'recentchanges-label-newpage', 'legend' => 'recentchanges-legend-newpage', + 'grouping' => 'any', ], 'minor' => [ 'letter' => 'minoreditletter', 'title' => 'recentchanges-label-minor', 'legend' => 'recentchanges-legend-minor', 'class' => 'minoredit', + 'grouping' => 'all', ], 'bot' => [ 'letter' => 'boteditletter', 'title' => 'recentchanges-label-bot', 'legend' => 'recentchanges-legend-bot', 'class' => 'botedit', + 'grouping' => 'all', ], 'unpatrolled' => [ 'letter' => 'unpatrolledletter', 'title' => 'recentchanges-label-unpatrolled', 'legend' => 'recentchanges-legend-unpatrolled', + 'grouping' => 'any', ], ]; diff --git a/includes/Setup.php b/includes/Setup.php index 1a44d6d8a5..c60311f4c1 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -119,8 +119,7 @@ if ( $wgRightsIcon ) { ); } -if ( isset( $wgFooterIcons['copyright'] ) - && isset( $wgFooterIcons['copyright']['copyright'] ) +if ( isset( $wgFooterIcons['copyright']['copyright'] ) && $wgFooterIcons['copyright']['copyright'] === [] ) { if ( $wgRightsIcon || $wgRightsText ) { diff --git a/includes/SiteStats.php b/includes/SiteStats.php index 580f7ccb19..74c2997525 100644 --- a/includes/SiteStats.php +++ b/includes/SiteStats.php @@ -289,8 +289,10 @@ class SiteStatsInit { public function __construct( $database = false ) { if ( $database instanceof IDatabase ) { $this->db = $database; + } elseif ( $database ) { + $this->db = wfGetDB( DB_MASTER ); } else { - $this->db = wfGetDB( $database ? DB_MASTER : DB_SLAVE ); + $this->db = wfGetDB( DB_SLAVE, 'vslow' ); } } diff --git a/includes/Title.php b/includes/Title.php index ec17ef5565..a6163f0963 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -589,23 +589,6 @@ class Title implements LinkTarget { return $content->getUltimateRedirectTarget(); } - /** - * Extract a redirect destination from a string and return an - * array of Titles, or null if the text doesn't contain a valid redirect - * The last element in the array is the final destination after all redirects - * have been resolved (up to $wgMaxRedirects times) - * - * @param string $text Text with possible redirect - * @return Title[] Array of Titles, with the destination last - * @deprecated since 1.21, use Content::getRedirectChain instead. - */ - public static function newFromRedirectArray( $text ) { - ContentHandler::deprecated( __METHOD__, '1.21' ); - - $content = ContentHandler::makeContent( $text, null, CONTENT_MODEL_WIKITEXT ); - return $content->getRedirectChain(); - } - /** * Get the prefixed DB key associated with an ID * diff --git a/includes/WatchedItemStore.php b/includes/WatchedItemStore.php index 4f3d640339..8ae7932be0 100644 --- a/includes/WatchedItemStore.php +++ b/includes/WatchedItemStore.php @@ -11,7 +11,7 @@ use Wikimedia\Assert\Assert; * * @since 1.27 */ -class WatchedItemStore { +class WatchedItemStore implements StatsdAwareInterface { const SORT_DESC = 'DESC'; const SORT_ASC = 'ASC'; @@ -57,20 +57,22 @@ class WatchedItemStore { /** * @param LoadBalancer $loadBalancer * @param HashBagOStuff $cache - * @param StatsdDataFactoryInterface $stats */ public function __construct( LoadBalancer $loadBalancer, - HashBagOStuff $cache, - StatsdDataFactoryInterface $stats + HashBagOStuff $cache ) { $this->loadBalancer = $loadBalancer; $this->cache = $cache; - $this->stats = $stats; + $this->stats = new NullStatsdDataFactory(); $this->deferredUpdatesAddCallableUpdateCallback = [ 'DeferredUpdates', 'addCallableUpdate' ]; $this->revisionGetTimestampFromIdCallback = [ 'Revision', 'getTimestampFromId' ]; } + public function setStatsdDataFactory( StatsdDataFactoryInterface $stats ) { + $this->stats = $stats; + } + /** * Overrides the DeferredUpdates::addCallableUpdate callback * This is intended for use while testing and will fail if MW_PHPUNIT_TEST is not defined. @@ -155,9 +157,9 @@ class WatchedItemStore { if ( !self::$instance ) { self::$instance = new self( wfGetLB(), - new HashBagOStuff( [ 'maxKeys' => 100 ] ), - RequestContext::getMain()->getStats() + new HashBagOStuff( [ 'maxKeys' => 100 ] ) ); + self::$instance->setStatsdDataFactory( RequestContext::getMain()->getStats() ); } return self::$instance; } diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index 2d1542ead6..aaa7c9c4f2 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -20,7 +20,7 @@ "apihelp-main-param-uselang": "Language to use for message translations. [[Special:ApiHelp/query+siteinfo|action=query&meta=siteinfo]] with siprop=languages returns a list of language codes, or specify user to use the current user's language preference, or specify content to use this wiki's content language.", "apihelp-block-description": "Block a user.", - "apihelp-block-param-user": "Username, IP address, or IP range to block.", + "apihelp-block-param-user": "Username, IP address, or IP address range to block.", "apihelp-block-param-expiry": "Expiry time. May be relative (e.g. 5 months or 2 weeks) or absolute (e.g. 2014-09-18T12:34:56Z). If set to infinite, indefinite, or never, the block will never expire.", "apihelp-block-param-reason": "Reason for block.", "apihelp-block-param-anononly": "Block anonymous users only (i.e. disable anonymous edits for this IP address).", @@ -204,7 +204,7 @@ "apihelp-imagerotate-example-generator": "Rotate all images in Category:Flip by 180 degrees.", "apihelp-import-description": "Import a page from another wiki, or from an XML file.\n\nNote that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when sending a file for the xml parameter.", - "apihelp-import-param-summary": "Import summary.", + "apihelp-import-param-summary": "Log entry import summary.", "apihelp-import-param-xml": "Uploaded XML file.", "apihelp-import-param-interwikisource": "For interwiki imports: wiki to import from.", "apihelp-import-param-interwikipage": "For interwiki imports: page to import.", @@ -587,7 +587,7 @@ "apihelp-query+blocks-param-end": "The timestamp to stop enumerating at.", "apihelp-query+blocks-param-ids": "List of block IDs to list (optional).", "apihelp-query+blocks-param-users": "List of users to search for (optional).", - "apihelp-query+blocks-param-ip": "Get all blocks applying to this IP or CIDR range, including range blocks.\nCannot be used together with $3users. CIDR ranges broader than IPv4/$1 or IPv6/$2 are not accepted.", + "apihelp-query+blocks-param-ip": "Get all blocks applying to this IP address range or CIDR range, including range blocks.\nCannot be used together with $3users. CIDR ranges broader than IPv4/$1 or IPv6/$2 are not accepted.", "apihelp-query+blocks-param-limit": "The maximum number of blocks to list.", "apihelp-query+blocks-param-prop": "Which properties to get:", "apihelp-query+blocks-paramvalue-prop-id": "Adds the ID of the block.", @@ -1331,7 +1331,7 @@ "apihelp-unblock-description": "Unblock a user.", "apihelp-unblock-param-id": "ID of the block to unblock (obtained through list=blocks). Cannot be used together with $1user.", - "apihelp-unblock-param-user": "Username, IP address or IP range to unblock. Cannot be used together with $1id.", + "apihelp-unblock-param-user": "Username, IP address or IP address range to unblock. Cannot be used together with $1id.", "apihelp-unblock-param-reason": "Reason for unblock.", "apihelp-unblock-param-tags": "Change tags to apply to the entry in the block log.", "apihelp-unblock-example-id": "Unblock block ID #105.", diff --git a/includes/api/i18n/qqq.json b/includes/api/i18n/qqq.json index cde4cf19cb..4ded4aaf6d 100644 --- a/includes/api/i18n/qqq.json +++ b/includes/api/i18n/qqq.json @@ -18,7 +18,7 @@ "apihelp-main-description": "{{doc-apihelp-description|main}}", "apihelp-main-param-action": "{{doc-apihelp-param|main|action}}", "apihelp-main-param-format": "{{doc-apihelp-param|main|format}}", - "apihelp-main-param-maxlag": "{{doc-apihelp-param|main|maxlag}}\n\n\"$host\" and \"$lag\" are not variables and appear as is.\n----\n\"Database replication\" is a configuration where you have multiple databases that communicate with each other so they all contain the same data. A \"database replicated cluster\" is a cluster (meaning \"a group of computers that work together\") of databases configured in this manner.\n\n\"Lag\" refers to the situation where one or more of the databases in the cluster are not completely up to date. For example, if the \"master\" database has data up to 2016-01-21T01:23:45Z while one of the \"slave\" is only up to 2016-01-21T01:23:30Z, that's a lag of 15 seconds.\n\nIn this case, \"$lag\" and \"$host\" are syntactic variables rather than computer code variables, so would not be appropriate. They are there to represent that the actual output text will be something like \"Waiting for db1045: 53 seconds lagged.\"", + "apihelp-main-param-maxlag": "{{doc-apihelp-param|main|maxlag}}", "apihelp-main-param-smaxage": "{{doc-apihelp-param|main|smaxage}}", "apihelp-main-param-maxage": "{{doc-apihelp-param|main|maxage}}", "apihelp-main-param-assert": "{{doc-apihelp-param|main|assert}}", diff --git a/includes/changes/EnhancedChangesList.php b/includes/changes/EnhancedChangesList.php index 946c6d1cc6..d79f31641f 100644 --- a/includes/changes/EnhancedChangesList.php +++ b/includes/changes/EnhancedChangesList.php @@ -157,8 +157,10 @@ class EnhancedChangesList extends ChangesList { * Enhanced RC group * @param RCCacheEntry[] $block * @return string + * @throws DomainException */ protected function recentChangesBlockGroup( $block ) { + $recentChangesFlags = $this->getConfig()->get( 'RecentChangesFlags' ); # Add the namespace and title of the block as part of the class $tableClasses = [ 'mw-collapsible', 'mw-collapsed', 'mw-enhanced-rc' ]; @@ -186,20 +188,24 @@ class EnhancedChangesList extends ChangesList { $namehidden = true; $allLogs = true; $RCShowChangedSize = $this->getConfig()->get( 'RCShowChangedSize' ); - $collectedRcFlags = [ - // All are by bots? - 'bot' => true, - // Includes a new page? - 'newpage' => false, - // All are minor edits? - 'minor' => true, - // Contains an unpatrolled edit? - 'unpatrolled' => false, - ]; - foreach ( $block as $rcObj ) { - if ( $rcObj->mAttribs['rc_type'] == RC_NEW ) { - $collectedRcFlags['newpage'] = true; + + # Default values for RC flags + $collectedRcFlags = []; + foreach ( $recentChangesFlags as $key => $value ) { + $flagGrouping = ( isset( $recentChangesFlags[$key]['grouping'] ) ? + $recentChangesFlags[$key]['grouping'] : 'any' ); + switch ( $flagGrouping ) { + case 'all': + $collectedRcFlags[$key] = true; + break; + case 'any': + $collectedRcFlags[$key] = false; + break; + default: + throw new DomainException( "Unknown grouping type \"{$flagGrouping}\"" ); } + } + foreach ( $block as $rcObj ) { // If all log actions to this page were hidden, then don't // give the name of the affected page for this block! if ( !$this->isDeleted( $rcObj, LogPage::DELETED_ACTION ) ) { @@ -209,9 +215,6 @@ class EnhancedChangesList extends ChangesList { if ( !isset( $userlinks[$u] ) ) { $userlinks[$u] = 0; } - if ( $rcObj->unpatrolled ) { - $collectedRcFlags['unpatrolled'] = true; - } if ( $rcObj->mAttribs['rc_type'] != RC_LOG ) { $allLogs = false; } @@ -221,13 +224,6 @@ class EnhancedChangesList extends ChangesList { $curId = $rcObj->mAttribs['rc_cur_id']; } - if ( !$rcObj->mAttribs['rc_bot'] ) { - $collectedRcFlags['bot'] = false; - } - if ( !$rcObj->mAttribs['rc_minor'] ) { - $collectedRcFlags['minor'] = false; - } - $userlinks[$u]++; } @@ -267,6 +263,27 @@ class EnhancedChangesList extends ChangesList { // completely ignore this RC entry if we don't want to render it unset( $block[$i] ); } + + // Roll up flags + foreach ( $line['recentChangesFlagsRaw'] as $key => $value ) { + $flagGrouping = ( isset( $recentChangesFlags[$key]['grouping'] ) ? + $recentChangesFlags[$key]['grouping'] : 'any' ); + switch ( $flagGrouping ) { + case 'all': + if ( !$value ) { + $collectedRcFlags[$key] = false; + } + break; + case 'any': + if ( $value ) { + $collectedRcFlags[$key] = true; + } + break; + default: + throw new DomainException( "Unknown grouping type \"{$flagGrouping}\"" ); + } + } + $lines[] = $line; } // Further down are some assumptions that $block is a 0-indexed array @@ -436,8 +453,11 @@ class EnhancedChangesList extends ChangesList { return []; } + $lineParams['recentChangesFlagsRaw'] = []; if ( isset( $data['recentChangesFlags'] ) ) { $lineParams['recentChangesFlags'] = $this->recentChangesFlags( $data['recentChangesFlags'] ); + # FIXME: This is used by logic, don't return it in the template params. + $lineParams['recentChangesFlagsRaw'] = $data['recentChangesFlags']; unset( $data['recentChangesFlags'] ); } diff --git a/includes/diff/DifferenceEngine.php b/includes/diff/DifferenceEngine.php index 4fdacc544e..1508cf1e83 100644 --- a/includes/diff/DifferenceEngine.php +++ b/includes/diff/DifferenceEngine.php @@ -1152,19 +1152,6 @@ class DifferenceEngine extends ContextSource { return $header . $diff . ""; } - /** - * Use specified text instead of loading from the database - * @deprecated since 1.21, use setContent() instead. - */ - public function setText( $oldText, $newText ) { - ContentHandler::deprecated( __METHOD__, "1.21" ); - - $oldContent = ContentHandler::makeContent( $oldText, $this->getTitle() ); - $newContent = ContentHandler::makeContent( $newText, $this->getTitle() ); - - $this->setContent( $oldContent, $newContent ); - } - /** * Use specified text instead of loading from the database * @param Content $oldContent diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index 25e7f8c04a..d50fac0a69 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -1352,7 +1352,7 @@ class HTMLForm extends ContextSource { } /** - * @param string$ name 'name' attribute for the form + * @param string $name 'name' attribute for the form * @return HTMLForm $this for chaining calls */ public function setName( $name ) { diff --git a/includes/libs/BufferingStatsdDataFactory.php b/includes/libs/BufferingStatsdDataFactory.php deleted file mode 100644 index 9c18b10f10..0000000000 --- a/includes/libs/BufferingStatsdDataFactory.php +++ /dev/null @@ -1,87 +0,0 @@ -prefix = $prefix; - } - - /** - * Normalize a metric key for StatsD - * - * Replace occurences of '::' with dots and any other non-alphanumeric - * characters with underscores. Combine runs of dots or underscores. - * Then trim leading or trailing dots or underscores. - * - * @param string $key - * @since 1.26 - */ - private static function normalizeMetricKey( $key ) { - $key = preg_replace( '/[:.]+/', '.', $key ); - $key = preg_replace( '/[^a-z0-9.]+/i', '_', $key ); - $key = trim( $key, '_.' ); - return str_replace( [ '._', '_.' ], '.', $key ); - } - - public function produceStatsdData( - $key, $value = 1, $metric = StatsdDataInterface::STATSD_METRIC_COUNT - ) { - $entity = $this->produceStatsdDataEntity(); - if ( $key !== null ) { - $key = self::normalizeMetricKey( "{$this->prefix}.{$key}" ); - $entity->setKey( $key ); - } - if ( $value !== null ) { - $entity->setValue( $value ); - } - if ( $metric !== null ) { - $entity->setMetric( $metric ); - } - // Don't bother buffering a counter update with a delta of zero. - if ( !( $metric === StatsdDataInterface::STATSD_METRIC_COUNT && !$value ) ) { - $this->buffer[] = $entity; - } - return $entity; - } - - /** - * @return StatsdData[] - */ - public function getBuffer() { - return $this->buffer; - } -} diff --git a/includes/libs/stats/BufferingStatsdDataFactory.php b/includes/libs/stats/BufferingStatsdDataFactory.php new file mode 100644 index 0000000000..9c18b10f10 --- /dev/null +++ b/includes/libs/stats/BufferingStatsdDataFactory.php @@ -0,0 +1,87 @@ +prefix = $prefix; + } + + /** + * Normalize a metric key for StatsD + * + * Replace occurences of '::' with dots and any other non-alphanumeric + * characters with underscores. Combine runs of dots or underscores. + * Then trim leading or trailing dots or underscores. + * + * @param string $key + * @since 1.26 + */ + private static function normalizeMetricKey( $key ) { + $key = preg_replace( '/[:.]+/', '.', $key ); + $key = preg_replace( '/[^a-z0-9.]+/i', '_', $key ); + $key = trim( $key, '_.' ); + return str_replace( [ '._', '_.' ], '.', $key ); + } + + public function produceStatsdData( + $key, $value = 1, $metric = StatsdDataInterface::STATSD_METRIC_COUNT + ) { + $entity = $this->produceStatsdDataEntity(); + if ( $key !== null ) { + $key = self::normalizeMetricKey( "{$this->prefix}.{$key}" ); + $entity->setKey( $key ); + } + if ( $value !== null ) { + $entity->setValue( $value ); + } + if ( $metric !== null ) { + $entity->setMetric( $metric ); + } + // Don't bother buffering a counter update with a delta of zero. + if ( !( $metric === StatsdDataInterface::STATSD_METRIC_COUNT && !$value ) ) { + $this->buffer[] = $entity; + } + return $entity; + } + + /** + * @return StatsdData[] + */ + public function getBuffer() { + return $this->buffer; + } +} diff --git a/includes/libs/stats/NullStatsdDataFactory.php b/includes/libs/stats/NullStatsdDataFactory.php new file mode 100644 index 0000000000..3b272e216e --- /dev/null +++ b/includes/libs/stats/NullStatsdDataFactory.php @@ -0,0 +1,111 @@ +setKey( $key ); + $data->setValue( $value ); + $data->setMetric( $metric ); + return $data; + } + +} diff --git a/includes/libs/stats/StatsdAwareInterface.php b/includes/libs/stats/StatsdAwareInterface.php new file mode 100644 index 0000000000..5151b2689a --- /dev/null +++ b/includes/libs/stats/StatsdAwareInterface.php @@ -0,0 +1,21 @@ + $options ]; - if ( func_num_args() === 6 ) { - $options['contentType'] = func_get_arg( 5 ); - } - } if ( !isset( $options['contentType'] ) ) { $options['contentType'] = 'text/plain; charset=UTF-8'; } diff --git a/includes/page/Article.php b/includes/page/Article.php index c4ccadecda..6c42e3427e 100644 --- a/includes/page/Article.php +++ b/includes/page/Article.php @@ -1572,8 +1572,7 @@ class Article implements Page { $title, htmlspecialchars( $title->getFullText() ), [], - // Automatically append redirect=no to each link, since most of them are - // redirect pages themselves. + // Make sure wiki page redirects are not followed $title->isRedirect() ? [ 'redirect' => 'no' ] : [], ( $forceKnown ? [ 'known', 'noclasses' ] : [] ) ) . ''; @@ -2380,15 +2379,6 @@ class Article implements Page { return $this->mPage->getUndoContent( $undo, $undoafter ); } - /** - * Call to WikiPage function for backwards compatibility. - * @see WikiPage::getUndoText - */ - public function getUndoText( Revision $undo, Revision $undoafter = null ) { - ContentHandler::deprecated( __METHOD__, '1.21' ); - return $this->mPage->getUndoText( $undo, $undoafter ); - } - /** * Call to WikiPage function for backwards compatibility. * @see WikiPage::getUser diff --git a/includes/page/Page.php b/includes/page/Page.php new file mode 100644 index 0000000000..2cb1fc0389 --- /dev/null +++ b/includes/page/Page.php @@ -0,0 +1,25 @@ +getUndoContent( $this->getRevision(), $undo, $undoafter ); } - /** - * Get the text that needs to be saved in order to undo all revisions - * between $undo and $undoafter. Revisions must belong to the same page, - * must exist and must not be deleted - * @param Revision $undo - * @param Revision $undoafter Must be an earlier revision than $undo - * @return string|bool String on success, false on failure - * @deprecated since 1.21: use ContentHandler::getUndoContent() instead. - */ - public function getUndoText( Revision $undo, Revision $undoafter = null ) { - ContentHandler::deprecated( __METHOD__, '1.21' ); - - $this->loadLastEdit(); - - if ( $this->mLastRevision ) { - if ( is_null( $undoafter ) ) { - $undoafter = $undo->getPrevious(); - } - - $handler = $this->getContentHandler(); - $undone = $handler->getUndoContent( $this->mLastRevision, $undo, $undoafter ); - - if ( !$undone ) { - return false; - } else { - return ContentHandler::getContentText( $undone ); - } - } - - return false; - } - /** * Returns true if this page's content model supports sections. * diff --git a/includes/resourceloader/ResourceLoaderImage.php b/includes/resourceloader/ResourceLoaderImage.php index f784d0346c..87e5fd7b82 100644 --- a/includes/resourceloader/ResourceLoaderImage.php +++ b/includes/resourceloader/ResourceLoaderImage.php @@ -179,7 +179,7 @@ class ResourceLoaderImage { 'version' => $context->getVersion(), ]; - return wfExpandUrl( wfAppendQuery( $script, $query ), PROTO_RELATIVE ); + return wfAppendQuery( $script, $query ); } /** diff --git a/includes/search/SearchExactMatchRescorer.php b/includes/search/SearchExactMatchRescorer.php index d3b9d5cb0f..40cfe39305 100644 --- a/includes/search/SearchExactMatchRescorer.php +++ b/includes/search/SearchExactMatchRescorer.php @@ -41,7 +41,7 @@ class SearchExactMatchRescorer { */ public function rescore( $search, $namespaces, $srchres, $limit ) { // Pick namespace (based on PrefixSearch::defaultSearchBackend) - $ns = in_array( NS_MAIN, $namespaces ) ? NS_MAIN : $namespaces[0]; + $ns = in_array( NS_MAIN, $namespaces ) ? NS_MAIN : reset( $namespaces ); $t = Title::newFromText( $search, $ns ); if ( !$t || !$t->exists() ) { // No exact match so just return the search results diff --git a/includes/specialpage/SpecialPageFactory.php b/includes/specialpage/SpecialPageFactory.php index 8ce480e123..725c4fc581 100644 --- a/includes/specialpage/SpecialPageFactory.php +++ b/includes/specialpage/SpecialPageFactory.php @@ -182,6 +182,7 @@ class SpecialPageFactory { private static $list; private static $aliases; + private static $pageObjectCache = []; /** * Reset the internal list of special pages. Useful when changing $wgSpecialPages after @@ -190,6 +191,7 @@ class SpecialPageFactory { public static function resetList() { self::$list = null; self::$aliases = null; + self::$pageObjectCache = []; } /** @@ -373,6 +375,10 @@ class SpecialPageFactory { public static function getPage( $name ) { list( $realName, /*...*/ ) = self::resolveAlias( $name ); + if ( isset( self::$pageObjectCache[$realName] ) ) { + return self::$pageObjectCache[$realName]; + } + $specialPageList = self::getPageList(); if ( isset( $specialPageList[$realName] ) ) { @@ -400,6 +406,7 @@ class SpecialPageFactory { $page = null; } + self::$pageObjectCache[$realName] = $page; if ( $page instanceof SpecialPage ) { return $page; } else { diff --git a/includes/specials/pagers/BlockListPager.php b/includes/specials/pagers/BlockListPager.php index 8857907712..cfaf5c5f52 100644 --- a/includes/specials/pagers/BlockListPager.php +++ b/includes/specials/pagers/BlockListPager.php @@ -140,6 +140,22 @@ class BlockListPager extends TablePager { $language->pipeList( $links ) )->escaped() ); } + if ( $value !== 'infinity' ) { + $timestamp = new MWTimestamp( $value ); + $formatted .= '
' . $this->msg( + 'ipb-blocklist-duration-left', + $language->formatDuration( + $timestamp->getTimestamp() - time(), + // reasonable output + [ + 'minutes', + 'hours', + 'days', + 'years', + ] + ) + )->escaped(); + } break; case 'ipb_by': diff --git a/languages/i18n/en.json b/languages/i18n/en.json index b7c0ac60c6..db8abbd31a 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -487,7 +487,7 @@ "noemail": "There is no email address recorded for user \"$1\".", "noemailcreate": "You need to provide a valid email address.", "passwordsent": "A new password has been sent to the email address registered for \"$1\".\nPlease log in again after you receive it.", - "blocked-mailpassword": "Your IP address is blocked from editing, and so is not allowed to use the password recovery function to prevent abuse.", + "blocked-mailpassword": "Your IP address is blocked from editing. To prevent abuse, it is not allowed to use password recovery from this IP address.", "eauthentsent": "A confirmation email has been sent to the specified email address.\nBefore any other email is sent to the account, you will have to follow the instructions in the email, to confirm that the account is actually yours.", "throttled-mailpassword": "A password reset email has already been sent, within the last {{PLURAL:$1|hour|$1 hours}}.\nTo prevent abuse, only one password reset email will be sent per {{PLURAL:$1|hour|$1 hours}}.", "signupstart": "", @@ -1561,7 +1561,7 @@ "uploadstash-summary": "This page provides access to files that are uploaded or in the process of uploading, but are not yet published to the wiki. These files are not visible to anyone but the user who uploaded them.", "uploadstash-clear": "Clear stashed files", "uploadstash-nofiles": "You have no stashed files.", - "uploadstash-badtoken": "Performing that action failed. Perhaps because your editing credentials expired. Please try again.", + "uploadstash-badtoken": "Performing that action failed, perhaps because your editing credentials expired. Please try again.", "uploadstash-errclear": "Clearing the files failed.", "uploadstash-refresh": "Refresh the list of files", "uploadstash-thumbnail": "view thumbnail", @@ -2300,7 +2300,7 @@ "unblock-summary": "", "blockip": "Block {{GENDER:$1|user}}", "blockip-legend": "Block user", - "blockiptext": "Use the form below to block write access from a specific IP address or username.\nThis should be done only to prevent vandalism, and in accordance with [[{{MediaWiki:Policy-url}}|policy]].\nFill in a specific reason below (for example, citing particular pages that were vandalized).\nYou can block IP ranges using the [https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing CIDR] syntax; the largest allowed range is /$1 for IPv4 and /$2 for IPv6.", + "blockiptext": "Use the form below to block write access from a specific IP address or username.\nThis should be done only to prevent vandalism, and in accordance with [[{{MediaWiki:Policy-url}}|policy]].\nFill in a specific reason below (for example, citing particular pages that were vandalized).\nYou can block IP address ranges using the [https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing CIDR] syntax; the largest allowed range is /$1 for IPv4 and /$2 for IPv6.", "ipaddressorusername": "IP address or username:", "ipbexpiry": "Expiration:", "ipbreason": "Reason:", @@ -2328,6 +2328,7 @@ "ipb-unblock": "Unblock a username or IP address", "ipb-blocklist": "View existing blocks", "ipb-blocklist-contribs": "Contributions for {{GENDER:$1|$1}}", + "ipb-blocklist-duration-left": "$1 left", "unblockip": "Unblock user", "unblockiptext": "Use the form below to restore write access to a previously blocked IP address or username.", "ipusubmit": "Remove this block", @@ -2392,7 +2393,7 @@ "unblock-hideuser": "You cannot unblock this user, as their username has been hidden.", "ipb_cant_unblock": "Error: Block ID $1 not found. It may have been unblocked already.", "ipb_blocked_as_range": "Error: The IP address $1 is not blocked directly and cannot be unblocked.\nIt is, however, blocked as part of the range $2, which can be unblocked.", - "ip_range_invalid": "Invalid IP range.", + "ip_range_invalid": "Invalid IP address range.", "ip_range_toolarge": "Range blocks larger than /$1 are not allowed.", "proxyblocker": "Proxy blocker", "proxyblockreason": "Your IP address has been blocked because it is an open proxy.\nPlease contact your Internet service provider or technical support of your organization and inform them of this serious security problem.", @@ -3792,7 +3793,7 @@ "logentry-protect-protect-cascade": "$1 {{GENDER:$2|protected}} $3 $4 [cascading]", "logentry-protect-modify": "$1 {{GENDER:$2|changed}} protection level for $3 $4", "logentry-protect-modify-cascade": "$1 {{GENDER:$2|changed}} protection level for $3 $4 [cascading]", - "logentry-rights-rights": "$1 {{GENDER:$2|changed}} group membership for $3 from $4 to $5", + "logentry-rights-rights": "$1 {{GENDER:$2|changed}} group membership for {{GENDER:$3|$3}} from $4 to $5", "logentry-rights-rights-legacy": "$1 {{GENDER:$2|changed}} group membership for $3", "logentry-rights-autopromote": "$1 was automatically {{GENDER:$2|promoted}} from $4 to $5", "logentry-upload-upload": "$1 {{GENDER:$2|uploaded}} $3", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 379fe797d6..bdba606f18 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -968,7 +968,7 @@ "undo-summary-username-hidden": "Edit summary for an undo action where the username of the old revision is hidden.\n\nParameters:\n* $1 - the revision ID being undone\nSee also:\n* {{msg-mw|Undo-summary}}", "cantcreateaccounttitle": "Used as title of the error message {{msg-mw|Cantcreateaccount-text}}.", "cantcreateaccount-text": "Used as error message, with the title {{msg-mw|Cantcreateaccounttitle}}.\n* $1 - target IP address\n* $2 - reason or {{msg-mw|Blockednoreason}}\n* $3 - username\nSee also:\n* {{msg-mw|Cantcreateaccount-range-text}}", - "cantcreateaccount-range-text": "Used as more detailed version of the {{msg-mw|Cantcreateaccount-text}} error message, with the title {{msg-mw|Cantcreateaccounttitle}}.\n* $1 - target IP range\n* $2 - reason or {{msg-mw|Blockednoreason}}\n* $3 - username\n* $4 - current user's IP address", + "cantcreateaccount-range-text": "Used as more detailed version of the {{msg-mw|Cantcreateaccount-text}} error message, with the title {{msg-mw|Cantcreateaccounttitle}}.\n* $1 - target IP address range\n* $2 - reason or {{msg-mw|Blockednoreason}}\n* $3 - username\n* $4 - current user's IP address", "createaccount-hook-aborted": "Placeholder message to return with API errors on account create; passes through the message from a hook {{notranslate}}", "viewpagelogs": "Link displayed in history of pages", "nohistory": "Message shown when there are no history to list. See [{{canonicalurl:x|action=history}} example history].\n----\nAlso used as title of error message when the feed is empty. See [{{canonicalurl:x|action=history&feed=atom}} example feed].\n\nSee the error message:\n* {{msg-mw|history-feed-empty}}", @@ -2504,6 +2504,7 @@ "ipb-unblock": "Used as page title in [[Special:Block]], if the target user is not specified.\n\nSee also:\n* {{msg-mw|Ipb-unblock-addr}}", "ipb-blocklist": "Used as link text in [[Special:Block]].\n\nThe link points to Specil:BlockList.", "ipb-blocklist-contribs": "Used in [[Special:Block]].\n* $1 - target username", + "ipb-blocklist-duration-left": "Used on [[Special:BlockList]] to show the remaining time (years, months, days, hours, minutes) until the block expires.\n$1 - The duration left", "unblockip": "Used as legend for the form in [[Special:Unblock]].", "unblockiptext": "Used in the {{msg-mw|Unblockip}} form on [[Special:Unblock]].", "ipusubmit": "Used as button text on [{{canonicalurl:Special:BlockList|action=unblock}} Special:BlockList?action=unblock]. To see the message:\n* Go to [[Special:BlockList]]\n* Click \"unblock\" for any block (but you can only see \"unblock\" if you have administrator rights)\n* It is now the button below the form", @@ -2563,11 +2564,11 @@ "ipb_expiry_temp": "Warning message displayed on [[Special:BlockIP]] if the option \"hide username\" is selected but the expiry time is not infinite.", "ipb_hide_invalid": "Used as error message in [[Special:Block]].\n* $1 - Number of edits (Value of [[mw:Manual:$wgHideUserContribLimit]])", "ipb_already_blocked": "{{Identical|$1 is already blocked}}", - "ipb-needreblock": "Used in [[Special:Block]].\n* $1 - target username", + "ipb-needreblock": "Used in [[Special:Block]].\n* $1 - target username, can be used for GENDER support", "ipb-otherblocks-header": "[[File:Special.Block with other blocks from GlobalBlocking and TorBlocks.png|thumb|Example]]\nUsed on [[Special:Block]] as header for other blocks, i.e. from GlobalBlocking or TorBlocks\n\nParameters:\n* $1 - number of blocks\nSee also:\n* {{msg-mw|Ipblocklist-otherblocks}}", "unblock-hideuser": "{{doc-singularthey}}", "ipb_cant_unblock": "Used as error message in [[Special:Unblock]]. Parameters:\n* $1 - block ID", - "ipb_blocked_as_range": "Used when unblock of a single IP fails. Parameters:\n* $1 - IP address\n* $2 - IP range", + "ipb_blocked_as_range": "Used when unblock of a single IP fails. Parameters:\n* $1 - IP address\n* $2 - IP address range", "ip_range_invalid": "Used as error message in [[Special:Block]].\n\nSee also:\n* {{msg-mw|Range block disabled}}\n* {{msg-mw|Ip range invalid}}\n* {{msg-mw|Ip range toolarge}}", "ip_range_toolarge": "Used as error message in [[Special:Block]]. Parameters:\n* $1 - a number from 0 to 32 for IPv4 (from 0 to 128 for IPv6); a part of CIDR (Classless Inter-Domain Routing) notation.\nSee also:\n* {{msg-mw|Range block disabled}}\n* {{msg-mw|Ip range invalid}}\n* {{msg-mw|Ip range toolarge}}", "proxyblocker": "Used in [[Special:BlockMe]].\n\nSee also:\n* {{msg-mw|proxyblocker-disabled}}\n* {{msg-mw|proxyblockreason}}\n* {{msg-mw|proxyblocksuccess}}", @@ -3968,7 +3969,7 @@ "logentry-protect-protect-cascade": "{{Logentry|[[Special:Log/protect]]}}\n\n* $4 - protect expiry (formatted with {{msg-mw|protect-summary-desc}}, multiple possible)\nFor word \"cascading\" see {{msg-mw|protect-summary-cascade}}", "logentry-protect-modify": "{{Logentry|[[Special:Log/protect]]}}\n\n* $4 - protect expiry (formatted with {{msg-mw|protect-summary-desc}}, multiple possible)", "logentry-protect-modify-cascade": "{{Logentry|[[Special:Log/protect]]}}\n\n* $4 - protect expiry (formatted with {{msg-mw|protect-summary-desc}}, multiple possible)\nFor word \"cascading\" see {{msg-mw|protect-summary-cascade}}", - "logentry-rights-rights": "* $1 - username\n* $2 - (see below)\n* $3 - username\n* $4 - list of user groups or {{msg-mw|Rightsnone}}\n* $5 - list of user groups or {{msg-mw|Rightsnone}}\n----\n{{Logentry|[[Special:Log/rights]]}}", + "logentry-rights-rights": "* $1 - username\n* $2 - (see below)\n* $3 - username, also used for GENDER support\n* $4 - list of user groups or {{msg-mw|Rightsnone}}\n* $5 - list of user groups or {{msg-mw|Rightsnone}}\n----\n{{Logentry|[[Special:Log/rights]]}}", "logentry-rights-rights-legacy": "* $1 - username\n* $2 - (see below)\n* $3 - username\n----\n{{Logentry|[[Special:Log/rights]]}}", "logentry-rights-autopromote": "* $1 - username\n* $2 - (see below)\n* $3 - (see below)\n* $4 - comma separated list of old user groups or {{msg-mw|Rightsnone}}\n* $5 - comma separated list of new user groups\n----\n{{Logentry|[[Special:Log/rights]]}}", "logentry-upload-upload": "{{Logentry|[[Special:Log/upload]]}}", diff --git a/languages/messages/MessagesAf.php b/languages/messages/MessagesAf.php index 181032c98d..d6dab21ac7 100644 --- a/languages/messages/MessagesAf.php +++ b/languages/messages/MessagesAf.php @@ -59,12 +59,12 @@ $magicWords = [ 'namespace' => [ '1', 'NAAMSPASIE', 'NAMESPACE' ], 'talkspace' => [ '1', 'BESPREKINGSBLADSY', 'TALKSPACE' ], 'fullpagename' => [ '1', 'VOLBLADSYNAAM', 'FULLPAGENAME' ], - 'img_thumbnail' => [ '1', 'duimnael', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'duimnael', 'thumb', 'thumbnail' ], 'img_right' => [ '1', 'regs', 'right' ], 'img_left' => [ '1', 'links', 'left' ], 'img_none' => [ '1', 'geen', 'none' ], 'img_center' => [ '1', 'senter', 'center', 'centre' ], - 'img_framed' => [ '1', 'omraam', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'omraam', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'raamloos', 'frameless' ], 'img_border' => [ '1', 'raam', 'border' ], 'img_top' => [ '1', 'bo', 'top' ], diff --git a/languages/messages/MessagesAn.php b/languages/messages/MessagesAn.php index 33b1107921..038566bade 100644 --- a/languages/messages/MessagesAn.php +++ b/languages/messages/MessagesAn.php @@ -44,7 +44,7 @@ $magicWords = [ 'namespace' => [ '1', 'ESPACIODENOMBRES', 'ESPACIODENOMBRE', 'NAMESPACE' ], 'namespacee' => [ '1', 'ESPACIODENOMBRESE', 'ESPACIODENOMBREC', 'NAMESPACEE' ], 'img_right' => [ '1', 'dreita', 'derecha', 'dcha', 'der', 'right' ], - 'img_left' => [ '1', 'cucha', 'zurda', 'izquierda', 'izda', 'izq', 'left' ], + 'img_left' => [ '1', 'cucha', 'izquierda', 'zurda', 'izda', 'izq', 'left' ], 'ns' => [ '0', 'EN:', 'EDN:', 'NS:' ], 'displaytitle' => [ '1', 'TÍTOL', 'MOSTRARTÍTULO', 'MOSTRARTITULO', 'DISPLAYTITLE' ], 'currentversion' => [ '1', 'BERSIÓNAUTUAL', 'BERSIONAUTUAL', 'REVISIÓNACTUAL', 'VERSIONACTUAL', 'VERSIÓNACTUAL', 'CURRENTVERSION' ], diff --git a/languages/messages/MessagesAr.php b/languages/messages/MessagesAr.php index e76e419277..a83b71754f 100644 --- a/languages/messages/MessagesAr.php +++ b/languages/messages/MessagesAr.php @@ -196,14 +196,14 @@ $magicWords = [ 'subst' => [ '0', 'نسخ:', 'SUBST:' ], 'safesubst' => [ '0', 'نسخ_آمن:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'رسالة_بدون_تهيئة:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'تصغير', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'تصغير', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'تصغير=$1', 'مصغر=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'يمين', 'right' ], 'img_left' => [ '1', 'يسار', 'left' ], 'img_none' => [ '1', 'بدون', 'بلا', 'none' ], 'img_width' => [ '1', '$1بك', '$1عن', '$1px' ], 'img_center' => [ '1', 'مركز', 'center', 'centre' ], - 'img_framed' => [ '1', 'إطار', 'بإطار', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'إطار', 'بإطار', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'لاإطار', 'frameless' ], 'img_lang' => [ '1', 'لغة=$1', 'lang=$1' ], 'img_page' => [ '1', 'صفحة=$1', 'صفحة_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesArc.php b/languages/messages/MessagesArc.php index 91dc377045..0c1b668ff4 100644 --- a/languages/messages/MessagesArc.php +++ b/languages/messages/MessagesArc.php @@ -108,7 +108,7 @@ $magicWords = [ 'pagenamee' => [ '1', 'ܟܘܢܝܐ_ܕܦܐܬܐ', 'PAGENAMEE' ], 'namespace' => [ '1', 'ܚܩܠܐ', 'NAMESPACE' ], 'msg' => [ '0', 'ܐܓܪܬܐ:', 'MSG:' ], - 'img_thumbnail' => [ '1', 'ܙܥܘܪܬܐ', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'ܙܥܘܪܬܐ', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'ܙܥܘܪܬܐ=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'ܝܡܝܢܐ', 'right' ], 'img_left' => [ '1', 'ܣܡܠܐ', 'left' ], diff --git a/languages/messages/MessagesArz.php b/languages/messages/MessagesArz.php index f3377ae01e..2e69353069 100644 --- a/languages/messages/MessagesArz.php +++ b/languages/messages/MessagesArz.php @@ -208,15 +208,15 @@ $magicWords = [ 'subst' => [ '0', 'نسخ:', 'إحلال:', 'SUBST:' ], 'safesubst' => [ '0', 'نسخ_آمن:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'رسالة_من_غير_تهيئه:', 'رسالة_بدون_تهيئة:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'تصغير', 'مصغر', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'تصغير', 'مصغر', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'تصغير=$1', 'مصغر=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'يمين', 'right' ], 'img_left' => [ '1', 'يسار', 'left' ], 'img_none' => [ '1', 'بدون', 'بلا', 'none' ], 'img_width' => [ '1', '$1بك', '$1عن', '$1px' ], 'img_center' => [ '1', 'مركز', 'center', 'centre' ], - 'img_framed' => [ '1', 'إطار', 'بإطار', 'framed', 'enframed', 'frame' ], - 'img_frameless' => [ '1', 'من_غير_اطار', 'لاإطار', 'frameless' ], + 'img_framed' => [ '1', 'إطار', 'بإطار', 'frame', 'framed', 'enframed' ], + 'img_frameless' => [ '1', 'لاإطار', 'من_غير_اطار', 'frameless' ], 'img_lang' => [ '1', 'لغه=$1', 'لغة=$1', 'lang=$1' ], 'img_page' => [ '1', 'صفح=$1', 'صفحه_$1', 'صفحة=$1', 'صفحة_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'معدول', 'معدول=$1', 'معدول_$1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesAzb.php b/languages/messages/MessagesAzb.php index 840d17b3ed..92ca0f87fa 100644 --- a/languages/messages/MessagesAzb.php +++ b/languages/messages/MessagesAzb.php @@ -81,6 +81,6 @@ $magicWords = [ 'img_right' => [ '1', 'ساغ', 'راست', 'right' ], 'img_left' => [ '1', 'سول', 'چپ', 'left' ], 'img_none' => [ '1', 'هئچ', 'هیچ', 'none' ], - 'img_framed' => [ '1', 'قابیق', 'قاب', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'قابیق', 'قاب', 'frame', 'framed', 'enframed' ], ]; diff --git a/languages/messages/MessagesBcl.php b/languages/messages/MessagesBcl.php index 475ba9be36..0b0d42eca3 100644 --- a/languages/messages/MessagesBcl.php +++ b/languages/messages/MessagesBcl.php @@ -67,7 +67,7 @@ $magicWords = [ 'img_left' => [ '1', 'wala', 'left' ], 'img_none' => [ '1', 'mayò', 'none' ], 'img_center' => [ '1', 'sentro', 'tangâ', 'center', 'centre' ], - 'img_framed' => [ '1', 'nakakawadro', 'kwadro', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'nakakawadro', 'kwadro', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'daing kwadro', 'frameless' ], 'img_page' => [ '1', 'pahina=$1', 'pahina $1', 'page=$1', 'page $1' ], 'localurl' => [ '0', 'LOKALURL', 'LOCALURL:' ], diff --git a/languages/messages/MessagesBe.php b/languages/messages/MessagesBe.php index c306ba4939..9822436dad 100644 --- a/languages/messages/MessagesBe.php +++ b/languages/messages/MessagesBe.php @@ -34,14 +34,14 @@ $namespaceAliases = [ ]; $magicWords = [ - 'img_thumbnail' => [ '1', 'міні', 'мініяцюра', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'міні', 'мініяцюра', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'міні=$1', 'мініяцюра=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'справа', 'right' ], 'img_left' => [ '1', 'злева', 'left' ], 'img_none' => [ '1', 'няма', 'none' ], 'img_width' => [ '1', '$1пкс', '$1px' ], 'img_center' => [ '1', 'цэнтр', 'center', 'centre' ], - 'img_framed' => [ '1', 'безрамкі', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'безрамкі', 'frame', 'framed', 'enframed' ], ]; $bookstoreList = [ diff --git a/languages/messages/MessagesBg.php b/languages/messages/MessagesBg.php index d775d25638..74b7fe00a5 100644 --- a/languages/messages/MessagesBg.php +++ b/languages/messages/MessagesBg.php @@ -162,14 +162,14 @@ $magicWords = [ 'msg' => [ '0', 'СЪОБЩ:', 'MSG:' ], 'subst' => [ '0', 'ЗАМЕСТ:', 'SUBST:' ], 'msgnw' => [ '0', 'СЪОБЩБУ:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'мини', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'мини', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'мини=$1', 'thumbnail=$1', 'thumb=$1' ], - 'img_right' => [ '1', 'вдясно', 'дясно', 'д', 'right' ], - 'img_left' => [ '1', 'вляво', 'ляво', 'л', 'left' ], + 'img_right' => [ '1', 'дясно', 'вдясно', 'д', 'right' ], + 'img_left' => [ '1', 'ляво', 'вляво', 'л', 'left' ], 'img_none' => [ '1', 'н', 'none' ], 'img_width' => [ '1', '$1пкс', '$1п', '$1px' ], - 'img_center' => [ '1', 'център', 'центр', 'ц', 'center', 'centre' ], - 'img_framed' => [ '1', 'рамка', 'врамка', 'framed', 'enframed', 'frame' ], + 'img_center' => [ '1', 'център', 'ц', 'центр', 'center', 'centre' ], + 'img_framed' => [ '1', 'рамка', 'врамка', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'безрамка', 'frameless' ], 'img_border' => [ '1', 'ръб', 'контур', 'border' ], 'int' => [ '0', 'ВЪТР:', 'INT:' ], diff --git a/languages/messages/MessagesBs.php b/languages/messages/MessagesBs.php index adeafda31e..6211da20a8 100644 --- a/languages/messages/MessagesBs.php +++ b/languages/messages/MessagesBs.php @@ -187,14 +187,14 @@ $magicWords = [ 'msg' => [ '0', 'POR:', 'MSG:' ], 'subst' => [ '0', 'ZAMJENI:', 'SUBST:' ], 'msgnw' => [ '0', 'NVPOR:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'mini', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'mini=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'desno', 'd', 'right' ], 'img_left' => [ '1', 'lijevo', 'l', 'left' ], 'img_none' => [ '1', 'n', 'bez', 'none' ], 'img_width' => [ '1', '$1piksel', '$1p', '$1px' ], 'img_center' => [ '1', 'centar', 'c', 'center', 'centre' ], - 'img_framed' => [ '1', 'okvir', 'ram', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'okvir', 'ram', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'bez_okvira', 'frameless' ], 'img_page' => [ '1', 'stranica=$1', 'stranica $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'na_gore', 'na_gore=$1', 'na_gore_$1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesCe.php b/languages/messages/MessagesCe.php index d83a36485a..d442f07242 100644 --- a/languages/messages/MessagesCe.php +++ b/languages/messages/MessagesCe.php @@ -221,20 +221,20 @@ $magicWords = [ 'msg' => [ '0', 'ХААМ:', 'СООБЩЕНИЕ:', 'СООБЩ:', 'MSG:' ], 'subst' => [ '0', 'ХӀОТТОР:', 'ХӀОТТ:', 'ПОДСТАНОВКА:', 'ПОДСТ:', 'SUBST:' ], 'msgnw' => [ '0', 'ВИКИ_ХААМ_БОЦАШ:', 'СООБЩ_БЕЗ_ВИКИ:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'жима', 'жимо', 'мини', 'миниатюра', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'мини', 'жима', 'жимо', 'миниатюра', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'жима=$1', 'жимо=$1', 'мини=$1', 'миниатюра=$1', 'thumbnail=$1', 'thumb=$1' ], - 'img_right' => [ '1', 'бакъхьа', 'справа', 'right' ], - 'img_left' => [ '1', 'харцхьа', 'слева', 'left' ], + 'img_right' => [ '1', 'справа', 'бакъхьа', 'right' ], + 'img_left' => [ '1', 'слева', 'харцхьа', 'left' ], 'img_none' => [ '1', 'йоцуш', 'без', 'none' ], 'img_width' => [ '1', '$1пкс', '$1px' ], - 'img_center' => [ '1', 'юккъ', 'центр', 'center', 'centre' ], - 'img_framed' => [ '1', 'гурабе', 'обрамить', 'framed', 'enframed', 'frame' ], - 'img_frameless' => [ '1', 'гурабоцаш', 'безрамки', 'frameless' ], + 'img_center' => [ '1', 'центр', 'юккъ', 'center', 'centre' ], + 'img_framed' => [ '1', 'гурабе', 'обрамить', 'frame', 'framed', 'enframed' ], + 'img_frameless' => [ '1', 'безрамки', 'гурабоцаш', 'frameless' ], 'img_page' => [ '1', 'агlо=$1', 'агlо_$1', 'page_$1', 'страница=$1', 'страница_$1', 'страница $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'бакъхьалакхо', 'бакъхьалакхо=$1', 'бакъхьалакхо_$1', 'upright_$1', 'сверхусправа', 'сверхусправа=$1', 'сверхусправа_$1', 'сверхусправа $1', 'upright', 'upright=$1', 'upright $1' ], 'img_border' => [ '1', 'доза', 'граница', 'border' ], 'img_baseline' => [ '1', 'бух', 'основание', 'baseline' ], - 'img_sub' => [ '1', 'буха', 'под', 'sub' ], + 'img_sub' => [ '1', 'под', 'буха', 'sub' ], 'img_super' => [ '1', 'тӀе', 'над', 'super', 'sup' ], 'img_top' => [ '1', 'лакхахь', 'сверху', 'top' ], 'img_text_top' => [ '1', 'лакххьара-йоза', 'текст-сверху', 'text-top' ], diff --git a/languages/messages/MessagesCkb.php b/languages/messages/MessagesCkb.php index a010c2c531..ad45b66341 100644 --- a/languages/messages/MessagesCkb.php +++ b/languages/messages/MessagesCkb.php @@ -109,12 +109,12 @@ $specialPageAliases = [ ]; $magicWords = [ - 'img_thumbnail' => [ '1', 'وێنۆک', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'وێنۆک', 'thumb', 'thumbnail' ], 'img_right' => [ '1', 'ڕاست', 'right' ], 'img_left' => [ '1', 'چەپ', 'left' ], 'img_width' => [ '1', '$1پیکسڵ', '$1px' ], 'img_center' => [ '1', 'ناوەڕاست', 'center', 'centre' ], - 'img_framed' => [ '1', 'چوارچێوە', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'چوارچێوە', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'بێچوارچێوە', 'frameless' ], 'img_border' => [ '1', 'سنوور', 'border' ], ]; diff --git a/languages/messages/MessagesCs.php b/languages/messages/MessagesCs.php index 3cd652bd05..548b78c940 100644 --- a/languages/messages/MessagesCs.php +++ b/languages/messages/MessagesCs.php @@ -72,12 +72,12 @@ $specialPageAliases = [ 'Filepath' => [ 'Cesta_k_souboru' ], 'Import' => [ 'Importovat_stránky' ], 'Invalidateemail' => [ 'Zneplatnit_e-mail', 'Zrušit_potvrzení_e-mailu' ], - 'BlockList' => [ 'Blokovaní_uživatelé', 'Blokovani_uzivatele' ], + 'BlockList' => [ 'Blokovaní_uživatelé', 'Blokovani_uzivatele', 'Zablokovaní_uživatelé' ], 'LinkSearch' => [ 'Hledání_odkazů', 'Hledani_odkazu' ], 'Listadmins' => [ 'Seznam_správců', 'Seznam_spravcu' ], 'Listbots' => [ 'Seznam_botů', 'Seznam_botu' ], 'Listfiles' => [ 'Seznam_souborů', 'Seznam_souboru' ], - 'Listgrouprights' => [ 'Seznam_uživatelských_práv', 'Seznam_uzivatelskych_prav' ], + 'Listgrouprights' => [ 'Práva_uživatelských_skupin', 'Seznam_uživatelských_práv', 'Seznam_uzivatelskych_prav' ], 'Listredirects' => [ 'Seznam_přesměrování', 'Seznam_presmerovani' ], 'Listusers' => [ 'Uživatelé', 'Uzivatele', 'Seznam_uživatelů', 'Seznam_uzivatelu' ], 'Lockdb' => [ 'Zamknout_databázi', 'Zamknout_databazi' ], @@ -92,7 +92,7 @@ $specialPageAliases = [ 'Mostlinkedcategories' => [ 'Nejpoužívanější_kategorie', 'Nejpouzivanejsi_kategorie' ], 'Mostlinkedtemplates' => [ 'Nejpoužívanější_šablony', 'Nejpouzivanejsi_sablony' ], 'Mostrevisions' => [ 'Stránky_s_nejvíce_editacemi', 'Stranky_s_nejvice_editacemi', 'Stránky_s_nejvyšším_počtem_editací' ], - 'Movepage' => [ 'Přesunout_stránku' ], + 'Movepage' => [ 'Přesunout_stránku', 'Přejmenovat_stránku' ], 'Mycontributions' => [ 'Mé_příspěvky', 'Me_prispevky' ], 'Mypage' => [ 'Moje_stránka', 'Moje_stranka' ], 'Mytalk' => [ 'Moje_diskuse' ], @@ -191,14 +191,14 @@ $magicWords = [ 'subjectpagenamee' => [ '1', 'NÁZEVČLÁNKUE', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'subst' => [ '0', 'VLOŽIT:', 'SUBST:' ], 'msgnw' => [ '0', 'VLOŽITNW:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'náhled', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'náhled', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'náhled=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'vpravo', 'right' ], 'img_left' => [ '1', 'vlevo', 'left' ], 'img_none' => [ '1', 'žádné', 'none' ], 'img_width' => [ '1', '$1pixelů', '$1px' ], 'img_center' => [ '1', 'střed', 'center', 'centre' ], - 'img_framed' => [ '1', 'rám', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'rám', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'bezrámu', 'frameless' ], 'img_lang' => [ '1', 'jazyk=$1', 'lang=$1' ], 'img_page' => [ '1', 'strana=$1', 'strana_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesCy.php b/languages/messages/MessagesCy.php index 8306461bda..a569f16d53 100644 --- a/languages/messages/MessagesCy.php +++ b/languages/messages/MessagesCy.php @@ -53,7 +53,7 @@ $magicWords = [ 'subpagenamee' => [ '1', 'ENWISDUDALENE', 'SUBPAGENAMEE' ], 'talkpagename' => [ '1', 'ENWTUDALENSGWRS', 'TALKPAGENAME' ], 'talkpagenamee' => [ '1', 'ENWTUDALENSGWRSE', 'TALKPAGENAMEE' ], - 'img_thumbnail' => [ '1', 'ewin_bawd', 'bawd', 'mân-lun', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'bawd', 'ewin_bawd', 'mân-lun', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'mân-lun=$1', 'bawd=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'de', 'right' ], 'img_left' => [ '1', 'chwith', 'left' ], diff --git a/languages/messages/MessagesDe.php b/languages/messages/MessagesDe.php index 0a53ff5db2..5fc359ebe6 100644 --- a/languages/messages/MessagesDe.php +++ b/languages/messages/MessagesDe.php @@ -208,21 +208,21 @@ $magicWords = [ 'subjectpagenamee' => [ '1', 'HAUPTSEITENNAME_URL', 'VORDERSEITE_URL', 'HAUPTSEITE_URL', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'subst' => [ '0', 'ERS:', 'SUBST:' ], 'safesubst' => [ '0', 'SICHER_ERS:', 'SICHERERS:', 'SAFESUBST:' ], - 'img_thumbnail' => [ '1', 'mini', 'miniatur', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniatur', 'mini', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniatur=$1', 'mini=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'rechts', 'right' ], 'img_left' => [ '1', 'links', 'left' ], 'img_none' => [ '1', 'ohne', 'none' ], 'img_center' => [ '1', 'zentriert', 'center', 'centre' ], - 'img_framed' => [ '1', 'gerahmt', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'gerahmt', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'rahmenlos', 'frameless' ], 'img_lang' => [ '1', 'sprache=$1', 'lang=$1' ], 'img_page' => [ '1', 'seite=$1', 'seite_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'hochkant', 'hochkant=$1', 'hochkant_$1', 'upright', 'upright=$1', 'upright $1' ], 'img_border' => [ '1', 'rand', 'border' ], 'img_baseline' => [ '1', 'grundlinie', 'baseline' ], - 'img_sub' => [ '1', 'tiefgestellt', 'tief', 'sub' ], - 'img_super' => [ '1', 'hochgestellt', 'hoch', 'super', 'sup' ], + 'img_sub' => [ '1', 'tief', 'tiefgestellt', 'sub' ], + 'img_super' => [ '1', 'hoch', 'hochgestellt', 'super', 'sup' ], 'img_top' => [ '1', 'oben', 'top' ], 'img_text_top' => [ '1', 'text-oben', 'text-top' ], 'img_middle' => [ '1', 'mitte', 'middle' ], diff --git a/languages/messages/MessagesDiq.php b/languages/messages/MessagesDiq.php index 03cf459830..c81fd34248 100644 --- a/languages/messages/MessagesDiq.php +++ b/languages/messages/MessagesDiq.php @@ -224,14 +224,14 @@ $magicWords = [ 'subst' => [ '0', 'KOPYAKE', 'ATEBERDE', 'SUBST:' ], 'safesubst' => [ '0', 'EMELEYATEBERDE', 'SAFESUBST:' ], 'msgnw' => [ '0', 'MSCNW:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'resmoqıckek', 'qıckek', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'resmoqıckek', 'qıckek', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'resmoqıckek=$1', 'qıckek=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'raşt', 'right' ], 'img_left' => [ '1', 'çep', 'left' ], 'img_none' => [ '1', 'çıniyo', 'none' ], 'img_width' => [ '1', '$1pik', '$1piksel', '$1px' ], 'img_center' => [ '1', 'werte', 'miyan', 'center', 'centre' ], - 'img_framed' => [ '1', 'çerçeweyın', 'çerçewekerden', 'çerçewe', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'çerçeweyın', 'çerçewekerden', 'çerçewe', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'béçerçewe', 'frameless' ], 'img_lang' => [ '1', 'zuwan=1$', 'lang=$1' ], 'img_page' => [ '1', 'pera=$1', 'pera_$1', 'page=$1', 'page $1' ], @@ -239,7 +239,7 @@ $magicWords = [ 'img_border' => [ '1', 'sinor', 'border' ], 'img_baseline' => [ '1', 'Sinoréerdi', 'baseline' ], 'img_sub' => [ '1', 'anvar', 'sub' ], - 'img_super' => [ '1', 'corén', 'cor', 'super', 'sup' ], + 'img_super' => [ '1', 'cor', 'corén', 'super', 'sup' ], 'img_top' => [ '1', 'gedug', 'top' ], 'img_text_top' => [ '1', 'gedug-metin', 'text-top' ], 'img_middle' => [ '1', 'merkez', 'middle' ], diff --git a/languages/messages/MessagesEl.php b/languages/messages/MessagesEl.php index 763f9faa12..dd7cd68f4c 100644 --- a/languages/messages/MessagesEl.php +++ b/languages/messages/MessagesEl.php @@ -215,14 +215,14 @@ $magicWords = [ 'msg' => [ '0', 'ΚΕΙΜΕΝΟ:', 'MSG:' ], 'subst' => [ '0', 'ΑΛΛΑΓΗ:', 'SUBST:' ], 'msgnw' => [ '0', 'ΑΠΛΟΚΕΙΜΕΝΟ:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'μικρογραφία', 'μινιατούρα', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'μικρογραφία', 'μινιατούρα', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'μικρογραφία=$1', 'μινιατούρα=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'δεξιά', 'right' ], 'img_left' => [ '1', 'αριστερά', 'left' ], 'img_none' => [ '1', 'καθόλου', 'none' ], 'img_width' => [ '1', '$1εσ', '$1px' ], 'img_center' => [ '1', 'κέντρο', 'center', 'centre' ], - 'img_framed' => [ '1', 'με-πλαίσιο', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'με-πλαίσιο', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'χωρίς-πλαίσιο', 'frameless' ], 'img_page' => [ '1', 'σελίδα=$1', 'σελίδα_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'κατακόρυφα', 'κατακόρυφα=$1', 'κατακόρυφα_$1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index d6ed2356c5..23f2bb02d5 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -197,9 +197,11 @@ $bookstoreList = [ * IDs must be valid identifiers, they cannot contain hyphens. * CASE is 0 to match all case variants, 1 for case-sensitive * - * Note to translators: - * Please include the English words as synonyms. This allows people - * from other wikis to contribute more easily. + * Note to localisers: + * - Include the English magic words as synonyms. This allows people from other + * that do no speak the language to contribute more easily. + * - Order the aliases so that common aliases are occur before more rarely + * used aliases. Tools are expected to use the first alias. * * This array can be modified at runtime with the LanguageGetMagic hook */ @@ -265,14 +267,14 @@ $magicWords = [ 'subst' => [ 0, 'SUBST:' ], 'safesubst' => [ 0, 'SAFESUBST:' ], 'msgnw' => [ 0, 'MSGNW:' ], - 'img_thumbnail' => [ 1, 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ 1, 'thumb', 'thumbnail' ], 'img_manualthumb' => [ 1, 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ 1, 'right' ], 'img_left' => [ 1, 'left' ], 'img_none' => [ 1, 'none' ], 'img_width' => [ 1, '$1px' ], 'img_center' => [ 1, 'center', 'centre' ], - 'img_framed' => [ 1, 'framed', 'enframed', 'frame' ], + 'img_framed' => [ 1, 'frame', 'framed', 'enframed' ], 'img_frameless' => [ 1, 'frameless' ], 'img_lang' => [ 1, 'lang=$1' ], 'img_page' => [ 1, 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesEo.php b/languages/messages/MessagesEo.php index 45ea18b92e..9c6b7be6fb 100644 --- a/languages/messages/MessagesEo.php +++ b/languages/messages/MessagesEo.php @@ -202,14 +202,14 @@ $magicWords = [ 'subst' => [ '0', 'ANSTAT:', 'SUBST:' ], 'safesubst' => [ '0', 'SEKURANSTAT:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'NVMSĜ:', 'NVMSGX:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'eta', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'eta', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'eta=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'dekstra', 'dekstre', 'right' ], 'img_left' => [ '1', 'maldekstra', 'maldekstre', 'left' ], - 'img_none' => [ '1', 'nenio', 'neniu', 'none' ], + 'img_none' => [ '1', 'neniu', 'nenio', 'none' ], 'img_width' => [ '1', '$1ra', '$1px' ], 'img_center' => [ '1', 'centra', 'meza', 'center', 'centre' ], - 'img_framed' => [ '1', 'kadro', 'enkadrita', 'enkadrite', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'kadro', 'enkadrita', 'enkadrite', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'senkadra', 'frameless' ], 'img_page' => [ '1', 'paĝo=$1', 'paĝo $1', 'pagxo=$1', 'pagxo_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'altdekstre', 'altdekstre=$1', 'altdekstre_$1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesEs.php b/languages/messages/MessagesEs.php index a9f1d08e65..3b7c4bc966 100644 --- a/languages/messages/MessagesEs.php +++ b/languages/messages/MessagesEs.php @@ -201,13 +201,13 @@ $magicWords = [ 'subjectpagenamee' => [ '1', 'NOMBREDEPAGINADETEMAC', 'NOMBREDEPÁGINADETEMAC', 'NOMBREDEPÁGINADEASUNTOC', 'NOMBREDEPAGINADEASUNTOC', 'NOMBREDEPAGINADEARTICULOC', 'NOMBREDEPÁGINADEARTÍCULOC', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'msg' => [ '0', 'MSJ:', 'MSG:' ], 'subst' => [ '0', 'SUST:', 'FIJAR:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'miniaturadeimagen', 'miniatura', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniaturadeimagen', 'miniatura', 'mini', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniaturadeimagen=$1', 'miniatura=$1', 'thumbnail=$1', 'thumb=$1' ], - 'img_right' => [ '1', 'derecha', 'dcha', 'der', 'right' ], + 'img_right' => [ '1', 'derecha', 'der', 'dcha', 'right' ], 'img_left' => [ '1', 'izquierda', 'izda', 'izq', 'left' ], - 'img_none' => [ '1', 'ninguna', 'nada', 'no', 'ninguno', 'none' ], + 'img_none' => [ '1', 'no', 'ninguna', 'ninguno', 'nada', 'none' ], 'img_center' => [ '1', 'centro', 'centrado', 'centrada', 'centrar', 'center', 'centre' ], - 'img_framed' => [ '1', 'marco', 'enmarcado', 'enmarcada', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'marco', 'enmarcado', 'enmarcada', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'sinmarco', 'sin_enmarcar', 'sinenmarcar', 'frameless' ], 'img_lang' => [ '1', 'idioma=$1', 'lang=$1' ], 'img_page' => [ '1', 'pagina=$1', 'página=$1', 'pagina_$1', 'página_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesEt.php b/languages/messages/MessagesEt.php index 681d2ff4fc..8a53d9e87a 100644 --- a/languages/messages/MessagesEt.php +++ b/languages/messages/MessagesEt.php @@ -204,13 +204,13 @@ $magicWords = [ 'talkpagename' => [ '1', 'ARUTELUNIMI', 'TALKPAGENAME' ], 'talkpagenamee' => [ '1', 'ARUTELUNIMI1', 'TALKPAGENAMEE' ], 'subst' => [ '0', 'ASENDA:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'pisi', 'pisipilt', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'pisi', 'pisipilt', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'pisi=$1', 'pisipilt=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'paremal', 'right' ], 'img_left' => [ '1', 'vasakul', 'left' ], 'img_none' => [ '1', 'tühi', 'none' ], 'img_center' => [ '1', 'keskel', 'center', 'centre' ], - 'img_framed' => [ '1', 'raam', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'raam', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'raamita', 'frameless' ], 'img_lang' => [ '1', 'keel=$1', 'lang=$1' ], 'img_page' => [ '1', 'lehekülg=$1', 'lehekülg_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesFa.php b/languages/messages/MessagesFa.php index 564445bba8..eee9793cfb 100644 --- a/languages/messages/MessagesFa.php +++ b/languages/messages/MessagesFa.php @@ -211,14 +211,14 @@ $magicWords = [ 'subst' => [ '0', 'جایگزین:', 'جا:', 'SUBST:' ], 'safesubst' => [ '0', 'جایگزین_امن:', 'جام:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'پیغام‌بی‌بسط:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'بندانگشتی', 'انگشتدان', 'انگشتی', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'بندانگشتی', 'انگشتی', 'انگشتدان', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'بندانگشتی=$1', 'انگشتدان=$1', 'انگشتی=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'راست', 'right' ], 'img_left' => [ '1', 'چپ', 'left' ], 'img_none' => [ '1', 'هیچ', 'none' ], 'img_width' => [ '1', '$1پیکسل', '$1px' ], 'img_center' => [ '1', 'وسط', 'center', 'centre' ], - 'img_framed' => [ '1', 'قاب', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'قاب', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'بی‌قاب', 'بیقاب', 'بی_قاب', 'frameless' ], 'img_lang' => [ '1', 'زبان=$1', 'lang=$1' ], 'img_page' => [ '1', 'صفحه=$1', 'صفحه_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesFi.php b/languages/messages/MessagesFi.php index 3013ea62c0..0d1abbd91b 100644 --- a/languages/messages/MessagesFi.php +++ b/languages/messages/MessagesFi.php @@ -190,13 +190,13 @@ $magicWords = [ 'subjectpagename' => [ '1', 'AIHESIVUNIMI', 'ARTIKKELISIVUNIMI', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ], 'subjectpagenamee' => [ '1', 'AIHESIVUNIMIE', 'ARTIKKELISIVUNIMIE', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'subst' => [ '0', 'VASTINE:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'pienoiskuva', 'pienois', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'pienoiskuva', 'pienois', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'pienoiskuva=$1', 'pienois=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'oikea', 'right' ], 'img_left' => [ '1', 'vasen', 'left' ], 'img_none' => [ '1', 'tyhjä', 'none' ], - 'img_center' => [ '1', 'keskitetty', 'keski', 'center', 'centre' ], - 'img_framed' => [ '1', 'kehys', 'kehystetty', 'framed', 'enframed', 'frame' ], + 'img_center' => [ '1', 'keski', 'keskitetty', 'center', 'centre' ], + 'img_framed' => [ '1', 'kehys', 'kehystetty', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'kehyksetön', 'frameless' ], 'img_page' => [ '1', 'sivu=$1', 'sivu_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'yläoikea', 'yläoikea=$1', 'yläoikea_$1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesFr.php b/languages/messages/MessagesFr.php index d69149c9f1..9bb02da1cf 100644 --- a/languages/messages/MessagesFr.php +++ b/languages/messages/MessagesFr.php @@ -196,18 +196,18 @@ $magicWords = [ 'talkpagenamee' => [ '1', 'NOMPAGEDISCUSSIONX', 'TALKPAGENAMEE' ], 'subjectpagename' => [ '1', 'NOMPAGESUJET', 'NOMPAGEARTICLE', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ], 'subjectpagenamee' => [ '1', 'NOMPAGESUJETX', 'NOMPAGEARTICLEX', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], - 'img_thumbnail' => [ '1', 'vignette', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'vignette', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'vignette=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'droite', 'right' ], 'img_left' => [ '1', 'gauche', 'left' ], 'img_none' => [ '1', 'néant', 'neant', 'none' ], 'img_center' => [ '1', 'centré', 'center', 'centre' ], - 'img_framed' => [ '1', 'cadre', 'encadré', 'encadre', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'cadre', 'encadré', 'encadre', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'sans_cadre', 'non_encadré', 'non_encadre', 'frameless' ], 'img_lang' => [ '1', 'langue=$1', 'lang=$1' ], 'img_upright' => [ '1', 'redresse', 'redresse=$1', 'redresse_$1', 'upright', 'upright=$1', 'upright $1' ], 'img_border' => [ '1', 'bordure', 'border' ], - 'img_baseline' => [ '1', 'ligne-de-base', 'base', 'baseline' ], + 'img_baseline' => [ '1', 'base', 'ligne-de-base', 'baseline' ], 'img_sub' => [ '1', 'indice', 'ind', 'sub' ], 'img_super' => [ '1', 'exposant', 'exp', 'super', 'sup' ], 'img_top' => [ '1', 'haut', 'top' ], diff --git a/languages/messages/MessagesFrp.php b/languages/messages/MessagesFrp.php index dd6d1c8e93..106ba5e69b 100644 --- a/languages/messages/MessagesFrp.php +++ b/languages/messages/MessagesFrp.php @@ -196,13 +196,13 @@ $magicWords = [ 'subjectpagenamee' => [ '1', 'NOM_DE_LA_PÂGE_DU_SUJÈT_URL', 'NOM_DE_LA_PÂGE_DE_L_ARTICLLO_URL', 'NOMPAGESUJETX', 'NOMPAGEARTICLEX', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'msg' => [ '0', 'MSJ:', 'MSG:' ], 'msgnw' => [ '0', 'MSJNV:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'figura', 'vignette', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'figura', 'vignette', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'figura=$1', 'vignette=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'drêta', 'droite', 'right' ], 'img_left' => [ '1', 'gôche', 'gauche', 'left' ], 'img_none' => [ '1', 'vouedo', 'néant', 'neant', 'none' ], 'img_center' => [ '1', 'centrâ', 'centré', 'center', 'centre' ], - 'img_framed' => [ '1', 'encâdrâ', 'câdro', 'cadre', 'encadré', 'encadre', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'encâdrâ', 'câdro', 'cadre', 'encadré', 'encadre', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'sen_câdro', 'pas_encâdrâ', 'sans_cadre', 'non_encadré', 'non_encadre', 'frameless' ], 'img_page' => [ '1', 'pâge=$1', 'pâge $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'drêt', 'drêt=$1', 'drêt $1', 'redresse', 'redresse=$1', 'redresse $1', 'redresse_$1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesGa.php b/languages/messages/MessagesGa.php index 7c00dc7a5c..a5087900cf 100644 --- a/languages/messages/MessagesGa.php +++ b/languages/messages/MessagesGa.php @@ -30,12 +30,12 @@ $magicWords = [ 'msg' => [ '0', 'TCHT:', 'MSG:' ], 'subst' => [ '0', 'IONAD:', 'SUBST:' ], 'msgnw' => [ '0', 'TCHTFS:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'mionsamhail', 'mion', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'mion', 'mionsamhail', 'thumb', 'thumbnail' ], 'img_right' => [ '1', 'deas', 'right' ], 'img_left' => [ '1', 'clé', 'left' ], 'img_none' => [ '1', 'faic', 'none' ], 'img_center' => [ '1', 'lár', 'center', 'centre' ], - 'img_framed' => [ '1', 'fráma', 'frámaithe', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'fráma', 'frámaithe', 'frame', 'framed', 'enframed' ], 'int' => [ '0', 'INMH:', 'INT:' ], 'sitename' => [ '1', 'AINMANTSUÍMH', 'SITENAME' ], 'ns' => [ '0', 'AS:', 'NS:' ], diff --git a/languages/messages/MessagesGl.php b/languages/messages/MessagesGl.php index 092226cd46..8f1d4a753b 100644 --- a/languages/messages/MessagesGl.php +++ b/languages/messages/MessagesGl.php @@ -200,17 +200,17 @@ $magicWords = [ 'basepagename' => [ '1', 'NOMEDAPÁXINABASE', 'NOMEDAPAGINABASE', 'NOMEDAPÁGINABASE', 'BASEPAGENAME' ], 'talkpagename' => [ '1', 'NOMEDAPÁXINADECONVERSA', 'NOMEDAPAGINADEDISCUSSAO', 'NOMEDAPÁGINADEDISCUSSÃO', 'TALKPAGENAME' ], 'subjectpagename' => [ '1', 'NOMEDAPÁXINADECONTIDO', 'NOMEDAPAGINADECONTEUDO', 'NOMEDAPÁGINADECONTEÚDO', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ], - 'img_thumbnail' => [ '1', 'miniatura', 'miniaturadaimaxe', 'miniaturadaimagem', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniatura', 'miniaturadaimagem', 'miniaturadaimaxe', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniatura=$1', 'miniaturadaimaxe=$1', 'miniaturadaimagem=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'dereita', 'direita', 'right' ], 'img_left' => [ '1', 'esquerda', 'left' ], 'img_none' => [ '1', 'ningún', 'nenhum', 'none' ], 'img_center' => [ '1', 'centro', 'center', 'centre' ], - 'img_framed' => [ '1', 'conmarco', 'conbordo', 'marco', 'commoldura', 'comborda', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'conmarco', 'marco', 'conbordo', 'commoldura', 'comborda', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'senmarco', 'senbordo', 'semmoldura', 'semborda', 'frameless' ], 'img_page' => [ '1', 'páxina=$1', 'páxina_$1', 'página=$1', 'página_$1', 'página $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'arribaádereita', 'arribaádereita=$1', 'arribaádereita_$1', 'superiordireito', 'superiordireito=$1', 'superiordireito_$1', 'superiordireito $1', 'upright', 'upright=$1', 'upright $1' ], - 'img_border' => [ '1', 'bordo', 'borda', 'border' ], + 'img_border' => [ '1', 'borda', 'bordo', 'border' ], 'img_baseline' => [ '1', 'liñadebase', 'linhadebase', 'baseline' ], 'img_top' => [ '1', 'arriba', 'acima', 'top' ], 'img_text_top' => [ '1', 'texto-arriba', 'text-top' ], diff --git a/languages/messages/MessagesHe.php b/languages/messages/MessagesHe.php index 217e5cbc94..9e03942ad9 100644 --- a/languages/messages/MessagesHe.php +++ b/languages/messages/MessagesHe.php @@ -211,18 +211,18 @@ $magicWords = [ 'subst' => [ '0', 'ס:', 'SUBST:' ], 'safesubst' => [ '0', 'ס בטוח:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'הכללת מקור', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'ממוזער', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'ממוזער', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'ממוזער=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'ימין', 'right' ], 'img_left' => [ '1', 'שמאל', 'left' ], 'img_none' => [ '1', 'ללא', 'none' ], 'img_width' => [ '1', '$1 פיקסלים', '$1px' ], 'img_center' => [ '1', 'מרכז', 'center', 'centre' ], - 'img_framed' => [ '1', 'ממוסגר', 'מסגרת', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'מסגרת', 'ממוסגר', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'לא ממוסגר', 'ללא מסגרת', 'frameless' ], 'img_page' => [ '1', 'דף=$1', 'דף $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'ימין למעלה', 'ימין למעלה=$1', 'ימין למעלה $1', 'upright', 'upright=$1', 'upright $1' ], - 'img_border' => [ '1', 'גבולות', 'גבול', 'border' ], + 'img_border' => [ '1', 'גבול', 'גבולות', 'border' ], 'img_baseline' => [ '1', 'שורת הבסיס', 'baseline' ], 'img_sub' => [ '1', 'תחתי', 'sub' ], 'img_super' => [ '1', 'עילי', 'super', 'sup' ], diff --git a/languages/messages/MessagesHi.php b/languages/messages/MessagesHi.php index 30902e3c8b..3f3b007869 100644 --- a/languages/messages/MessagesHi.php +++ b/languages/messages/MessagesHi.php @@ -179,19 +179,19 @@ $magicWords = [ 'subst' => [ '0', 'प्रति:', 'SUBST:' ], 'safesubst' => [ '0', 'सुरक्षित_प्रति:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'सन्देश_नोविकी:', 'संदेश_नोविकी:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'अंगूठाकार', 'अंगूठा', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'अंगूठाकार', 'अंगूठा', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'अंगूठाकार=$1', 'अंगूठा=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'दाएँ', 'दायें', 'दाएं', 'right' ], - 'img_left' => [ '1', 'बाएँ', 'बायें', 'बाएं', 'left' ], + 'img_left' => [ '1', 'बाएँ', 'बाएं', 'बायें', 'left' ], 'img_none' => [ '1', 'कोई_नहीं', 'none' ], 'img_width' => [ '1', '$1पिक्सेल', '$1px' ], - 'img_center' => [ '1', 'केन्द्र', 'केंद्र', 'केन्द्रित', 'केंद्रित', 'center', 'centre' ], - 'img_framed' => [ '1', 'फ़्रेम', 'फ्रेम', 'framed', 'enframed', 'frame' ], + 'img_center' => [ '1', 'केंद्र', 'केन्द्र', 'केन्द्रित', 'केंद्रित', 'center', 'centre' ], + 'img_framed' => [ '1', 'फ्रेम', 'फ़्रेम', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'फ़्रेमहीन', 'फ्रेमहीन', 'frameless' ], 'img_lang' => [ '1', 'भाषा=$1', 'lang=$1' ], 'img_page' => [ '1', 'पृष्ठ=$1', 'पृष्ठ_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'खड़ी', 'खड़ी=$1', 'खड़ी_$1', 'upright', 'upright=$1', 'upright $1' ], - 'img_border' => [ '1', 'किनारा', 'बॉर्डर', 'border' ], + 'img_border' => [ '1', 'बॉर्डर', 'किनारा', 'border' ], 'img_baseline' => [ '1', 'आधार_रेखा', 'baseline' ], 'img_sub' => [ '1', 'पद', 'sub' ], 'img_super' => [ '1', 'मूर्ध', 'super', 'sup' ], diff --git a/languages/messages/MessagesHr.php b/languages/messages/MessagesHr.php index ee06560705..97cac52725 100644 --- a/languages/messages/MessagesHr.php +++ b/languages/messages/MessagesHr.php @@ -181,20 +181,20 @@ $magicWords = [ 'subjectpagename' => [ '1', 'IMEGLAVNESTRANICE', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ], 'subjectpagenamee' => [ '1', 'IMEGLAVNESTRANICEE', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'subst' => [ '0', 'ZAMJENA:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'minijatura', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'mini', 'minijatura', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'minijatura=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'desno', 'right' ], 'img_left' => [ '1', 'lijevo', 'left' ], 'img_none' => [ '1', 'ništa', 'none' ], 'img_center' => [ '1', 'središte', 'center', 'centre' ], - 'img_framed' => [ '1', 'okvir', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'okvir', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'bezokvira', 'frameless' ], 'img_lang' => [ '1', 'jezik=$1', 'lang=$1' ], 'img_page' => [ '1', 'stranica=$1', 'stranica $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'uspravno=$1', 'uspravno $1', 'upright', 'upright=$1', 'upright $1' ], 'img_border' => [ '1', 'obrub', 'border' ], 'img_baseline' => [ '1', 'osnovnacrta', 'baseline' ], - 'img_sub' => [ '1', 'potpis', 'ind', 'sub' ], + 'img_sub' => [ '1', 'ind', 'potpis', 'sub' ], 'img_super' => [ '1', 'natpis', 'eks', 'super', 'sup' ], 'img_top' => [ '1', 'vrh', 'top' ], 'img_text_top' => [ '1', 'tekst-vrh', 'text-top' ], diff --git a/languages/messages/MessagesHu.php b/languages/messages/MessagesHu.php index 93a7f5a6aa..6ba075ad74 100644 --- a/languages/messages/MessagesHu.php +++ b/languages/messages/MessagesHu.php @@ -207,13 +207,13 @@ $magicWords = [ 'subjectpagenamee' => [ '1', 'SZÓCIKKNEVEE', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'msg' => [ '0', 'ÜZENET:', 'ÜZ:', 'MSG:' ], 'subst' => [ '0', 'BEILLESZT:', 'BEMÁSOL:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'bélyegkép', 'bélyeg', 'miniatűr', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'bélyegkép', 'bélyeg', 'miniatűr', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'bélyegkép=$1', 'bélyeg=$1', 'miniatűr=$1', 'thumbnail=$1', 'thumb=$1' ], - 'img_right' => [ '1', 'jobb', 'jobbra', 'right' ], - 'img_left' => [ '1', 'bal', 'balra', 'left' ], + 'img_right' => [ '1', 'jobbra', 'jobb', 'right' ], + 'img_left' => [ '1', 'balra', 'bal', 'left' ], 'img_none' => [ '1', 'semmi', 'none' ], - 'img_center' => [ '1', 'közép', 'középre', 'center', 'centre' ], - 'img_framed' => [ '1', 'keretezett', 'keretes', 'keretben', 'kerettel', 'framed', 'enframed', 'frame' ], + 'img_center' => [ '1', 'középre', 'közép', 'center', 'centre' ], + 'img_framed' => [ '1', 'keretezett', 'keretben', 'keretes', 'kerettel', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'keretnélküli', 'frameless' ], 'img_page' => [ '1', 'oldal=$1', 'oldal $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'fennjobbra', 'fennjobbra=$1', 'fennjobbra $1', 'upright', 'upright=$1', 'upright $1' ], @@ -224,7 +224,7 @@ $magicWords = [ 'img_top' => [ '1', 'fenn', 'fent', 'top' ], 'img_text_top' => [ '1', 'szöveg-fenn', 'szöveg-fent', 'text-top' ], 'img_middle' => [ '1', 'vközépen', 'vközépre', 'middle' ], - 'img_bottom' => [ '1', 'lenn', 'lent', 'bottom' ], + 'img_bottom' => [ '1', 'lent', 'lenn', 'bottom' ], 'img_text_bottom' => [ '1', 'szöveg-lenn', 'szöveg-lent', 'text-bottom' ], 'sitename' => [ '1', 'WIKINEVE', 'SITENAME' ], 'ns' => [ '0', 'NÉVTÉR:', 'NS:' ], diff --git a/languages/messages/MessagesHy.php b/languages/messages/MessagesHy.php index 28c3a4da90..ab1d198bf9 100644 --- a/languages/messages/MessagesHy.php +++ b/languages/messages/MessagesHy.php @@ -130,14 +130,14 @@ $magicWords = [ 'subjectpagenamee' => [ '1', 'ՀՈԴՎԱԾԻ_ԷՋԻ_ԱՆՎԱՆՈՒՄԸ_2', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'msg' => [ '0', 'ՀՈՂՈՐԴ՝', 'MSG:' ], 'msgnw' => [ '0', 'ՀՈՂՈՐԴ_ԱՌԱՆՑ_ՎԻՔԻԻ՝', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'մինի', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'մինի', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'մինի=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'աջից', 'right' ], 'img_left' => [ '1', 'ձախից', 'left' ], 'img_none' => [ '1', 'առանց', 'none' ], 'img_width' => [ '1', '$1փքս', '$1px' ], 'img_center' => [ '1', 'կենտրոն', 'center', 'centre' ], - 'img_framed' => [ '1', 'շրջափակել', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'շրջափակել', 'frame', 'framed', 'enframed' ], 'img_page' => [ '1', 'էջը=$1', 'էջ $1', 'page=$1', 'page $1' ], 'int' => [ '0', 'ՆԵՐՔ՝', 'INT:' ], 'sitename' => [ '1', 'ԿԱՅՔԻ_ԱՆՈՒՆԸ', 'SITENAME' ], diff --git a/languages/messages/MessagesId.php b/languages/messages/MessagesId.php index bf1d4d9088..5fee30665c 100644 --- a/languages/messages/MessagesId.php +++ b/languages/messages/MessagesId.php @@ -105,13 +105,13 @@ $magicWords = [ 'msg' => [ '0', 'PSN:', 'PESAN:', 'MSG:' ], 'subst' => [ '0', 'GNT:', 'GANTI:', 'TUKAR:', 'SUBST:' ], 'msgnw' => [ '0', 'TPL:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'jmpl', 'jempol', 'mini', 'miniatur', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'jmpl', 'jempol', 'mini', 'miniatur', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'jmpl=$1', 'jempol=$1', 'mini=$1', 'miniatur=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'ka', 'kanan', 'right' ], - 'img_left' => [ '1', 'ki', 'kiri', 'left' ], + 'img_left' => [ '1', 'kiri', 'ki', 'left' ], 'img_none' => [ '1', 'nir', 'tanpa', 'none' ], 'img_center' => [ '1', 'pus', 'pusat', 'center', 'centre' ], - 'img_framed' => [ '1', 'bing', 'bingkai', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'bingkai', 'bing', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'nirbing', 'tanpabingkai', 'frameless' ], 'img_lang' => [ '1', 'bhs=$1', 'lang=$1' ], 'img_page' => [ '1', 'hal=$1', 'halaman=$1', 'hal_$1', 'halaman_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesIt.php b/languages/messages/MessagesIt.php index 19cb171154..8714c7214d 100644 --- a/languages/messages/MessagesIt.php +++ b/languages/messages/MessagesIt.php @@ -188,13 +188,13 @@ $magicWords = [ 'subpagename' => [ '1', 'NOMESOTTOPAGINA', 'SUBPAGENAME' ], 'subpagenamee' => [ '1', 'NOMESOTTOPAGINAE', 'SUBPAGENAMEE' ], 'subst' => [ '0', 'SOST:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'miniatura', 'min', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniatura', 'min', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniatura=$1', 'min=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'destra', 'right' ], 'img_left' => [ '1', 'sinistra', 'left' ], 'img_none' => [ '1', 'nessuno', 'none' ], 'img_center' => [ '1', 'centro', 'center', 'centre' ], - 'img_framed' => [ '1', 'riquadrato', 'incorniciato', 'originale', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'riquadrato', 'originale', 'incorniciato', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'senza_cornice', 'frameless' ], 'img_page' => [ '1', 'pagina=$1', 'pagina_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'verticale', 'verticale=$1', 'verticale_$1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesJa.php b/languages/messages/MessagesJa.php index ef20b156a7..b905345e52 100644 --- a/languages/messages/MessagesJa.php +++ b/languages/messages/MessagesJa.php @@ -229,19 +229,19 @@ $magicWords = [ 'subst' => [ '0', '展開:', '展開:', 'SUBST:' ], 'safesubst' => [ '0', '安全展開:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'ウィキ無効メッセージ:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'サムネイル', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'サムネイル', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', '代替画像=$1', 'サムネイル=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', '右', 'right' ], 'img_left' => [ '1', '左', 'left' ], 'img_none' => [ '1', 'なし', '無し', 'none' ], 'img_width' => [ '1', '$1ピクセル', '$1px' ], 'img_center' => [ '1', '中央', 'center', 'centre' ], - 'img_framed' => [ '1', 'フレーム', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'フレーム', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'フレームなし', 'frameless' ], 'img_page' => [ '1', 'ページ=$1', 'ページ $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', '右上', 'upright', 'upright=$1', 'upright $1' ], 'img_border' => [ '1', '境界', 'ボーダー', 'border' ], - 'img_baseline' => [ '1', '下線', 'ベースライン', 'baseline' ], + 'img_baseline' => [ '1', 'ベースライン', '下線', 'baseline' ], 'img_sub' => [ '1', '下付き', 'sub' ], 'img_super' => [ '1', '上付き', 'super', 'sup' ], 'img_top' => [ '1', '上端', 'top' ], diff --git a/languages/messages/MessagesKa.php b/languages/messages/MessagesKa.php index 00b98dc048..7c55460167 100644 --- a/languages/messages/MessagesKa.php +++ b/languages/messages/MessagesKa.php @@ -126,7 +126,7 @@ $magicWords = [ 'namespace' => [ '1', 'სახელთა_სივრცე', 'NAMESPACE' ], 'fullpagename' => [ '1', 'გვერდის_სრული_სახელი', 'FULLPAGENAME' ], 'subst' => [ '0', 'მიდგმ:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'მინიატიურა', 'მინი', 'მინიასლი', 'ცეროდენა', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'მინი', 'მინიატიურა', 'მინიასლი', 'ცეროდენა', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'მინიატიურა=$1', 'მინი=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'მარჯვნივ', 'right' ], 'img_left' => [ '1', 'მარცხნივ', 'left' ], diff --git a/languages/messages/MessagesKm.php b/languages/messages/MessagesKm.php index 6ae2e88ec3..e970b1798d 100644 --- a/languages/messages/MessagesKm.php +++ b/languages/messages/MessagesKm.php @@ -215,14 +215,14 @@ $magicWords = [ 'talkpagename' => [ '1', 'ឈ្មោះទំព័រពិភាក្សា', 'TALKPAGENAME' ], 'msg' => [ '0', 'សារ:', 'MSG:' ], 'msgnw' => [ '0', 'សារមិនមែនជាកូដវិគី:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'រូបភាពតូច', 'រូបតូច', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'រូបភាពតូច', 'រូបតូច', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'រូបភាពតូច=$1', 'រូបតូច=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'ស្តាំ', 'ខាងស្តាំ', 'right' ], 'img_left' => [ '1', 'ធ្វេង', 'ខាងធ្វេង', 'left' ], 'img_none' => [ '1', 'ទទេ', 'គ្មាន', 'none' ], 'img_width' => [ '1', '$1ភីកសែល', '$1ភស', '$1px' ], 'img_center' => [ '1', 'កណ្តាល', 'center', 'centre' ], - 'img_framed' => [ '1', 'ស៊ុម', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'ស៊ុម', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'គ្មានស៊ុម', 'frameless' ], 'img_page' => [ '1', 'ទំព័រ=$1', 'ទំព័រ$1', 'page=$1', 'page $1' ], 'img_top' => [ '1', 'ផ្នែកលើ', 'ផ្នែកខាងលើ', 'top' ], diff --git a/languages/messages/MessagesKo.php b/languages/messages/MessagesKo.php index 09acaadfb4..4a3c15e9ca 100644 --- a/languages/messages/MessagesKo.php +++ b/languages/messages/MessagesKo.php @@ -245,14 +245,14 @@ $magicWords = [ 'subst' => [ '0', '풀기:', 'SUBST:' ], 'safesubst' => [ '0', '안전풀기:', 'SAFESUBST:' ], 'msgnw' => [ '0', '위키잘못메시지:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', '섬네일', '썸네일', '축소판', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', '섬네일', '썸네일', '축소판', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', '섬네일=$1', '썸네일=$1', '축소판=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', '오른쪽', 'right' ], 'img_left' => [ '1', '왼쪽', 'left' ], 'img_none' => [ '1', '없음', 'none' ], 'img_width' => [ '1', '$1픽셀', '$1px' ], 'img_center' => [ '1', '가운데', 'center', 'centre' ], - 'img_framed' => [ '1', '프레임', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', '프레임', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', '프레임없음', 'frameless' ], 'img_lang' => [ '1', '언어=$1', 'lang=$1' ], 'img_page' => [ '1', '문서=$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesKsh.php b/languages/messages/MessagesKsh.php index f3aea35e69..b13578ebea 100644 --- a/languages/messages/MessagesKsh.php +++ b/languages/messages/MessagesKsh.php @@ -202,7 +202,7 @@ $magicWords = [ 'nogallery' => [ '0', '__KEIN_JALLERIE__', '__KEINE_GALERIE__', '__KEINEGALERIE__', '__NOGALLERY__' ], 'toc' => [ '0', '__ENHALLT__', '__INHALTSVERZEICHNIS__', '__TOC__' ], 'img_right' => [ '1', 'rähß', 'räts', 'rechts', 'right' ], - 'img_left' => [ '1', 'lengks', 'lenks', 'links', 'left' ], + 'img_left' => [ '1', 'links', 'lengks', 'lenks', 'left' ], 'language' => [ '0', '#SHPROOCH:', '#SPROCH:', '#SPRACHE:', '#LANGUAGE:' ], 'hiddencat' => [ '1', '__VERSHTOCHE_SAACHJRUPP__', '__VERSTECKTE_KATEGORIE__', '__WARTUNGSKATEGORIE__', '__HIDDENCAT__' ], ]; diff --git a/languages/messages/MessagesKw.php b/languages/messages/MessagesKw.php index 45b9bb4c5d..5a0a02b667 100644 --- a/languages/messages/MessagesKw.php +++ b/languages/messages/MessagesKw.php @@ -166,13 +166,13 @@ $magicWords = [ 'numberofedits' => [ '1', 'NIVERAJANJYOW', 'NUMBEROFEDITS' ], 'pagename' => [ '1', 'HANOWANFOLEN', 'PAGENAME' ], 'fullpagename' => [ '1', 'HANOWLEUNANFOLEN', 'FULLPAGENAME' ], - 'img_thumbnail' => [ '1', 'skeusennik', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'skeusennik', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'skeusennik=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'dyhow', 'right' ], 'img_left' => [ '1', 'kledh', 'left' ], 'img_none' => [ '1', 'nagonan', 'none' ], 'img_center' => [ '1', 'kresel', 'center', 'centre' ], - 'img_framed' => [ '1', 'fremys', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'fremys', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'hebfram', 'frameless' ], 'img_page' => [ '1', 'folen=$1', 'folen_$1', 'page=$1', 'page $1' ], 'img_top' => [ '1', 'gwartha', 'top' ], diff --git a/languages/messages/MessagesLb.php b/languages/messages/MessagesLb.php index 77a5b435e4..2f52faf9cf 100644 --- a/languages/messages/MessagesLb.php +++ b/languages/messages/MessagesLb.php @@ -169,15 +169,15 @@ $magicWords = [ 'namespace' => [ '1', 'Nummraum', 'NAMENSRAUM', 'NAMESPACE' ], 'subjectspace' => [ '1', 'Haaptnummraum', 'HAUPTNAMENSRAUM', 'SUBJECTSPACE', 'ARTICLESPACE' ], 'subjectpagename' => [ '1', 'Haaptsäit', 'HAUPTSEITE', 'HAUPTSEITENNAME', 'VORDERSEITE', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ], - 'img_thumbnail' => [ '1', 'Miniatur', 'miniatur', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniatur', 'Miniatur', 'mini', 'thumb', 'thumbnail' ], 'img_right' => [ '1', 'riets', 'rechts', 'right' ], 'img_left' => [ '1', 'lénks', 'links', 'left' ], - 'img_none' => [ '1', 'ouni', 'ohne', 'none' ], + 'img_none' => [ '1', 'ohne', 'ouni', 'none' ], 'img_center' => [ '1', 'zentréiert', 'zentriert', 'center', 'centre' ], - 'img_framed' => [ '1', 'gerummt', 'gerahmt', 'framed', 'enframed', 'frame' ], - 'img_frameless' => [ '1', 'net_gerummt', 'rahmenlos', 'frameless' ], + 'img_framed' => [ '1', 'gerummt', 'gerahmt', 'frame', 'framed', 'enframed' ], + 'img_frameless' => [ '1', 'rahmenlos', 'net_gerummt', 'frameless' ], 'img_page' => [ '1', 'Säit=$1', 'Säit_$1', 'seite=$1', 'seite $1', 'page=$1', 'page $1' ], - 'img_border' => [ '1', 'bord', 'rand', 'border' ], + 'img_border' => [ '1', 'rand', 'bord', 'border' ], 'img_top' => [ '1', 'uewen', 'oben', 'top' ], 'img_middle' => [ '1', 'mëtt', 'mitte', 'middle' ], 'img_bottom' => [ '1', 'ënnen', 'unten', 'bottom' ], diff --git a/languages/messages/MessagesLt.php b/languages/messages/MessagesLt.php index 289bd90c87..a8e6c77f7e 100644 --- a/languages/messages/MessagesLt.php +++ b/languages/messages/MessagesLt.php @@ -164,7 +164,7 @@ $magicWords = [ 'numberoffiles' => [ '1', 'FAILŲSKAIČIUS', 'NUMBEROFFILES' ], 'numberofusers' => [ '1', 'NAUDOTOJŲSKAIČIUS', 'NUMBEROFUSERS' ], 'numberofedits' => [ '1', 'KEITIMŲSKAIČIUS', 'NUMBEROFEDITS' ], - 'img_thumbnail' => [ '1', 'miniatiūra', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniatiūra', 'mini', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniatiūra=$1', 'mini=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'dešinėje', 'right' ], 'img_left' => [ '1', 'kairėje', 'left' ], diff --git a/languages/messages/MessagesMg.php b/languages/messages/MessagesMg.php index 48720ad048..653be834f6 100644 --- a/languages/messages/MessagesMg.php +++ b/languages/messages/MessagesMg.php @@ -67,7 +67,7 @@ $magicWords = [ 'img_right' => [ '1', 'ankavanana', 'droite', 'right' ], 'img_left' => [ '1', 'ankavia', 'gauche', 'left' ], 'img_none' => [ '1', 'tsymisy', 'néant', 'neant', 'none' ], - 'img_center' => [ '1', 'ampivoany', 'anivony', 'centré', 'center', 'centre' ], + 'img_center' => [ '1', 'centré', 'ampivoany', 'anivony', 'center', 'centre' ], 'img_page' => [ '1', 'pejy $1', 'page=$1', 'page $1' ], 'img_border' => [ '1', 'sisiny', 'bordure', 'border' ], 'img_top' => [ '1', 'ambony', 'haut', 'top' ], diff --git a/languages/messages/MessagesMhr.php b/languages/messages/MessagesMhr.php index 2d6e83aaf9..99ab0e55f3 100644 --- a/languages/messages/MessagesMhr.php +++ b/languages/messages/MessagesMhr.php @@ -81,7 +81,7 @@ $specialPageAliases = [ ]; $magicWords = [ - 'img_right' => [ '1', 'пурла', 'справа', 'right' ], + 'img_right' => [ '1', 'справа', 'пурла', 'right' ], 'img_left' => [ '1', 'шола', 'слева', 'left' ], 'img_border' => [ '1', 'чек', 'граница', 'border' ], 'img_sub' => [ '1', 'йымалне', 'под', 'sub' ], diff --git a/languages/messages/MessagesMk.php b/languages/messages/MessagesMk.php index cc76c619f0..c15b040d5e 100644 --- a/languages/messages/MessagesMk.php +++ b/languages/messages/MessagesMk.php @@ -252,14 +252,14 @@ $magicWords = [ 'subst' => [ '0', 'ЗАМЕНИ:', 'SUBST:' ], 'safesubst' => [ '0', 'БЕЗБЗАМЕНИ', 'SAFESUBST:' ], 'msgnw' => [ '0', 'ИЗВЕШТNW:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'мини', 'мини-слика', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'мини', 'мини-слика', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'мини-слика=$1', 'мини=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'десно', 'д', 'right' ], 'img_left' => [ '1', 'лево', 'л', 'left' ], 'img_none' => [ '1', 'н', 'нема', 'none' ], 'img_width' => [ '1', '$1пкс', '$1п', '$1px' ], 'img_center' => [ '1', 'центар', 'ц', 'center', 'centre' ], - 'img_framed' => [ '1', 'рамка', 'ворамка', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'рамка', 'ворамка', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'безрамка', 'frameless' ], 'img_lang' => [ '1', 'јаз=$1', 'lang=$1' ], 'img_page' => [ '1', 'страница=$1', 'страница_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesMl.php b/languages/messages/MessagesMl.php index 0f2c1894f8..2c9542bd49 100644 --- a/languages/messages/MessagesMl.php +++ b/languages/messages/MessagesMl.php @@ -253,14 +253,14 @@ $magicWords = [ 'subst' => [ '0', 'ബദൽ:', 'ഉൾപ്പെടുത്തൽ:', 'SUBST:' ], 'safesubst' => [ '0', 'സംരക്ഷിതബദൽ:', 'സംരക്ഷിതയുൾപ്പെടുത്തൽ:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'മൂലരൂപം:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'ലഘുചിത്രം', 'ലഘു', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'ലഘുചിത്രം', 'ലഘു', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'ലഘുചിത്രം=$1', 'ലഘു=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'വലത്ത്‌', 'വലത്‌', 'right' ], 'img_left' => [ '1', 'ഇടത്ത്‌', 'ഇടത്‌', 'left' ], 'img_none' => [ '1', 'ശൂന്യം', 'none' ], 'img_width' => [ '1', '$1ബിന്ദു', '$1px' ], 'img_center' => [ '1', 'നടുവിൽ', 'നടുക്ക്‌', 'center', 'centre' ], - 'img_framed' => [ '1', 'ചട്ടം', 'ചട്ടത്തിൽ', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'ചട്ടം', 'ചട്ടത്തിൽ', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'ചട്ടരഹിതം', 'frameless' ], 'img_lang' => [ '1', 'ഭാഷ=$1', 'lang=$1' ], 'img_page' => [ '1', 'താൾ=$1', 'താൾ_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesMr.php b/languages/messages/MessagesMr.php index 0ea16f906a..61fc6138ac 100644 --- a/languages/messages/MessagesMr.php +++ b/languages/messages/MessagesMr.php @@ -223,14 +223,14 @@ $magicWords = [ 'msg' => [ '0', 'संदेश:', 'निरोप:', 'MSG:' ], 'subst' => [ '0', 'पर्याय:', 'समाविष्टी:', 'अबाह्य:', 'निरकंसबिंब:', 'कंसत्याग:', 'साचाहिन:', 'साचान्तर:', 'साचापरिस्फोट:', 'साचोद्घाटन:', 'SUBST:' ], 'msgnw' => [ '0', 'संदेशनवा:', 'निरोपनवा:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'इवलेसे', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'इवलेसे', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'इवलेसे=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'उजवे', 'right' ], 'img_left' => [ '1', 'डावे', 'left' ], 'img_none' => [ '1', 'कोणतेचनाही', 'नन्ना', 'none' ], 'img_width' => [ '1', '$1अंश', '$1कणी', '$1पक्ष', '$1px' ], 'img_center' => [ '1', 'मध्यवर्ती', 'center', 'centre' ], - 'img_framed' => [ '1', 'चौकट', 'फ़्रेम', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'चौकट', 'फ़्रेम', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'विनाचौकट', 'विनाफ़्रेम', 'frameless' ], 'img_page' => [ '1', 'पान=$1', 'पान_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'उभा', 'उभा=$1', 'उभा_$1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesMt.php b/languages/messages/MessagesMt.php index 50ea43ba9c..aad38b7703 100644 --- a/languages/messages/MessagesMt.php +++ b/languages/messages/MessagesMt.php @@ -192,13 +192,13 @@ $magicWords = [ 'msg' => [ '0', 'MSĠ:', 'MSG:' ], 'subst' => [ '0', 'BIDDEL:', 'SUBST:' ], 'msgnw' => [ '0', 'MSĠEW:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'daqsminuri', 'minuri', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'daqsminuri', 'minuri', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'daqsminuri=$1', 'minuri=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'lemin', 'right' ], 'img_left' => [ '1', 'xellug', 'left' ], 'img_none' => [ '1', 'xejn', 'none' ], 'img_center' => [ '1', 'nofs', 'ċentrali', 'ċentru', 'center', 'centre' ], - 'img_framed' => [ '1', 'tilat', 'b\'tilar', 'tilar', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'tilat', 'b\'tilar', 'tilar', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'bla_tilar', 'frameless' ], 'img_page' => [ '1', 'paġna=$1', 'paġna $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'wieqaf', 'wieqaf=$1', 'wieqaf $1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesMyv.php b/languages/messages/MessagesMyv.php index 53033c3dbc..20057d52b2 100644 --- a/languages/messages/MessagesMyv.php +++ b/languages/messages/MessagesMyv.php @@ -144,12 +144,12 @@ $magicWords = [ 'fullpagename' => [ '1', 'ЛОПАЛЕМКУВАКАСТО', 'ПОЛНОЕ_НАЗВАНИЕ_СТРАНИЦЫ', 'FULLPAGENAME' ], 'talkpagename' => [ '1', 'КОРТАМОЛОПАЛЕМ', 'НАЗВАНИЕ_СТРАНИЦЫ_ОБСУЖДЕНИЯ', 'TALKPAGENAME' ], 'msg' => [ '0', 'ПАЧТЯМНЭ:', 'СООБЩЕНИЕ:', 'СООБЩ:', 'MSG:' ], - 'img_thumbnail' => [ '1', 'кенжешка', 'мини', 'миниатюра', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'кенжешка', 'мини', 'миниатюра', 'thumb', 'thumbnail' ], 'img_right' => [ '1', 'вить_кедь', 'справа', 'right' ], 'img_left' => [ '1', 'керш_кедь', 'слева', 'left' ], 'img_none' => [ '1', 'вейкеяк_арась', 'без', 'none' ], 'img_center' => [ '1', 'куншкасо', 'центр', 'center', 'centre' ], - 'img_framed' => [ '1', 'кундсо', 'обрамить', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'кундсо', 'обрамить', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'кундовтомо', 'безрамки', 'frameless' ], 'img_page' => [ '1', 'лопа=$1', 'лопа_$1', 'страница=$1', 'страница_$1', 'страница $1', 'page=$1', 'page $1' ], 'img_top' => [ '1', 'верькс', 'сверху', 'top' ], diff --git a/languages/messages/MessagesNds.php b/languages/messages/MessagesNds.php index 8a18f2f3b0..b04066cca2 100644 --- a/languages/messages/MessagesNds.php +++ b/languages/messages/MessagesNds.php @@ -72,12 +72,12 @@ $magicWords = [ 'pagename' => [ '1', 'SIETNAAM', 'SEITENNAME', 'PAGENAME' ], 'pagenamee' => [ '1', 'SIETNAAME', 'SEITENNAME_URL', 'PAGENAMEE' ], 'namespace' => [ '1', 'NAAMRUUM', 'NAMENSRAUM', 'NAMESPACE' ], - 'img_thumbnail' => [ '1', 'duum', 'miniatur', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'duum', 'miniatur', 'mini', 'thumb', 'thumbnail' ], 'img_right' => [ '1', 'rechts', 'right' ], 'img_left' => [ '1', 'links', 'left' ], 'img_none' => [ '1', 'keen', 'ohne', 'none' ], - 'img_center' => [ '1', 'merrn', 'zentriert', 'center', 'centre' ], - 'img_framed' => [ '1', 'rahmt', 'gerahmt', 'framed', 'enframed', 'frame' ], + 'img_center' => [ '1', 'zentriert', 'merrn', 'center', 'centre' ], + 'img_framed' => [ '1', 'gerahmt', 'rahmt', 'frame', 'framed', 'enframed' ], 'sitename' => [ '1', 'STEEDNAAM', 'PROJEKTNAME', 'SITENAME' ], 'ns' => [ '0', 'NR:', 'NS:' ], 'localurl' => [ '0', 'STEEDURL:', 'LOKALE_URL:', 'LOCALURL:' ], diff --git a/languages/messages/MessagesNl.php b/languages/messages/MessagesNl.php index 9ebb79f9bc..dde2e04b7e 100644 --- a/languages/messages/MessagesNl.php +++ b/languages/messages/MessagesNl.php @@ -171,13 +171,13 @@ $magicWords = [ 'subst' => [ '0', 'VERV:', 'SUBST:' ], 'safesubst' => [ '0', 'VEILIGVERV:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'BERICHTNW', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'miniatuur', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniatuur', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniatuur=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'rechts', 'right' ], 'img_left' => [ '1', 'links', 'left' ], 'img_none' => [ '1', 'geen', 'none' ], 'img_center' => [ '1', 'gecentreerd', 'center', 'centre' ], - 'img_framed' => [ '1', 'omkaderd', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'omkaderd', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'kaderloos', 'frameless' ], 'img_lang' => [ '1', 'taal=$1', 'lang=$1' ], 'img_page' => [ '1', 'pagina=$1', 'pagina_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesNn.php b/languages/messages/MessagesNn.php index 49987ad458..b8ae8d7d44 100644 --- a/languages/messages/MessagesNn.php +++ b/languages/messages/MessagesNn.php @@ -132,14 +132,14 @@ $magicWords = [ 'subst' => [ '0', 'LIMINN:', 'SUBST:' ], 'safesubst' => [ '0', 'TRYGGLIMINN:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'IKWIKMELD:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'mini', 'miniatyr', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'mini', 'miniatyr', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'mini=$1', 'miniatyr=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'høgre', 'høyre', 'right' ], 'img_left' => [ '1', 'venstre', 'left' ], 'img_none' => [ '1', 'ingen', 'none' ], 'img_width' => [ '1', '$1pk', '$1px' ], 'img_center' => [ '1', 'sentrum', 'center', 'centre' ], - 'img_framed' => [ '1', 'ramme', 'ramma', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'ramme', 'ramma', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'rammelaus', 'frameless' ], 'img_lang' => [ '1', 'språk=$1', 'lang=$1' ], 'img_page' => [ '1', 'side=$1', 'side_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesOc.php b/languages/messages/MessagesOc.php index 47f6b0a9c9..6c7512ba45 100644 --- a/languages/messages/MessagesOc.php +++ b/languages/messages/MessagesOc.php @@ -194,13 +194,13 @@ $magicWords = [ 'talkpagenamee' => [ '1', 'NOMPAGINADISCUSSIONX', 'TALKPAGENAMEE' ], 'subjectpagename' => [ '1', 'NOMPAGINASUBJECTE', 'NOMPAGINASUBJÈCTE', 'NOMPAGINAARTICLE', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ], 'subjectpagenamee' => [ '1', 'NOMPAGINASUBJECTEX', 'NOMPAGINASUBJÈCTEX', 'NOMPAGINAARTICLEX', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], - 'img_thumbnail' => [ '1', 'vinheta', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'vinheta', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'vinheta=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'drecha', 'dreta', 'right' ], 'img_left' => [ '1', 'esquèrra', 'senèstra', 'gaucha', 'left' ], 'img_none' => [ '1', 'neant', 'nonrés', 'none' ], 'img_center' => [ '1', 'centrat', 'center', 'centre' ], - 'img_framed' => [ '1', 'quadre', 'enquagrat', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'quadre', 'enquagrat', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'sens_quadre', 'frameless' ], 'img_upright' => [ '1', 'redreça', 'redreça$1', 'redreça $1', 'upright', 'upright=$1', 'upright $1' ], 'img_border' => [ '1', 'bordadura', 'border' ], diff --git a/languages/messages/MessagesOr.php b/languages/messages/MessagesOr.php index e84c4f6d3f..4f500a774e 100644 --- a/languages/messages/MessagesOr.php +++ b/languages/messages/MessagesOr.php @@ -216,7 +216,7 @@ $magicWords = [ 'img_none' => [ '1', 'କିଛି_ନୁହେଁ', 'none' ], 'img_width' => [ '1', '$1_ପିକସେଲ', '$1px' ], 'img_center' => [ '1', 'କେନ୍ଦ୍ର', 'center', 'centre' ], - 'img_framed' => [ '1', 'ଫ୍ରେମକରା', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'ଫ୍ରେମକରା', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'ଫ୍ରେମନଥିବା', 'frameless' ], 'img_border' => [ '1', 'ବର୍ଡର', 'border' ], 'img_baseline' => [ '1', 'ବେସଲାଇନ', 'baseline' ], diff --git a/languages/messages/MessagesOs.php b/languages/messages/MessagesOs.php index 26b3832c3e..5ba4ff558e 100644 --- a/languages/messages/MessagesOs.php +++ b/languages/messages/MessagesOs.php @@ -169,7 +169,7 @@ $magicWords = [ 'numberofpages' => [ '1', 'ФÆРСТЫНЫМÆЦ', 'КОЛИЧЕСТВО_СТРАНИЦ', 'NUMBEROFPAGES' ], 'numberofarticles' => [ '1', 'УАЦТЫНЫМÆЦ', 'КОЛИЧЕСТВО_СТАТЕЙ', 'NUMBEROFARTICLES' ], 'pagename' => [ '1', 'ФАРСЫНОМ', 'НАЗВАНИЕ_СТРАНИЦЫ', 'PAGENAME' ], - 'img_thumbnail' => [ '1', 'къаддæргонд', 'къаддæр', 'мини', 'миниатюра', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'мини', 'къаддæргонд', 'къаддæр', 'миниатюра', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'къаддæргонд=$1', 'къаддæр=$1', 'мини=$1', 'миниатюра=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'рахиз', 'справа', 'right' ], 'img_left' => [ '1', 'галиу', 'слева', 'left' ], diff --git a/languages/messages/MessagesPl.php b/languages/messages/MessagesPl.php index 9c7264dff0..cfe034530d 100644 --- a/languages/messages/MessagesPl.php +++ b/languages/messages/MessagesPl.php @@ -266,13 +266,13 @@ $magicWords = [ 'basepagename' => [ '1', 'BAZOWANAZWASTRONY', 'BASEPAGENAME' ], 'talkpagename' => [ '1', 'NAZWASTRONYDYSKUSJI', 'TALKPAGENAME' ], 'subst' => [ '0', 'podst:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'mały', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'mały', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'mały=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'prawo', 'right' ], 'img_left' => [ '1', 'lewo', 'left' ], 'img_none' => [ '1', 'brak', 'none' ], 'img_center' => [ '1', 'centruj', 'center', 'centre' ], - 'img_framed' => [ '1', 'ramka', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'ramka', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'bezramki', 'bez_ramki', 'frameless' ], 'img_page' => [ '1', 'strona=$1', 'page=$1', 'page $1' ], 'img_border' => [ '1', 'tło', 'border' ], diff --git a/languages/messages/MessagesPs.php b/languages/messages/MessagesPs.php index 4254b7458b..18c115b84b 100644 --- a/languages/messages/MessagesPs.php +++ b/languages/messages/MessagesPs.php @@ -133,7 +133,7 @@ $magicWords = [ 'fullpagename' => [ '1', 'دمخ_بشپړنوم', 'FULLPAGENAME' ], 'fullpagenamee' => [ '1', 'دمخ_بشپړنوم_نښه', 'FULLPAGENAMEE' ], 'msg' => [ '0', 'پیغام:', 'پ:', 'MSG:' ], - 'img_thumbnail' => [ '1', 'بټنوک', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'بټنوک', 'thumb', 'thumbnail' ], 'img_right' => [ '1', 'ښي', 'right' ], 'img_left' => [ '1', 'کيڼ', 'left' ], 'img_none' => [ '1', 'هېڅ', 'none' ], diff --git a/languages/messages/MessagesPt.php b/languages/messages/MessagesPt.php index dd6216e86d..5c3c191027 100644 --- a/languages/messages/MessagesPt.php +++ b/languages/messages/MessagesPt.php @@ -269,13 +269,13 @@ $magicWords = [ 'talkpagenamee' => [ '1', 'NOMEDAPAGINADEDISCUSSAOC', 'NOMEDAPÁGINADEDISCUSSÃOC', 'TALKPAGENAMEE' ], 'subjectpagename' => [ '1', 'NOMEDAPAGINADECONTEUDO', 'NOMEDAPÁGINADECONTEÚDO', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ], 'subjectpagenamee' => [ '1', 'NOMEDAPAGINADECONTEUDOC', 'NOMEDAPÁGINADECONTEÚDOC', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], - 'img_thumbnail' => [ '1', 'miniaturadaimagem', 'miniatura', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniaturadaimagem', 'miniatura', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniaturadaimagem=$1', 'miniatura=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'direita', 'right' ], 'img_left' => [ '1', 'esquerda', 'left' ], 'img_none' => [ '1', 'nenhum', 'none' ], 'img_center' => [ '1', 'centro', 'center', 'centre' ], - 'img_framed' => [ '1', 'commoldura', 'comborda', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'commoldura', 'comborda', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'semmoldura', 'semborda', 'frameless' ], 'img_page' => [ '1', 'página=$1', 'página_$1', 'página $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'superiordireito', 'superiordireito=$1', 'superiordireito_$1', 'superiordireito $1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesQu.php b/languages/messages/MessagesQu.php index 8339ad2b69..eb1c8d9d61 100644 --- a/languages/messages/MessagesQu.php +++ b/languages/messages/MessagesQu.php @@ -197,13 +197,13 @@ $magicWords = [ 'msg' => [ '0', 'WILLA:', 'MSJ:', 'MSG:' ], 'subst' => [ '0', 'WAKCHAY:', 'SUST:', 'FIJAR:', 'SUBST:' ], 'msgnw' => [ '0', 'WILLAMUSUQ:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'rikchacha', 'miniaturadeimagen', 'miniatura', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'rikchacha', 'miniaturadeimagen', 'mini', 'miniatura', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'rikchacha=$1', 'miniaturadeimagen=$1', 'miniatura=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'paña', 'alliq', 'derecha', 'dcha', 'der', 'right' ], 'img_left' => [ '1', 'lluqi', 'ichuq', 'izquierda', 'izda', 'izq', 'left' ], 'img_none' => [ '1', 'manaima', 'mana', 'ninguna', 'nada', 'no', 'ninguno', 'none' ], 'img_center' => [ '1', 'chawpi', 'centro', 'centrado', 'centrada', 'centrar', 'center', 'centre' ], - 'img_framed' => [ '1', 'inchuyuq', 'inchu', 'marco', 'enmarcado', 'enmarcada', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'inchuyuq', 'inchu', 'marco', 'enmarcado', 'enmarcada', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'inchunnaq', 'sinmarco', 'sin_embarcar', 'sinenmarcar', 'sin_enmarcar', 'frameless' ], 'img_page' => [ '1', 'panqa=$1', 'pagina=$1', 'página=$1', 'pagina_$1', 'página_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'sayaq', 'sayaq=$1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesRm.php b/languages/messages/MessagesRm.php index 8c04de8c0c..7304dbfb08 100644 --- a/languages/messages/MessagesRm.php +++ b/languages/messages/MessagesRm.php @@ -36,7 +36,7 @@ $namespaceNames = [ $magicWords = [ 'redirect' => [ '0', '#RENVIAMENT', '#REDIRECT' ], - 'img_thumbnail' => [ '1', 'miniatura', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniatura', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniatura=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_upright' => [ '1', 'sidretg', 'sidretg=$1', 'sidretg_$1', 'upright', 'upright=$1', 'upright $1' ], ]; diff --git a/languages/messages/MessagesRo.php b/languages/messages/MessagesRo.php index b1860f9d03..8b921713d2 100644 --- a/languages/messages/MessagesRo.php +++ b/languages/messages/MessagesRo.php @@ -86,13 +86,13 @@ $magicWords = [ 'subjectpagenamee' => [ '1', 'NUMEEPAGINASUBIECT', 'NUMEEPAGINAARTICOL', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'msg' => [ '0', 'MSJ:', 'MSG:' ], 'msgnw' => [ '0', 'MSJNOU:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'miniatura', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniatura', 'mini', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniatura=$1', 'mini=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'dreapta', 'right' ], 'img_left' => [ '1', 'stanga', 'left' ], 'img_none' => [ '1', 'nu', 'none' ], 'img_center' => [ '1', 'centru', 'center', 'centre' ], - 'img_framed' => [ '1', 'cadru', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'cadru', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'faracadru', 'frameless' ], 'img_page' => [ '1', 'pagina=$1', 'pagina $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'dreaptasus', 'dreaptasus=$1', 'dreaptasus $1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesRu.php b/languages/messages/MessagesRu.php index c27365474d..e1af8f3326 100644 --- a/languages/messages/MessagesRu.php +++ b/languages/messages/MessagesRu.php @@ -291,14 +291,14 @@ $magicWords = [ 'subst' => [ '0', 'ПОДСТАНОВКА:', 'ПОДСТ:', 'SUBST:' ], 'safesubst' => [ '0', 'ЗАЩПОДСТ:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'СООБЩ_БЕЗ_ВИКИ:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'мини', 'миниатюра', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'мини', 'миниатюра', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'мини=$1', 'миниатюра=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'справа', 'right' ], 'img_left' => [ '1', 'слева', 'left' ], 'img_none' => [ '1', 'без', 'none' ], 'img_width' => [ '1', '$1пкс', '$1px' ], 'img_center' => [ '1', 'центр', 'center', 'centre' ], - 'img_framed' => [ '1', 'обрамить', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'обрамить', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'безрамки', 'frameless' ], 'img_page' => [ '1', 'страница=$1', 'страница $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'сверхусправа', 'сверхусправа=$1', 'сверхусправа $1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesSa.php b/languages/messages/MessagesSa.php index 21b5e6354b..4a369bdc40 100644 --- a/languages/messages/MessagesSa.php +++ b/languages/messages/MessagesSa.php @@ -223,14 +223,14 @@ $magicWords = [ 'subjectpagename' => [ '1', 'विषयपृष्ठनाम', 'लेखपृष्ठनाम', 'SUBJECTPAGENAME', 'ARTICLEPAGENAME' ], 'msg' => [ '0', 'सन्देश:', 'MSG:' ], 'msgnw' => [ '0', 'नूतनसन्देश:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'लघुत्तम', 'सङ्कुचितचित्र', 'अङ्गुष्ठ', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'लघुत्तम', 'अङ्गुष्ठ', 'सङ्कुचितचित्र', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'सङ्कुचितचित्र=$1', 'अङ्गुष्ठ=$1', 'लघुत्तमचित्र=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'दक्षिणत', 'right' ], 'img_left' => [ '1', 'वामतः', 'left' ], 'img_none' => [ '1', 'नैव', 'none' ], 'img_width' => [ '1', '$1पिट', '$1px' ], 'img_center' => [ '1', 'मध्य', 'center', 'centre' ], - 'img_framed' => [ '1', 'आबन्ध', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'आबन्ध', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'निराबन्ध', 'frameless' ], 'img_page' => [ '1', 'पृष्ठ=$1', 'पृष्ठ $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'उन्नत', 'उन्नत=$1', 'उन्नत $1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesSe.php b/languages/messages/MessagesSe.php index 0208991399..e04b004db8 100644 --- a/languages/messages/MessagesSe.php +++ b/languages/messages/MessagesSe.php @@ -126,7 +126,7 @@ $magicWords = [ 'numberofactiveusers' => [ '1', 'AKTIIVAGEAVAHEDDJIIDMEARRI', ' AKTIIVAGEAVAHEADDJIMEARRI', ' AKTIIVAGEAVAHEADDJEMEARRI', 'NUMBEROFACTIVEUSERS' ], 'numberofedits' => [ '1', 'RIEVDADUSAIDMEARRI', ' RIEVDADUSMEARRI', 'NUMBEROFEDITS' ], 'subst' => [ '0', 'LIIBME:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'mini', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'mini=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'olgeš', 'right' ], 'img_left' => [ '1', 'gurut', 'left' ], diff --git a/languages/messages/MessagesSh.php b/languages/messages/MessagesSh.php index 3a821e2aae..fb792379ee 100644 --- a/languages/messages/MessagesSh.php +++ b/languages/messages/MessagesSh.php @@ -158,14 +158,14 @@ $magicWords = [ 'msg' => [ '0', 'POR:', 'MSG:' ], 'subst' => [ '0', 'ZAMJENI:', 'ZAMENI:', 'ZAMJENA:', 'SUBST:' ], 'msgnw' => [ '0', 'NVPOR:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'minijatura', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'mini', 'minijatura', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'minijatura=$1', 'mini=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'desno', 'right' ], 'img_left' => [ '1', 'lijevo', 'levo', 'left' ], - 'img_none' => [ '1', 'n', 'bez', 'ništa', 'none' ], - 'img_center' => [ '1', 'centar', 'središte', 'c', 'center', 'centre' ], - 'img_framed' => [ '1', 'okvir', 'ram', 'framed', 'enframed', 'frame' ], - 'img_frameless' => [ '1', 'bez_okvira', 'bezokvira', 'frameless' ], + 'img_none' => [ '1', 'n', 'ništa', 'bez', 'none' ], + 'img_center' => [ '1', 'centar', 'c', 'središte', 'center', 'centre' ], + 'img_framed' => [ '1', 'okvir', 'ram', 'frame', 'framed', 'enframed' ], + 'img_frameless' => [ '1', 'bezokvira', 'bez_okvira', 'frameless' ], 'img_page' => [ '1', 'stranica=$1', 'stranica_$1', 'strana=$1', 'strana_$1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'na_gore', 'na_gore=$1', 'na_gore_$1', 'uspravno', 'uspravno=$1', 'uspravno_$1', 'upright', 'upright=$1', 'upright $1' ], 'img_border' => [ '1', 'granica', 'obrub', 'border' ], diff --git a/languages/messages/MessagesSk.php b/languages/messages/MessagesSk.php index d1ac72f55c..299fd136dd 100644 --- a/languages/messages/MessagesSk.php +++ b/languages/messages/MessagesSk.php @@ -220,13 +220,13 @@ $magicWords = [ 'subjectpagenamee' => [ '1', 'NÁZOVČLÁNKUE', 'SUBJECTPAGENAMEE', 'ARTICLEPAGENAMEE' ], 'msg' => [ '0', 'SPRÁVA:', 'MSG:' ], 'subst' => [ '0', 'NAHR:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'náhľad', 'náhľadobrázka', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'náhľad', 'náhľadobrázka', 'thumb', 'thumbnail' ], 'img_right' => [ '1', 'vpravo', 'right' ], 'img_left' => [ '1', 'vľavo', 'left' ], 'img_none' => [ '1', 'žiadny', 'none' ], 'img_width' => [ '1', '$1bod', '$1px' ], 'img_center' => [ '1', 'stred', 'center', 'centre' ], - 'img_framed' => [ '1', 'rám', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'rám', 'frame', 'framed', 'enframed' ], 'img_border' => [ '1', 'okraj', 'border' ], 'sitename' => [ '1', 'NÁZOVLOKALITY', 'SITENAME' ], 'ns' => [ '0', 'MP:', 'NS:' ], diff --git a/languages/messages/MessagesSl.php b/languages/messages/MessagesSl.php index c434309dd1..7599bc2b0a 100644 --- a/languages/messages/MessagesSl.php +++ b/languages/messages/MessagesSl.php @@ -119,14 +119,14 @@ $magicWords = [ 'forcetoc' => [ '0', '__VSILIKAZALOVSEBINE__', '__FORCETOC__' ], 'toc' => [ '0', '__POGLAVJE__', '__TOC__' ], 'noeditsection' => [ '0', '__BREZUREJANJARAZDELKOV__', '__NOEDITSECTION__' ], - 'img_thumbnail' => [ '1', 'sličica', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'sličica', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'sličica=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'desno', 'right' ], 'img_left' => [ '1', 'levo', 'left' ], 'img_none' => [ '1', 'brez', 'none' ], 'img_width' => [ '1', '$1_pik', '$1px' ], 'img_center' => [ '1', 'sredina', 'sredinsko', 'center', 'centre' ], - 'img_framed' => [ '1', 'okvir', 'okvirjeno', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'okvir', 'okvirjeno', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'brezokvirja', 'frameless' ], 'img_page' => [ '1', 'stran=$1', 'm_stran $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'zgorajdesno', 'zgorajdesno=$1', 'zgorajdesno $1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesSq.php b/languages/messages/MessagesSq.php index 20e3978116..a0d88d4610 100644 --- a/languages/messages/MessagesSq.php +++ b/languages/messages/MessagesSq.php @@ -166,13 +166,13 @@ $magicWords = [ 'talkpagename' => [ '1', 'EMRIIFAQESSËDISKUTIMIT', 'TALKPAGENAME' ], 'talkpagenamee' => [ '1', 'EMRIIFAQESSËDISKUTIMITE', 'TALKPAGENAMEE' ], 'subst' => [ '0', 'ZËVN', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'parapamje', 'pamje', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'parapamje', 'pamje', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'parapamje=$1', 'pamje=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'djathtas', 'right' ], 'img_left' => [ '1', 'majtas', 'left' ], 'img_none' => [ '1', 's\'ka', 'none' ], 'img_center' => [ '1', 'qendër', 'qendrore', 'center', 'centre' ], - 'img_framed' => [ '1', 'i_kornizuar', 'pa_kornizë', 'kornizë', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'i_kornizuar', 'pa_kornizë', 'kornizë', 'frame', 'framed', 'enframed' ], 'img_page' => [ '1', 'faqja=$1', 'faqja $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'lartdjathtas', 'lartdjathtas=$1', 'lartdjathtas $1', 'upright', 'upright=$1', 'upright $1' ], 'img_border' => [ '1', 'kufi', 'border' ], diff --git a/languages/messages/MessagesSv.php b/languages/messages/MessagesSv.php index 0815c71948..8819be629a 100644 --- a/languages/messages/MessagesSv.php +++ b/languages/messages/MessagesSv.php @@ -249,13 +249,13 @@ $magicWords = [ 'msg' => [ '0', 'MED:', 'MSG:' ], 'subst' => [ '0', 'BYT:', 'SUBST:' ], 'msgnw' => [ '0', 'MEDNW:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'miniatyr', 'mini', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'miniatyr', 'mini', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'miniatyr=$1', 'mini=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'höger', 'right' ], 'img_left' => [ '1', 'vänster', 'left' ], 'img_none' => [ '1', 'ingen', 'none' ], 'img_center' => [ '1', 'centrerad', 'center', 'centre' ], - 'img_framed' => [ '1', 'inramad', 'ram', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'ram', 'inramad', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'ramlös', 'frameless' ], 'img_page' => [ '1', 'sida=$1', 'sida $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'stående', 'stående=$1', 'stående $1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesTr.php b/languages/messages/MessagesTr.php index 747f1e88e1..9e07263abc 100644 --- a/languages/messages/MessagesTr.php +++ b/languages/messages/MessagesTr.php @@ -252,14 +252,14 @@ $magicWords = [ 'subst' => [ '0', 'YK:', 'YERİNEKOY:', 'KOPYALA:', 'AKTAR:', 'YAPIŞTIR:', 'SUBST:' ], 'safesubst' => [ '0', 'GÜVENLİYERİNEKOY:', 'GÜVENLİKOPYALA:', 'GÜVENLİAKTAR:', 'GÜVENLİYAPIŞTIR:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'MSJYN:', 'İLTYN:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'küçükresim', 'küçük', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'küçükresim', 'küçük', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'küçükresim=$1', 'küçük=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'sağ', 'right' ], 'img_left' => [ '1', 'sol', 'left' ], 'img_none' => [ '1', 'yok', 'none' ], 'img_width' => [ '1', '$1pik', '$1piksel', '$1px' ], 'img_center' => [ '1', 'orta', 'center', 'centre' ], - 'img_framed' => [ '1', 'çerçeveli', 'çerçeve', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'çerçeveli', 'çerçeve', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'çerçevesiz', 'frameless' ], 'img_page' => [ '1', 'sayfa=$1', 'sayfa $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'dikey', 'dikey=$1', 'dikey $1', 'upright', 'upright=$1', 'upright $1' ], @@ -267,7 +267,7 @@ $magicWords = [ 'img_baseline' => [ '1', 'tabançizgisi', 'altçizgi', 'baseline' ], 'img_sub' => [ '1', 'alt', 'sub' ], 'img_super' => [ '1', 'üst', 'üs', 'super', 'sup' ], - 'img_top' => [ '1', 'tavan', 'tepe', 'top' ], + 'img_top' => [ '1', 'tepe', 'tavan', 'top' ], 'img_text_top' => [ '1', 'metin-tavan', 'metin-tepe', 'text-top' ], 'img_middle' => [ '1', 'merkez', 'middle' ], 'img_bottom' => [ '1', 'taban', 'bottom' ], diff --git a/languages/messages/MessagesUk.php b/languages/messages/MessagesUk.php index d3bca667a2..369e0bed21 100644 --- a/languages/messages/MessagesUk.php +++ b/languages/messages/MessagesUk.php @@ -274,14 +274,14 @@ $magicWords = [ 'subst' => [ '0', 'ПІДСТ:', 'ПІДСТАНОВКА:', 'ПОДСТАНОВКА:', 'ПОДСТ:', 'SUBST:' ], 'safesubst' => [ '0', 'БЕЗПЕЧНА_ПІДСТАНОВКА:', 'ЗАЩПОДСТ:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'ПОВІД_БЕЗ_ВІКІ:', 'СООБЩ_БЕЗ_ВИКИ:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'міні', 'мініатюра', 'мини', 'миниатюра', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'міні', 'мини', 'мініатюра', 'миниатюра', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'міні=$1', 'мініатюра=$1', 'мини=$1', 'миниатюра=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'праворуч', 'справа', 'right' ], 'img_left' => [ '1', 'ліворуч', 'слева', 'left' ], 'img_none' => [ '1', 'без', 'none' ], 'img_width' => [ '1', '$1пкс', '$1px' ], 'img_center' => [ '1', 'центр', 'center', 'centre' ], - 'img_framed' => [ '1', 'обрамити', 'рамка', 'обрамить', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'обрамити', 'рамка', 'обрамить', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'безрамки', 'frameless' ], 'img_page' => [ '1', 'сторінка=$1', 'сторінка_$1', 'страница=$1', 'страница $1', 'page=$1', 'page $1' ], 'img_upright' => [ '1', 'зверхуправоруч', 'зверхуправоруч=$1', 'зверхуправоруч_$1', 'сверхусправа', 'сверхусправа=$1', 'сверхусправа $1', 'upright', 'upright=$1', 'upright $1' ], diff --git a/languages/messages/MessagesUr.php b/languages/messages/MessagesUr.php index f70080bb02..f9da1ed945 100644 --- a/languages/messages/MessagesUr.php +++ b/languages/messages/MessagesUr.php @@ -152,7 +152,7 @@ $magicWords = [ 'msg' => [ '0', 'پیغام:', 'MSG:' ], 'subst' => [ '0', 'جا:', 'نقل:', 'SUBST:' ], 'safesubst' => [ '0', 'محفوظ_جا:', 'محفوظ_نقل:', 'SAFESUBST:' ], - 'img_thumbnail' => [ '1', 'تصغیر', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'تصغیر', 'thumb', 'thumbnail' ], 'img_right' => [ '1', 'دائیں', 'right' ], 'img_left' => [ '1', 'بائیں', 'left' ], 'img_center' => [ '1', 'درمیان', 'center', 'centre' ], diff --git a/languages/messages/MessagesVi.php b/languages/messages/MessagesVi.php index 593f61a4a5..201a6770c3 100644 --- a/languages/messages/MessagesVi.php +++ b/languages/messages/MessagesVi.php @@ -220,13 +220,13 @@ $magicWords = [ 'subst' => [ '0', 'THẾ:', 'SUBST:' ], 'safesubst' => [ '0', 'THẾ_AN_TOÀN:', 'SAFESUBST:' ], 'msgnw' => [ '0', 'NHẮN_MỚI:', 'NHẮNMỚI:', 'MSGNW:' ], - 'img_thumbnail' => [ '1', 'nhỏ', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'nhỏ', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'nhỏ=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'phải', 'right' ], 'img_left' => [ '1', 'trái', 'left' ], 'img_none' => [ '1', 'không', 'none' ], 'img_center' => [ '1', 'giữa', 'center', 'centre' ], - 'img_framed' => [ '1', 'khung', 'framed', 'enframed', 'frame' ], + 'img_framed' => [ '1', 'khung', 'frame', 'framed', 'enframed' ], 'img_frameless' => [ '1', 'không_khung', 'frameless' ], 'img_lang' => [ '1', 'tiếng=$1', 'ngôn_ngữ=$1', 'lang=$1' ], 'img_page' => [ '1', 'trang=$1', 'trang_$1', 'page=$1', 'page $1' ], diff --git a/languages/messages/MessagesYi.php b/languages/messages/MessagesYi.php index 074bf5480c..edc860ea5b 100644 --- a/languages/messages/MessagesYi.php +++ b/languages/messages/MessagesYi.php @@ -169,7 +169,7 @@ $magicWords = [ 'subpagename' => [ '1', 'אונטערבלאטנאמען', 'שם דף המשנה', 'SUBPAGENAME' ], 'talkpagename' => [ '1', 'רעדנבלאטנאמען', 'שם דף השיחה', 'TALKPAGENAME' ], 'subst' => [ '0', 'ס:', 'SUBST:' ], - 'img_thumbnail' => [ '1', 'קליין', 'ממוזער', 'thumbnail', 'thumb' ], + 'img_thumbnail' => [ '1', 'קליין', 'ממוזער', 'thumb', 'thumbnail' ], 'img_manualthumb' => [ '1', 'קליין=$1', 'ממוזער=$1', 'thumbnail=$1', 'thumb=$1' ], 'img_right' => [ '1', 'רעכטס', 'ימין', 'right' ], 'img_left' => [ '1', 'לינקס', 'שמאל', 'left' ], diff --git a/resources/Resources.php b/resources/Resources.php index 0f3d70b480..6992de1411 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -436,6 +436,8 @@ return [ 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js', 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js', 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js', + 'de-at' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js', + 'de-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js', 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js', 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js', 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js', diff --git a/resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js b/resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js new file mode 100644 index 0000000000..456c3a0552 --- /dev/null +++ b/resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-AT.js @@ -0,0 +1,22 @@ +/* Austrian German initialisation for the jQuery UI date picker plugin. */ +jQuery(function($){ + $.datepicker.regional['de-AT'] = { + closeText: 'schließen', + prevText: '<zurück', + nextText: 'Vor>', + currentText: 'heute', + monthNames: ['Jänner','Februar','März','April','Mai','Juni', + 'Juli','August','September','Oktober','November','Dezember'], + monthNamesShort: ['Jän','Feb','Mär','Apr','Mai','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dez'], + dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], + dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], + dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], + weekHeader: 'KW', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['de-AT']); +}); diff --git a/resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js b/resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js new file mode 100644 index 0000000000..60cbc29f37 --- /dev/null +++ b/resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de-CH.js @@ -0,0 +1,22 @@ +/* Swiss Standard German initialisation for the jQuery UI date picker plugin. */ +jQuery(function($){ + $.datepicker.regional['de-CH'] = { + closeText: 'schliessen', + prevText: '<zurück', + nextText: 'Vor>', + currentText: 'heute', + monthNames: ['Januar','Februar','März','April','Mai','Juni', + 'Juli','August','September','Oktober','November','Dezember'], + monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', + 'Jul','Aug','Sep','Okt','Nov','Dez'], + dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], + dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], + dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], + weekHeader: 'KW', + dateFormat: 'dd.mm.yy', + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: ''}; + $.datepicker.setDefaults($.datepicker.regional['de-CH']); +}); diff --git a/resources/src/mediawiki/mediawiki.user.js b/resources/src/mediawiki/mediawiki.user.js index d2f2abd60a..0fdd9aaef2 100644 --- a/resources/src/mediawiki/mediawiki.user.js +++ b/resources/src/mediawiki/mediawiki.user.js @@ -241,10 +241,10 @@ * @return {jQuery.Promise} */ getGroups: function ( callback ) { - return getUserInfo().then( - function ( userInfo ) { return userInfo.groups; }, - function () { return []; } - ).done( callback ); + var userGroups = mw.config.get( 'wgUserGroups', [] ); + + // Uses promise for backwards compatibility + return $.Deferred().resolve( userGroups ).done( callback ); }, /** diff --git a/tests/phpunit/includes/WatchedItemStoreUnitTest.php b/tests/phpunit/includes/WatchedItemStoreUnitTest.php index bc846d33d3..9dd38df069 100644 --- a/tests/phpunit/includes/WatchedItemStoreUnitTest.php +++ b/tests/phpunit/includes/WatchedItemStoreUnitTest.php @@ -86,8 +86,7 @@ class WatchedItemStoreUnitTest extends PHPUnit_Framework_TestCase { private function newWatchedItemStore( LoadBalancer $loadBalancer, HashBagOStuff $cache ) { return new WatchedItemStore( $loadBalancer, - $cache, - $this->getMock( StatsdDataFactory::class ) + $cache ); } diff --git a/tests/phpunit/includes/content/JavaScriptContentTest.php b/tests/phpunit/includes/content/JavaScriptContentTest.php index 8cbbfb8a78..97e0b1c0ec 100644 --- a/tests/phpunit/includes/content/JavaScriptContentTest.php +++ b/tests/phpunit/includes/content/JavaScriptContentTest.php @@ -141,16 +141,6 @@ class JavaScriptContentTest extends TextContentTest { ]; } - /** - * @todo Test needs database! - */ - /* - public function getRedirectChain() { - $text = $this->getNativeData(); - return Title::newFromRedirectArray( $text ); - } - */ - /** * @todo Test needs database! */ diff --git a/tests/phpunit/includes/content/TextContentTest.php b/tests/phpunit/includes/content/TextContentTest.php index 93bf716292..d89f3eb26a 100644 --- a/tests/phpunit/includes/content/TextContentTest.php +++ b/tests/phpunit/includes/content/TextContentTest.php @@ -180,16 +180,6 @@ class TextContentTest extends MediaWikiLangTestCase { $this->assertEquals( !is_null( $expected ), $content->isRedirect() ); } - /** - * @todo Test needs database! Should be done by a test class in the Database group. - */ - /* - public function getRedirectChain() { - $text = $this->getNativeData(); - return Title::newFromRedirectArray( $text ); - } - */ - /** * @todo Test needs database! Should be done by a test class in the Database group. */ diff --git a/tests/phpunit/includes/specialpage/SpecialPageFactoryTest.php b/tests/phpunit/includes/specialpage/SpecialPageFactoryTest.php index 534cf9baf7..3d407fbc32 100644 --- a/tests/phpunit/includes/specialpage/SpecialPageFactoryTest.php +++ b/tests/phpunit/includes/specialpage/SpecialPageFactoryTest.php @@ -55,19 +55,17 @@ class SpecialPageFactoryTest extends MediaWikiTestCase { $specialPageTestHelper = new SpecialPageTestHelper(); return [ - 'class name' => [ 'SpecialAllPages', false ], + 'class name' => [ 'SpecialAllPages' ], 'closure' => [ function () { return new SpecialAllPages(); - }, false ], - 'function' => [ [ $this, 'newSpecialAllPages' ], false ], - 'callback string' => [ 'SpecialPageTestHelper::newSpecialAllPages', false ], + } ], + 'function' => [ [ $this, 'newSpecialAllPages' ] ], + 'callback string' => [ 'SpecialPageTestHelper::newSpecialAllPages' ], 'callback with object' => [ - [ $specialPageTestHelper, 'newSpecialAllPages' ], - false + [ $specialPageTestHelper, 'newSpecialAllPages' ] ], 'callback array' => [ - [ 'SpecialPageTestHelper', 'newSpecialAllPages' ], - false + [ 'SpecialPageTestHelper', 'newSpecialAllPages' ] ] ]; } @@ -76,7 +74,7 @@ class SpecialPageFactoryTest extends MediaWikiTestCase { * @covers SpecialPageFactory::getPage * @dataProvider specialPageProvider */ - public function testGetPage( $spec, $shouldReuseInstance ) { + public function testGetPage( $spec ) { $this->mergeMwGlobalArrayValue( 'wgSpecialPages', [ 'testdummy' => $spec ] ); SpecialPageFactory::resetList(); @@ -84,7 +82,7 @@ class SpecialPageFactoryTest extends MediaWikiTestCase { $this->assertInstanceOf( 'SpecialPage', $page ); $page2 = SpecialPageFactory::getPage( 'testdummy' ); - $this->assertEquals( $shouldReuseInstance, $page2 === $page, "Should re-use instance:" ); + $this->assertEquals( true, $page2 === $page, "Should re-use instance:" ); } /** diff --git a/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js b/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js index 04e002dd90..3332c08dc0 100644 --- a/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js +++ b/tests/qunit/suites/resources/mediawiki/mediawiki.user.test.js @@ -41,6 +41,8 @@ } ); QUnit.test( 'getUserInfos', 3, function ( assert ) { + mw.config.set( 'wgUserGroups', [ '*', 'user' ] ); + mw.user.getGroups( function ( groups ) { assert.deepEqual( groups, [ '*', 'user' ], 'Result' ); } ); @@ -55,7 +57,7 @@ this.server.respondWith( /meta=userinfo/, function ( request ) { request.respond( 200, { 'Content-Type': 'application/json' }, - '{ "query": { "userinfo": { "groups": [ "*", "user" ], "rights": [ "read", "edit", "createtalk" ] } } }' + '{ "query": { "userinfo": { "groups": [ "unused" ], "rights": [ "read", "edit", "createtalk" ] } } }' ); } );