Moved wfSpecialList() to Language::specialList() so that it can be used in the contex...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 13 Oct 2011 11:46:21 +0000 (11:46 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 13 Oct 2011 11:46:21 +0000 (11:46 +0000)
commit4148b2512b02eb8d4dd8f5427ce082fb4b0194d2
tree1c171cd806ff851d79d3bcd01d0a0a399539b4c9
parent702490c1695ba4e62b2582194caf347b486c950d
Moved wfSpecialList() to Language::specialList() so that it can be used in the context of special pages instead of relying unconditionally of $wgLang. Updated all calls in core and added a @deprecated comment to wfSpecialList() but not a wfDeprecated() call since it's still used in SiteMatrix and StalePages extensions.
18 files changed:
includes/GlobalFunctions.php
includes/QueryPage.php
includes/specials/SpecialActiveusers.php
includes/specials/SpecialAncientpages.php
includes/specials/SpecialCategories.php
includes/specials/SpecialFewestrevisions.php
includes/specials/SpecialListusers.php
includes/specials/SpecialMostcategories.php
includes/specials/SpecialMostlinked.php
includes/specials/SpecialMostlinkedcategories.php
includes/specials/SpecialMostlinkedtemplates.php
includes/specials/SpecialPopularpages.php
includes/specials/SpecialProtectedpages.php
includes/specials/SpecialProtectedtitles.php
includes/specials/SpecialUnusedtemplates.php
includes/specials/SpecialUnwatchedpages.php
includes/specials/SpecialWantedcategories.php
languages/Language.php