Page MenuHomePhabricator

Upgrade parserTests in cite to v2
Closed, ResolvedPublic


ParserTests are the only place where we still run the parser in "no tidy" mode. We need to update the output of the parserTests used by the Cite extension to have properly tidied output. Adding !! version 2 as the first line of your parserTests file opts in to this new behavior, and you can easily see which tests fail. Usually the clean up is pretty straightforward.

See for a description of typical fixups.

See patchset 1 for how to get started (just add !! version 2 to all your parser tests files and see what breaks!

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 568093 had a related patch set uploaded (by C. Scott Ananian; owner: C. Scott Ananian):
[mediawiki/extensions/Cite@master] WIP: update parser tests to v2

Change 568093 merged by jenkins-bot:
[mediawiki/extensions/Cite@master] Update parser tests to v2 (tidy by default)

cscott claimed this task.