Page MenuHomePhabricator

Listing pages with wrong wiki syntax
Closed, DeclinedPublic

Description

There are many pages on wikipedia which don't have correct wiki syntax or pair Wikicodes like {{}} [[]] {| |} <!-- --> and it cause to have bad looking articles like this
I wrote a simple python code which check dump if an article doesn't have equel number of {{ and }} list them.
In my opinion we should have this list at Mediawiki features like special page which all wikis can solve these wrong syntax.
It should be like Special:DoubleRedirects for {{}} [[]] {| |} <!-- -->

Event Timeline

Yamaha5 raised the priority of this task from to Needs Triage.
Yamaha5 updated the task description. (Show Details)
Yamaha5 subscribed.

If you have Tidy enabled you could probably catch any errors from there and add a convenient category.

Otherwise, having such unbalanced markup can still be legit:

{{table header template}}
{{table row with information|parameters 1}}
{{table row with information|parameters 2}}
{{table row with information|parameters 3}}
|} <!-- End of table -->

I don't know how difficult would be to catch those on the parser.

If you have Tidy enabled you could probably catch any errors from there and add a convenient category.

Otherwise, having such unbalanced markup can still be legit:

{{table header template}}
{{table row with information|parameters 1}}
{{table row with information|parameters 2}}
{{table row with information|parameters 3}}
|} <!-- End of table -->

I don't know how difficult would be to catch those on the parser.

I want this feature for wikipedia and i don't know Wikimedia Foundation will active it or not
may be we should only check {{}} [[]] and <!-- -->

Izno subscribed.

Please see https://www.mediawiki.org/wiki/Extension:Linter . If that is not sufficient, please feel free to open a new task with the specific change you would like to make.