Page MenuHomePhabricator

add a Syntax check button beside Show preview
Open, LowPublic


Author: gangleri

Dear friends;

Any help (also if it is not 100%) is better then no help.

Is it possible to write a dummy state machine which can detect errors as:
a1) unclosed <foo> (missing </foo>)
a2) <span class="plainlinks >[foo '''bar''']</span> (missing ")
a3) <span class="plainlinks" >[foo '''bar''']<span> (missing </span>)
b1) improper nesting <span class="plainlinks">'''[foo bar''']<span> (''' not properly nested)

The result should be a preview of the input. Not shure if tempalte should be handeled.

Best regards Reinhardt [[user:Gangleri]]

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:57 PM
bzimport set Reference to bz21913.
bzimport added a subscriber: Unknown Object (MLST).

Note that syntax checking (in terms of "this is wrong" or "this is right", at least) is currently not supported by the parser. I don't know how easy it would be to add this.

Meno25 removed a subscriber: Meno25.Jan 17 2017, 4:42 PM
demon removed a subscriber: demon.Mar 9 2017, 9:39 PM
Aklapper edited projects, added MediaWiki-Parser; removed Parser.Dec 4 2017, 10:22 AM
Aklapper removed a subscriber: wikibugs-l-list.