Update getHelpUrls() for reworked mw.org API pages
authorRobinHood70 <robinhood70@live.ca>
Tue, 7 Apr 2015 09:55:31 +0000 (02:55 -0700)
committerSpage <spage@wikimedia.org>
Mon, 4 May 2015 08:15:54 +0000 (08:15 +0000)
commit15ecc5a93aec2c49de3fe38990e14095a5725620
treead236b2bf4b59600cd3816d42d31428ab02212fc
parent02255540d5344d79d122dd534a77968317fbefe6
Update getHelpUrls() for reworked mw.org API pages

Community members restructured the mediawiki.org API pages, e.g.
the meta allmessages query submodule is no longer in the catch-all
https://www.mediawiki.org/wiki/API:Meta?oldid=1408361#allmessages_.2F_am
but its own https://www.mediawiki.org/wiki/API:Allmessages

The links in the generated API help, e.g.
https://www.mediawiki.org/wiki/Special:ApiHelp/query+allmessages,  are no
correct. They're not 404s but they don't take you directly to the
relevant page.

This patch set fixes the getHelpUrls() URLs (and does nothing else).
I tested them all.

Thanks RobinHood70!

Change-Id: Icea94abdd22d1ad468172642a21641e7c5ce2046
20 files changed:
includes/api/ApiQueryAllMessages.php
includes/api/ApiQueryBacklinksprop.php
includes/api/ApiQueryCategories.php
includes/api/ApiQueryCategoryInfo.php
includes/api/ApiQueryContributors.php
includes/api/ApiQueryDeletedRevisions.php
includes/api/ApiQueryDuplicateFiles.php
includes/api/ApiQueryExternalLinks.php
includes/api/ApiQueryFileRepoInfo.php
includes/api/ApiQueryImageInfo.php
includes/api/ApiQueryImages.php
includes/api/ApiQueryInfo.php
includes/api/ApiQueryLangLinks.php
includes/api/ApiQueryLinks.php
includes/api/ApiQueryPageProps.php
includes/api/ApiQueryRevisions.php
includes/api/ApiQuerySiteinfo.php
includes/api/ApiQueryStashImageInfo.php
includes/api/ApiQueryTokens.php
includes/api/ApiQueryUserInfo.php