Last modified: 2011-04-14 15:14:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23913, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21913 - add a Syntax check button beside Show preview
add a Syntax check button beside Show preview
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-21 02:58 UTC by lɛʁi לערי ריינהארט
Modified: 2011-04-14 15:14 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description lɛʁi לערי ריינהארט 2009-12-21 02:58:21 UTC
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)
etc.

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

Best regards Reinhardt [[user:Gangleri]]
Comment 1 Roan Kattouw 2009-12-21 10:34:10 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links