Merge "Add missing Title::newFromLinkTarget to api module compare"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 7 Jun 2019 08:11:27 +0000 (08:11 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 7 Jun 2019 08:11:27 +0000 (08:11 +0000)
28 files changed:
HISTORY
includes/DefaultSettings.php
includes/HeaderCallback.php
includes/api/ApiBlock.php
includes/api/ApiQueryRecentChanges.php
includes/api/i18n/he.json
includes/api/i18n/ko.json
includes/api/i18n/pt-br.json
includes/changetags/ChangeTagsLogItem.php
includes/logging/LogEventsList.php
includes/parser/Sanitizer.php
includes/preferences/DefaultPreferencesFactory.php
includes/specials/SpecialChangeEmail.php
includes/specials/SpecialEditTags.php
includes/watcheditem/WatchedItemStore.php
languages/i18n/be-tarask.json
languages/i18n/mk.json
languages/i18n/ml.json
languages/i18n/nqo.json
languages/i18n/pl.json
languages/i18n/ru.json
languages/i18n/sw.json
languages/i18n/zh-hans.json
resources/lib/jquery/jquery-3.3.1.patch [new file with mode: 0644]
resources/lib/jquery/jquery.js
tests/phpunit/includes/api/ApiBlockTest.php
tests/phpunit/includes/parser/SanitizerTest.php
thumb.php

diff --git a/HISTORY b/HISTORY
index 426eb17..771d57e 100644 (file)
--- a/HISTORY
+++ b/HISTORY
@@ -2,6 +2,41 @@ Change notes from older releases. For current info see RELEASE-NOTES-1.34.
 
 = MediaWiki 1.32 =
 
+== MediaWiki 1.32.2 ==
+
+This is a security and maintenance release of the MediaWiki 1.32 branch.
+
+=== Changes since MediaWiki 1.32.1 ===
+* (T204423) Backport support for hyphenated DB names in JobQueueGroup.
+* (T216968) Return pageid as int in both list=iwbacklinks and
+  list=langbacklinks.
+* (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
+* (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
+* (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
+  $wgBlockDisablesLogin is true.
+* (T216029) Chrome redirects to Special:BadTitle after editing a section with
+  a non-Latin name on a page with non-Latin characters in title.
+* Unbreak language related maintenance scripts that use StaticArrayWriter.
+* (T219728) Added support for new Japanese era name "Reiwa".
+* (T25227) SECURITY: action=logout now requires to be posted and have a csrf
+  token.
+* Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
+* (T221045) Remove orphaned code from ConfigRepository.
+* (T222385) resourceloader: Use AND instead of OR for upsert conds in
+  saveFileDependencies().
+* (T224374) Fix message parameters so that the message that says SQLite is
+  out of date makes sense.
+* (T200471) Prevent LBFactorySimple breaking ExternalStorage, when trying to
+  connect to external server with local database name.
+* (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
+* (T208881) SECURITY: blacklist CSS var().
+* (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
+* (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
+* (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
+* (T222036, T222038) SECURITY: Add permission check for user is permitted to
+  view the log type.
+* (T221739) SECURITY: resources: Patch jQuery 3.3.1 for CVE-2019-11358.
+
 == MediaWiki 1.32.1 ==
 
 === Changes since MediaWiki 1.32.0 ===
@@ -716,6 +751,107 @@ because of Phabricator reports.
 
 = MediaWiki 1.31 =
 
+== MediaWiki 1.31.2 ==
+
+This is a security and maintenance release of the MediaWiki 1.31 branch.
+
+Required PHP version has been increased from 7.0.0 to 7.0.13.
+
+=== Changes since MediaWiki 1.31.1 ===
+* (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
+  all titles when asked for none.
+* (T205967) Fix syntax error typo in postgres database upgrade file.
+* (T200254) Add pear/Net_SMTP 1.7.3 to composer dependencies.
+* (T206765) Load installer i18n when running update.php.
+* (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
+  libraries.
+  [Also in the bundled composer /vendor directory.]
+* Various PHP 7.2 and 7.3 compatibility fixes:
+  * (T200595, T206974) Fix PHP 7.3 warnings of using "continue" in some
+    scenarios instead of "break".
+    * (T206976, T206977) Also in the bundled LocalisationUpdate and
+      ParserFunctions extensions.
+  * (T206979) Fix PHP 7.3 warnings of using "compact()" when some variables may
+    not be set.
+  * (T215632) FormatMetadata and UploadStash regexes fixed to be PHP
+    7.3-compatible.
+  * Fix PHP warnings "preg_replace(): [...] invalid range in character class.
+  * Avoid PHP 7.2 warnings in DBConRefTest about count() on non-Countable.
+  * Suppress "Headers already sent" in PHP 7.2 too.
+  * (T206476) Output only to stderr in unit tests.
+  * (T207112) Add session_write_close() calls to SessionManager tests.
+  * oyejorge/less.php replaced with our fork wikimedia/less.php
+  * (T209756) Updated wikimedia/ip-set from 1.2.0 to 1.3.0.
+  * (T213489) Avoid session double-start in Setup.php.
+  * (T206975) Switch to our fork of less.php.
+* (T207540) Include IP address in "Login for $1 succeeded" log entry.
+* (T201781) Database: Allow selectFieldValues() to accept SQL fragments.
+* (T205765) installer: Don't link to the obsolete "Extension Matrix" page.
+* (T206013) Update ImportableUploadRevisionImporter for interwiki usernames.
+* (T207541) Pass an email address, not a MailAddress, to mail().
+* (T207603) SECURITY: User JS may no longer be loaded with mime type
+  text/javascript if there is no account associated with the username.
+* (T112937, T113042) SECURITY: Do not allow loading pages raw with a
+  text/javascript MIME
+  type if non-admins can edit the page.
+* (T17491) <ins>/<del> elements can be phrasing or flow.
+* (T200827) RemexCompatMunger: Don't call endTag() in case B/b
+* (T207088) Upgrade wikimedia/remex-html to 2.0.1.
+  [Also in the bundled composer /vendor directory.]
+* (T194052) Updated wikimedia/base-convert from 1.0.1 to 2.0.0.
+  [Also in the bundled composer /vendor directory.]
+* (T199494) Fix notices in maintenance/removeUnusuedAccounts.php.
+* Require ext-fileinfo in composer.json, per PHPVersionCheck.
+* (T176390) Bundled LocalisationUpdate extension: Handle exceptions from
+  GitHubFetcher.
+* (T208255) Completion search should not change the search query.
+* (T209870) Fix SQL syntax error in MS-SQL initialisation file for new wikis.
+* (T185049) LogFormatter: Fail softer when trying to link an invalid titles.
+* (T210998) Properly set $wgLanguageCode in the generated LocalSettings.php
+  if --lang is used with the command-line installer (install.php).
+* (T211061) ImageListPager: Actor migration for buildQueryConds().
+* (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
+* Fix addition of ug_expiry column to user_groups table on MSSQL.
+* (T204767) Add join conditions to ActiveUsersPager.
+* (T210621) User: Bypass repeatable-read when creating an actor_id.
+* (T204531) rdbms: reduce LoadBalancer replication log spam.
+* (T195525) Fix db error outage page.
+* (T208871) The hard-coded Google search form on the database error page was
+  removed.
+* (T176097) Fix flaky MessageBlobStoreTest assertion failures.
+* (T209423) Update required PHP version to 7.0.13.
+* (T209885) Prevent populateSearchIndex.php from breaking once actor migration
+  has been started.
+* (T216968) Return pageid as int in both list=iwbacklinks and
+  list=langbacklinks.
+* (T215169) Fix for Database::update() with IGNORE option fails on PostgreSQL.
+* (T204423) Backport support for hyphenated DB names in JobQueueGroup.
+* (T199474) Fix typo in rebuildrecentchanges.php resulting in rogue flags.
+* (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
+  $wgBlockDisablesLogin is true.
+* (T216029) Chrome redirects to Special:BadTitle after editing a section with
+  a non-Latin name on a page with non-Latin characters in title.
+* (T219728) Added support for new Japanese era name "Reiwa".
+* (T25227) SECURITY: action=logout now requires to be posted and have a csrf
+  token.
+* Updated cssjanus/cssjanus from 1.2.0 to 1.3.0.
+* (T222385) resourceloader: Use AND instead of OR for upsert conds in
+  saveFileDependencies().
+* (T224374) Fix message parameters so that the message that says SQLite is out
+  of date makes sense.
+* SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
+  reauthenticating.
+* FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
+  getLoginSecurityLevel() returns non-false.
+* (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
+* (T208881) SECURITY: blacklist CSS var().
+* (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
+* (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
+* (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
+* (T222036, T222038) SECURITY: Add permission check for user is permitted to
+  view the log type.
+* (T221739) SECURITY: resources: Patch jQuery 3.2.1 for CVE-2019-11358.
+
 == MediaWiki 1.31.1 ==
 
 This is a security and maintenance release of the MediaWiki 1.31 branch.
@@ -1231,6 +1367,51 @@ There's usually someone online in #mediawiki on irc.freenode.net.
 
 = MediaWiki 1.30 =
 
+== MediaWiki 1.30.2 ==
+
+This is a security and maintenance release of the MediaWiki 1.30 branch.
+
+=== Changes since MediaWiki 1.30.1 ===
+* (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
+  all titles when asked for none.
+* (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
+  libraries.
+* (T207540) Include IP address in "Login for $1 succeeded" log entry.
+* (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
+* (T207603) SECURITY: User JS may no longer be loaded with mime type
+  text/javascript if there is no account associated with the username.
+* (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
+  type if non-admins can edit the page.
+* (T207541) Pass email address to mail().
+* Fix addition of ug_expiry column to user_groups table on MSSQL.
+* (T204531) rdbms: reduce LoadBalancer replication log spam.
+* (T213489) Avoid session double-start in Setup.php.
+* (T195525) Fix db error outage page.
+* (T208871) The hard-coded Google search form on the database error page was
+  removed.
+* (T216968) Return pageid as int in both list=iwbacklinks and
+  list=langbacklinks.
+* (T218608) SECURITY: Fix an issue that prevents Extension:OAuth working when
+  $wgBlockDisablesLogin is true.
+* (T25227) SECURITY: action=logout now requires to be posted and have a csrf
+  token.
+* (T222385) resourceloader: Use AND instead of OR for upsert conds in
+  saveFileDependencies().
+* (T224374) Fix message parameters so that the message that says SQLite is out
+  of date makes sense.
+* SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
+  reauthenticating.
+* FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
+  getLoginSecurityLevel() returns non-false.
+* (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
+* (T208881) SECURITY: blacklist CSS var().
+* (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
+* (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
+* (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
+* (T222036, T222038) SECURITY: Add permission check for user is permitted to
+  view the log type.
+* (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
+
 == MediaWiki 1.30.1 ==
 
 This is a security and maintenance release of the MediaWiki 1.30 branch.
@@ -2389,6 +2570,55 @@ There's usually someone online in #mediawiki on irc.freenode.net.
 
 = MediaWiki 1.27 =
 
+== MediaWiki 1.27.7 ==
+
+This is a maintenance release of the MediaWiki 1.27 branch.
+
+=== Changes since MediaWiki 1.27.6 ===
+* Add missing `use MediaWiki\MediaWikiServices;` to LogEventsList.php.
+* Remove broken tests from ApiBlockTest.php.
+
+== MediaWiki 1.27.6 ==
+
+This is a security and maintenance release of the MediaWiki 1.27 branch.
+
+=== Changes since MediaWiki 1.27.5 ===
+* (T204729) WatchedItemStore::countVisitingWatchersMultiple() shouldn't query
+  all titles when asked for none.
+* (T109121) Remove deprecated pear/mail_mime-decode from composer suggested
+  libraries.
+* (T207241) Augment precision of updatelist time.
+* (T207540) Include IP address in "Login for $1 succeeded" log entry.
+* (T205765) Don't link to the obsolete "Extension Matrix" page in installer.
+* (T207603) SECURITY: User JS may no longer be loaded with mime type
+  text/javascript if there is no account associated with the username.
+* (T113042) SECURITY: Do not allow loading pages raw with a text/javascript MIME
+  type if non-admins can edit the page.
+* (T207541) Pass email address to mail().
+* (T209335) Clarify the default sidebar 'Help' link is about MediaWiki itself.
+* (T213359) Update mediawiki/mediawiki-codesniffer to 0.8.1.
+* (T208871) The hard-coded Google search form on the database error page was
+  removed.
+* (T216968) Return pageid as int in both list=iwbacklinks and
+  list=langbacklinks.
+* (T218608) Fix an issue that prevents Extension:OAuth working when
+  $wgBlockDisablesLogin is true.
+* (T219728) Added support for new Japanese era name "Reiwa".
+* (T25227) SECURITY: action=logout now requires to be posted and have a csrf
+  token.
+* SpecialPage::checkLoginSecurityLevel() will now preserve POST data when
+  reauthenticating.
+* FormSpecialPage::execute() will now call checkLoginSecurityLevel() if
+  getLoginSecurityLevel() returns non-false.
+* (T197279) SECURITY: Fix reauth in Special:ChangeEmail.
+* (T208881) SECURITY: blacklist CSS var().
+* (T209794) SECURITY: rate-limit and prevent blocked users from changing email.
+* (T199540) SECURITY: API: Respect $wgBlockCIDRLimit in action=block.
+* (T212118) SECURITY: Fix cache mode for (un)patrolled recent changes query.
+* (T222036, T222038) SECURITY: Add permission check for user is permitted to
+  view the log type.
+* (T221739) SECURITY: resources: Patch jQuery 1.11.3 for CVE-2019-11358.
+
 == MediaWiki 1.27.5 ==
 
 This is a security and maintenance release of the MediaWiki 1.27 branch.
index f08f5b7..ab1afe2 100644 (file)
@@ -5720,6 +5720,10 @@ $wgRateLimits = [
                'newbie' => [ 5, 86400 ],
                'user' => [ 20, 86400 ],
        ],
+       'changeemail' => [
+               'ip-all' => [ 10, 3600 ],
+               'user' => [ 4, 86400 ]
+       ],
        // Purging pages
        'purge' => [
                'ip' => [ 30, 60 ],
index 650a3a8..30cc7f9 100644 (file)
@@ -2,6 +2,9 @@
 
 namespace MediaWiki;
 
+/**
+ * @since 1.29
+ */
 class HeaderCallback {
        private static $headersSentException;
        private static $messageSent = false;
@@ -10,6 +13,8 @@ class HeaderCallback {
         * Register a callback to be called when headers are sent. There can only
         * be one of these handlers active, so all relevant actions have to be in
         * here.
+        *
+        * @since 1.29
         */
        public static function register() {
                header_register_callback( [ __CLASS__, 'callback' ] );
@@ -17,6 +22,8 @@ class HeaderCallback {
 
        /**
         * The callback, which is called by the transport
+        *
+        * @since 1.29
         */
        public static function callback() {
                // Prevent caching of responses with cookies (T127993)
@@ -57,6 +64,8 @@ class HeaderCallback {
        /**
         * Log a warning message if headers have already been sent. This can be
         * called before flushing the output.
+        *
+        * @since 1.29
         */
        public static function warnIfHeadersSent() {
                if ( headers_sent() && !self::$messageSent ) {
index c71de40..4801267 100644 (file)
@@ -129,6 +129,11 @@ class ApiBlock extends ApiBase {
                        'NamespaceRestrictions' => $namespaceRestrictions,
                ];
 
+               $status = SpecialBlock::validateTarget( $params['user'], $user );
+               if ( !$status->isOK() ) {
+                       $this->dieStatus( $status );
+               }
+
                $retval = SpecialBlock::processForm( $data, $this->getContext() );
                if ( $retval !== true ) {
                        $this->dieStatus( $this->errorArrayToStatus( $retval ) );
index 4b1bf2e..8ae1b66 100644 (file)
@@ -214,12 +214,7 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase {
                        }
 
                        // Check permissions
-                       if ( isset( $show['patrolled'] )
-                               || isset( $show['!patrolled'] )
-                               || isset( $show['unpatrolled'] )
-                               || isset( $show['autopatrolled'] )
-                               || isset( $show['!autopatrolled'] )
-                       ) {
+                       if ( $this->includesPatrollingFlags( $show ) ) {
                                if ( !$user->useRCPatrol() && !$user->useNPPatrol() ) {
                                        $this->dieWithError( 'apierror-permissiondenied-patrolflag', 'permissiondenied' );
                                }
@@ -641,13 +636,23 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase {
                return $vals;
        }
 
+       /**
+        * @param array $flagsArray flipped array (string flags are keys)
+        * @return bool
+        */
+       private function includesPatrollingFlags( array $flagsArray ) {
+               return isset( $flagsArray['patrolled'] ) ||
+                       isset( $flagsArray['!patrolled'] ) ||
+                       isset( $flagsArray['unpatrolled'] ) ||
+                       isset( $flagsArray['autopatrolled'] ) ||
+                       isset( $flagsArray['!autopatrolled'] );
+       }
+
        public function getCacheMode( $params ) {
-               if ( isset( $params['show'] ) ) {
-                       foreach ( $params['show'] as $show ) {
-                               if ( $show === 'patrolled' || $show === '!patrolled' ) {
-                                       return 'private';
-                               }
-                       }
+               if ( isset( $params['show'] ) &&
+                       $this->includesPatrollingFlags( array_flip( $params['show'] ) )
+               ) {
+                       return 'private';
                }
                if ( isset( $params['token'] ) ) {
                        return 'private';
index 80f74b0..d0d5aa2 100644 (file)
        "apihelp-query+langlinks-param-dir": "באיזה כיוון לרשום.",
        "apihelp-query+langlinks-param-inlanguagecode": "קוד שפה בשביל שמות שפות מתורגמות.",
        "apihelp-query+langlinks-example-simple": "קבלת קישורים בין־לשוניים מהדף <kbd>Main Page</kbd>.",
+       "apihelp-query+languageinfo-summary": "מחזירה מידע על שפות זמינות.",
        "apihelp-query+links-summary": "החזרת כל הקישורים מהדפים שצוינו.",
        "apihelp-query+links-param-namespace": "להציג קישורים רק במרחבי השם האלה.",
        "apihelp-query+links-param-limit": "כמה קישורים להחזיר.",
index 04ee838..0bc67bc 100644 (file)
        "apihelp-query+langlinks-summary": "제시된 문서의 모든 언어 간 링크를 반환합니다.",
        "apihelp-query+langlinks-paramvalue-prop-url": "전체 URL을 추가합니다.",
        "apihelp-query+langlinks-param-lang": "이 언어 코드의 언어 링크만 반환합니다.",
+       "apihelp-query+languageinfo-summary": "사용 가능한 언어의 정보를 반환합니다.",
+       "apihelp-query+languageinfo-param-prop": "각 언어별로 가져올 정보입니다.",
+       "apihelp-query+languageinfo-paramvalue-prop-code": "언어 코드입니다. (이 코드는 미디어위키와 관련되어 있으나 다른 표준과 겹치는 부분이 있습니다.)",
+       "apihelp-query+languageinfo-paramvalue-prop-bcp47": "BCP-47 언어 코드입니다.",
+       "apihelp-query+languageinfo-example-simple": "지원하는 모든 언어의 언어 코드를 가져옵니다.",
        "apihelp-query+links-summary": "제시된 문서의 모든 링크를 반환합니다.",
        "apihelp-query+linkshere-summary": "제시된 문서에 연결된 모든 문서를 찾습니다.",
        "apihelp-query+linkshere-paramvalue-prop-pageid": "각 문서의 페이지 ID.",
index e44a577..6800b91 100644 (file)
        "apihelp-query+langlinks-param-dir": "A direção na qual listar.",
        "apihelp-query+langlinks-param-inlanguagecode": "Código de idioma para nomes de idiomas localizados.",
        "apihelp-query+langlinks-example-simple": "Obter links de interligação da página <kbd>Main Page</kbd>.",
+       "apihelp-query+languageinfo-summary": "Retornar informações sobre os idiomas disponíveis.",
        "apihelp-query+links-summary": "Retorna todos os links das páginas fornecidas.",
        "apihelp-query+links-param-namespace": "Mostre apenas links nesses espaços de nominais.",
        "apihelp-query+links-param-limit": "Quantos links retornar.",
index 75b713e..2bac909 100644 (file)
@@ -49,7 +49,7 @@ class ChangeTagsLogItem extends RevisionItemBase {
        }
 
        public function canView() {
-               return LogEventsList::userCan( $this->row, Revision::DELETED_RESTRICTED, $this->list->getUser() );
+               return LogEventsList::userCan( $this->row, Revision::SUPPRESSED_ALL, $this->list->getUser() );
        }
 
        public function canViewContent() {
index 3fd52af..e66bd69 100644 (file)
@@ -531,7 +531,7 @@ class LogEventsList extends ContextSource {
 
        /**
         * Determine if the current user is allowed to view a particular
-        * field of this log row, if it's marked as deleted.
+        * field of this log row, if it's marked as deleted and/or restricted log type.
         *
         * @param stdClass $row
         * @param int $field
@@ -539,7 +539,8 @@ class LogEventsList extends ContextSource {
         * @return bool
         */
        public static function userCan( $row, $field, User $user = null ) {
-               return self::userCanBitfield( $row->log_deleted, $field, $user );
+               return self::userCanBitfield( $row->log_deleted, $field, $user ) &&
+                       self::userCanViewLogType( $row->log_type, $user );
        }
 
        /**
@@ -569,6 +570,26 @@ class LogEventsList extends ContextSource {
                return true;
        }
 
+       /**
+        * Determine if the current user is allowed to view a particular
+        * field of this log row, if it's marked as restricted log type.
+        *
+        * @param stdClass $type
+        * @param User|null $user User to check, or null to use $wgUser
+        * @return bool
+        */
+       public static function userCanViewLogType( $type, User $user = null ) {
+               if ( $user === null ) {
+                       global $wgUser;
+                       $user = $wgUser;
+               }
+               $logRestrictions = MediaWikiServices::getInstance()->getMainConfig()->get( 'LogRestrictions' );
+               if ( isset( $logRestrictions[$type] ) && !$user->isAllowed( $logRestrictions[$type] ) ) {
+                       return false;
+               }
+               return true;
+       }
+
        /**
         * @param stdClass $row
         * @param int $field One of DELETED_* bitfield constants
index abf0714..f76e3a9 100644 (file)
@@ -1073,6 +1073,7 @@ class Sanitizer {
                                | image\s*\(
                                | image-set\s*\(
                                | attr\s*\([^)]+[\s,]+url
+                               | var\s*\(
                        !ix', $value ) ) {
                        return '/* insecure input */';
                }
index 1ba6d99..beed60b 100644 (file)
@@ -113,7 +113,7 @@ class DefaultPreferencesFactory implements PreferencesFactory {
        /**
         * Do not call this directly.  Get it from MediaWikiServices.
         *
-        * @param array|Config $options Config accepted for backwards compatibility
+        * @param ServiceOptions|Config $options Config accepted for backwards compatibility
         * @param Language $contLang
         * @param AuthManager $authManager
         * @param LinkRenderer $linkRenderer
index 8d5cf85..956ff77 100644 (file)
@@ -55,14 +55,16 @@ class SpecialChangeEmail extends FormSpecialPage {
         * @param string $par
         */
        function execute( $par ) {
-               $this->checkLoginSecurityLevel();
-
                $out = $this->getOutput();
                $out->disallowUserJs();
 
                parent::execute( $par );
        }
 
+       protected function getLoginSecurityLevel() {
+               return $this->getName();
+       }
+
        protected function checkExecutePermissions( User $user ) {
                if ( !AuthManager::singleton()->allowsPropertyChange( 'emailaddress' ) ) {
                        throw new ErrorPageError( 'changeemail', 'cannotchangeemail' );
@@ -76,6 +78,10 @@ class SpecialChangeEmail extends FormSpecialPage {
                        throw new PermissionsError( 'viewmyprivateinfo' );
                }
 
+               if ( $user->isBlockedFromEmailuser() ) {
+                       throw new UserBlockedError( $user->getBlock() );
+               }
+
                parent::checkExecutePermissions( $user );
        }
 
@@ -160,6 +166,12 @@ class SpecialChangeEmail extends FormSpecialPage {
                        return Status::newFatal( 'changeemail-nochange' );
                }
 
+               // To prevent spam, rate limit adding a new address, but do
+               // not rate limit removing an address.
+               if ( $newaddr !== '' && $user->pingLimiter( 'changeemail' ) ) {
+                       return Status::newFatal( 'actionthrottledtext' );
+               }
+
                $oldaddr = $user->getEmail();
                $status = $user->setEmailWithConfirmation( $newaddr );
                if ( !$status->isGood() ) {
index ed398de..6ef6cb3 100644 (file)
@@ -227,6 +227,9 @@ class SpecialEditTags extends UnlistedSpecialPage {
                $list = $this->getList();
                for ( $list->reset(); $list->current(); $list->next() ) {
                        $item = $list->current();
+                       if ( !$item->canView() ) {
+                               throw new ErrorPageError( 'permissionserrors', 'tags-update-no-permission' );
+                       }
                        $numRevisions++;
                        $out->addHTML( $item->getHTML() );
                }
index 8560624..eed0b6c 100644 (file)
@@ -553,7 +553,7 @@ class WatchedItemStore implements WatchedItemStoreInterface, StatsdAwareInterfac
         * @since 1.27
         * @param UserIdentity $user
         * @param LinkTarget $target
-        * @return bool
+        * @return WatchedItem|false
         */
        public function getWatchedItem( UserIdentity $user, LinkTarget $target ) {
                if ( !$user->isRegistered() ) {
@@ -573,7 +573,7 @@ class WatchedItemStore implements WatchedItemStoreInterface, StatsdAwareInterfac
         * @since 1.27
         * @param UserIdentity $user
         * @param LinkTarget $target
-        * @return WatchedItem|bool
+        * @return WatchedItem|false
         */
        public function loadWatchedItem( UserIdentity $user, LinkTarget $target ) {
                // Only registered user can have a watchlist
index c0597d7..c8cbee5 100644 (file)
        "nowatchlist": "Ваш сьпіс назіраньня пусты.",
        "watchlistanontext": "Калі ласка, увайдзіце ў сыстэму, каб праглядаць альбо рэдагаваць сьпіс назіраньня.",
        "watchnologin": "Вы не ўвайшлі ў сыстэму",
-       "addwatch": "Ð\94адаÑ\86Ñ\8c Ñ\9e сьпіс назіраньня",
+       "addwatch": "Ð\94адаÑ\86Ñ\8c Ñ\83 сьпіс назіраньня",
        "addedwatchtext": "Старонка «[[:$1]]» і яе старонка абмеркаваньня былі дададзеная да Вашага [[Special:Watchlist|сьпісу назіраньня]].",
        "addedwatchtext-talk": "«[[:$1]]» і зьвязаная зь ёй старонка дададзеныя да вашага [[Special:Watchlist|сьпісу назіраньня]].",
        "addedwatchtext-short": "Старонка «$1» была дададзеная ў ваш сьпіс назіраньня.",
index d70d242..2584b70 100644 (file)
        "magiclink-tracking-isbn": "Страници со волшебни врски за ISBN",
        "magiclink-tracking-isbn-desc": "Страницава користи волшебни врски за ISBN. Погл. [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Magic_links mediawiki.org] за да дознаете како да ги преселите.",
        "specialloguserlabel": "Изведувач:",
-       "speciallogtitlelabel": "Цел (наслов или {{ns:user}}:корисничко име на корисникот):",
+       "speciallogtitlelabel": "Цел (наслов или {{ns:user}}:корисничко име):",
        "log": "Дневници",
        "logeventslist-submit": "Прикажи",
        "logeventslist-more-filters": "Прикажи повеќе дневници:",
index 9f032af..1d0acc3 100644 (file)
        "title-invalid-magic-tilde": "ആവശ്യപ്പെട്ട താൾ തലക്കെട്ടിൽ അസാധുവായ മാന്ത്രിക ടിൽഡേ പരമ്പര ഉൾപ്പെടുന്നു (<nowiki>~~~</nowiki>).",
        "title-invalid-too-long": "ഈ തലക്കെട്ടിന്റെ നീളം കൂടുതലാണു്. UTF-8 എൻകോഡിങ്ങിൽ തലക്കെട്ടുകൾക്ക് $1 {{PLURAL:$1|ബൈറ്റിലധികം|ബൈറ്റുകളിലധികം}} നീളമുണ്ടാകാൻ പാടില്ല.",
        "title-invalid-leading-colon": "ആവശ്യപ്പെട്ട താൾ തലക്കെട്ടിന്റെയാദ്യം അസാധുവായ അപൂർണ്ണവിരാമം ഉൾപ്പെടുന്നു.",
-       "perfcached": "താഴàµ\86 à´\95àµ\8aà´\9fàµ\81à´¤àµ\8dതിരിà´\95àµ\8dà´\95àµ\81à´¨àµ\8dà´¨ à´µà´¿à´µà´°à´\82 à´¶àµ\87à´\96à´°à´¿à´\9aàµ\8dà´\9aàµ\81 à´µàµ\86à´\9aàµ\8dà´\9aà´¿à´°à´¿à´\95àµ\8dà´\95àµ\81à´¨àµ\8dനതാണàµ\8d, à´\85à´¤àµ\81à´\95àµ\8aà´£àµ\8dà´\9fàµ\8d à´\9aിലപàµ\8dà´ªàµ\8bൾ à´ªàµ\81തിയതായിരിà´\95àµ\8dà´\95ണമàµ\86à´¨àµ\8dനിലàµ\8dà´². à´ªà´°à´®à´¾à´µà´§à´¿ {{PLURAL:$1|à´\92à´°àµ\81 à´«à´²à´\82|$1 à´«à´²à´\99àµ\8dà´\99ൾ}} à´¶àµ\87à´\96à´°à´¿à´\9aàµ\8dà´\9aàµ\81à´µàµ\86à´\9aàµ\8dà´\9aà´¿à´°à´¿à´\95àµ\8dà´\95àµ\81à´¨àµ\8dനവയിൽ à´\89à´£àµ\8dà´\9fàµ\8d.",
-       "perfcachedts": "താഴàµ\86à´¯àµ\81à´³àµ\8dà´³ à´µà´¿à´µà´°à´\99àµ\8dà´\99ൾ à´¶àµ\87à´\96à´°à´¿à´\9aàµ\8dà´\9aàµ\8d à´µàµ\86à´\9aàµ\8dà´\9aവയിൽ à´ªàµ\86à´\9fàµ\81à´¨àµ\8dà´¨àµ\81, à´\85വസാനà´\82 à´ªàµ\81à´¤àµ\81à´\95àµ\8dà´\95ിയതàµ\8d $1-à´¨àµ\81 à´\86à´£àµ\8dâ\80\8c. à´ªà´°à´®à´¾à´µà´§à´¿ {{PLURAL:$4|à´\92à´°àµ\81 à´«à´²à´\82|$4 à´«à´²à´\99àµ\8dà´\99ൾ}} à´¶àµ\87à´\96à´°à´¿à´\9aàµ\8dà´\9aàµ\81à´µàµ\86à´\9aàµ\8dà´\9aà´¿à´°à´¿à´\95àµ\8dà´\95àµ\81à´¨àµ\8dനവയിൽ à´\89à´£àµ\8dà´\9fàµ\8d.",
+       "perfcached": "താഴàµ\86 à´\95àµ\8aà´\9fàµ\81à´¤àµ\8dതിരിà´\95àµ\8dà´\95àµ\81à´¨àµ\8dà´¨ à´µà´¿à´µà´°à´\82 à´¶àµ\87à´\96à´°à´¿à´\9aàµ\8dà´\9aàµ\81 à´µàµ\86à´\9aàµ\8dà´\9aà´¿à´°à´¿à´\95àµ\8dà´\95àµ\81à´¨àµ\8dനതാണàµ\8d, à´\85à´¤àµ\81à´\95àµ\8aà´£àµ\8dà´\9fàµ\8d à´\9aിലപàµ\8dà´ªàµ\8bൾ à´ªàµ\81തിയതായിരിà´\95àµ\8dà´\95ണമàµ\86à´¨àµ\8dനിലàµ\8dà´². à´¶àµ\87à´\96à´°à´¿à´\9aàµ\8dà´\9aàµ\81à´µàµ\86à´\9aàµ\8dà´\9aà´¿à´°à´¿à´\95àµ\8dà´\95àµ\81à´¨àµ\8dനവയിൽ à´ªà´°à´®à´¾à´µà´§à´¿ {{PLURAL:$4|à´\92à´°àµ\81 à´«à´²à´\82|$4 à´«à´²à´\99àµ\8dà´\99ൾ}} à´\86à´£àµ\8d à´\89à´£àµ\8dà´\9fാവàµ\81à´\95.",
+       "perfcachedts": "താഴàµ\86à´¯àµ\81à´³àµ\8dà´³ à´µà´¿à´µà´°à´\99àµ\8dà´\99ൾ à´¶àµ\87à´\96à´°à´¿à´\9aàµ\8dà´\9aàµ\81à´µàµ\86à´\9aàµ\8dà´\9aവയിൽ à´ªàµ\86à´\9fàµ\81à´¨àµ\8dà´¨àµ\81, à´\85വസാനà´\82 à´ªàµ\81à´¤àµ\81à´\95àµ\8dà´\95ിയതàµ\8d $1-à´¨àµ\81 à´\86à´£àµ\8dâ\80\8c. à´¶àµ\87à´\96à´°à´¿à´\9aàµ\8dà´\9aàµ\81à´µàµ\86à´\9aàµ\8dà´\9aà´¿à´°à´¿à´\95àµ\8dà´\95àµ\81à´¨àµ\8dനവയിൽ à´ªà´°à´®à´¾à´µà´§à´¿ {{PLURAL:$4|à´\92à´°àµ\81 à´«à´²à´\82|$4 à´«à´²à´\99àµ\8dà´\99ൾ}} à´\86à´£àµ\8d à´\89à´£àµ\8dà´\9fാവàµ\81à´\95.",
        "querypage-no-updates": "ഈ താളിന്റെ പുതുക്കൽ തൽക്കാലം നടക്കുന്നില്ല. ഇവിടുള്ള വിവരങ്ങൾ ഏറ്റവും പുതിയതാവണമെന്നില്ല.",
        "viewsource": "മൂലരൂപം കാണുക",
        "viewsource-title": "$1 എന്ന താളിന്റെ മൂലരൂപം കാണുക",
index fbaa98b..618f18d 100644 (file)
        "postedit-confirmation-restored": "ߞߐߜߍ ߓߘߊ߫ ߓߊ߲߫ ߘߐߓߍ߲߬ ߠߊ߫.",
        "postedit-confirmation-saved": "ߌ ߟߊ߫ ߡߊ߬ߦߟߍ߬ߡߊ߲߬ߠߌ߲ ߓߘߊ߫ ߟߊߞߎ߲߬ߘߎ߬.",
        "postedit-confirmation-published": "ߌ ߟߊ߫ ߡߊ߬ߦߟߍ߬ߡߊ߲߬ߠߌ߲ ߓߘߊ߫ ߟߊߥߊ߲߬ߞߊ߫.",
+       "editpage-invalidcontentmodel-title": "ߞߣߐߘߐ ߛߎ߯ߦߊ ߞߐߡߊߓߌ߲ߓߌ߲߫ ߣߍ߲߫ ߕߍ߫",
+       "editpage-invalidcontentmodel-text": "ߞߣߐߘߐ ߛߎ߯ߦߊ  \"$1\" ߞߐߡߊߓߌ߲ߓߌ߲߫ ߣߍ߲߫ ߕߍ߫.",
+       "editpage-notsupportedcontentformat-title": "ߞߣߐߘߐ ߢߊ߲ߞߊ߲ ߞߐߡߊߓߌ߲ߓߌ߲߫ ߣߍ߲߫ ߕߍ߫.",
+       "editpage-notsupportedcontentformat-text": "ߞߣߐߘߐ ߢߊ߲ߞߊ߲ $1 ߞߐߡߊߓߌ߲ߓߌ߲߫ ߣߍ߲߫ ߕߍ߫ ߞߣߐߘߐ ߛߎ߯ߦߊ $2 ߓߟߏ߫.",
+       "slot-name-main": "ߓߏ߬ߟߏ߲߬ߘߊ",
        "content-model-wikitext": "ߥߞߌ߫ ߞߟߏߜߍ",
+       "content-model-text": "ߛߓߍߟߌ߫ ߘߝߊߣߍ߲",
+       "content-model-javascript": "JavaScript",
+       "content-json-empty-object": "ߊ߬ ߘߐߞߏߟߏ߲ ߠߋ߬",
+       "content-json-empty-array": "ߥߟߊ߬ߟߋ߲߬ ߘߐߞߏߟߏ߲",
+       "deprecated-self-close-category": "ߞߐߜߍ ߣߌ߲߬ ߦߋ߫ ߖߘߍ߬-ߘߊ߬ߕߎ߲߰ HTML ߟߊߓߊ߯ߙߊ߫ ߟߊ߫.",
+       "deprecated-self-close-category-desc": "ߖߘߍ߬-ߘߊ߬ߕߎ߲߰ HTML ߘߎ߲ߛߓߍ߫ ߓߍ߲߬ߓߊߟߌ ߟߋ߬ ߦߋ߫ ߞߐߜߍ ߣߌ߲߬ ߘߐ߫߸ ߦߏ߫ <code>&lt;b/></code>ߥߟߊ߫<code>&lt;span/></code>.ߏ߬ ߢߝߍߕߊ߯ߟߌ ߘߌ߫ ߣߊ߬ ߦߟߍ߬ߡߊ߲߬ ߖߏߣߊ߫ ߞߊ߬ ߞߍ߫ HTLM5 ߘߎ߲߬ߘߎ߬ߡߦߊ߬ߟߌ ߘߌ߫߸ ߏ߬ ߘߐ߫ ߊ߬ߟߎ߬ ߥߞߌ߫ ߛߓߍߟߌ ߟߊߜߎ߬ߝߎ߲߬ߣߍ߲ ߠߋ߬.",
+       "duplicate-args-warning": "<strong>ߖߊ߬ߛߙߋ߬ߡߊ߬ߟߊ</strong> [[:$1]] ߦߋ߫ ߞߟߌ߫ ߟߊ߫ [[:$2]] ߞߊ߬ ߕߊ߬ߡߌ߲߬ ߡߐ߬ߟߐ߲߬ ߞߋߟߋ߲߫ ߠߊ߫  \"$3\" ߘߊߘߐߓߍ߲ߠߌ߲ ߘߐ߫.ߡߐ߬ߟߐ߲߬ ߡߊߛߐߣߍ߲ ߞߐߟߕߊ ߘߐߙߐ߲߫ ߠߋ߬ ߟߊߓߊ߯ߙߊ߫ ߕߐ߫.",
        "undo-failure": "ߡߊ߬ߦߟߍ߬ߡߊ߲߬ߠߌ߲ ߕߍ߫ ߣߊ߬ ߛߋ߫ ߟߊ߫ ߘߐߛߊ߬ ߟߊ߫߸ ߝߘߏ߬ߒ߬ߡߊ߬ߟߌ߬ ߡߊߦߟߍߡߊ߲ߠߌ߲ ߞߏߛߐ߲߬.",
        "viewpagelogs": "ߞߐߜߍ ߣߌ߲߬ ߜߊ߲߬ߞߎ߲߬ߠߌ߲ ߠߎ߬ ߦߋ߫",
        "currentrev-asof": "$1 ߟߊ߫ ߡߊ߬ߦߟߍ߬ߡߊ߲߬ߠߌ߲ ߕߊ߬ߡߌ߲߬ߣߍ߲",
        "recentchangeslinked-toolbox": "ߢߟߊߞߎߘߦߊߟߌ߫ ߜߋ߲߬ߞߘߎ߬ߡߊ ߟߎ߬",
        "recentchangeslinked-title": "ߊ߬ ߟߌ߬ߤߟߊ ߡߊߦߟߍ߬ߡߊ߲߫ ߦߊ߲߬ \"$1\"",
        "recentchangeslinked-summary": "ߞߐߜߍ ߕߐ߮ ߟߊߘߏ߲߬߸ ߞߊ߬ ߞߐߜߍ ߛߘߌ߬ߜߋ߲ ߡߊ߬ߦߟߍ߬ߡߊ߲߬ߠߌ߲ ߦߋ߫߸ ߥߟߊ߫ \nߞߊ߬ ߝߘߊ߫ ߞߐߜߍ ߣߌ߲߬ ߠߊ߫. (ߖߐ߲߬ߛߊ߬ ߌ ߘߌ߫ ߦߌߟߡߊ ߛߌ߲߬ߝߏ߲ ߠߎ߬ ߦߋ߫߸ ߣߌ߲߬ ߠߊߘߏ߲߬ {{ns:category}}: ߦߌߟߡߊ ߕߐ߮). ߦߟߍ߬ߡߊ߲߬ ߡߍ߲ ߦߋ߫ ߞߐߜߍ ߣߌ߲߬ [[Special:Watchlist|your Watchlist]] ߘߐ߫߸ ߏ߬ ߦߋ߫ <strong>ߛߓߍߘߋ߲߫ ߞߎ߲ߓߊ</strong> ߟߋ߬ ߘߐ߫.",
-       "recentchangeslinked-page": "ß\98ߐߜߍ ߕߐ߮:",
+       "recentchangeslinked-page": "ß\9eߐߜߍ ߕߐ߮:",
        "recentchangeslinked-to": "ߞߐߜߍ ߛߘߌ߬ߜߋ߲ ߠߎ߬ ߦߌ߬ߘߊ߬߸ ߞߊ߬ ߞߐߜߍ ߣߌ߬ ߞߋߟߋ߲ߘߌ߫",
        "upload": "ߞߐߕߐ߮ ߟߊߦߟߍ",
        "uploadlogpage": "ߜߊ߲߬ߞߎ߲߬ߠߌ߲ ߘߏ߫ ߟߊߦߟߍ߬",
        "tooltip-t-specialpages": "ߘߎ߲߬ߘߎ߬ߡߊ߬ ߞߐߜߍ ߞߋ߬ߟߋ߲߬ߞߋ߬ߟߋ߲߬ߠߊ ߟߎ߬ ߛߙߍߘߍ",
        "tooltip-t-print": "\nߞߐߜߍ ߣߌ߲߬ ߓߐߞߏߣߊ߲߫ ߜߌߙߌ߲ߘߌߕߊ",
        "tooltip-t-permalink": "ߞߐߜߍ ߣߌ߲߬ ߡߛߊ߬ߦߌ߲߬ߠߌ߲߬ ߛߘߌ߬ߜߋ߲߬ ߞߎߘߊߦߌ",
-       "tooltip-ca-nstab-main": "ß\9eß\90ß\9cß\8d ß\9eߣß\90ß\98ß\90 ߘߐߜߍ߫",
+       "tooltip-ca-nstab-main": "ß\9eߣß\90ß\98ß\90 ß\9eߣß\90ß\98ß\90ß« ߘߐߜߍ߫",
        "tooltip-ca-nstab-user": "ߞߐߜߍ߫ ߟߊߓߊ߯ߙߕߊ ߘߐߜߍ߫",
        "tooltip-ca-nstab-special": "ߣߌ߲߬ ߦߋ߫ ߞߐߜߍ߫ ߓߟߏߡߊߞߊ߬ߣߍ߲ ߠߋ߬ ߘߌ߫߸ ߊ߬ ߕߍ߫ ߛߋ߫ ߢߟߊߞߎߘߦߊ߫ ߟߊ߫",
        "tooltip-ca-nstab-project": "ߖߊ߬ߕߋ߬ߘߐ߬ߛߌ߰ ߞߐߜߍ ߘߐߜߍ߫",
index c795371..0bd6958 100644 (file)
        "date-range-to": "Do daty:",
        "sessionmanager-tie": "Nie można łączyć kilku rodzajów uwierzytelniania dla zapytania: $1.",
        "sessionprovider-generic": "sesje $1",
-       "sessionprovider-mediawiki-session-cookiesessionprovider": "sesje na podstawie cookie",
+       "sessionprovider-mediawiki-session-cookiesessionprovider": "sesji na podstawie cookie",
        "sessionprovider-nocookies": "Być może cookies są wyłączone. Upewnij się, że masz włączone cookies i zacznij od nowa.",
        "randomrootpage": "Losowa strona (bez podstron)",
        "log-action-filter-block": "Rodzaj blokady:",
index 7687584..44cc422 100644 (file)
        "tog-norollbackdiff": "Не показывать разницу версий после выполнения отката",
        "tog-useeditwarning": "Предупреждать, когда я покидаю страницу с несохранёнными изменениями",
        "tog-prefershttps": "Всегда использовать защищённое соединение после представления системе",
-       "tog-showrollbackconfirmation": "Ð\9fоказÑ\8bвать подтверждение при нажатии ссылки для отката",
+       "tog-showrollbackconfirmation": "Ð\97апÑ\80аÑ\88ивать подтверждение при нажатии ссылки для отката",
        "underline-always": "Всегда",
        "underline-never": "Никогда",
        "underline-default": "Использовать настройки браузера",
        "jumpto": "Перейти к:",
        "jumptonavigation": "навигация",
        "jumptosearch": "поиск",
-       "view-pool-error": "Извините, в настоящий момент серверы перегружены.\nСлишком много участников пытаются просмотреть эту страницу.\nПожалуйста, подождите немного перед повторной попыткой обращения к этой странице.\n\n$1",
+       "view-pool-error": "Извините, в настоящий момент серверы перегружены.\nСлишком много пользователей пытаются просмотреть эту страницу.\nПожалуйста, подождите немного перед повторной попыткой обращения к этой странице.\n\n$1",
        "generic-pool-error": "Извините, в настоящий момент серверы перегружены.\nСлишком много участников пытаются просмотреть этот ресурс.\nПожалуйста, подождите и повторите попытку обращения к нему позже.",
        "pool-timeout": "Истекло время ожидания блокировки",
        "pool-queuefull": "Пул запросов полон",
        "laggedslavemode": "<strong>Внимание:</strong> на странице могут отсутствовать последние обновления.",
        "readonly": "Запись в базу данных заблокирована",
        "enterlockreason": "Укажите причину и намеченный срок блокировки.",
-       "readonlytext": "Добавление новых статей и другие изменения базы данных сейчас заблокированы, вероятно, в связи с плановым обслуживанием.\n\nСистемный администратор, заблокировавший базу, оставил следующее объяснение: $1",
+       "readonlytext": "Добавление новых статей и другие изменения базы данных сейчас заблокированы, вероятно, в связи с плановым обслуживанием (по окончании которого состояние должно быть возвращено к нормальному).\n\nСистемный администратор, заблокировавший базу, оставил следующее объяснение: $1",
        "missing-article": "В базе данных не найдено запрашиваемого текста страницы «$1» $2, который следовало найти.\n\nПодобная ситуация обычно возникает при попытке перехода по устаревшей ссылке на историю изменения страницы, которая была удалена.\n\nЕсли дело не в этом, то скорее всего, вы обнаружили ошибку в программном обеспечении.\nПожалуйста, сообщите об этом одному из [[Special:ListUsers/sysop|администраторов]], указав данный URL.",
        "missingarticle-rev": "(версия № $1)",
        "missingarticle-diff": "(разность: $1, $2)",
        "viewsource": "Просмотр кода",
        "viewsource-title": "Просмотр кода страницы $1",
        "actionthrottled": "Ограничение по скорости",
-       "actionthrottledtext": "Вы исчерпали установленное для борьбы со спамом ограничение на максимальное количество попыток выполнения запрошенного действия в короткий промежуток времени.\nПожалуйста, повторите попытку через несколько минут.",
+       "actionthrottledtext": "Вы исчерпали установленное для борьбы со злоупотреблениями ограничение на количество выполнений запрошенного действия за короткий промежуток времени.\nПожалуйста, повторите попытку через несколько минут.",
        "protectedpagetext": "Эта страница защищена для предотвращения её редактирования или совершений других действий.",
        "viewsourcetext": "Вы можете просмотреть и скопировать исходный код этой страницы.",
        "viewyourtext": "Вы можете просмотреть и скопировать исходный текст <strong>ваших правок</strong> на этой странице.",
index d8ff5dd..a374adc 100644 (file)
        "searcharticle": "Nenda",
        "history": "Historia ya ukurasa",
        "history_short": "Historia",
+       "history_small": "historia",
        "updatedmarker": "imebadilishwa tangu nilipoutazama mara ya mwisho",
        "printableversion": "Ukurasa wa kuchapika",
        "permalink": "Kiungo cha daima",
        "ns-specialprotected": "Kurasa maalumu haziwezi kuhaririwa.",
        "titleprotected": "Jina hili limekingwa lisiumbwe na [[User:$1|$1]].\nSababu zilizotolewa ni <em>$2</em>.",
        "filereadonlyerror": "Haiwezi kurekebisha faili \"$1\" kwa sababu faili \"$2\" iko katika hali ya kusoma tu.\n\nMsimamizi aliyeifunga  hakutoa sababu yoyote: \"$3\".",
+       "invalidtitle": "Jina batili",
        "invalidtitle-knownnamespace": "Kichwa ni batili na eneo la jina \"$2\" na maandishi \"$3\"",
        "invalidtitle-unknownnamespace": "Kichwa ni batili na haijulikani eneo la jina $1 na maandishi \"$2\"",
        "exception-nologin": "Hujaingia",
        "resetpass_submit": "Rekebisha neno la siri na uingie",
        "changepassword-success": "Neno lako la siri limefanikiwa kubadilishwa!",
        "changepassword-throttled": "Umejaribu mara kadha wa kadha kuingia katika akaunti.\nTafadhali subiri $1 kabla ya kujaribu tena.",
+       "botpasswords-label-create": "Anzisha",
+       "botpasswords-label-update": "Sasisha",
+       "botpasswords-label-cancel": "Ghairisha",
+       "botpasswords-label-delete": "Futa",
        "resetpass_forbidden": "Maneno ya siri hayawezi kubadilishwa",
        "resetpass-no-info": "Lazima uwe umeingia ili kuweza kutumia kurasa hii moja kwa moja.",
        "resetpass-submit-loggedin": "Badilisha neno la siri",
        "watchthis": "Fuatilia ukurasa huu",
        "savearticle": "Hifadhi ukurasa",
        "savechanges": "Hifadhi mabadiliko",
+       "publishpage": "Chapisha ukurasa",
+       "savearticle-start": "Hifadhi ukurasa...",
+       "savechanges-start": "Hifadhi mabadiliko...",
+       "publishpage-start": "Chapisha ukurasa...",
+       "publishchanges-start": "Chapisha mabadiliko...",
        "preview": "Hakiki",
        "showpreview": "Onyesha hakikisho la mabadiliko",
        "showdiff": "Onyesha mabadiliko",
        "postedit-confirmation-created": "Ukurasa huu umeundwa.",
        "postedit-confirmation-restored": "Ukurasa huu umerudishwa.",
        "postedit-confirmation-saved": "Haririo lako limehifadhiwa.",
+       "postedit-confirmation-published": "Badaliko yako limechapishwa",
        "edit-already-exists": "Haikufanikiwa kuanzisha ukurasa mpya.\nUkurasa wa jina hilo unapatikana tayari.",
        "defaultmessagetext": "Ujumbe uliopo",
        "content-failed-to-parse": "Imeshindwa kuchanganua $2 yaliyomo kwa muundo $1: $3",
        "histfirst": "zamani",
        "histlast": "mpya",
        "historysize": "({{PLURAL:$1|baiti}}) $1",
-       "historyempty": "(tupu)",
+       "historyempty": "tupu",
        "history-feed-title": "Kumbukumbu za mapitio",
        "history-feed-description": "Kumbukumbu za mapitio ya ukurasa huu",
        "history-feed-item-nocomment": "$1 kwenye $2",
        "search-interwiki-caption": "Miradi ya jumuia",
        "search-interwiki-default": "Matokeo kutoka $1:",
        "search-interwiki-more": "(zaidi)",
+       "search-interwiki-more-results": "zaidi matokeo",
        "search-relatedarticle": "Zingine zinazofanana",
        "searchrelated": "zingine zinazofanana",
        "searchall": "zote",
        "youremail": "Barua pepe yako:",
        "username": "{{GENDER:$1|Username}}:",
        "prefs-memberingroups": "{{GENDER:$2|Member}} wa {{PLURAL:$1|group|groups}}:",
+       "group-membership-link-with-expiry": "$1 (kabla $2)",
        "prefs-registration": "Wakati wa kusajili:",
        "yourrealname": "Jina lako halisi:",
        "yourlanguage": "Lugha:",
        "userrights-nodatabase": "Hakuna hifadhidata inayoitwa $1 au haimo katiko jumuia hii ya wiki.",
        "userrights-changeable-col": "Makundi unayoweza kuyabadilisha",
        "userrights-unchangeable-col": "Makundi usiyoweza kuyabadilisha",
+       "userrights-expiry-current": "Itakwisha $1",
+       "userrights-expiry": "Itakwisha:",
        "userrights-conflict": "Mgongano wa haki za mtumiaji! Tafadhali pitia na uthibitishe mabadiliko yako.",
        "group": "Kundi:",
        "group-user": "Watumiaji",
        "action-managechangetags": "unde na ufute lebo kutoka kwa hifadhidata",
        "action-applychangetags": "weka lebo pamoja na mabadiliko yako",
        "action-changetags": "ongeza ama utoe lebo za kiholela kwa matoleo na miingizo ya kumbukumbu",
+       "action-purge": "safisha ukurasa huu",
+       "action-apihighlimits": "tumia mipaka ya juu katika hoja ya API",
+       "action-autoconfirmed": "haiwekewi kizuizi na kiwangi cha IP",
+       "action-bigdelete": "kufuta kurasa zenye mabadiliko mengi",
+       "action-blockemail": "kumzuia mtumiaji asitume barua-pepe",
+       "action-bot": "tendewa kama mchakato otomatiki",
+       "action-editprotected": "hariri kurasa zilizozuliliwa kama \"{{int:protect-level-sysop}}\"",
+       "action-editsemiprotected": "hariri kurasa zilizozuiwa kama \"{{int:protect-level-autoconfirmed}}\"",
+       "action-editinterface": "kuhariri kusano ya mtumiaji",
+       "action-editusercss": "hariri mafaili ya CSS ya watumiaji wengine",
+       "action-edituserjson": "hariri mafaili ya JSON ya watumiaji wengine",
+       "action-edituserjs": "hariri mafaili ya JavaScript ya watumiaji wengine",
+       "action-editmyusercss": "hariri mafaili yako za CSS",
+       "action-editmyuserjson": "hariri mafaili yako za JSON",
+       "action-editmyuserjs": "hariri mafaili yako za HatiJava",
+       "action-viewsuppressed": "tazama toleo zilizofichiwa mtimiaji yeyote",
+       "action-hideuser": "zuia jina la mtumiaji, lisionekane mbele ya kadamnasi",
+       "action-unblockself": "ondoa kizuizi mwenyewe",
+       "action-noratelimit": "haiathiriki na kiwango cha mipaka",
+       "action-reupload-own": "kuandikiza mafaili yaliyopakizwa na mimi mwenyewe",
+       "action-nominornewtalk": "isiwe kwamba maharirio madogo kwenye kurasa za majadiliano fyatua kunijulisha kuhusu jumbe mpya",
+       "action-markbotedits": "weka alama kwa masasahisho yaliyofanywa kama hari za roboti",
+       "action-patrolmarks": "angalia mabadiliko ya hivi karibuni alama doria",
+       "action-override-export-depth": "uza nje kurasa ikiwa ni pamoja na kurasa zilizounganishwa hadi kina cha 5",
+       "action-suppressredirect": "usianzishe elekezo kutoka katika kurasa za chanzo wakati kuhamisha kurasa",
        "nchanges": "{{PLURAL:$1|badiliko|mabadiliko}} $1",
        "enhancedrc-since-last-visit": "$1 {{PLURAL:$1|tabgu kutembea kwa mwisho}}",
        "enhancedrc-history": "historia",
        "recentchanges-label-plusminus": "Ukubwa ukurasa kubadilishwa na hii idadi ya baiti",
        "recentchanges-legend-heading": "<strong>Simulizi:</strong>",
        "recentchanges-legend-newpage": "{{int:recentchanges-label-newpage}} (pia tazama [[Special:NewPages|orodha ya kurasa mpya]])",
+       "recentchanges-submit": "Onyesha",
+       "rcfilters-activefilters-hide": "Ficha",
+       "rcfilters-activefilters-show": "Onyesha",
+       "rcfilters-savedqueries-rename": "Badili jina",
+       "rcfilters-savedqueries-remove": "Ondoa",
+       "rcfilters-savedqueries-new-name-label": "Jina",
+       "rcfilters-savedqueries-cancel-label": "Ghairisha",
+       "rcfilters-highlightmenu-title": "Chagua rangi",
        "rcfilters-filter-editsbyself-description": "Michango yenu.",
+       "rcfilters-filter-bots-label": "Roboti ya wavuti",
+       "rcfilters-filter-minor-label": "Badiliko dogo",
        "rcnotefrom": "Hapo chini {{PLURAL:$5|is the change|yaonekana mabadiliko}} tangu <strong>$3,$4</strong> (hadi <strong>$1</strong>tunaonyesha).",
        "rclistfrom": "Onyesha mabadiliko mapya kuanzia $3 $2",
        "rcshowhideminor": "$1 mabadiliko madogo",
        "rcshowhidemine": "$1 masahihisho yangu",
        "rcshowhidemine-show": "Onyesha",
        "rcshowhidemine-hide": "Ficha",
+       "rcshowhidecategorization-show": "Onyesha",
+       "rcshowhidecategorization-hide": "Ficha",
        "rclinks": "Onyesha mabadiliko $1 yaliyofanywa wakati wa siku $2 zilizopita",
        "diff": "tofauti",
        "hist": "hist",
        "upload-too-many-redirects": "URL ilikuwa na maelekezo mengi mno",
        "upload-http-error": "Imetokea hitilafu ya HTTP: $1",
        "upload-copy-upload-invalid-domain": "Nakala ulivyopakia hazipatikani kwenye kikoa hiki.",
+       "upload-dialog-title": "Pakia faili",
+       "upload-dialog-button-cancel": "Ghairi",
+       "upload-dialog-button-back": "Rudi",
+       "upload-dialog-button-done": "Tayari",
+       "upload-dialog-button-save": "Hifadhi",
+       "upload-dialog-button-upload": "Pakia",
+       "upload-form-label-infoform-title": "Maelezo zaidi",
+       "upload-form-label-infoform-name": "Jina",
+       "upload-form-label-infoform-description": "Maelezo",
+       "upload-form-label-usage-title": "Matumizi",
+       "upload-form-label-usage-filename": "Jina la faili",
+       "upload-form-label-infoform-categories": "Jamii",
+       "upload-form-label-infoform-date": "Tarehe",
        "backend-fail-stream": "Haikuweza kutafuta faili \"$1\".",
        "backend-fail-backup": "Haingeweka hifadhi rudufu ya faili \"$1\".",
        "backend-fail-notexists": "faili $1 haipo",
        "http-timed-out": "Ombi la HTTP muda umepita.",
        "http-curl-error": "Hitilafu ya kuleta URL: $1",
        "http-bad-status": "Kulikuwa na tatizo wakati wa kutekeleza ombi la HTTP: $1 $2",
+       "http-internal-error": "Hitilafu ya ndani ya HTTP",
        "upload-curl-error6": "KISARA (URL) haikupatikana",
        "upload-curl-error6-text": "URL iliyotajwa haikuweza kupatikana.\nTafadhali hakikisha kwamba URL ni sahihi na tovuti inafanya kazi.",
        "upload-curl-error28": "Muda wa upakiaji umeisha",
        "listfiles_size": "Ukubwa",
        "listfiles_description": "Maelezo",
        "listfiles_count": "Matoleo",
-       "listfiles-show-all": "Jumuisha na toleo nzee za picha",
+       "listfiles-show-all": "Jumuisha na toleo nzee za faili",
        "listfiles-latestversion": "Toleo la sasa",
        "listfiles-latestversion-yes": "Ndiyo",
        "listfiles-latestversion-no": "Hapana",
        "mostrevisions": "Kurasa zenye mapitio mengi kuliko zote",
        "prefixindex": "Kurasa zote zenye viambishi awali",
        "prefixindex-namespace": "Kurasa zote zenye kiambishi awali ($1)",
+       "prefixindex-submit": "Onyesha",
        "shortpages": "Kurasa fupi",
        "longpages": "Kurasa ndefu",
        "deadendpages": "Kurasa ambazo haziungi na ukurasa mwingine wowote",
        "usereditcount": "{{PLURAL:$1|haririo|maharirio}} $1",
        "usercreated": "{{GENDER:$3|Iliwekewa}} saa $2 tarehe $1",
        "newpages": "Kurasa mpya",
+       "newpages-submit": "Onyesha",
        "newpages-username": "Jina la mtumiaji:",
        "ancientpages": "Kurasa za kale",
        "move": "Hamisha",
        "apihelp-no-such-module": "Moduli \"$1\" haikupatikana.",
        "apisandbox-submit": "Weka ombi",
        "apisandbox-reset": "Tandua",
-       "apisandbox-examples": "Mfano",
+       "apisandbox-retry": "Jaribu tena",
+       "apisandbox-helpurls": "Viungo visaidizi",
+       "apisandbox-examples": "Mifano",
+       "apisandbox-add-multi": "Ongeza",
        "apisandbox-results": "Tokeo",
+       "apisandbox-continue": "Endelea",
+       "apisandbox-continue-clear": "Futa",
        "booksources": "Vyanzo vya vitabu",
        "booksources-search-legend": "Tafuta mahali panopopatikana kitabu",
        "booksources-search": "Tafuta",
        "specialloguserlabel": "Mtendaji:",
        "speciallogtitlelabel": "Kusudio (jina la ukurasa au mtumiaji):",
        "log": "Kumbukumbu",
+       "logeventslist-submit": "Onyesha",
        "logeventslist-more-filters": "Onyesha taarifa za ziada",
        "all-logs-page": "Kumbukumbu zote zilizo wazi",
        "alllogstext": "Hapa panaonyeshwa kumbukumbu zote za {{SITENAME}} kwa pamoja.\nUnaweza kuona baadhi yao tu kwa kuchagua aina fulani ya kumbukumbu, jina la mtumiaji fulani (zingatia herufi kubwa na ndogo), au jina la ukurasa fulani (zingatia herufi kubwa na ndogo).",
        "logempty": "Vitu vyenye vipengele hivi havipo kwenye kumbukumbu.",
        "log-title-wildcard": "Tafuta kurasa zenye vichwa vinavyoanza na maandishi haya",
+       "checkbox-all": "Zote",
+       "checkbox-none": "Hakuna",
        "allpages": "Kurasa zote",
        "nextpage": "Ukurasa ujao ($1)",
        "prevpage": "Ukurasa uliotangulia ($1)",
        "allpages-hide-redirects": "Ficha kurasa za kuelekeza",
        "cachedspecial-refresh-now": "Tazama ya hivi karibuni.",
        "categories": "Jamii",
+       "categories-submit": "Onyesha",
        "categoriespagetext": "Jamii {{PLURAL:$1|inayofuata ina|zinazofuata zina}} kurasa au mafaili ya picha au sauti.\n[[Special:UnusedCategories|Jamii zisizotumiwa]] hazitandazwi hapa.\nTazama pia [[Special:WantedCategories|jamii zinazohitajika]].",
        "categoriesfrom": "Tandaza jamii kuanzia na:",
        "deletedcontributions": "Michango ya mtumiaji aliyefutwa",
        "listgrouprights-removegroup-self": "Kuondoa {{PLURAL:$2|kundi|makundi}} kutoka katika akaunti ya binafsi: $1",
        "listgrouprights-addgroup-self-all": "Kuongeza makundi yote katika akaunti ya binafsi",
        "listgrouprights-removegroup-self-all": "Kuondoa makundi yote kutoka akaunti ya binafsi",
+       "listgrouprights-namespaceprotection-namespace": "Eneo la wiki",
+       "listgrants-rights": "Wezo",
        "trackingcategories-name": "Kichwa cha ujumbe",
        "trackingcategories-nodesc": "Hakuna maelezo yamepatikana.",
        "trackingcategories-disabled": "Kikundi kimelemazwa",
        "wlheader-showupdated": "Kurasa zilizobadilika tangu ulivyotembelea mara ya mwisho zinaonyeshwa <strong>bold</strong>.",
        "wlnote": "{{PLURAL:$1|is the last change|Mabadiliko '''$1''' ya}} mwisho katika {{PLURAL:$2|hour|masaa '''$2''' yaliyopita yanaonyeshwa}} chini, ilivyokuwa saa $4, tarehe $3.",
        "wlshowlast": "Onyesha kutoka masaa $1 siku $2",
+       "watchlist-hide": "Ficha",
+       "watchlist-submit": "Onyesha",
+       "wlshowhideminor": "mabadiliko madogo",
+       "wlshowhidemine": "mabadiliko yako",
        "watchlist-options": "Hitiari za maangalizi",
        "watching": "Unafuatilia...",
        "unwatching": "Umeacha kufuatilia...",
        "enotif_lastdiff": "Tazama badiliko hili hapo $1.",
        "enotif_anon_editor": "mtumiaji bila jina $1",
        "enotif_body": "Mpendwa $WATCHINGUSERNAME,\n\n$PAGEINTRO $NEWPAGE\n\nMuhtasari wa mhariri: $PAGESUMMARY $PAGEMINOREDIT\n\nUwasiliane na mhariri kwa njia hizi:\nbarua pepe: $PAGEEDITOR_EMAIL\nwiki: $PAGEEDITOR_WIKI\n\nHutapata taarifa za mabadiliko mengine yatakayotokea kwenye ukurasa huu hadi utakapotazama ukurasa wakati umeingia akaunti yako.\nAu unaweza kuweka upya maombi ya kupewa taarifa kwa ajili ya kurasa zote zilizopo kwenye orodha yako ya maangalizi.\n\n             Kutoka kwa mashine ya kutoa taarifa ya {{SITENAME}}\n\n--\nUkitaka kubadilisha mapendekezo yako kuhusu kutolewa taarifa, nenda\n{{canonicalurl:{{#special:Preferences}}}}\n\nUkitaka kubadilisha mapendekezo yako yanayohusika orodha ya maangalizi yako, nenda\n{{canonicalurl:{{#special:EditWatchlist}}}}\n\nUkitaka kutoa ukurasa huu kwenye orodha ya maangalizi yako, nenda\n$UNWATCHURL\n\nKutoa maoni yako au kupata msaada mwingine:\n$HELPPAGE",
+       "enotif_minoredit": "Hili ni badiliko dogo",
        "created": "alianzisha",
        "changed": "alibadilisha",
        "deletepage": "Futa ukurasa",
        "delete-confirm": "Futa \"$1\"",
        "delete-legend": "Futa",
        "historywarning": "'''Ilani:''' Ukurasa unaotaka kufuta una historia ya {{PLURAL:$1|pitio|mapitio}} $1 hivi:",
+       "historyaction-submit": "Onyesha mapitio",
        "confirmdeletetext": "Wewe unategemea kufuta ukurasa pamoja na historia yake yote.\nTafadhali hakikisha kwamba unalenga kufanya hivyo, na kwamba unaelewa matokeo yake, na kwamba unafuata [[{{MediaWiki:Policy-url}}|sera]].",
        "actioncomplete": "Kitendo kimekwisha",
        "actionfailed": "Tendo halikufaulu",
        "delete-toobig": "Ukurasa huu una historia ya kuhariri ndefu sana, yenye {{PLURAL:$1|badiliko|mabadiliko}} zaidi na $1.\nUfutaji wa kurasa hizi moja kwa moja umezuluiwa ili {{SITENAME}} isivurugwe kwa bahati mbaya.",
        "delete-warning-toobig": "Ukurasa huu unao mapitio mengi, zaida ya {{PLURAL:$1|pitio|mapitio}} $1.\nUkiufuta labda itavuruga uendeshaji wa hifadhidata ya {{SITENAME}};\nendelea kwa uangalifu.",
        "rollback": "Rejesha masahihisho",
+       "rollback-confirmation-yes": "Rejesha",
+       "rollback-confirmation-no": "Ghairi",
        "rollbacklink": "rejesha",
        "rollbackfailed": "Haikufaulu kurejesha",
        "cantrollback": "Haiwezekana kujesha sahihisho;\nukurasa huu una mhariri mmoja tu.",
        "revertpage-nouser": "Masahihisho ya mtumiaji (jina lake limefichwa) yamerudishwa hadi pitio la mwisho lililotengenezwa na [[User:$1|$1]].",
        "rollback-success": "Masahihisho aliyeyafanya $1 yalirejeshwa hadi kufika sahihisho la mwisho aliyefanya $2.",
        "sessionfailure-title": "Kushindikana kwa kipindi",
+       "changecontentmodel-title-label": "Jina la ukurasa",
+       "changecontentmodel-reason-label": "Sababu:",
+       "changecontentmodel-submit": "Badilisha",
+       "logentry-contentmodel-change-revertlink": "rejesha",
+       "logentry-contentmodel-change-revert": "rejesha",
        "protectlogpage": "Kumbukumbu ya ulindaji",
        "protectedarticle": "aliulinda \"[[$1]]\"",
        "modifiedarticleprotection": "alibadilisha kiwango cha ulindaji kwa ajili ya \"[[$1]]\"",
        "ipbwatchuser": "Fuatilia kurasa za mtumiaji na majadiliano ya mtumiaji huyu.",
        "ipb-disableusertalk": "Kuzuia mtumiaji huu asihariri ukurasa wake mwenyewe wa majadiliano wakati amezuluiwa",
        "ipb-confirm": "Uthibitishe uzuio",
+       "ipb-pages-label": "Kurasa",
+       "ipb-namespaces-label": "Maeneo ya wiki",
        "badipaddress": "Anwani batili ya IP",
        "blockipsuccesssub": "Kulifaulu kumzuia",
        "ipb-edit-dropdown": "Hariri sababu za kuzuia",
        "ipb-blocklist": "Tazama vizuizi vilivyomo",
        "ipb-blocklist-contribs": "Michango ya $1",
        "block-expiry": "Itakwisha:",
+       "block-prevent-edit": "Kuhariri",
+       "block-reason": "Sababu:",
        "unblockip": "Acha kuzuia mtumiaji",
        "ipusubmit": "Toa kizuizi hiki",
        "blocklist": "Watumiaji waliozuiliwa",
+       "autoblocklist-submit": "Tafuta",
        "ipblocklist": "Watumiaji waliozuiliwa",
        "ipblocklist-legend": "Tafuta mtumiaji aliyezuiwa",
        "blocklist-tempblocks": "Ficha kuzuia kwa muda",
        "blocklist-addressblocks": "Ficha kuzuia kwa IP mojamoja",
+       "blocklist-type-opt-all": "Zote",
+       "blocklist-type-opt-partial": "Ya sehemu",
        "blocklist-timestamp": "Tarehe na saa",
        "blocklist-target": "Lengo",
        "blocklist-expiry": "Itakwisha",
        "infiniteblock": "milele",
        "expiringblock": "inakwisha tarehe $1 saa $2",
        "emailblock": "barua pepe imezuiliwa",
+       "blocklist-editing": "kuhariri",
+       "blocklist-editing-page": "kurasa",
+       "blocklist-editing-ns": "maeneo ya wiki",
        "ipblocklist-empty": "Orodha ya kuzuiwa ni tupu.",
        "blocklink": "zuia",
        "unblocklink": "acha kuzuia",
        "pageinfo-header-restrictions": "Ulinzi wa ukurasa",
        "pageinfo-header-properties": "Sifa za ukurasa",
        "pageinfo-display-title": "Onyesha mada",
+       "pageinfo-namespace": "Eneo la wiki",
        "pageinfo-article-id": "ID ya ukurasa",
        "pageinfo-language": "Lugha ya maudhui ya ukurasa",
+       "pageinfo-language-change": "badiliko",
+       "pageinfo-content-model-change": "badiliko",
        "pageinfo-robot-index": "Halali",
        "pageinfo-robot-noindex": "Marufuku",
        "pageinfo-watchers": "Idadi ya wanaofuatilia",
        "pageinfo-edits": "Idadi ya maharirio",
+       "pageinfo-magic-words": "{{PLURAL:$1|neno chawi|maneno machawi}} ($1)",
        "pageinfo-toolboxlink": "Maelezo ya ukurasa",
        "pageinfo-redirectsto-info": "habari",
        "pageinfo-contentpage-yes": "Ndiyo",
        "pageinfo-category-info": "Maelezo ya jamii",
        "pageinfo-category-pages": "Idadi ya kurasa",
        "pageinfo-category-files": "Idadi ya mafaili",
+       "confirm-markpatrolled-button": "Sawa",
        "deletedrevision": "Pitio la awali lililofutwa $1",
        "filedeleteerror-short": "Hitilafu wakati wa kufuta faili: $1",
        "filedeleteerror-long": "Hitilafu zilitokea wakati wa kufuta faili:\n\n$1",
        "hours": "{{PLURAL:$1|saa $1|masaa $1}}",
        "days": "siku {{PLURAL:$1|$1}}",
        "ago": "$1 zilizopita",
+       "hours-ago": "{{PLURAL:$1|saa $1 iliyo|masaa $1 yaliyo}}pita",
+       "minutes-ago": "dakika $1 {{PLURAL:$1|iliyo|zilizo}}pita",
+       "seconds-ago": "sekunde $1 {{PLURAL:$1|iliyo|zilizo}}pita",
        "bad_image_list": "Fomati ni hii:\n\nTunazingatia madondoo katika orodha (mistari inayoanza na *) tu.\nInabidi kiungo cha kwanza katika mstari kiunge na faili baya.\nViungo vinavyofuata katika mstari ule ule vitaelewa kuwa mambo ya pekee, yaani kurasa zinazoruhusiwa kuonyesha faili hilo.",
        "metadata": "Data juu",
        "metadata-help": "Faili hili lina maarifa mengine, yamkini kutoka kemra au skana iliyotumiwa kulitengeneza au kuliandaa kwa tarakilishi.\nKama faili limebadilishwa kutoka hali yake ya awali, inawezekana kwamba vipengele kadhaa vitakuwa tofauti kuliko hali ya picha ilivyo sasa.",
        "confirm-watch-top": "Je, ukurasa huu uongezwe katika maangalizi yako?",
        "confirm-unwatch-button": "Sawa",
        "confirm-unwatch-top": "Ukurasa huu uondolewa katika orodha ya maangalizi yako?",
+       "confirm-rollback-button": "Sawa",
        "imgmultipageprev": "← ukurasa uliotangulia",
        "imgmultipagenext": "ukurasa ujao →",
        "imgmultigo": "Nenda!",
        "version-skins": "Maumbo",
        "version-specialpages": "Kurasa maalum",
        "version-variables": "Vibadili",
+       "version-editors": "Wahariri",
        "version-other": "Zingine",
        "version-version": "($1)",
        "version-license": "Ruhusa",
+       "version-skin-colheader-name": "Sura",
+       "version-ext-colheader-version": "Toleo",
+       "version-ext-colheader-license": "Leseni",
        "version-ext-colheader-description": "Ufafanuzi",
+       "version-ext-colheader-credits": "Waandishi",
        "version-poweredby-credits": "Wiki hii inaendeshwa na bidhaa pepe ya '''[https://www.mediawiki.org/ MediaWiki]''', hakimiliki © 2001-$1 $2.",
        "version-poweredby-others": "wengine",
        "version-license-info": "MediaWiki ni bidhaa pepe huru; unaweza kuisambaza pamoja na kuitumia na kuibadilisha kutokana na masharti ya leseni ya GNU General Public License inayotolewa na Free Software Foundation (Shirika la Bidhaa Pepe Huru); ama toleo 2 la hakimiliki, ama (ukitaka) toleo lolote linalofuata.\n\nMediaWiki inatolewa kwa matumaini ya kwamba ni ya manufaa, lakini BILA JUKUMU; hata bila jukumu linalojitokeza la KUWA TAYARI KUUZIKA KIBIASHARA au KUFAA KWA KUSUDIO FULANI. Tazama leseni ya GNU General Public License kuona maelezo mengine.\n\nHuwa unapokea [{{SERVER}}{{SCRIPTPATH}}/COPYING nakala ya GNU General Public License] pamoja na programu hii; la sivyo, andika kuomba nakala kwa Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA au [//www.gnu.org/licenses/old-licenses/gpl-2.0.html uisome mkondoni].",
        "version-software-product": "Bidhaa",
        "version-software-version": "Toleo",
        "version-entrypoints-header-url": "KISARA Kioneshi Sanifu Raslimali",
+       "version-libraries-library": "Maktaba",
+       "version-libraries-version": "Toleo",
+       "version-libraries-license": "Leseni",
+       "version-libraries-description": "Ufafanuzi",
+       "version-libraries-authors": "Waandishi",
        "redirect-submit": "Nenda",
        "redirect-file": "Jina la faili",
        "fileduplicatesearch": "Tafuta mafaili ya nakili",
        "tag-filter": "Chujio cha [[Special:Tags|tagi]]:",
        "tag-filter-submit": "Chuja",
        "tags-title": "Tagi",
+       "tags-tag": "Jina la tagi",
        "tags-description-header": "Maelezo kamili ya maana",
+       "tags-source-header": "Chanzo",
        "tags-active-yes": "Ndiyo",
        "tags-active-no": "Siyo",
        "tags-edit": "hariri",
        "tags-hitcount": "{{PLURAL:$1|badiliko|mabadiliko}} $1",
+       "tags-create-tag-name": "Jina la tagi:",
+       "tags-create-reason": "Sababu:",
+       "tags-create-submit": "Anzisha",
+       "tags-delete-reason": "Sababu:",
+       "tags-activate-reason": "Sababu:",
+       "tags-edit-reason": "Sababu:",
        "comparepages": "Linganisha kurasa",
        "compare-page1": "Ukurasa wa kwanza",
        "compare-page2": "Ukurasa wa pili",
        "compare-invalid-title": "Jina la ukurasa uliloliandika ni batili.",
        "compare-title-not-exists": "Jina la ukurasa ulilotaja halipatikani.",
        "compare-revision-not-exists": "Pitio ulilotaja halipatikani.",
+       "diff-form": "Tofauti",
+       "permanentlink": "Kiungo cha daima",
        "dberr-problems": "Kumradhi! Tovuti hii inapata matatatizo wakati huu.",
        "dberr-again": "Jaribu tena baada ya kusubiri dakika chache.",
        "dberr-info": "(Hamna mawasiliano na seva ya hifadhidata: $1)",
        "revdelete-uname-unhid": "jina la mtumiaji halijafichwa",
        "revdelete-restricted": "aliwazuia pia wakabidhi wasiyaone maelezo",
        "revdelete-unrestricted": "aliwarudishia wakabidhi uwezo wa kuona maelezo",
+       "logentry-partialblock-block-page": "{{PLURAL:$1|ukurasa|kurasa}} $2",
        "logentry-move-move": "$1 {{GENDER:$2|alihamisha}} ukurasa wa $3 hadi $4",
        "logentry-newusers-newusers": "Akaunti ya mtumiaji $1 {{GENDER:$2|iliundwa}}",
        "logentry-newusers-create": "Akaunti ya mtumiaji $1 {{GENDER:$2|iliundwa}}",
        "duration-days": "{{PLURAL:$1|siku}} $1",
        "duration-weeks": "{{PLURAL:$1|wiki}} $1",
        "duration-years": "{{PLURAL:$1|mwaka|miaka}} $1",
+       "duration-decades": "{{PLURAL:$1|mwongo|miongo}} $1",
        "duration-centuries": "{{PLURAL:$1|karne}} $1",
+       "duration-millennia": "{{PLURAL:$1|milenia}} $1",
        "limitreport-cputime": "Muda wa mtumizi ya CPU",
        "limitreport-cputime-value": "$1 {{PLURAL:$1|second|sekunde}}",
        "limitreport-walltime": "Matumizi ya hivi sasa",
index 25e1ba3..d178e25 100644 (file)
                        "VulpesVulpes825",
                        "佛壁灯",
                        "94rain",
-                       "Viztor"
+                       "Viztor",
+                       "Ps2049"
                ]
        },
        "tog-underline": "链接下划线:",
        "virus-scanfailed": "扫描失败(代码 $1)",
        "virus-unknownscanner": "未知的反病毒软件:",
        "logouttext": "<strong>您现在已经退出登录。</strong>\n\n请注意一些页面可能仍然显示您处于登录状态,直到您清空浏览器缓存为止。",
+       "logging-out-notify": "您正在退出,请稍候。",
+       "logout-failed": "现在不能退出:$1",
        "cannotlogoutnow-title": "现在不能退出",
        "cannotlogoutnow-text": "当使用$1时无法退出。",
        "welcomeuser": "欢迎,$1!",
        "mw-widgets-abandonedit-discard": "撤销编辑",
        "mw-widgets-abandonedit-keep": "继续编辑",
        "mw-widgets-abandonedit-title": "您确定吗?",
+       "mw-widgets-copytextlayout-copy": "复制",
+       "mw-widgets-copytextlayout-copy-fail": "无法复制到剪贴板。",
+       "mw-widgets-copytextlayout-copy-success": "文本已复制至剪贴板。",
        "mw-widgets-dateinput-no-date": "没有选定日期",
        "mw-widgets-mediasearch-input-placeholder": "搜索媒体",
        "mw-widgets-mediasearch-noresults": "找不到结果。",
diff --git a/resources/lib/jquery/jquery-3.3.1.patch b/resources/lib/jquery/jquery-3.3.1.patch
new file mode 100644 (file)
index 0000000..68a4326
--- /dev/null
@@ -0,0 +1,14 @@
+--- jquery-3.3.1.js    2019-04-01 08:39:29.000000000 +0200
++++ jquery-3.3.1.js    2019-04-01 09:02:39.000000000 +0200
+@@ -260,8 +260,9 @@ jQuery.extend = jQuery.fn.extend = function() {
+                       for ( name in options ) {
+                               src = target[ name ];
+                               copy = options[ name ];
++                              // Prevent Object.prototype pollution
+                               // Prevent never-ending loop
+-                              if ( target === copy ) {
++                              if ( name === "__proto__" || target === copy ) {
+                                       continue;
+                               }
index 9b5206b..34a5703 100644 (file)
@@ -261,8 +261,9 @@ jQuery.extend = jQuery.fn.extend = function() {
                                src = target[ name ];
                                copy = options[ name ];
 
+                               // Prevent Object.prototype pollution
                                // Prevent never-ending loop
-                               if ( target === copy ) {
+                               if ( name === "__proto__" || target === copy ) {
                                        continue;
                                }
 
index 060834f..43da9a9 100644 (file)
@@ -22,6 +22,10 @@ class ApiBlockTest extends ApiTestCase {
                );
 
                $this->mUser = $this->getMutableTestUser()->getUser();
+               $this->setMwGlobals( 'wgBlockCIDRLimit', [
+                       'IPv4' => 16,
+                       'IPv6' => 19,
+               ] );
        }
 
        protected function getTokens() {
@@ -41,7 +45,6 @@ class ApiBlockTest extends ApiTestCase {
                $tokens = $this->getTokens();
 
                $this->assertNotNull( $this->mUser, 'Sanity check' );
-               $this->assertNotSame( 0, $this->mUser->getId(), 'Sanity check' );
 
                $this->assertArrayHasKey( 'blocktoken', $tokens, 'Sanity check' );
 
@@ -311,7 +314,7 @@ class ApiBlockTest extends ApiTestCase {
         * @expectedExceptionMessage Too many values supplied for parameter "pagerestrictions". The
         * limit is 10.
         */
-       public function testBlockingToManyPageRestrictions() {
+       public function testBlockingTooManyPageRestrictions() {
                $this->setMwGlobals( [
                        'wgEnablePartialBlocks' => true,
                ] );
@@ -332,4 +335,18 @@ class ApiBlockTest extends ApiTestCase {
                        self::$users['sysop']->getUser()
                );
        }
+
+       public function testRangeBlock() {
+               $this->mUser = User::newFromName( '128.0.0.0/16', false );
+               $this->doBlock();
+       }
+
+       /**
+        * @expectedException ApiUsageException
+        * @expectedExceptionMessage Range blocks larger than /16 are not allowed.
+        */
+       public function testVeryLargeRangeBlock() {
+               $this->mUser = User::newFromName( '128.0.0.0/1', false );
+               $this->doBlock();
+       }
 }
index 1f6f4e8..1b67bbd 100644 (file)
@@ -326,6 +326,7 @@ class SanitizerTest extends MediaWikiTestCase {
                        ],
                        [ '/* insecure input */', 'foo: attr( title, url );' ],
                        [ '/* insecure input */', 'foo: attr( title url );' ],
+                       [ '/* insecure input */', 'foo: var(--evil-attribute)' ],
                ];
        }
 
index 43dd5d4..cf9bd2c 100644 (file)
--- a/thumb.php
+++ b/thumb.php
@@ -409,6 +409,8 @@ function wfProxyThumbnailRequest( $img, $thumbName ) {
        // Send request to proxied service
        $status = $req->execute();
 
+       MediaWiki\HeaderCallback::warnIfHeadersSent();
+
        // Simply serve the response from the proxied service as-is
        header( 'HTTP/1.1 ' . $req->getStatus() );
 
@@ -634,6 +636,8 @@ function wfThumbErrorText( $status, $msgText ) {
 function wfThumbError( $status, $msgHtml, $msgText = null, $context = [] ) {
        global $wgShowHostnames;
 
+       MediaWiki\HeaderCallback::warnIfHeadersSent();
+
        header( 'Cache-Control: no-cache' );
        header( 'Content-Type: text/html; charset=utf-8' );
        if ( $status == 400 || $status == 404 || $status == 429 ) {