Last modified: 2011-04-14 15:12:25 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 T13691, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 12233
Blocks:
  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: ---


Attachments

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.


Navigation
Links