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 |
||
|---|---|---|
| .. | ||
| ArticleTablesTest.php | ||
| ArticleTest.php | ||
| ArticleViewTest.php | ||
| ImagePage404Test.php | ||
| ImagePageTest.php | ||
| PageArchiveTest.php | ||
| PageSelectQueryBuilderTest.php | ||
| PageStoreTest.php | ||
| ParserOutputAccessTest.php | ||
| WikiCategoryPageTest.php | ||
| WikiPageDbTest.php | ||