wiki.techinc.nl/tests/phpunit/includes/parser
Brad Jorsch 84694a9d59 Remove ParserOptions::legacyOptions() and cleanup related code
ParserOptions::legacyOptions() has been sitting around since 1.17.
Originally it seems to have been intended as a way to avoid a mass cache
invalidation (similar to optionsHashPre30() from I7fb9ffca9). That code
was mostly removed in 1.23, but legacyOptions() was left behind because
it was also being used in a few places as "all cache-varying options"
(despite it not being documented for that purpose) where we'd rather
have any key than no key at all.

This patch creates an actual ParserOptions::allCacheVaryingOptions()
method for those use cases and deprecates the long-obsolete
legacyOptions().

It also makes more explicit the use of the "all cache-varying options"
fallback in ParserCache::getKey(), and doesn't bother trying to use that
fallback in ParserCache::get() where it no longer makes sense.

Change-Id: Ife1e54744155136a570210c03fe907f18f8e8ece
2017-07-04 01:28:57 +00:00
..
MagicVariableTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ParserIntegrationTest.php Use namespaced ScopedCallback 2016-10-17 15:46:05 -07:00
ParserMethodsTest.php Fix @covers for (non-integration) parser tests 2017-02-27 15:47:56 +11:00
ParserOptionsTest.php Remove ParserOptions::legacyOptions() and cleanup related code 2017-07-04 01:28:57 +00:00
ParserOutputTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00
ParserPreloadTest.php Fix @covers for (non-integration) parser tests 2017-02-27 15:47:56 +11:00
PreprocessorTest.php tests: Replace implicit Bugzilla bug numbers with Phab ones 2017-02-21 02:14:34 +00:00
TagHooksTest.php Wrap parser output in <div class="mw-parser-output"> 2017-05-08 05:32:03 +00:00
TidyTest.php Convert all array() syntax to [] 2016-02-17 01:33:00 -08:00