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 created this task.Jan 30 2016, 3:34 PM
Yamaha5 raised the priority of this task from to Needs Triage.
Yamaha5 updated the task description. (Show Details)
Yamaha5 added a subscriber: Yamaha5.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptJan 30 2016, 3:34 PM

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 <!-- -->

Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptJun 24 2019, 12:25 AM
Izno closed this task as Declined.Feb 18 2020, 3:07 PM
Izno added a subscriber: Izno.

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.

Restricted Application removed a subscriber: Liuxinyu970226. · View Herald TranscriptFeb 18 2020, 3:07 PM