Last modified: 2006-06-01 19:44:31 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 885 - Silent insertion of code by the parser
Silent insertion of code by the parser
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
All All
: Lowest minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 3275 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2004-11-15 12:05 UTC by lɛʁi לערי ריינהארט
Modified: 2006-06-01 19:44 UTC (History)
2 users (show)

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


Description lɛʁi לערי ריינהארט 2004-11-15 12:05:19 UTC
As I could see that the code of an object (article, talk, 
category ...) maight be altered / changed "automaticaly" during 
save. (I assume it is the parser module making a syntax 

It maight be, that the insertion of code (</nowiki> ...) would 
not be, what was intended by the user.

No message is displayed and it is just another "have to know". In 
similar situations I would expect a warning (as done at a 
[[:en:Wikipedia:Edit conflicts]] / [[m:Help:Edit conflict]]).

Regards Reinhardt
Comment 1 lɛʁi לערי ריינהארט 2004-11-19 10:42:27 UTC
At a different 
behaviour as mentioned before is experienced.

Regards Reinhardt
Comment 2 Brion Vibber 2004-11-19 11:47:46 UTC
Please provide an exact series of steps to reproduce the 
problem, including explanations of what, exactly, you 
expected to happen and what, exactly, you found instead.
Comment 3 lɛʁi לערי ריינהארט 2005-06-11 00:04:18 UTC
old test case removed
provided new test case at


If a page contains a "<nowiki>" which is not closed (with a "</nowiki>") then
"</nowiki>" will be added automatically during save

1. either to the end of the page
2. or to the end of the section. 

I called this "silent insertion" because no warning is generated.

Remark: Preview will not show this final "<nowiki>".

Regards Reinhardt [[user:gangleri]]
Comment 4 lɛʁi לערי ריינהארט 2005-10-08 16:05:06 UTC
see bug 3275: Show warning about missing </gallery>
Comment 5 Brion Vibber 2005-10-29 07:17:13 UTC
*** Bug 3275 has been marked as a duplicate of this bug. ***
Comment 6 lɛʁi לערי ריינהארט 2006-04-06 10:49:01 UTC
If a page contains a starting <pre> without a closing </pre> the last will be
inserted by the parser during save.

Comment 7 Brion Vibber 2006-04-06 21:26:47 UTC
Not a bug, that's just how it works.
Comment 8 Eugene Zelenko 2006-04-08 13:58:41 UTC
Unfortunately the way how it works is not perfect.

Any kind of warning in this situation will be good idea.

Please do not close this issue just because somebody does not haw time to
improve software.
Comment 9 Brion Vibber 2006-06-01 19:44:31 UTC
Fixed in r14530.

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