MagicWordFactory to replace MagicWord static members/methods
authorAryeh Gregor <ayg@aryeh.name>
Tue, 24 Jul 2018 16:44:09 +0000 (19:44 +0300)
committerAryeh Gregor <ayg@aryeh.name>
Mon, 30 Jul 2018 18:20:43 +0000 (21:20 +0300)
commit5189333c3915e08fb5676be637b9c0fb588d1823
tree8e99d857d8ee7aafb7220afd0d2e1665b71c492b
parent0b8c620818d680bdc6f2119f6494a25ca9f78132
MagicWordFactory to replace MagicWord static members/methods

Static members of MagicWord have been removed.

Static methods are soft-deprecated and forward to the factory.  They
will be hard-deprecated when all callers are removed from core.

MagicWord::clearCache() has been removed.  Instead, call
resetServiceForTesting( 'MagicWordFactory' ) on your MediaWikiServices
object.

Change-Id: Ie061fe90f9b9eca0cbf7e8199d9ca325c464867a
Bug: T200247
RELEASE-NOTES-1.32
autoload.php
includes/MagicWord.php
includes/MagicWordFactory.php [new file with mode: 0644]
includes/MediaWikiServices.php
includes/ServiceWiring.php
tests/parser/ParserTestRunner.php
tests/phpunit/includes/ExtraParserTest.php
tests/phpunit/includes/MediaWikiServicesTest.php
tests/phpunit/includes/content/WikitextContentHandlerTest.php