[Mediawiki-l] bug:<pre>-Tag corrupts texts in MediaWiki
Gunter
News2006 at freenet.de
Sat Feb 10 18:09:30 UTC 2007
Hello,
I have a fresh installation 1.9.2.
I created a new page with some text in it:
http://beadsoft.net/wtest/index.php?title=Textloss&oldid=42
between the <pre>-tags I do have HTML-coding.
When I use the edit-function on a later section AND insert a new heading
of the same level, the text of the whole article will be corrupted.
I had
* loosing text after the new section
* doubling of sections
* complete corruption
You are invited to play in my testwiki, see link above.
regards,
Gunter
If you want to try your own wiki, copy and paste the following text.
-----
== HTML source ==
<pre>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Verweis-sensitive Grafiken definieren</title>
</head>
<body>
<h1>Schnell zur Stadt oder Region Ihrer Wahl!</h1>
<div>
<map name="Landkarte">
<area shape="rect" coords="11,10,59,29"
href="http://www.koblenz.de/" alt="Koblenz">
<area shape="rect" coords="42,36,96,57"
href="http://www.wiesbaden.de/" alt="Wiesbaden">
<area shape="rect" coords="42,59,78,80" href="http://www.mainz.de/"
alt="Mainz">
<area shape="rect" coords="100,26,152,58"
href="http://www.frankfurt.de/" alt="Frankfurt">
<area shape="rect" coords="27,113,93,134"
href="http://www.mannheim.de/" alt="Mannheim">
<area shape="rect" coords="100,138,163,159"
href="http://www.heidelberg.de/" alt="Heidelberg">
<area shape="rect" coords="207,77,266,101"
href="http://www.wuerzburg.de/" alt="Würzburg">
<area shape="rect" coords="282,62,344,85"
href="http://www.bamberg.de/" alt="Bamberg">
<area shape="rect" coords="255,132,316,150"
href="http://www.nuernberg.de/" alt="Nürnberg">
<area shape="rect" coords="78,182,132,200"
href="http://www.karlsruhe.de/" alt="Karlsruhe">
<area shape="rect" coords="142,169,200,193"
href="http://www.heilbronn.de/" alt="Heilbronn">
<area shape="rect" coords="140,209,198,230"
href="http://www.stuttgart.de/" alt="Stuttgart">
<area shape="rect" coords="187,263,222,281"
href="http://www.ulm.de/" alt="Ulm">
<area shape="rect" coords="249,278,304,297"
href="http://www.augsburg.de/" alt="Augsburg">
<area shape="poly" coords="48,311,105,248,96,210,75,205,38,234,8,310"
href="http://www.baden-aktuell.de/" alt="Baden">
</map>
</div>
<p><img src="karte.png" width="345" height="312" alt="Karte"
usemap="#Landkarte"></p>
</body>
</html>
</pre>
== Title 1 ==
Text 1
== Title 2 ==
Text 2
== Title 3 ==
Text 3
== Title 4 ==
Text 4
== Title 5 ==
Text 5
More information about the MediaWiki-l
mailing list