https://bugzilla.wikimedia.org/show_bug.cgi?id=52899

       Web browser: ---
            Bug ID: 52899
           Summary: parsertests should support wgUseTidy in options
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Parser
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Currently all parserTests are run with $wgUseTidy=false, but the PHP parser's
behavior changes when $wgUseTidy=true (see bug 52760 and bug 17663).  Parsoid
attempts to maintain equivalence with the $wgUseTidy=true behavior of the
parser.

We should add a wgUseTidy option to the parserTests.  When running parserTests
in the PHP parser without tidy installed, tests with wgUseTidy=true would be
skipped.  When running parserTests in Parsoid, tests with wgUseTidy=false would
be skipped.

This would allow us to document places where parser output changes with and
without tidy, and verify that parsoid remains consistent with the
wgUseTidy=true output of the PHP parser.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to