Last modified: 2014-10-16 19:30:30 UTC
During parsing and running various transformations, Parsoid has sufficient information about buggy wikitext usage that can be passed back to editors for fixing up (Ex: fostering of content out of tr-rows because of missing td-wikitext tags, or missing newlines, etc). This can also be a good way to slowly deprecate reliance on edge case behavior by editors (Ex: multi-comment whitespace lines are treated different from single-comment whitespace lines -- this is just a side effect of PHP parser code and should be made consistent in the parser after deprecating its usage). This is more a longer-term goal and can be a good self-contained project for someone.
Another thing we could potentially lint for is auto-inserted start / end tags as mentioned in bug 51945. These are fairly common, so some filter would be needed to narrow it down to cases that are likely to cause problems.
*** Bug 51945 has been marked as a duplicate of this bug. ***
In order to decide if you want to be more lenient in accepting bad table-row wikitext, here's an example of how things can go wrong https://fr.wikipedia.org/w/index.php?title=Aquila_Italiana&diff=101605787&oldid=90404051 (chatting with Subbu it seems to be caused by unnecessary | marks).
Related links: http://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects#Parser_migration_tool https://www.mediawiki.org/wiki/User:Hardik95/Thoughts https://docs.google.com/document/d/1_0w7xsmNcNktHp3PZIp6-xM_aOpbERYenif6zC0o8SY/edit http://sourceforge.net/projects/wikicleaner/ <- ui ideas
Related: https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Check_Wikipedia#Mismatched_sub_and_sup_tags
Actually https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Check_Wikipedia is a related project that we should incorporate into our discussion. Check the following section on that page which is relevant to this project. https://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Check_Wikipedia#Round_2
Just in case there is something of interest there, see https://pt.wikipedia.org/wiki/MediaWiki:Gadget-APC.js/List.js https://pt.wikipedia.org/wiki/Wikipedia:APC