jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/350015 )
Change subject: Disable parser tests for categories count ...................................................................... Disable parser tests for categories count When inserting article, MediaWiki core uses a dummy parser that does not process link. The parser tests having [[Category:test pages]] ends up being broken because the dummy parser does not attach the created article to a category (wikilins are skippd, the category is not added to 'categorylinks'). The dummy parser in MediaWiki is 65b732f29. Until a workaround is available, disable two parser tests: WCategory->pageCount Test pages WCategory->subcatCount Bug: T163733 Change-Id: I38da5a61d52dc6cd282997896688e39803caa895 --- M tests/parser/PhpTagsWikiTests.txt 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Umherirrender: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/parser/PhpTagsWikiTests.txt b/tests/parser/PhpTagsWikiTests.txt index eeb6561..ee60b83 100644 --- a/tests/parser/PhpTagsWikiTests.txt +++ b/tests/parser/PhpTagsWikiTests.txt @@ -83,6 +83,8 @@ !! test WCategory->pageCount Test pages +!! options +disabled MediaWiki core uses a dummy parser when inserting articles. T163733 !! input <phptag> $c = new WCategory( 'Test pages' ); @@ -95,6 +97,8 @@ !! test WCategory->subcatCount +!! options +disabled MediaWiki core uses a dummy parser when inserting articles. T163733 !! input <phptag> $c = new WCategory( 'Test categories' ); -- To view, visit https://gerrit.wikimedia.org/r/350015 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I38da5a61d52dc6cd282997896688e39803caa895 Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/PhpTagsWiki Gerrit-Branch: master Gerrit-Owner: Hashar <[email protected]> Gerrit-Reviewer: Hashar <[email protected]> Gerrit-Reviewer: Legoktm <[email protected]> Gerrit-Reviewer: Pastakhov <[email protected]> Gerrit-Reviewer: Tim Starling <[email protected]> Gerrit-Reviewer: Umherirrender <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
