Last modified: 2010-05-15 15:50:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10776 - <pre> tag bug(s)? - "Save page" destroys content
<pre> tag bug(s)? - "Save page" destroys content
Status: RESOLVED DUPLICATE of bug 10309
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
PC Linux
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-08-02 12:58 UTC by Jay Hannah
Modified: 2010-05-15 15:50 UTC (History)
0 users

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


Description Jay Hannah 2007-08-02 12:58:04 UTC
In case these matter:
* PHP: 5.2.1 (apache2handler)
* MySQL: 5.0.38-Ubuntu_0ubuntu1-log 

Create a page with this content:

==Header 1==
==Header 2==

Now click the [edit] for Header 2. Change the "X" to "Y". Click "Save page".

As you can see, all sorts of interesting and unexpected things happened. Header 2 got slurped inside Header 1 and there's a new Header tag: X with contents "</pre>"...

Kooky, eh? I'm having to [undo] many errant "Save page" operations daily. Large pages with lots of <pre> headers get contorted in all sorts of bizarre ways.

Thanks for your help,

Comment 1 Brion Vibber 2007-08-08 17:28:10 UTC
This was fixed for 1.11 some time ago.

*** This bug has been marked as a duplicate of bug 10309 ***

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