wiki.techinc.nl/tests/phpunit/includes/parser
Petr Pchelko 816e02ae51 Convert RevisionRecord to Authority and PageIdentity
As we convert the RevisionRecord to using Authority,
we no longer need Title instances, so we can convert
that to PageIdentity.

Ideally, we'd part away from using Title at all, but:
1. For foreign wikis PageIdentity has stronger validation,
so calling PageIdentity getId() on Title will break things.
There's still a lot of code depending on lax Title guarantees,
so we keep it.
2. A lot of code still depends on Title, so we try to pass it
through even if we don't nesessarily need to, to save cost
on recreating it later on.

Bug: T271458
Depends-On: I287400b967b467ea18bebbb579e881a785a19158
Change-Id: I63d9807264d7e2295afef51fc9d982447f92fcbd
2021-01-21 13:37:01 -06:00
..
CacheTimeTest.php tests: Fix method signature mismatches 2020-11-26 19:02:57 +01:00
CoreParserFunctionsTest.php Use $msg2 in CoreParserFunctionsTest::testGender 2020-09-17 03:26:43 +01:00
LinkHolderArrayIntegrationTest.php Strict return types for PageIdentity 2021-01-18 17:33:14 +01:00
MagicVariableTest.php
ParserCacheSerializationTestCases.php Merge CacheTime and ParserOutput accessedOptions properties 2020-11-19 10:12:39 -07:00
ParserCacheTest.php ParserCache: general code cleanup, abstracted expiration checks. 2020-12-16 12:09:55 +00:00
ParserMethodsTest.php Convert RevisionRecord to Authority and PageIdentity 2021-01-21 13:37:01 -06:00
ParserOptionsTest.php ParserOptions: Deprecate fallback to $wgUser 2020-12-16 09:03:29 +00:00
ParserOutputTest.php tests: Fix method signature mismatches 2020-11-26 19:02:57 +01:00
ParserPreloadTest.php ParserPreloadTest: Remove unneeded unset calls 2020-12-28 22:10:53 +00:00
ParserTest.php Use ::class together with createMock in unit tests 2020-10-30 14:45:37 +01:00
PreprocessorTest.php parser: convert Preprocessor to WANCache and inject dependencies 2021-01-11 20:21:10 -08:00
RevisionOutputCacheTest.php Implement caching for old revision HTML endpoint 2020-12-15 23:40:08 +01:00
SanitizerTest.php Remove documentation that literally repeats the code 2020-10-27 19:20:26 +00:00
StripStateTest.php
TagHooksTest.php Remove Parser::setFunctionTagHook(), deprecated in 1.35 2020-08-26 13:49:00 -04:00
validateParserCacheSerializationTestData.php Forward-compat for merging CacheTime and ParserOutput mOptions 2020-11-10 07:09:41 -07:00