[Mediawiki-l] Parser problems in 1.12 with ordered lists (another cry for help ; -) )

Uwe Baumbach U.Baumbach at web.de
Sat Jun 28 16:31:36 UTC 2008


-----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 at web.de


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIZmdoFEbayCH8zXkRAnO5AJ9Zft2kvXhHoaZh05Iulhz7JWeM0ACguh85
S0nKvMcbZTYdFJDBLmnGXGU=
=PSSA
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list