Last modified: 2006-06-01 19:44:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2885, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 885 - Silent insertion of code by the parser
Silent insertion of code by the parser
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Lowest minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.leuksman.com/index.php/Bu...
:
: 3275 (view as bug list)
Depends on:
Blocks:
  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: ---


Attachments

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 
verification.)

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 http://en.wiktionary.org/wiki/User:Gangleri/tests#endless_posibilities 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 http://test.wikipedia.org/wiki/User:Gangleri/tests/nowiki removed
provided new test case at http://test.leuksman.com/index.php/Bugzilla_0885

description

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.

See
http://test.leuksman.com/view/User_talk:195.148.193.2#MediaZilla:00885_.2F_bugzilla:00885
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.


Navigation
Links