
tstarling at wikimedia
Jun 29, 2008, 2:41 PM
Post #2 of 2
(332 views)
Permalink
|
|
Re: Parser problems in 1.12 with ordered lists (another cry for help ; -) )
[In reply to]
|
|
Uwe Baumbach wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi there, > > at the end of > > http://de.wikipedia.org/wiki/Hilfe:Listen > > you can find an example for an ordered list interspersed with a simple > text line and with a new new starting number. > > Wiki-text is > > .............................. > # eins > # zwei > Zwischenüberschrift od. Leerzeile > #<li value="3"> drei</li> > # vier > .............................. > > and will/should lead to > > .............................. > ~ 1. eins > ~ 2. zwei > > Zwischenüberschrift od. Leerzeile > > ~ 3. drei > ~ 4. vier > .............................. > No it shouldn't. [...] > So why the second ordered list comes with a double <li> tag where > 1.13.Alpha (de.wikipedia.org) shows correct: Because on de.wikipedia.org, Tidy is cleaning up MediaWiki's incorrect HTML output in such a way that it appears that MediaWiki has this feature. MediaWiki does not have this feature, and if it did, the syntax would be different. The fact that MediaWiki is producing invalid HTML is a bug. When the bug is fixed, this apparent feature will disappear. -- Tim Starling _______________________________________________ MediaWiki-l mailing list MediaWiki-l [at] lists https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
|