[MediaWiki-commits] [Gerrit] mediawiki...GlobalUsage[master]: Avoid duplicate @doc in extension.json
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327876 ) Change subject: Avoid duplicate @doc in extension.json .. Avoid duplicate @doc in extension.json External JSON reader can have problems with duplicate keys in json. Change-Id: I2d4966b5001925593160b458fb0e934ca9fc230a --- M extension.json 1 file changed, 3 insertions(+), 3 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/extension.json b/extension.json index 09c1fb3..9fc513b 100644 --- a/extension.json +++ b/extension.json @@ -79,14 +79,14 @@ ] }, "config": { - "@doc": [ + "@docGlobalUsageDatabase": [ "If set to false, the local database contains the globalimagelinks table", "Else set to something understandable to LBFactory" ], "GlobalUsageDatabase": false, - "@doc": "Name of the shared repo that backlinks are shared for", + "@docGlobalUsageSharedRepoWiki": "Name of the shared repo that backlinks are shared for", "GlobalUsageSharedRepoWiki": false, - "@doc": [ + "@docGlobalUsagePurgeBacklinks": [ "If set to true, this will purge pages on the wikis that use a file when it changes.", "This works by directly inserting HTMLCacheUpdate jobs into the local wikis.", "@see $wgGlobalUsagePurgeBacklinks" -- To view, visit https://gerrit.wikimedia.org/r/327876 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2d4966b5001925593160b458fb0e934ca9fc230a Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/GlobalUsage Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...ContentTranslation[master]: Fix eslint error
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327930 ) Change subject: Fix eslint error .. Fix eslint error https://integration.wikimedia.org/ci/job/npm-node-4/20514/console 09:43:16 Running "eslint:main" (eslint) task 09:43:28 09:43:28 /home/jenkins/workspace/npm-node-4/tests/qunit/translation/ext.cx.translation.loader.test.js 09:43:28 16:3 error Expected indentation of 1 tab but found 2 indent 09:43:28 17:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 18:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 19:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 20:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 21:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 22:3 error Expected indentation of 1 tab but found 2 indent 09:43:28 23:3 error Expected indentation of 1 tab but found 2 indent 09:43:28 24:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 25:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 26:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 27:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 28:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 29:3 error Expected indentation of 1 tab but found 2 indent 09:43:28 30:3 error Expected indentation of 1 tab but found 2 indent 09:43:28 31:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 32:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 33:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 34:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 35:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 36:3 error Expected indentation of 1 tab but found 2 indent 09:43:28 37:3 error Expected indentation of 1 tab but found 2 indent 09:43:28 38:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 39:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 40:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 41:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 42:4 error Expected indentation of 2 tabs but found 3 indent 09:43:28 43:3 error Expected indentation of 1 tab but found 2 indent 09:43:28 09:43:28 ✖ 28 problems (28 errors, 0 warnings) Change-Id: I08e65de879b6016b65ad5bca76b77893e65a2491 --- M tests/qunit/translation/ext.cx.translation.loader.test.js 1 file changed, 8 insertions(+), 7 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/qunit/translation/ext.cx.translation.loader.test.js b/tests/qunit/translation/ext.cx.translation.loader.test.js index 3f4fe8b..ddd93a7 100644 --- a/tests/qunit/translation/ext.cx.translation.loader.test.js +++ b/tests/qunit/translation/ext.cx.translation.loader.test.js @@ -6,13 +6,14 @@ ( function ( $, mw ) { 'use strict'; - var tests = [ { - description: 'All ids of source and draft match perfectly', - source: 'Paragraph 1', - placeholders: '', - draft: 'PARAGRAPH 1', - translation: 'PARAGRAPH 1' - }, + var tests = [ + { + description: 'All ids of source and draft match perfectly', + source: 'Paragraph 1', + placeholders: '', + draft: 'PARAGRAPH 1', + translation: 'PARAGRAPH 1' + }, { description: 'All ids of source and draft match perfectly, Restoring old draft using sequence ids', source: 'Paragraph 1', -- To view, visit https://gerrit.wikimedia.org/r/327930 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I08e65de879b6016b65ad5bca76b77893e65a2491 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/ContentTranslation Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...GlobalCssJs[master]: Remove duplicate message keys from core/en.json
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327912 ) Change subject: Remove duplicate message keys from core/en.json .. Remove duplicate message keys from core/en.json Change-Id: I1fe3f3bd696f911c3be999e05f47f944e1d20a25 --- M i18n/core/en.json 1 file changed, 0 insertions(+), 3 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/i18n/core/en.json b/i18n/core/en.json index 74ecfc1..82321c6 100644 --- a/i18n/core/en.json +++ b/i18n/core/en.json @@ -7,12 +7,9 @@ }, "globalcssjs-extensionname": "Global CSS/JS", "globalcssjs-desc": "Allows CSS and JavaScript on a central wiki to be loaded for all connected wikis", - "globalcssjs-warning-js": "Any JavaScript added to this page will be loaded on all wikis where you have an account.", - "globalcssjs-warning-css": "Any CSS added to this page will be loaded on all wikis where you have an account.", "globalcssjs-custom-css-js": "Shared CSS/JavaScript for all wikis ([[:mw:Special:MyLanguage/Help:Extension:GlobalCssJs|more information]]):", "globalcssjs-warning-js": "Any JavaScript added to this page will be loaded on all wikis where you have an account (see [[mw:Help:Extension:GlobalCssJs|documentation]]).", "globalcssjs-warning-css": "Any CSS added to this page will be loaded on all wikis where you have an account (see [[mw:Help:Extension:GlobalCssJs|documentation]]).", - "globalcssjs-custom-css-js": "Shared CSS/JavaScript for all wikis:", "globalcssjs-custom-js": "Custom JavaScript", "globalcssjs-custom-css": "Custom CSS", "globalcssjs-delete-css": "Deleting CSS page on {{GENDER:$1|user}} request due to deployment of [[mw:Help:Extension:GlobalCssJs]]", -- To view, visit https://gerrit.wikimedia.org/r/327912 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I1fe3f3bd696f911c3be999e05f47f944e1d20a25 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/GlobalCssJs Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...GoogleAnalyticsMetrics[master]: Add MessagesDirs to extension.json
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327866 ) Change subject: Add MessagesDirs to extension.json .. Add MessagesDirs to extension.json Folder already exists Change-Id: I70e0cc1a8ac8e9736eee61e19869c9340b541d76 --- M extension.json 1 file changed, 5 insertions(+), 0 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/extension.json b/extension.json index bffd0ce..e88eedb 100644 --- a/extension.json +++ b/extension.json @@ -8,6 +8,11 @@ "descriptionmsg": "googleanalyticsmetrics-desc", "license-name": "GPL-2.0+", "type": "parserhook", + "MessagesDirs": { + "GoogleAnalyticsMetrics": [ + "i18n" + ] + }, "AutoloadClasses": { "GoogleAnalyticsMetricsHooks": "GoogleAnalyticsMetrics.hooks.php", "GoogleAnalyticsMetricsCache": "GoogleAnalyticsMetricsCache.php" -- To view, visit https://gerrit.wikimedia.org/r/327866 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I70e0cc1a8ac8e9736eee61e19869c9340b541d76 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/GoogleAnalyticsMetrics Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...WikipediaExtracts[master]: Fix invalid json in qqq.json
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327910 ) Change subject: Fix invalid json in qqq.json .. Fix invalid json in qqq.json Change-Id: I55b16fba4aa6d7cefd82549898fa3e9f02af2d31 --- M i18n/qqq.json 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/i18n/qqq.json b/i18n/qqq.json index af802b5..4d5ca5a 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -5,7 +5,7 @@ ] }, "wikipediaextracts-desc": "{{desc|name=WikipediaExtracts|url=https://www.mediawiki.org/wiki/Extension:WikipediaExtracts}};, - "wikipediaextracts-404": "Error message when an extract is requested of a Wikipedia page that doesn't exist" + "wikipediaextracts-404": "Error message when an extract is requested of a Wikipedia page that doesn't exist", "wikipediaextracts-invalid-language": "Error message when given an invalid language code", "wikipediaextracts-credits": "Text after the extract, crediting Wikipedia" } -- To view, visit https://gerrit.wikimedia.org/r/327910 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I55b16fba4aa6d7cefd82549898fa3e9f02af2d31 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/WikipediaExtracts Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...PluggableAuth[master]: Remove duplicate message key from en.json
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327911 ) Change subject: Remove duplicate message key from en.json .. Remove duplicate message key from en.json Change-Id: Ieb49d6761b88246d227a0696171f661eb3a05e87 --- M i18n/en.json 1 file changed, 0 insertions(+), 1 deletion(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/i18n/en.json b/i18n/en.json index b6d9bf4..575186c 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -8,7 +8,6 @@ "pluggableauth-not-authorized": "{{GENDER:$1|User}} $1 not authorized.", "pluggableauth-authentication-failure": "User cannot be authenticated.", "pluggableauth-authentication-workflow-failure": "Authentication workflow failure.", - "pluggableauth-authentication-failure": "Authentication or authorization failure.", "pluggableauth-loginbutton-label": "Log in with PluggableAuth", "pluggableauth-loginbutton-help": "Authenticates you with PluggableAuth" } -- To view, visit https://gerrit.wikimedia.org/r/327911 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ieb49d6761b88246d227a0696171f661eb3a05e87 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/PluggableAuth Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...ParentPage[master]: Fix @metadata in i18n files
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/328017 ) Change subject: Fix @metadata in i18n files .. Fix @metadata in i18n files Change-Id: Ibabcd1085e34550caed714fa87681f7e90ccdb48 --- M i18n/en.json M i18n/qqq.json 2 files changed, 10 insertions(+), 6 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/i18n/en.json b/i18n/en.json index 2b9aefd..152bf10 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1,7 +1,9 @@ { - "authors": [ - "Leonid Verhovskij" - ], + "@metadata": { + "authors": [ + "Leonid Verhovskij" + ] + }, "parentpage-desc": "provide special semantic property \"parent page\" on subpages", "prefs-parentpage": "Parent page" } diff --git a/i18n/qqq.json b/i18n/qqq.json index 70b0af6..2f0331c 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -1,7 +1,9 @@ { - "authors": [ - "Leonid Verhovskij" - ], + "@metadata": { + "authors": [ + "Leonid Verhovskij" + ] + }, "parentpage-desc": "extension description", "prefs-parentpage": "label for attribute of parent page" } -- To view, visit https://gerrit.wikimedia.org/r/328017 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibabcd1085e34550caed714fa87681f7e90ccdb48 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ParentPage Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...QuickSearchLookup[master]: Add empty @metadata to i18n file for banana check
Reedy has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/328018 ) Change subject: Add empty @metadata to i18n file for banana check .. Add empty @metadata to i18n file for banana check Change-Id: I8b9667abf9184234e32a82983ff36a6c38591b49 --- M i18n/en.json 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Reedy: Verified; Looks good to me, approved diff --git a/i18n/en.json b/i18n/en.json index f125156..82f253c 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1,4 +1,5 @@ { + "@metadata": {}, "quicksearchlookup-desc": "Adds a Panel with information of the first search result to the search result page.", "quicksearchlookup-readmore": "Read more", "quicksearchlookup-expand": "Expand map" -- To view, visit https://gerrit.wikimedia.org/r/328018 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8b9667abf9184234e32a82983ff36a6c38591b49 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/QuickSearchLookup Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: Umherirrender ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...ApiFeatureUsage[master]: extension.json: Add dependency upon Elastica
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327782 ) Change subject: extension.json: Add dependency upon Elastica .. extension.json: Add dependency upon Elastica Change-Id: I479aa1d0cc63198d4e160b001aa5f10aa6e0a9dd --- M extension.json 1 file changed, 4 insertions(+), 1 deletion(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified Jforrester: Looks good to me, but someone else must approve diff --git a/extension.json b/extension.json index bfbe2a4..50913bb 100644 --- a/extension.json +++ b/extension.json @@ -7,7 +7,10 @@ "license-name": "GPL-2.0+", "type": "specialpage", "requires": { - "MediaWiki": ">= 1.29.0" + "MediaWiki": ">= 1.29.0", + "extensions": { + "Elastica": "*" + } }, "ConfigRegistry": { "ApiFeatureUsage": "GlobalVarConfig::newInstance" -- To view, visit https://gerrit.wikimedia.org/r/327782 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I479aa1d0cc63198d4e160b001aa5f10aa6e0a9dd Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/ApiFeatureUsage Gerrit-Branch: master Gerrit-Owner: LegoktmGerrit-Reviewer: Anomie Gerrit-Reviewer: Jforrester Gerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...ApiFeatureUsage[master]: Drop pre-1.29 backwards-compatibility
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327781 ) Change subject: Drop pre-1.29 backwards-compatibility .. Drop pre-1.29 backwards-compatibility Avoids using the deprecated Status::getWarningsArray() this way. Change-Id: I978328e341d126845f872b50e07db3e306a1acf9 --- M ApiQueryFeatureUsage.php M extension.json 2 files changed, 3 insertions(+), 17 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified Jforrester: Looks good to me, but someone else must approve diff --git a/ApiQueryFeatureUsage.php b/ApiQueryFeatureUsage.php index a67fede..a3a32c6 100644 --- a/ApiQueryFeatureUsage.php +++ b/ApiQueryFeatureUsage.php @@ -13,11 +13,7 @@ : $params['agent']; if ( empty( $agent ) ) { $encParamName = $this->encodeParamName( 'agent' ); - if ( is_callable( [ $this, 'dieWithError' ] ) ) { - $this->dieWithError( 'apierror-apifeatureusage-emptyagent', "bad_$encParamName" ); - } else { - $this->dieUsage( 'Cannot query an empty user agent', "bad_$encParamName" ); - } + $this->dieWithError( 'apierror-apifeatureusage-emptyagent', "bad_$encParamName" ); } $conf = ConfigFactory::getDefaultInstance()->makeConfig( 'ApiFeatureUsage' ); @@ -40,17 +36,7 @@ $this->dieStatus( $status ); } - if ( is_callable( [ $this, 'addMessagesFromStatus' ] ) ) { - $this->addMessagesFromStatus( $status ); - } else { - foreach ( $status->getWarningsArray() as $warning ) { - if ( !$warning instanceof Message ) { - $key = array_shift( $warning ); - $warning = $this->msg( $key, $warning ); - } - $this->setWarning( $warning->inLanguage( 'en' )->useDatabase( false )->plain() ); - } - } + $this->addMessagesFromStatus( $status ); $r = [ 'agent' => $agent, diff --git a/extension.json b/extension.json index bdefccf..bfbe2a4 100644 --- a/extension.json +++ b/extension.json @@ -7,7 +7,7 @@ "license-name": "GPL-2.0+", "type": "specialpage", "requires": { - "MediaWiki": ">= 1.28.0" + "MediaWiki": ">= 1.29.0" }, "ConfigRegistry": { "ApiFeatureUsage": "GlobalVarConfig::newInstance" -- To view, visit https://gerrit.wikimedia.org/r/327781 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I978328e341d126845f872b50e07db3e306a1acf9 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/ApiFeatureUsage Gerrit-Branch: master Gerrit-Owner: LegoktmGerrit-Reviewer: Anomie Gerrit-Reviewer: Jforrester Gerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...ImportUsers[master]: Add empty metadata block to i18n files for banana check
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/328016 ) Change subject: Add empty metadata block to i18n files for banana check .. Add empty metadata block to i18n files for banana check Change-Id: If4cd4b4070c092c62e1347357bc609c0e29bd592 --- M i18n/an.json M i18n/ckb.json M i18n/ha.json M i18n/tk.json 4 files changed, 4 insertions(+), 0 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/i18n/an.json b/i18n/an.json index fc52c16..9241992 100644 --- a/i18n/an.json +++ b/i18n/an.json @@ -1,3 +1,4 @@ { + "@metadata": {}, "importusers-log-summary-all": "Tot" } diff --git a/i18n/ckb.json b/i18n/ckb.json index 9b2f4ba..430d252 100644 --- a/i18n/ckb.json +++ b/i18n/ckb.json @@ -1,3 +1,4 @@ { + "@metadata": {}, "importusers-log-summary": "پوختە" } diff --git a/i18n/ha.json b/i18n/ha.json index 8a4bffe..1914d3e 100644 --- a/i18n/ha.json +++ b/i18n/ha.json @@ -1,4 +1,5 @@ { + "@metadata": {}, "importusers-log-summary": "Taƙaici", "importusers-log-summary-all": "Duka" } diff --git a/i18n/tk.json b/i18n/tk.json index 42d32eb..f21fef9 100644 --- a/i18n/tk.json +++ b/i18n/tk.json @@ -1,3 +1,4 @@ { + "@metadata": {}, "importusers-log-summary-all": "Ählisi" } -- To view, visit https://gerrit.wikimedia.org/r/328016 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If4cd4b4070c092c62e1347357bc609c0e29bd592 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ImportUsers Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...MadLib[master]: Add empty metadata block to i18n files for banana check
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/328019 ) Change subject: Add empty metadata block to i18n files for banana check .. Add empty metadata block to i18n files for banana check Change-Id: Id5b28c00206ee4e4593d077a19684e70e8147dd9 --- M i18n/en.json 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/i18n/en.json b/i18n/en.json index 24c3a99..7e123be 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1,3 +1,4 @@ { + "@metadata": {}, "madlib-desc": "Adds the #madlib parser function for mad libs-style text" } -- To view, visit https://gerrit.wikimedia.org/r/328019 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Id5b28c00206ee4e4593d077a19684e70e8147dd9 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MadLib Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...OOUIPlayground[master]: Add empty metadata block to i18n files for banana check
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/328020 ) Change subject: Add empty metadata block to i18n files for banana check .. Add empty metadata block to i18n files for banana check Change-Id: Iefd6822485f573d17a575279ccd590484b1f5fc1 --- M i18n/en.json 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/i18n/en.json b/i18n/en.json index c6ed97c..4f9a42d 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -1,4 +1,5 @@ { + "@metadata": {}, "ooui-playground-parameter-name" : "Parameter name", "ooui-playground-parameter-type" : "Acceptable types", "ooui-playground-parameter-desc" : "Description", -- To view, visit https://gerrit.wikimedia.org/r/328020 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iefd6822485f573d17a575279ccd590484b1f5fc1 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/OOUIPlayground Gerrit-Branch: master Gerrit-Owner: UmherirrenderGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...WikimediaMessages[master]: Add empty metadata block to i18n files for banana check
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/328015 ) Change subject: Add empty metadata block to i18n files for banana check .. Add empty metadata block to i18n files for banana check https://integration.wikimedia.org/ci/job/npm-node-4/20572/console 21:58:20 Running "banana:all" (banana) task 21:58:20 >> No metadata block in the kk-arab messages file. 21:58:20 >> No metadata block in the kk-cyrl messages file. 21:58:20 >> No metadata block in the kk-latn messages file. 21:58:20 >> No metadata block in the ml messages file. 21:58:20 >> No metadata block in the source messages file. 21:58:20 >> No metadata block in the source messages file. 21:58:20 >> No metadata block in the documentation messages file. 21:58:20 >> No metadata block in the ar messages file. 21:58:20 >> No metadata block in the de messages file. 21:58:20 >> No metadata block in the es messages file. 21:58:20 >> No metadata block in the fr messages file. 21:58:20 >> No metadata block in the it messages file. 21:58:20 >> No metadata block in the ja messages file. 21:58:20 >> No metadata block in the pt-br messages file. 21:58:20 >> No metadata block in the source messages file. 21:58:21 Warning: Task "banana:all" failed. Use --force to continue. Change-Id: Iec3fef22db48c33ade87d95c1d2b7549034a376f --- M i18n/temporary/kk-arab.json M i18n/temporary/kk-cyrl.json M i18n/temporary/kk-latn.json M i18n/temporary/ml.json M i18n/wikimediaoverrides/en.json M i18n/wikimediaoverridesnotranslate/ar.json M i18n/wikimediaoverridesnotranslate/de.json M i18n/wikimediaoverridesnotranslate/en.json M i18n/wikimediaoverridesnotranslate/es.json M i18n/wikimediaoverridesnotranslate/fr.json M i18n/wikimediaoverridesnotranslate/it.json M i18n/wikimediaoverridesnotranslate/ja.json M i18n/wikimediaoverridesnotranslate/pt-br.json M i18n/wikimediaoverridesnotranslate/qqq.json M i18n/wikimediaprojectnames/en.json 15 files changed, 15 insertions(+), 0 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/i18n/temporary/kk-arab.json b/i18n/temporary/kk-arab.json index 95187ae..be71912 100644 --- a/i18n/temporary/kk-arab.json +++ b/i18n/temporary/kk-arab.json @@ -1,4 +1,5 @@ { + "@metadata": [], "grouppage-oversight": "{{ns:project}}:انىقتاۋشىلار", "group-oversight": "انىقتاۋشىلار", "group-oversight-member": "انىقتاۋشى" diff --git a/i18n/temporary/kk-cyrl.json b/i18n/temporary/kk-cyrl.json index 5d6bfad..7c3dce0 100644 --- a/i18n/temporary/kk-cyrl.json +++ b/i18n/temporary/kk-cyrl.json @@ -1,4 +1,5 @@ { + "@metadata": [], "grouppage-oversight": "{{ns:project}}:Анықтаушылар", "group-oversight": "Анықтаушылар", "group-oversight-member": "анықтаушы" diff --git a/i18n/temporary/kk-latn.json b/i18n/temporary/kk-latn.json index a19b9b1..666c351 100644 --- a/i18n/temporary/kk-latn.json +++ b/i18n/temporary/kk-latn.json @@ -1,4 +1,5 @@ { + "@metadata": [], "grouppage-oversight": "{{ns:project}}:Anıqtawşılar", "group-oversight": "Anıqtawşılar", "group-oversight-member": "anıqtawşı" diff --git a/i18n/temporary/ml.json b/i18n/temporary/ml.json index 7868000..6b907c1 100644 --- a/i18n/temporary/ml.json +++ b/i18n/temporary/ml.json @@ -1,4 +1,5 @@ { + "@metadata": [], "grouppage-oversight": "{{ns:project}}:മേൽനോട്ടം", "group-oversight": "മേൽനോട്ടക്കാർ", "group-oversight-member": "മേൽനോട്ടം" diff --git a/i18n/wikimediaoverrides/en.json b/i18n/wikimediaoverrides/en.json index e546bed..368aa36 100644 --- a/i18n/wikimediaoverrides/en.json +++ b/i18n/wikimediaoverrides/en.json @@ -1,4 +1,5 @@ { + "@metadata": [], "wikimedia-acct_creation_throttle_hit": "Visitors to this wiki using your IP address have created {{PLURAL:$1|1 account|$1 accounts}} in the last day, which is the maximum allowed in this time period.\nAs a result, visitors using this IP address cannot create any more accounts at the moment.\n\nIf you are at an event where contributing to Wikimedia projects is the focus, please see [[m:Mass account creation#Requesting_temporary_lift_of_IP_cap|Requesting temporary lift of IP cap]] to help resolve this issue.", "wikimedia-createacct-helpusername": "[[{{MediaWiki:createacct-helpusername-url}}|(help me choose)]]", "wikimedia-createacct-imgcaptcha-help": "Can't see the image? [[{{MediaWiki:createacct-captcha-help-url}}|Request an account]]", diff --git a/i18n/wikimediaoverridesnotranslate/ar.json b/i18n/wikimediaoverridesnotranslate/ar.json index 8f9dd84..9366af1 100644 --- a/i18n/wikimediaoverridesnotranslate/ar.json +++ b/i18n/wikimediaoverridesnotranslate/ar.json @@ -1,3 +1,4 @@ { + "@metadata": [], "wikimedia-privacypage": "m:Privacy_policy/ar" } diff --git a/i18n/wikimediaoverridesnotranslate/de.json
[MediaWiki-commits] [Gerrit] mediawiki...Math[master]: Updated maintenance scripts to use $this->requireExtension()
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327898 ) Change subject: Updated maintenance scripts to use $this->requireExtension() .. Updated maintenance scripts to use $this->requireExtension() Added $this->requireExtension() in maintenance/MathGenerateTests.php Bug: T152139 Change-Id: I79670c9102e1ea97390edc4c8408d269f3967547 --- M maintenance/MathGenerateTests.php 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/maintenance/MathGenerateTests.php b/maintenance/MathGenerateTests.php index f46707d..6fc0577 100644 --- a/maintenance/MathGenerateTests.php +++ b/maintenance/MathGenerateTests.php @@ -27,6 +27,7 @@ public function __construct() { parent::__construct(); + $this->requireExtension( 'Math' ); $this->mDescription = 'Rebuilds the MathCoverage tests'; $this->addArg( 'page', "The page used for the testset generation.", false ); $this->addOption( -- To view, visit https://gerrit.wikimedia.org/r/327898 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I79670c9102e1ea97390edc4c8408d269f3967547 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Math Gerrit-Branch: master Gerrit-Owner: IvanFonGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...VisualEditor[master]: Updated VisualEditor maintenance scripts to use $this->requi...
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327902 ) Change subject: Updated VisualEditor maintenance scripts to use $this->requireExtension() .. Updated VisualEditor maintenance scripts to use $this->requireExtension() Added $this->requireExtension() in autodisablePref.php Bug: T152139 Change-Id: I561322ccbfb900ed06f79cca382662e1483fea4f --- M autodisablePref.php 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/autodisablePref.php b/autodisablePref.php index d96e9f2..00fdf8e 100644 --- a/autodisablePref.php +++ b/autodisablePref.php @@ -17,6 +17,7 @@ class VEAutodisablePref extends Maintenance { public function __construct() { parent::__construct(); + $this->requireExtension( 'VisualEditor' ); $this->mDescription = "Sets the VisualEditor autodisable preference on appropriate users."; $this->setBatchSize( 500 ); } -- To view, visit https://gerrit.wikimedia.org/r/327902 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I561322ccbfb900ed06f79cca382662e1483fea4f Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: IvanFonGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...BiblioPlus[master]: Removed usages of a deprecated method Revision::getText
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327916 ) Change subject: Removed usages of a deprecated method Revision::getText .. Removed usages of a deprecated method Revision::getText Bug: T151973 Change-Id: I30e698b5b1cbb2faeac5ae399f366e64d7850120 --- M BiblioPlus.body.php 1 file changed, 2 insertions(+), 2 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/BiblioPlus.body.php b/BiblioPlus.body.php index 3c988d6..2ec5c3a 100644 --- a/BiblioPlus.body.php +++ b/BiblioPlus.body.php @@ -75,12 +75,12 @@ /** * Returns the source code of a local wiki page. * - * @param string $title: The title of the wiki page. + * @param Title $title: The title of the wiki page. * @return string: The source code of the input page. */ function fetchPage( $title ) { $rev = Revision::newFromTitle( $title ); -return $rev->getText(); +return ContentHandler::getContentText( $rev->getContent() ); } /** -- To view, visit https://gerrit.wikimedia.org/r/327916 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I30e698b5b1cbb2faeac5ae399f366e64d7850120 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/BiblioPlus Gerrit-Branch: master Gerrit-Owner: LukBukkitGerrit-Reviewer: Divadsn Gerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] mediawiki...Cargo[master]: Updated Cargo maintenance scripts to use $this->requireExten...
jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/327901 ) Change subject: Updated Cargo maintenance scripts to use $this->requireExtension() .. Updated Cargo maintenance scripts to use $this->requireExtension() Added $this->requireExtension() in maintenance/cargoRecreateData.php Added $this->requireExtension() in maintenance/setCargoFileData.php Added $this->requireExtension() in maintenance/setCargoPageData.php Bug: T152139 Change-Id: Iaa4dec7fd4089a4f757c4f9b581b0fad80cad655 --- M maintenance/cargoRecreateData.php M maintenance/setCargoFileData.php M maintenance/setCargoPageData.php 3 files changed, 3 insertions(+), 6 deletions(-) Approvals: Reedy: Looks good to me, approved jenkins-bot: Verified diff --git a/maintenance/cargoRecreateData.php b/maintenance/cargoRecreateData.php index 9a1fd2f..edc8d19 100644 --- a/maintenance/cargoRecreateData.php +++ b/maintenance/cargoRecreateData.php @@ -34,9 +34,8 @@ public function __construct() { parent::__construct(); - + $this->requireExtension( 'Cargo' ); $this->mDescription = "Recreate the data for one or more Cargo database tables."; - $this->addOption( 'table', 'The Cargo table to recreate', false, true ); } diff --git a/maintenance/setCargoFileData.php b/maintenance/setCargoFileData.php index 9e4c41a..d6ec649 100644 --- a/maintenance/setCargoFileData.php +++ b/maintenance/setCargoFileData.php @@ -34,9 +34,8 @@ public function __construct() { parent::__construct(); - + $this->requireExtension( 'Cargo' ); $this->mDescription = "Stores a set of data for each file in the wiki in one or more database tables, for use within Cargo queries."; - $this->addOption( "delete", "Delete the file data DB table(s)", false, false ); } diff --git a/maintenance/setCargoPageData.php b/maintenance/setCargoPageData.php index 8d57508..bf156a5 100644 --- a/maintenance/setCargoPageData.php +++ b/maintenance/setCargoPageData.php @@ -34,9 +34,8 @@ public function __construct() { parent::__construct(); - + $this->requireExtension( 'Cargo' ); $this->mDescription = "Stores a set of data for each page in the wiki in one or more database tables, for use within Cargo queries."; - $this->addOption( "delete", "Delete the page data DB table(s)", false, false ); } -- To view, visit https://gerrit.wikimedia.org/r/327901 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iaa4dec7fd4089a4f757c4f9b581b0fad80cad655 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/Cargo Gerrit-Branch: master Gerrit-Owner: IvanFonGerrit-Reviewer: Reedy Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits