wiki.techinc.nl/tests/phpunit/includes/poolcounter
Brian Wolff 024915bbcd Separate RevisionOutputCache::makeParserOutputKey from no revid case
If the revision id is null, the item should not be cachable.
However, you still need a poolcounter work key for such cases,
and this method was used for both. This is confusing and seems
dangerous, so split into two methods, one where a revision id
is required, and another one where it is optional that should
only be used when it is not for a cache key.

This also fixes a warning about null revId on php 8.1 in tests.

Bug: T313663
Change-Id: Id685caeecf21d058bfd8446d9b5e21f0f11e0177
2022-09-09 18:24:27 -07:00
..
PoolWorkArticleViewCurrentTest.php Replace deprecated calls ParserOptions::newCanonical( 'canonical' ) 2022-06-16 14:22:24 +01:00
PoolWorkArticleViewOldTest.php Separate RevisionOutputCache::makeParserOutputKey from no revid case 2022-09-09 18:24:27 -07:00
PoolWorkArticleViewTest.php Replace deprecated calls ParserOptions::newCanonical( 'canonical' ) 2022-06-16 14:22:24 +01:00