HomePhabricator

MagicWordFactory to replace MagicWord static members/methods

Description

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

Details

Provenance
SimetricalAuthored on Jul 24 2018, 4:44 PM
Parents
rMW0b8c620818d6: Merge "Special:NewPages: Change to use OOUI"
Branches
Unknown
Tags
Unknown
ChangeId
Ie061fe90f9b9eca0cbf7e8199d9ca325c464867a