From 036b9c41674a8eb1bdcd71a15fffb5a091223d9e Mon Sep 17 00:00:00 2001 From: Baha Date: Tue, 4 Apr 2017 18:52:57 -0400 Subject: [PATCH] Make API documentation links language aware Links generated by the API are now aware of the user's preferred language and will show documents in that language if available. To test, log in to mediawiki.org and set your language preference to 'es', then on an MediaWiki installation with this patch view the generated expanded API help at `api.php?action=help&recursivesubmodules=1&modules=main`. Each link to documentation on mediawiki.org should take you to its translated /es subpage, if one exists. Bug: T104518 Change-Id: I339a1f3ae1bce9d759cf251899d57c32b1def91e --- includes/api/ApiAMCreateAccount.php | 2 +- includes/api/ApiBlock.php | 2 +- includes/api/ApiChangeAuthenticationData.php | 2 +- includes/api/ApiClearHasMsg.php | 2 +- includes/api/ApiClientLogin.php | 2 +- includes/api/ApiDelete.php | 2 +- includes/api/ApiEditPage.php | 2 +- includes/api/ApiEmailUser.php | 2 +- includes/api/ApiExpandTemplates.php | 2 +- includes/api/ApiFeedWatchlist.php | 2 +- includes/api/ApiFormatBase.php | 2 +- includes/api/ApiHelp.php | 6 ++-- includes/api/ApiImport.php | 2 +- includes/api/ApiLinkAccount.php | 2 +- includes/api/ApiLogin.php | 2 +- includes/api/ApiLogout.php | 2 +- includes/api/ApiManageTags.php | 2 +- includes/api/ApiMergeHistory.php | 2 +- includes/api/ApiMove.php | 2 +- includes/api/ApiOpenSearch.php | 2 +- includes/api/ApiOptions.php | 2 +- includes/api/ApiParamInfo.php | 2 +- includes/api/ApiParse.php | 2 +- includes/api/ApiPatrol.php | 2 +- includes/api/ApiProtect.php | 2 +- includes/api/ApiPurge.php | 2 +- includes/api/ApiQuery.php | 8 +++--- includes/api/ApiQueryAllCategories.php | 2 +- includes/api/ApiQueryAllDeletedRevisions.php | 2 +- includes/api/ApiQueryAllImages.php | 2 +- includes/api/ApiQueryAllLinks.php | 2 +- includes/api/ApiQueryAllMessages.php | 2 +- includes/api/ApiQueryAllPages.php | 2 +- includes/api/ApiQueryAllRevisions.php | 2 +- includes/api/ApiQueryAllUsers.php | 2 +- includes/api/ApiQueryAuthManagerInfo.php | 2 +- includes/api/ApiQueryBacklinks.php | 6 ++-- includes/api/ApiQueryBacklinksprop.php | 2 +- includes/api/ApiQueryBlocks.php | 2 +- includes/api/ApiQueryCategories.php | 2 +- includes/api/ApiQueryCategoryInfo.php | 2 +- includes/api/ApiQueryCategoryMembers.php | 2 +- includes/api/ApiQueryContributors.php | 2 +- includes/api/ApiQueryDeletedRevisions.php | 2 +- includes/api/ApiQueryDeletedrevs.php | 2 +- includes/api/ApiQueryDuplicateFiles.php | 2 +- includes/api/ApiQueryExtLinksUsage.php | 2 +- includes/api/ApiQueryExternalLinks.php | 2 +- includes/api/ApiQueryFileRepoInfo.php | 2 +- includes/api/ApiQueryFilearchive.php | 2 +- includes/api/ApiQueryIWBacklinks.php | 2 +- includes/api/ApiQueryIWLinks.php | 2 +- includes/api/ApiQueryImageInfo.php | 2 +- includes/api/ApiQueryImages.php | 2 +- includes/api/ApiQueryInfo.php | 2 +- includes/api/ApiQueryLangBacklinks.php | 2 +- includes/api/ApiQueryLangLinks.php | 2 +- includes/api/ApiQueryLinks.php | 4 +-- includes/api/ApiQueryLogEvents.php | 2 +- includes/api/ApiQueryMyStashedFiles.php | 2 +- includes/api/ApiQueryPagePropNames.php | 2 +- includes/api/ApiQueryPageProps.php | 2 +- includes/api/ApiQueryPagesWithProp.php | 2 +- includes/api/ApiQueryPrefixSearch.php | 2 +- includes/api/ApiQueryProtectedTitles.php | 2 +- includes/api/ApiQueryQueryPage.php | 2 +- includes/api/ApiQueryRandom.php | 2 +- includes/api/ApiQueryRecentChanges.php | 2 +- includes/api/ApiQueryRevisions.php | 2 +- includes/api/ApiQuerySearch.php | 2 +- includes/api/ApiQuerySiteinfo.php | 2 +- includes/api/ApiQueryStashImageInfo.php | 2 +- includes/api/ApiQueryTags.php | 2 +- includes/api/ApiQueryTokens.php | 2 +- includes/api/ApiQueryUserContributions.php | 2 +- includes/api/ApiQueryUserInfo.php | 2 +- includes/api/ApiQueryUsers.php | 2 +- includes/api/ApiQueryWatchlist.php | 2 +- includes/api/ApiQueryWatchlistRaw.php | 2 +- includes/api/ApiRemoveAuthenticationData.php | 2 +- includes/api/ApiResetPassword.php | 2 +- includes/api/ApiRevisionDelete.php | 2 +- includes/api/ApiRollback.php | 2 +- includes/api/ApiRsd.php | 2 +- includes/api/ApiSetNotificationTimestamp.php | 2 +- includes/api/ApiSetPageLanguage.php | 2 +- includes/api/ApiTag.php | 2 +- includes/api/ApiUnblock.php | 2 +- includes/api/ApiUndelete.php | 2 +- includes/api/ApiUpload.php | 2 +- includes/api/ApiUserrights.php | 2 +- includes/api/ApiValidatePassword.php | 2 +- includes/api/ApiWatch.php | 2 +- includes/api/i18n/en.json | 30 ++++++++++---------- 94 files changed, 116 insertions(+), 116 deletions(-) diff --git a/includes/api/ApiAMCreateAccount.php b/includes/api/ApiAMCreateAccount.php index 5d12590fdf..b8bd511bc0 100644 --- a/includes/api/ApiAMCreateAccount.php +++ b/includes/api/ApiAMCreateAccount.php @@ -132,6 +132,6 @@ class ApiAMCreateAccount extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Account_creation'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Account_creation'; } } diff --git a/includes/api/ApiBlock.php b/includes/api/ApiBlock.php index 8577ad28b9..4d37af3162 100644 --- a/includes/api/ApiBlock.php +++ b/includes/api/ApiBlock.php @@ -193,6 +193,6 @@ class ApiBlock extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Block'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Block'; } } diff --git a/includes/api/ApiChangeAuthenticationData.php b/includes/api/ApiChangeAuthenticationData.php index c25920e728..35c4e568c6 100644 --- a/includes/api/ApiChangeAuthenticationData.php +++ b/includes/api/ApiChangeAuthenticationData.php @@ -93,6 +93,6 @@ class ApiChangeAuthenticationData extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Manage_authentication_data'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Manage_authentication_data'; } } diff --git a/includes/api/ApiClearHasMsg.php b/includes/api/ApiClearHasMsg.php index a5474b5823..3b2463098e 100644 --- a/includes/api/ApiClearHasMsg.php +++ b/includes/api/ApiClearHasMsg.php @@ -50,6 +50,6 @@ class ApiClearHasMsg extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:ClearHasMsg'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:ClearHasMsg'; } } diff --git a/includes/api/ApiClientLogin.php b/includes/api/ApiClientLogin.php index 3f5bc0c0c8..0d512b387f 100644 --- a/includes/api/ApiClientLogin.php +++ b/includes/api/ApiClientLogin.php @@ -132,6 +132,6 @@ class ApiClientLogin extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Login'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Login'; } } diff --git a/includes/api/ApiDelete.php b/includes/api/ApiDelete.php index 50c24aeca8..99065c4fe8 100644 --- a/includes/api/ApiDelete.php +++ b/includes/api/ApiDelete.php @@ -218,6 +218,6 @@ class ApiDelete extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Delete'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Delete'; } } diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index b45be31ffe..0b8156b0f8 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -611,6 +611,6 @@ class ApiEditPage extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Edit'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Edit'; } } diff --git a/includes/api/ApiEmailUser.php b/includes/api/ApiEmailUser.php index 8aff6f8afd..72c7c358d2 100644 --- a/includes/api/ApiEmailUser.php +++ b/includes/api/ApiEmailUser.php @@ -114,6 +114,6 @@ class ApiEmailUser extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Email'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Email'; } } diff --git a/includes/api/ApiExpandTemplates.php b/includes/api/ApiExpandTemplates.php index 6f7cf652c3..e15d7da1e5 100644 --- a/includes/api/ApiExpandTemplates.php +++ b/includes/api/ApiExpandTemplates.php @@ -210,6 +210,6 @@ class ApiExpandTemplates extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Parsing_wikitext#expandtemplates'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Parsing_wikitext#expandtemplates'; } } diff --git a/includes/api/ApiFeedWatchlist.php b/includes/api/ApiFeedWatchlist.php index 7f349bce5d..b7c5ccc269 100644 --- a/includes/api/ApiFeedWatchlist.php +++ b/includes/api/ApiFeedWatchlist.php @@ -307,6 +307,6 @@ class ApiFeedWatchlist extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Watchlist_feed'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Watchlist_feed'; } } diff --git a/includes/api/ApiFormatBase.php b/includes/api/ApiFormatBase.php index 83c348b4af..eb23bd63ac 100644 --- a/includes/api/ApiFormatBase.php +++ b/includes/api/ApiFormatBase.php @@ -330,7 +330,7 @@ abstract class ApiFormatBase extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Data_formats'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Data_formats'; } } diff --git a/includes/api/ApiHelp.php b/includes/api/ApiHelp.php index e347a9f2c5..df9ca981ef 100644 --- a/includes/api/ApiHelp.php +++ b/includes/api/ApiHelp.php @@ -844,9 +844,9 @@ class ApiHelp extends ApiBase { public function getHelpUrls() { return [ - 'https://www.mediawiki.org/wiki/API:Main_page', - 'https://www.mediawiki.org/wiki/API:FAQ', - 'https://www.mediawiki.org/wiki/API:Quick_start_guide', + 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page', + 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:FAQ', + 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Quick_start_guide', ]; } } diff --git a/includes/api/ApiImport.php b/includes/api/ApiImport.php index bf5e4ce3b2..b46f0b1e51 100644 --- a/includes/api/ApiImport.php +++ b/includes/api/ApiImport.php @@ -171,7 +171,7 @@ class ApiImport extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Import'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Import'; } } diff --git a/includes/api/ApiLinkAccount.php b/includes/api/ApiLinkAccount.php index 9a21e7620c..f5c5deeb74 100644 --- a/includes/api/ApiLinkAccount.php +++ b/includes/api/ApiLinkAccount.php @@ -124,6 +124,6 @@ class ApiLinkAccount extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Linkaccount'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Linkaccount'; } } diff --git a/includes/api/ApiLogin.php b/includes/api/ApiLogin.php index d64aeb7f2e..e3513da80d 100644 --- a/includes/api/ApiLogin.php +++ b/includes/api/ApiLogin.php @@ -265,7 +265,7 @@ class ApiLogin extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Login'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Login'; } /** diff --git a/includes/api/ApiLogout.php b/includes/api/ApiLogout.php index d5c28f1d6a..d56c096c7b 100644 --- a/includes/api/ApiLogout.php +++ b/includes/api/ApiLogout.php @@ -75,6 +75,6 @@ class ApiLogout extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Logout'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Logout'; } } diff --git a/includes/api/ApiManageTags.php b/includes/api/ApiManageTags.php index 3c080939c0..42de161018 100644 --- a/includes/api/ApiManageTags.php +++ b/includes/api/ApiManageTags.php @@ -125,6 +125,6 @@ class ApiManageTags extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Tag_management'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Tag_management'; } } diff --git a/includes/api/ApiMergeHistory.php b/includes/api/ApiMergeHistory.php index 357698e13c..79e9909567 100644 --- a/includes/api/ApiMergeHistory.php +++ b/includes/api/ApiMergeHistory.php @@ -137,6 +137,6 @@ class ApiMergeHistory extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Mergehistory'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Mergehistory'; } } diff --git a/includes/api/ApiMove.php b/includes/api/ApiMove.php index 566f778169..1fb034f85f 100644 --- a/includes/api/ApiMove.php +++ b/includes/api/ApiMove.php @@ -292,6 +292,6 @@ class ApiMove extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Move'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Move'; } } diff --git a/includes/api/ApiOpenSearch.php b/includes/api/ApiOpenSearch.php index e6fe27ca2a..ff65d0e29d 100644 --- a/includes/api/ApiOpenSearch.php +++ b/includes/api/ApiOpenSearch.php @@ -309,7 +309,7 @@ class ApiOpenSearch extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Opensearch'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Opensearch'; } /** diff --git a/includes/api/ApiOptions.php b/includes/api/ApiOptions.php index 466d1865d6..5b0d86a7f6 100644 --- a/includes/api/ApiOptions.php +++ b/includes/api/ApiOptions.php @@ -169,7 +169,7 @@ class ApiOptions extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Options'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Options'; } protected function getExamplesMessages() { diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php index 67983e7a3a..39b5897832 100644 --- a/includes/api/ApiParamInfo.php +++ b/includes/api/ApiParamInfo.php @@ -543,6 +543,6 @@ class ApiParamInfo extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Parameter_information'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Parameter_information'; } } diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index b8d2641f91..d6489688e6 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -835,6 +835,6 @@ class ApiParse extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Parsing_wikitext#parse'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Parsing_wikitext#parse'; } } diff --git a/includes/api/ApiPatrol.php b/includes/api/ApiPatrol.php index c33542f1c7..06e8ae28c2 100644 --- a/includes/api/ApiPatrol.php +++ b/includes/api/ApiPatrol.php @@ -112,6 +112,6 @@ class ApiPatrol extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Patrol'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Patrol'; } } diff --git a/includes/api/ApiProtect.php b/includes/api/ApiProtect.php index c74f890a57..1be4b10382 100644 --- a/includes/api/ApiProtect.php +++ b/includes/api/ApiProtect.php @@ -199,6 +199,6 @@ class ApiProtect extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Protect'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Protect'; } } diff --git a/includes/api/ApiPurge.php b/includes/api/ApiPurge.php index 407497e67e..83227a2fc2 100644 --- a/includes/api/ApiPurge.php +++ b/includes/api/ApiPurge.php @@ -176,6 +176,6 @@ class ApiPurge extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Purge'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Purge'; } } diff --git a/includes/api/ApiQuery.php b/includes/api/ApiQuery.php index 8196cfa2bb..5395bf0491 100644 --- a/includes/api/ApiQuery.php +++ b/includes/api/ApiQuery.php @@ -536,10 +536,10 @@ class ApiQuery extends ApiBase { public function getHelpUrls() { return [ - 'https://www.mediawiki.org/wiki/API:Query', - 'https://www.mediawiki.org/wiki/API:Meta', - 'https://www.mediawiki.org/wiki/API:Properties', - 'https://www.mediawiki.org/wiki/API:Lists', + 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Query', + 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Meta', + 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Properties', + 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Lists', ]; } } diff --git a/includes/api/ApiQueryAllCategories.php b/includes/api/ApiQueryAllCategories.php index 614b06c0b5..aa89158f90 100644 --- a/includes/api/ApiQueryAllCategories.php +++ b/includes/api/ApiQueryAllCategories.php @@ -200,6 +200,6 @@ class ApiQueryAllCategories extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Allcategories'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Allcategories'; } } diff --git a/includes/api/ApiQueryAllDeletedRevisions.php b/includes/api/ApiQueryAllDeletedRevisions.php index 020df6d508..5682cc2034 100644 --- a/includes/api/ApiQueryAllDeletedRevisions.php +++ b/includes/api/ApiQueryAllDeletedRevisions.php @@ -455,6 +455,6 @@ class ApiQueryAllDeletedRevisions extends ApiQueryRevisionsBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Alldeletedrevisions'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Alldeletedrevisions'; } } diff --git a/includes/api/ApiQueryAllImages.php b/includes/api/ApiQueryAllImages.php index 8ce122c860..daeedbef6a 100644 --- a/includes/api/ApiQueryAllImages.php +++ b/includes/api/ApiQueryAllImages.php @@ -428,6 +428,6 @@ class ApiQueryAllImages extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Allimages'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Allimages'; } } diff --git a/includes/api/ApiQueryAllLinks.php b/includes/api/ApiQueryAllLinks.php index 3b24e37409..9d6bf46325 100644 --- a/includes/api/ApiQueryAllLinks.php +++ b/includes/api/ApiQueryAllLinks.php @@ -308,6 +308,6 @@ class ApiQueryAllLinks extends ApiQueryGeneratorBase { public function getHelpUrls() { $name = ucfirst( $this->getModuleName() ); - return "https://www.mediawiki.org/wiki/API:{$name}"; + return "https://www.mediawiki.org/wiki/Special:MyLanguage/API:{$name}"; } } diff --git a/includes/api/ApiQueryAllMessages.php b/includes/api/ApiQueryAllMessages.php index 244effc523..271d281124 100644 --- a/includes/api/ApiQueryAllMessages.php +++ b/includes/api/ApiQueryAllMessages.php @@ -256,6 +256,6 @@ class ApiQueryAllMessages extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Allmessages'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Allmessages'; } } diff --git a/includes/api/ApiQueryAllPages.php b/includes/api/ApiQueryAllPages.php index 6b959ae774..315def049b 100644 --- a/includes/api/ApiQueryAllPages.php +++ b/includes/api/ApiQueryAllPages.php @@ -355,6 +355,6 @@ class ApiQueryAllPages extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Allpages'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Allpages'; } } diff --git a/includes/api/ApiQueryAllRevisions.php b/includes/api/ApiQueryAllRevisions.php index 7b43efcaf0..20746c9a8c 100644 --- a/includes/api/ApiQueryAllRevisions.php +++ b/includes/api/ApiQueryAllRevisions.php @@ -290,6 +290,6 @@ class ApiQueryAllRevisions extends ApiQueryRevisionsBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Allrevisions'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Allrevisions'; } } diff --git a/includes/api/ApiQueryAllUsers.php b/includes/api/ApiQueryAllUsers.php index 9e7ad67068..0f0b2afaaa 100644 --- a/includes/api/ApiQueryAllUsers.php +++ b/includes/api/ApiQueryAllUsers.php @@ -395,6 +395,6 @@ class ApiQueryAllUsers extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Allusers'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Allusers'; } } diff --git a/includes/api/ApiQueryAuthManagerInfo.php b/includes/api/ApiQueryAuthManagerInfo.php index 661ec5ab64..c775942e76 100644 --- a/includes/api/ApiQueryAuthManagerInfo.php +++ b/includes/api/ApiQueryAuthManagerInfo.php @@ -127,6 +127,6 @@ class ApiQueryAuthManagerInfo extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Authmanagerinfo'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Authmanagerinfo'; } } diff --git a/includes/api/ApiQueryBacklinks.php b/includes/api/ApiQueryBacklinks.php index b3ac606fa9..56cbaac3c1 100644 --- a/includes/api/ApiQueryBacklinks.php +++ b/includes/api/ApiQueryBacklinks.php @@ -59,19 +59,19 @@ class ApiQueryBacklinks extends ApiQueryGeneratorBase { 'code' => 'bl', 'prefix' => 'pl', 'linktbl' => 'pagelinks', - 'helpurl' => 'https://www.mediawiki.org/wiki/API:Backlinks', + 'helpurl' => 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Backlinks', ], 'embeddedin' => [ 'code' => 'ei', 'prefix' => 'tl', 'linktbl' => 'templatelinks', - 'helpurl' => 'https://www.mediawiki.org/wiki/API:Embeddedin', + 'helpurl' => 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Embeddedin', ], 'imageusage' => [ 'code' => 'iu', 'prefix' => 'il', 'linktbl' => 'imagelinks', - 'helpurl' => 'https://www.mediawiki.org/wiki/API:Imageusage', + 'helpurl' => 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Imageusage', ] ]; diff --git a/includes/api/ApiQueryBacklinksprop.php b/includes/api/ApiQueryBacklinksprop.php index 4ed7f52b26..00cbcd9fe4 100644 --- a/includes/api/ApiQueryBacklinksprop.php +++ b/includes/api/ApiQueryBacklinksprop.php @@ -432,6 +432,6 @@ class ApiQueryBacklinksprop extends ApiQueryGeneratorBase { public function getHelpUrls() { $name = ucfirst( $this->getModuleName() ); - return "https://www.mediawiki.org/wiki/API:{$name}"; + return "https://www.mediawiki.org/wiki/Special:MyLanguage/API:{$name}"; } } diff --git a/includes/api/ApiQueryBlocks.php b/includes/api/ApiQueryBlocks.php index 004086059c..076a09efdf 100644 --- a/includes/api/ApiQueryBlocks.php +++ b/includes/api/ApiQueryBlocks.php @@ -335,6 +335,6 @@ class ApiQueryBlocks extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Blocks'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Blocks'; } } diff --git a/includes/api/ApiQueryCategories.php b/includes/api/ApiQueryCategories.php index f2498cae20..c4428d575a 100644 --- a/includes/api/ApiQueryCategories.php +++ b/includes/api/ApiQueryCategories.php @@ -227,6 +227,6 @@ class ApiQueryCategories extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Categories'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Categories'; } } diff --git a/includes/api/ApiQueryCategoryInfo.php b/includes/api/ApiQueryCategoryInfo.php index 3416240780..2a3bf38718 100644 --- a/includes/api/ApiQueryCategoryInfo.php +++ b/includes/api/ApiQueryCategoryInfo.php @@ -115,6 +115,6 @@ class ApiQueryCategoryInfo extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Categoryinfo'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Categoryinfo'; } } diff --git a/includes/api/ApiQueryCategoryMembers.php b/includes/api/ApiQueryCategoryMembers.php index 3a8847c339..c570ec997e 100644 --- a/includes/api/ApiQueryCategoryMembers.php +++ b/includes/api/ApiQueryCategoryMembers.php @@ -391,6 +391,6 @@ class ApiQueryCategoryMembers extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Categorymembers'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Categorymembers'; } } diff --git a/includes/api/ApiQueryContributors.php b/includes/api/ApiQueryContributors.php index 148e315a3d..183409d24f 100644 --- a/includes/api/ApiQueryContributors.php +++ b/includes/api/ApiQueryContributors.php @@ -256,6 +256,6 @@ class ApiQueryContributors extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Contributors'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Contributors'; } } diff --git a/includes/api/ApiQueryDeletedRevisions.php b/includes/api/ApiQueryDeletedRevisions.php index 471aed6427..90fd6953d0 100644 --- a/includes/api/ApiQueryDeletedRevisions.php +++ b/includes/api/ApiQueryDeletedRevisions.php @@ -288,6 +288,6 @@ class ApiQueryDeletedRevisions extends ApiQueryRevisionsBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Deletedrevisions'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Deletedrevisions'; } } diff --git a/includes/api/ApiQueryDeletedrevs.php b/includes/api/ApiQueryDeletedrevs.php index 295915120f..2bb4d03efa 100644 --- a/includes/api/ApiQueryDeletedrevs.php +++ b/includes/api/ApiQueryDeletedrevs.php @@ -505,6 +505,6 @@ class ApiQueryDeletedrevs extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Deletedrevs'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Deletedrevs'; } } diff --git a/includes/api/ApiQueryDuplicateFiles.php b/includes/api/ApiQueryDuplicateFiles.php index 02b7883d7b..2ebd6de7d6 100644 --- a/includes/api/ApiQueryDuplicateFiles.php +++ b/includes/api/ApiQueryDuplicateFiles.php @@ -189,6 +189,6 @@ class ApiQueryDuplicateFiles extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Duplicatefiles'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Duplicatefiles'; } } diff --git a/includes/api/ApiQueryExtLinksUsage.php b/includes/api/ApiQueryExtLinksUsage.php index 9b055377ef..6c29b6030f 100644 --- a/includes/api/ApiQueryExtLinksUsage.php +++ b/includes/api/ApiQueryExtLinksUsage.php @@ -230,6 +230,6 @@ class ApiQueryExtLinksUsage extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Exturlusage'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Exturlusage'; } } diff --git a/includes/api/ApiQueryExternalLinks.php b/includes/api/ApiQueryExternalLinks.php index 8c9c887ae5..71fd6d1b4b 100644 --- a/includes/api/ApiQueryExternalLinks.php +++ b/includes/api/ApiQueryExternalLinks.php @@ -134,6 +134,6 @@ class ApiQueryExternalLinks extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Extlinks'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Extlinks'; } } diff --git a/includes/api/ApiQueryFileRepoInfo.php b/includes/api/ApiQueryFileRepoInfo.php index c4912366c4..4589991191 100644 --- a/includes/api/ApiQueryFileRepoInfo.php +++ b/includes/api/ApiQueryFileRepoInfo.php @@ -111,6 +111,6 @@ class ApiQueryFileRepoInfo extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Filerepoinfo'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Filerepoinfo'; } } diff --git a/includes/api/ApiQueryFilearchive.php b/includes/api/ApiQueryFilearchive.php index 116dbb3d34..7383cba6cb 100644 --- a/includes/api/ApiQueryFilearchive.php +++ b/includes/api/ApiQueryFilearchive.php @@ -292,6 +292,6 @@ class ApiQueryFilearchive extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Filearchive'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Filearchive'; } } diff --git a/includes/api/ApiQueryIWBacklinks.php b/includes/api/ApiQueryIWBacklinks.php index 6e2fb67b8d..a10ba164a2 100644 --- a/includes/api/ApiQueryIWBacklinks.php +++ b/includes/api/ApiQueryIWBacklinks.php @@ -215,6 +215,6 @@ class ApiQueryIWBacklinks extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Iwbacklinks'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Iwbacklinks'; } } diff --git a/includes/api/ApiQueryIWLinks.php b/includes/api/ApiQueryIWLinks.php index cfd990b213..9313af30ef 100644 --- a/includes/api/ApiQueryIWLinks.php +++ b/includes/api/ApiQueryIWLinks.php @@ -194,6 +194,6 @@ class ApiQueryIWLinks extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Iwlinks'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Iwlinks'; } } diff --git a/includes/api/ApiQueryImageInfo.php b/includes/api/ApiQueryImageInfo.php index e5e45b3b5a..b2664dff1e 100644 --- a/includes/api/ApiQueryImageInfo.php +++ b/includes/api/ApiQueryImageInfo.php @@ -821,6 +821,6 @@ class ApiQueryImageInfo extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Imageinfo'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Imageinfo'; } } diff --git a/includes/api/ApiQueryImages.php b/includes/api/ApiQueryImages.php index ae6f5bf564..0086c58a93 100644 --- a/includes/api/ApiQueryImages.php +++ b/includes/api/ApiQueryImages.php @@ -172,6 +172,6 @@ class ApiQueryImages extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Images'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Images'; } } diff --git a/includes/api/ApiQueryInfo.php b/includes/api/ApiQueryInfo.php index e789dd4fb5..c2cdfe4adc 100644 --- a/includes/api/ApiQueryInfo.php +++ b/includes/api/ApiQueryInfo.php @@ -946,6 +946,6 @@ class ApiQueryInfo extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Info'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Info'; } } diff --git a/includes/api/ApiQueryLangBacklinks.php b/includes/api/ApiQueryLangBacklinks.php index 8d5b5f3ea6..fd67d7c464 100644 --- a/includes/api/ApiQueryLangBacklinks.php +++ b/includes/api/ApiQueryLangBacklinks.php @@ -214,6 +214,6 @@ class ApiQueryLangBacklinks extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Langbacklinks'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Langbacklinks'; } } diff --git a/includes/api/ApiQueryLangLinks.php b/includes/api/ApiQueryLangLinks.php index 55e3c85265..df33d02724 100644 --- a/includes/api/ApiQueryLangLinks.php +++ b/includes/api/ApiQueryLangLinks.php @@ -190,6 +190,6 @@ class ApiQueryLangLinks extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Langlinks'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Langlinks'; } } diff --git a/includes/api/ApiQueryLinks.php b/includes/api/ApiQueryLinks.php index 4556e29062..29c0b74c37 100644 --- a/includes/api/ApiQueryLinks.php +++ b/includes/api/ApiQueryLinks.php @@ -42,13 +42,13 @@ class ApiQueryLinks extends ApiQueryGeneratorBase { $this->table = 'pagelinks'; $this->prefix = 'pl'; $this->titlesParam = 'titles'; - $this->helpUrl = 'https://www.mediawiki.org/wiki/API:Links'; + $this->helpUrl = 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Links'; break; case self::TEMPLATES: $this->table = 'templatelinks'; $this->prefix = 'tl'; $this->titlesParam = 'templates'; - $this->helpUrl = 'https://www.mediawiki.org/wiki/API:Templates'; + $this->helpUrl = 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Templates'; break; default: ApiBase::dieDebug( __METHOD__, 'Unknown module name' ); diff --git a/includes/api/ApiQueryLogEvents.php b/includes/api/ApiQueryLogEvents.php index 8a13fef9fa..df8a11ee8b 100644 --- a/includes/api/ApiQueryLogEvents.php +++ b/includes/api/ApiQueryLogEvents.php @@ -467,6 +467,6 @@ class ApiQueryLogEvents extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Logevents'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Logevents'; } } diff --git a/includes/api/ApiQueryMyStashedFiles.php b/includes/api/ApiQueryMyStashedFiles.php index 1324f2ff49..457f6c6e5c 100644 --- a/includes/api/ApiQueryMyStashedFiles.php +++ b/includes/api/ApiQueryMyStashedFiles.php @@ -145,6 +145,6 @@ class ApiQueryMyStashedFiles extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:mystashedfiles'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:mystashedfiles'; } } diff --git a/includes/api/ApiQueryPagePropNames.php b/includes/api/ApiQueryPagePropNames.php index fc50b5067e..4966bcde04 100644 --- a/includes/api/ApiQueryPagePropNames.php +++ b/includes/api/ApiQueryPagePropNames.php @@ -104,6 +104,6 @@ class ApiQueryPagePropNames extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Pagepropnames'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Pagepropnames'; } } diff --git a/includes/api/ApiQueryPageProps.php b/includes/api/ApiQueryPageProps.php index de1df34770..e49dfbcf1d 100644 --- a/includes/api/ApiQueryPageProps.php +++ b/includes/api/ApiQueryPageProps.php @@ -120,6 +120,6 @@ class ApiQueryPageProps extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Pageprops'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Pageprops'; } } diff --git a/includes/api/ApiQueryPagesWithProp.php b/includes/api/ApiQueryPagesWithProp.php index f1f4d9a453..e90356d33e 100644 --- a/includes/api/ApiQueryPagesWithProp.php +++ b/includes/api/ApiQueryPagesWithProp.php @@ -173,6 +173,6 @@ class ApiQueryPagesWithProp extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Pageswithprop'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Pageswithprop'; } } diff --git a/includes/api/ApiQueryPrefixSearch.php b/includes/api/ApiQueryPrefixSearch.php index 3bf6d3fe4b..5606f3c922 100644 --- a/includes/api/ApiQueryPrefixSearch.php +++ b/includes/api/ApiQueryPrefixSearch.php @@ -127,6 +127,6 @@ class ApiQueryPrefixSearch extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Prefixsearch'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Prefixsearch'; } } diff --git a/includes/api/ApiQueryProtectedTitles.php b/includes/api/ApiQueryProtectedTitles.php index 62b2e42e03..5f6510ea28 100644 --- a/includes/api/ApiQueryProtectedTitles.php +++ b/includes/api/ApiQueryProtectedTitles.php @@ -234,6 +234,6 @@ class ApiQueryProtectedTitles extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Protectedtitles'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Protectedtitles'; } } diff --git a/includes/api/ApiQueryQueryPage.php b/includes/api/ApiQueryQueryPage.php index 908cdee667..caa5f05743 100644 --- a/includes/api/ApiQueryQueryPage.php +++ b/includes/api/ApiQueryQueryPage.php @@ -166,6 +166,6 @@ class ApiQueryQueryPage extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Querypage'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Querypage'; } } diff --git a/includes/api/ApiQueryRandom.php b/includes/api/ApiQueryRandom.php index 00bd467cab..cc1fc89f07 100644 --- a/includes/api/ApiQueryRandom.php +++ b/includes/api/ApiQueryRandom.php @@ -209,6 +209,6 @@ class ApiQueryRandom extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Random'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Random'; } } diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index 26581a62d8..0dc01aabc2 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -699,6 +699,6 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Recentchanges'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Recentchanges'; } } diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index c47de9d8ce..7b8394f7fd 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -447,6 +447,6 @@ class ApiQueryRevisions extends ApiQueryRevisionsBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Revisions'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Revisions'; } } diff --git a/includes/api/ApiQuerySearch.php b/includes/api/ApiQuerySearch.php index 05b693d552..72b39b64a9 100644 --- a/includes/api/ApiQuerySearch.php +++ b/includes/api/ApiQuerySearch.php @@ -415,6 +415,6 @@ class ApiQuerySearch extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Search'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Search'; } } diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index cc302dcebf..6b896c95ad 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -933,6 +933,6 @@ class ApiQuerySiteinfo extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Siteinfo'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Siteinfo'; } } diff --git a/includes/api/ApiQueryStashImageInfo.php b/includes/api/ApiQueryStashImageInfo.php index abb827fe4f..1924ca0339 100644 --- a/includes/api/ApiQueryStashImageInfo.php +++ b/includes/api/ApiQueryStashImageInfo.php @@ -123,6 +123,6 @@ class ApiQueryStashImageInfo extends ApiQueryImageInfo { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Stashimageinfo'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Stashimageinfo'; } } diff --git a/includes/api/ApiQueryTags.php b/includes/api/ApiQueryTags.php index 43eb7e8066..be67dd249b 100644 --- a/includes/api/ApiQueryTags.php +++ b/includes/api/ApiQueryTags.php @@ -178,6 +178,6 @@ class ApiQueryTags extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Tags'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Tags'; } } diff --git a/includes/api/ApiQueryTokens.php b/includes/api/ApiQueryTokens.php index 5b700dbc9c..85205c8a41 100644 --- a/includes/api/ApiQueryTokens.php +++ b/includes/api/ApiQueryTokens.php @@ -131,6 +131,6 @@ class ApiQueryTokens extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Tokens'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Tokens'; } } diff --git a/includes/api/ApiQueryUserContributions.php b/includes/api/ApiQueryUserContributions.php index 31a9238001..181cddbeda 100644 --- a/includes/api/ApiQueryUserContributions.php +++ b/includes/api/ApiQueryUserContributions.php @@ -582,6 +582,6 @@ class ApiQueryContributions extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Usercontribs'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Usercontribs'; } } diff --git a/includes/api/ApiQueryUserInfo.php b/includes/api/ApiQueryUserInfo.php index 04b0facd57..1bb54c12a3 100644 --- a/includes/api/ApiQueryUserInfo.php +++ b/includes/api/ApiQueryUserInfo.php @@ -352,6 +352,6 @@ class ApiQueryUserInfo extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Userinfo'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Userinfo'; } } diff --git a/includes/api/ApiQueryUsers.php b/includes/api/ApiQueryUsers.php index 3a814c4c49..4515f7f606 100644 --- a/includes/api/ApiQueryUsers.php +++ b/includes/api/ApiQueryUsers.php @@ -406,6 +406,6 @@ class ApiQueryUsers extends ApiQueryBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Users'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Users'; } } diff --git a/includes/api/ApiQueryWatchlist.php b/includes/api/ApiQueryWatchlist.php index 3f597511a1..fee0b78c29 100644 --- a/includes/api/ApiQueryWatchlist.php +++ b/includes/api/ApiQueryWatchlist.php @@ -501,6 +501,6 @@ class ApiQueryWatchlist extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Watchlist'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Watchlist'; } } diff --git a/includes/api/ApiQueryWatchlistRaw.php b/includes/api/ApiQueryWatchlistRaw.php index a1078a5d48..116f21928d 100644 --- a/includes/api/ApiQueryWatchlistRaw.php +++ b/includes/api/ApiQueryWatchlistRaw.php @@ -198,6 +198,6 @@ class ApiQueryWatchlistRaw extends ApiQueryGeneratorBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Watchlistraw'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Watchlistraw'; } } diff --git a/includes/api/ApiRemoveAuthenticationData.php b/includes/api/ApiRemoveAuthenticationData.php index 359d045fdd..661b50c68e 100644 --- a/includes/api/ApiRemoveAuthenticationData.php +++ b/includes/api/ApiRemoveAuthenticationData.php @@ -106,6 +106,6 @@ class ApiRemoveAuthenticationData extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Manage_authentication_data'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Manage_authentication_data'; } } diff --git a/includes/api/ApiResetPassword.php b/includes/api/ApiResetPassword.php index b5fa8ed859..4f3fc0dc03 100644 --- a/includes/api/ApiResetPassword.php +++ b/includes/api/ApiResetPassword.php @@ -134,6 +134,6 @@ class ApiResetPassword extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Manage_authentication_data'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Manage_authentication_data'; } } diff --git a/includes/api/ApiRevisionDelete.php b/includes/api/ApiRevisionDelete.php index 4896e7e527..4580aa213e 100644 --- a/includes/api/ApiRevisionDelete.php +++ b/includes/api/ApiRevisionDelete.php @@ -199,6 +199,6 @@ class ApiRevisionDelete extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Revisiondelete'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Revisiondelete'; } } diff --git a/includes/api/ApiRollback.php b/includes/api/ApiRollback.php index 9584f09be4..76b6cc6722 100644 --- a/includes/api/ApiRollback.php +++ b/includes/api/ApiRollback.php @@ -202,6 +202,6 @@ class ApiRollback extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Rollback'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Rollback'; } } diff --git a/includes/api/ApiRsd.php b/includes/api/ApiRsd.php index 4fac37da35..fdc62a8ea9 100644 --- a/includes/api/ApiRsd.php +++ b/includes/api/ApiRsd.php @@ -89,7 +89,7 @@ class ApiRsd extends ApiBase { 'apiLink' => wfExpandUrl( wfScript( 'api' ), PROTO_CURRENT ), // Docs link is optional, but recommended. - 'docs' => 'https://www.mediawiki.org/wiki/API', + 'docs' => 'https://www.mediawiki.org/wiki/Special:MyLanguage/API', // Some APIs may need a blog ID, but it may be left blank. 'blogID' => '', diff --git a/includes/api/ApiSetNotificationTimestamp.php b/includes/api/ApiSetNotificationTimestamp.php index 5769ff6d39..1fc8fc25f9 100644 --- a/includes/api/ApiSetNotificationTimestamp.php +++ b/includes/api/ApiSetNotificationTimestamp.php @@ -248,6 +248,6 @@ class ApiSetNotificationTimestamp extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:SetNotificationTimestamp'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:SetNotificationTimestamp'; } } diff --git a/includes/api/ApiSetPageLanguage.php b/includes/api/ApiSetPageLanguage.php index 3ff99f11c0..2d6d9be48a 100755 --- a/includes/api/ApiSetPageLanguage.php +++ b/includes/api/ApiSetPageLanguage.php @@ -144,6 +144,6 @@ class ApiSetPageLanguage extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:SetPageLanguage'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:SetPageLanguage'; } } diff --git a/includes/api/ApiTag.php b/includes/api/ApiTag.php index 7470ff3507..76c676293f 100644 --- a/includes/api/ApiTag.php +++ b/includes/api/ApiTag.php @@ -187,6 +187,6 @@ class ApiTag extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Tag'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Tag'; } } diff --git a/includes/api/ApiUnblock.php b/includes/api/ApiUnblock.php index bfb0324849..887edaae81 100644 --- a/includes/api/ApiUnblock.php +++ b/includes/api/ApiUnblock.php @@ -132,6 +132,6 @@ class ApiUnblock extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Block'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Block'; } } diff --git a/includes/api/ApiUndelete.php b/includes/api/ApiUndelete.php index 7fda1ea01a..952e0087c8 100644 --- a/includes/api/ApiUndelete.php +++ b/includes/api/ApiUndelete.php @@ -145,6 +145,6 @@ class ApiUndelete extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Undelete'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Undelete'; } } diff --git a/includes/api/ApiUpload.php b/includes/api/ApiUpload.php index af3fff6c56..a283b5a215 100644 --- a/includes/api/ApiUpload.php +++ b/includes/api/ApiUpload.php @@ -928,6 +928,6 @@ class ApiUpload extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Upload'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Upload'; } } diff --git a/includes/api/ApiUserrights.php b/includes/api/ApiUserrights.php index 262f072dda..d857e4afdd 100644 --- a/includes/api/ApiUserrights.php +++ b/includes/api/ApiUserrights.php @@ -214,6 +214,6 @@ class ApiUserrights extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:User_group_membership'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:User_group_membership'; } } diff --git a/includes/api/ApiValidatePassword.php b/includes/api/ApiValidatePassword.php index 6968523f28..943149da0f 100644 --- a/includes/api/ApiValidatePassword.php +++ b/includes/api/ApiValidatePassword.php @@ -76,6 +76,6 @@ class ApiValidatePassword extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Validatepassword'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Validatepassword'; } } diff --git a/includes/api/ApiWatch.php b/includes/api/ApiWatch.php index 37d319f151..efe21f11d6 100644 --- a/includes/api/ApiWatch.php +++ b/includes/api/ApiWatch.php @@ -183,6 +183,6 @@ class ApiWatch extends ApiBase { } public function getHelpUrls() { - return 'https://www.mediawiki.org/wiki/API:Watch'; + return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:Watch'; } } diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index cd30960ebc..7a04cafafb 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -6,10 +6,10 @@ ] }, - "apihelp-main-description": "
\n* [[mw:API:Main_page|Documentation]]\n* [[mw:API:FAQ|FAQ]]\n* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-api Mailing list]\n* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce API Announcements]\n* [https://phabricator.wikimedia.org/maniphest/query/GebfyV4uCaLd/#R Bugs & requests]\n
\nStatus: All features shown on this page should be working, but the API is still in active development, and may change at any time. Subscribe to [https://lists.wikimedia.org/pipermail/mediawiki-api-announce/ the mediawiki-api-announce mailing list] for notice of updates.\n\nErroneous requests: When erroneous requests are sent to the API, an HTTP header will be sent with the key \"MediaWiki-API-Error\" and then both the value of the header and the error code sent back will be set to the same value. For more information see [[mw:API:Errors_and_warnings|API: Errors and warnings]].\n\nTesting: For ease of testing API requests, see [[Special:ApiSandbox]].", + "apihelp-main-description": "
\n* [[mw:Special:MyLanguage/API:Main_page|Documentation]]\n* [[mw:Special:MyLanguage/API:FAQ|FAQ]]\n* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-api Mailing list]\n* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce API Announcements]\n* [https://phabricator.wikimedia.org/maniphest/query/GebfyV4uCaLd/#R Bugs & requests]\n
\nStatus: All features shown on this page should be working, but the API is still in active development, and may change at any time. Subscribe to [https://lists.wikimedia.org/pipermail/mediawiki-api-announce/ the mediawiki-api-announce mailing list] for notice of updates.\n\nErroneous requests: When erroneous requests are sent to the API, an HTTP header will be sent with the key \"MediaWiki-API-Error\" and then both the value of the header and the error code sent back will be set to the same value. For more information see [[mw:Special:MyLanguage/API:Errors_and_warnings|API: Errors and warnings]].\n\nTesting: For ease of testing API requests, see [[Special:ApiSandbox]].", "apihelp-main-param-action": "Which action to perform.", "apihelp-main-param-format": "The format of the output.", - "apihelp-main-param-maxlag": "Maximum lag can be used when MediaWiki is installed on a database replicated cluster. To save actions causing any more site replication lag, this parameter can make the client wait until the replication lag is less than the specified value. In case of excessive lag, error code maxlag is returned with a message like Waiting for $host: $lag seconds lagged.
See [[mw:Manual:Maxlag_parameter|Manual: Maxlag parameter]] for more information.", + "apihelp-main-param-maxlag": "Maximum lag can be used when MediaWiki is installed on a database replicated cluster. To save actions causing any more site replication lag, this parameter can make the client wait until the replication lag is less than the specified value. In case of excessive lag, error code maxlag is returned with a message like Waiting for $host: $lag seconds lagged.
See [[mw:Special:MyLanguage/Manual:Maxlag_parameter|Manual: Maxlag parameter]] for more information.", "apihelp-main-param-smaxage": "Set the s-maxage HTTP cache control header to this many seconds. Errors are never cached.", "apihelp-main-param-maxage": "Set the max-age HTTP cache control header to this many seconds. Errors are never cached.", "apihelp-main-param-assert": "Verify the user is logged in if set to user, or has the bot user right if bot.", @@ -34,7 +34,7 @@ "apihelp-block-param-autoblock": "Automatically block the last used IP address, and any subsequent IP addresses they try to login from.", "apihelp-block-param-noemail": "Prevent user from sending email through the wiki. (Requires the blockemail right).", "apihelp-block-param-hidename": "Hide the username from the block log. (Requires the hideuser right).", - "apihelp-block-param-allowusertalk": "Allow the user to edit their own talk page (depends on [[mw:Manual:$wgBlockAllowsUTEdit|$wgBlockAllowsUTEdit]]).", + "apihelp-block-param-allowusertalk": "Allow the user to edit their own talk page (depends on [[mw:Special:MyLanguage/Manual:$wgBlockAllowsUTEdit|$wgBlockAllowsUTEdit]]).", "apihelp-block-param-reblock": "If the user is already blocked, overwrite the existing block.", "apihelp-block-param-watchuser": "Watch the user's or IP address's user and talk pages.", "apihelp-block-param-tags": "Change tags to apply to the entry in the block log.", @@ -290,7 +290,7 @@ "apihelp-opensearch-param-search": "Search string.", "apihelp-opensearch-param-limit": "Maximum number of results to return.", "apihelp-opensearch-param-namespace": "Namespaces to search.", - "apihelp-opensearch-param-suggest": "Do nothing if [[mw:Manual:$wgEnableOpenSearchSuggest|$wgEnableOpenSearchSuggest]] is false.", + "apihelp-opensearch-param-suggest": "Do nothing if [[mw:Special:MyLanguage/Manual:$wgEnableOpenSearchSuggest|$wgEnableOpenSearchSuggest]] is false.", "apihelp-opensearch-param-redirects": "How to handle redirects:\n;return:Return the redirect itself.\n;resolve:Return the target page. May return fewer than $1limit results.\nFor historical reasons, the default is \"return\" for $1format=json and \"resolve\" for other formats.", "apihelp-opensearch-param-format": "The format of the output.", "apihelp-opensearch-param-warningsaserror": "If warnings are raised with format=json, return an API error instead of ignoring them.", @@ -434,7 +434,7 @@ "apihelp-query+alldeletedrevisions-param-user": "Only list revisions by this user.", "apihelp-query+alldeletedrevisions-param-excludeuser": "Don't list revisions by this user.", "apihelp-query+alldeletedrevisions-param-namespace": "Only list pages in this namespace.", - "apihelp-query+alldeletedrevisions-param-miser-user-namespace": "Note: Due to [[mw:Manual:$wgMiserMode|miser mode]], using $1user and $1namespace together may result in fewer than $1limit results returned before continuing; in extreme cases, zero results may be returned.", + "apihelp-query+alldeletedrevisions-param-miser-user-namespace": "Note: Due to [[mw:Special:MyLanguage/Manual:$wgMiserMode|miser mode]], using $1user and $1namespace together may result in fewer than $1limit results returned before continuing; in extreme cases, zero results may be returned.", "apihelp-query+alldeletedrevisions-param-generatetitles": "When being used as a generator, generate titles rather than revision IDs.", "apihelp-query+alldeletedrevisions-example-user": "List the last 50 deleted contributions by user Example.", "apihelp-query+alldeletedrevisions-example-ns-main": "List the first 50 deleted revisions in the main namespace.", @@ -779,7 +779,7 @@ "apihelp-query+filearchive-example-simple": "Show a list of all deleted files.", "apihelp-query+filerepoinfo-description": "Return meta information about image repositories configured on the wiki.", - "apihelp-query+filerepoinfo-param-prop": "Which repository properties to get (there may be more available on some wikis):\n;apiurl:URL to the repository API - helpful for getting image info from the host.\n;name:The key of the repository - used in e.g. [[mw:Manual:$wgForeignFileRepos|$wgForeignFileRepos]] and [[Special:ApiHelp/query+imageinfo|imageinfo]] return values.\n;displayname:The human-readable name of the repository wiki.\n;rooturl:Root URL for image paths.\n;local:Whether that repository is the local one or not.", + "apihelp-query+filerepoinfo-param-prop": "Which repository properties to get (there may be more available on some wikis):\n;apiurl:URL to the repository API - helpful for getting image info from the host.\n;name:The key of the repository - used in e.g. [[mw:Special:MyLanguage/Manual:$wgForeignFileRepos|$wgForeignFileRepos]] and [[Special:ApiHelp/query+imageinfo|imageinfo]] return values.\n;displayname:The human-readable name of the repository wiki.\n;rooturl:Root URL for image paths.\n;local:Whether that repository is the local one or not.", "apihelp-query+filerepoinfo-example-simple": "Get information about file repositories.", "apihelp-query+fileusage-description": "Find all pages that use the given files.", @@ -1140,11 +1140,11 @@ "apihelp-query+siteinfo-paramvalue-prop-rightsinfo": "Returns wiki rights (license) information if available.", "apihelp-query+siteinfo-paramvalue-prop-restrictions": "Returns information on available restriction (protection) types.", "apihelp-query+siteinfo-paramvalue-prop-languages": "Returns a list of languages MediaWiki supports (optionally localised by using $1inlanguagecode).", - "apihelp-query+siteinfo-paramvalue-prop-languagevariants": "Returns a list of language codes for which [[mw:LanguageConverter|LanguageConverter]] is enabled, and the variants supported for each.", + "apihelp-query+siteinfo-paramvalue-prop-languagevariants": "Returns a list of language codes for which [[mw:Special:MyLanguage/LanguageConverter|LanguageConverter]] is enabled, and the variants supported for each.", "apihelp-query+siteinfo-paramvalue-prop-skins": "Returns a list of all enabled skins (optionally localised by using $1inlanguagecode, otherwise in the content language).", "apihelp-query+siteinfo-paramvalue-prop-extensiontags": "Returns a list of parser extension tags.", "apihelp-query+siteinfo-paramvalue-prop-functionhooks": "Returns a list of parser function hooks.", - "apihelp-query+siteinfo-paramvalue-prop-showhooks": "Returns a list of all subscribed hooks (contents of [[mw:Manual:$wgHooks|$wgHooks]]).", + "apihelp-query+siteinfo-paramvalue-prop-showhooks": "Returns a list of all subscribed hooks (contents of [[mw:Special:MyLanguage/Manual:$wgHooks|$wgHooks]]).", "apihelp-query+siteinfo-paramvalue-prop-variables": "Returns a list of variable IDs.", "apihelp-query+siteinfo-paramvalue-prop-protocols": "Returns a list of protocols that are allowed in external links.", "apihelp-query+siteinfo-paramvalue-prop-defaultoptions": "Returns the default values for user preferences.", @@ -1219,7 +1219,7 @@ "apihelp-query+usercontribs-paramvalue-prop-flags": "Adds flags of the edit.", "apihelp-query+usercontribs-paramvalue-prop-patrolled": "Tags patrolled edits.", "apihelp-query+usercontribs-paramvalue-prop-tags": "Lists tags for the edit.", - "apihelp-query+usercontribs-param-show": "Show only items that meet these criteria, e.g. non minor edits only: $2show=!minor.\n\nIf $2show=patrolled or $2show=!patrolled is set, revisions older than [[mw:Manual:$wgRCMaxAge|$wgRCMaxAge]] ($1 {{PLURAL:$1|second|seconds}}) won't be shown.", + "apihelp-query+usercontribs-param-show": "Show only items that meet these criteria, e.g. non minor edits only: $2show=!minor.\n\nIf $2show=patrolled or $2show=!patrolled is set, revisions older than [[mw:Special:MyLanguage/Manual:$wgRCMaxAge|$wgRCMaxAge]] ($1 {{PLURAL:$1|second|seconds}}) won't be shown.", "apihelp-query+usercontribs-param-tag": "Only list revisions tagged with this tag.", "apihelp-query+usercontribs-param-toponly": "Only list changes which are the latest revision.", "apihelp-query+usercontribs-example-user": "Show contributions of user Example.", @@ -1322,7 +1322,7 @@ "apihelp-removeauthenticationdata-example-simple": "Attempt to remove the current user's data for FooAuthenticationRequest.", "apihelp-resetpassword-description": "Send a password reset email to a user.", - "apihelp-resetpassword-description-noroutes": "No password reset routes are available.\n\nEnable routes in [[mw:Manual:$wgPasswordResetRoutes|$wgPasswordResetRoutes]] to use this module.", + "apihelp-resetpassword-description-noroutes": "No password reset routes are available.\n\nEnable routes in [[mw:Special:MyLanguage/Manual:$wgPasswordResetRoutes|$wgPasswordResetRoutes]] to use this module.", "apihelp-resetpassword-param-user": "User being reset.", "apihelp-resetpassword-param-email": "Email address of the user being reset.", "apihelp-resetpassword-example-user": "Send a password reset email to user Example.", @@ -1365,7 +1365,7 @@ "apihelp-setnotificationtimestamp-example-allpages": "Reset the notification status for pages in the {{ns:user}} namespace.", "apihelp-setpagelanguage-description": "Change the language of a page.", - "apihelp-setpagelanguage-description-disabled": "Changing the language of a page is not allowed on this wiki.\n\nEnable [[mw:Manual:$wgPageLanguageUseDB|$wgPageLanguageUseDB]] to use this action.", + "apihelp-setpagelanguage-description-disabled": "Changing the language of a page is not allowed on this wiki.\n\nEnable [[mw:Special:MyLanguage/Manual:$wgPageLanguageUseDB|$wgPageLanguageUseDB]] to use this action.", "apihelp-setpagelanguage-param-title": "Title of the page whose language you wish to change. Cannot be used together with $1pageid.", "apihelp-setpagelanguage-param-pageid": "Page ID of the page whose language you wish to change. Cannot be used together with $1title.", "apihelp-setpagelanguage-param-lang": "Language code of the language to change the page to. Use default to reset the page to the wiki's default content language.", @@ -1490,8 +1490,8 @@ "apihelp-xmlfm-description": "Output data in XML format (pretty-print in HTML).", "api-format-title": "MediaWiki API result", - "api-format-prettyprint-header": "This is the HTML representation of the $1 format. HTML is good for debugging, but is unsuitable for application use.\n\nSpecify the format parameter to change the output format. To see the non-HTML representation of the $1 format, set format=$2.\n\nSee the [[mw:API|complete documentation]], or the [[Special:ApiHelp/main|API help]] for more information.", - "api-format-prettyprint-header-only-html": "This is an HTML representation intended for debugging, and is unsuitable for application use.\n\nSee the [[mw:API|complete documentation]], or the [[Special:ApiHelp/main|API help]] for more information.", + "api-format-prettyprint-header": "This is the HTML representation of the $1 format. HTML is good for debugging, but is unsuitable for application use.\n\nSpecify the format parameter to change the output format. To see the non-HTML representation of the $1 format, set format=$2.\n\nSee the [[mw:Special:MyLanguage/API|complete documentation]], or the [[Special:ApiHelp/main|API help]] for more information.", + "api-format-prettyprint-header-only-html": "This is an HTML representation intended for debugging, and is unsuitable for application use.\n\nSee the [[mw:Special:MyLanguage/API|complete documentation]], or the [[Special:ApiHelp/main|API help]] for more information.", "api-format-prettyprint-status": "This response would be returned with HTTP status $1 $2.", "api-pageset-param-titles": "A list of titles to work on.", @@ -1547,8 +1547,8 @@ "api-help-param-default-empty": "Default: (empty)", "api-help-param-token": "A \"$1\" token retrieved from [[Special:ApiHelp/query+tokens|action=query&meta=tokens]]", "api-help-param-token-webui": "For compatibility, the token used in the web UI is also accepted.", - "api-help-param-disabled-in-miser-mode": "Disabled due to [[mw:Manual:$wgMiserMode|miser mode]].", - "api-help-param-limited-in-miser-mode": "Note: Due to [[mw:Manual:$wgMiserMode|miser mode]], using this may result in fewer than $1limit results returned before continuing; in extreme cases, zero results may be returned.", + "api-help-param-disabled-in-miser-mode": "Disabled due to [[mw:Special:MyLanguage/Manual:$wgMiserMode|miser mode]].", + "api-help-param-limited-in-miser-mode": "Note: Due to [[mw:Special:MyLanguage/Manual:$wgMiserMode|miser mode]], using this may result in fewer than $1limit results returned before continuing; in extreme cases, zero results may be returned.", "api-help-param-direction": "In which direction to enumerate:\n;newer:List oldest first. Note: $1start has to be before $1end.\n;older:List newest first (default). Note: $1start has to be later than $1end.", "api-help-param-continue": "When more results are available, use this to continue.", "api-help-param-no-description": "(no description)", -- 2.20.1