NamespaceInfo service to replace MWNamespace
authorAryeh Gregor <ayg@aryeh.name>
Sun, 5 Aug 2018 08:36:32 +0000 (11:36 +0300)
committerMaxSem <maxsem.wiki@gmail.com>
Wed, 10 Apr 2019 02:07:36 +0000 (02:07 +0000)
commit76661cf129e0dea40edefbd7d35a3f09130572a1
tree03b882df8cd158801663b56456e1b3c22cc265e4
parentfd187b656396a1ee05b1e3ef3af51dc1d4656a6b
NamespaceInfo service to replace MWNamespace

MWNamespace::clearCaches() has been removed entirely, along with the
$rebuild parameter to MWNamespace::getCanonicalNamespaces(). The rest of
MWNamespace is deprecated.

Diff best viewed with -C1 so git notices that NamespaceInfo is a copy of
MWNamespace.

Depends-On: Icb7a4a2a5d19fb1f2453b4b57a5271196b0e316d
Depends-On: Ib3c914fc99394e4876ac9fe27317a1eafa2ff69e
Change-Id: I1a03d4e146f5414ae73c7d1a5807c873323e8abc
16 files changed:
RELEASE-NOTES-1.33
autoload.php
docs/hooks.txt
includes/DefaultSettings.php
includes/MWNamespace.php
includes/MediaWikiServices.php
includes/MovePage.php
includes/ServiceWiring.php
includes/deferred/LinksUpdate.php
includes/page/WikiPage.php
includes/title/NamespaceInfo.php [new file with mode: 0644]
maintenance/updateCollation.php
tests/parser/ParserTestRunner.php
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/MWNamespaceTest.php [deleted file]
tests/phpunit/includes/title/NamespaceInfoTest.php [new file with mode: 0644]