Last modified: 2011-04-14 15:12:25 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 11691 - Show warning and require a second save action when the page being saved contains an unmatched extension tag
Show warning and require a second save action when the page being saved conta...
Status: NEW
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 12233
  Show dependency treegraph
Reported: 2007-10-17 15:40 UTC by ais523
Modified: 2011-04-14 15:12 UTC (History)
1 user (show)

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


Description ais523 2007-10-17 15:40:31 UTC
One common user error is to save a page containing a <ref> tag but no corresponding </ref> tag (or in some cases, the user meant <ref/> instead); the tag is used in connection with the Cite extension. Whenever either of the following cases is true:
- An HTML-like starting tag is used to invoke an extension, but there is no matching end tag
- Between the starting and ending tags used to invoke an extension is a duplicate of the starting tag (which almost inevitably means that an ending tag has been missed earlier)
it would make sense to warn the user that they've almost certainly made a mistake; the current situation is that part of the page ends up being blanked, confusing the user who has no obvious means of fixing it unless they are skilled in markup. I suggest that in such cases, the 'Save page' option should instead do a preview, placing up a warning that there are probably problems with the markup and suggesting what went wrong; as a safeguard, a second save in a row should work as normal. (This method is already used for the optional warning when no edit summary is given.)
Comment 1 ais523 2007-12-10 14:08:57 UTC
Bug 12233 appears to implement part of this (the possibility to give warnings), so I'm adding it as a dependency.
Comment 2 Niklas Laxström 2008-10-06 07:46:54 UTC
Almost an duplicate to bug 6199.

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