|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Parser problems in 1.12 with ordered lists (another cry for help ; -) )-----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 .............................. In our old MS 1.9.3 we got instead: .............................. ~ 1. eins ~ 2. zwei Zwischenüberschrift od. Leerzeile ~ 1. ~ 3. drei ~ 4. vier .............................. So we have decided to test it in a fresh installed and empty MW 1.12.0 - - with the same result!! In de.wikipedia.org (1.13.alpha) it works fine. So my question: What's wrong? What I saw in HTML souce code was: <ol> <li> eins</li> <li> zwei</li> </ol> <p>Zwischenüberschrift od. Leerzeile</p> <ol> <li> <li value="3"> drei</li> </li> <li> vier</li> </ol> So why the second ordered list comes with a double <li> tag where 1.13.Alpha (de.wikipedia.org) shows correct: <ol> <li>eins</li> <li>zwei</li> </ol> <p>Zwischenüberschrift od. Leerzeile</p> <ol> <li value="3">drei</li> <li>vier</li> </ol> Uwe (Baumbach) U.Baumbach@... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIZmdoFEbayCH8zXkRAnO5AJ9Zft2kvXhHoaZh05Iulhz7JWeM0ACguh85 S0nKvMcbZTYdFJDBLmnGXGU= =PSSA -----END PGP SIGNATURE----- _______________________________________________ MediaWiki-l mailing list MediaWiki-l@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
|
|
Re: Parser problems in 1.12 with ordered lists (another cry for help ; -) )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@... https://lists.wikimedia.org/mailman/listinfo/mediawiki-l |
| Free Forum Powered by Nabble | Forum Help |