wiki.techinc.nl/tests/phpunit/includes/page
Marius Hoch 929dbef76d Article::generateContentOutput: Ensure OutputPage has rev id set
This should not default to latest revision id, but
Article::getRevIdFetched() if the ParserCache doesn't
have the id set. Also set the revision id before calling
OutputPage::addParserOutput to make sure the id is
already set when the "OutputPageBeforeHTML" hook is run
(which is the case in other code paths).

Additionally I've made the tests more robust, by no
longer manually getting the revision into parser cache.

Bug: T281587
Change-Id: I999195441f9d75a7e4bde4d843ad7729cdb1bee0
2021-05-11 21:33:12 +02:00
..
ArticleTablesTest.php Re-apply: Factors out permissions check from User into PermissionManager service 2019-06-28 13:19:38 -07:00
ArticleTest.php WikiPage: deprecated construction on bad titles 2021-01-20 14:31:11 +01:00
ArticleViewTest.php Article::generateContentOutput: Ensure OutputPage has rev id set 2021-05-11 21:33:12 +02:00
ImagePage404Test.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
ImagePageTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
PageArchiveTest.php Remove Revision from PageArchive 2021-04-30 21:14:13 +00:00
PageSelectQueryBuilderTest.php Eliminate use of Title object in REST infrastructure 2021-05-05 18:54:58 -07:00
PageStoreTest.php PageIdentityValue: apply basic validation of titles 2021-05-07 17:17:45 +02:00
ParserOutputAccessTest.php Convert ParserOutputAccess to PageRecord. 2021-04-05 07:46:34 -06:00
WikiCategoryPageTest.php Replace PHPUnit ->returnValue() with ->willReturn() shortcut 2021-04-22 10:37:45 +02:00
WikiPageDbTest.php Merge "Add MediaWikiIntegrationTestCase::runJobs() and use it" 2021-05-05 03:15:17 +00:00