Last modified: 2014-11-01 23:09:57 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 T60270, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58270 - VisualEditor: <ref> in media item caption in a <ref> isn't blocked, which means page can get into an uneditable state on load
VisualEditor: <ref> in media item caption in a <ref> isn't blocked, which mea...
Status: ASSIGNED
Product: VisualEditor
Classification: Unclassified
Editing Tools (Other open bugs)
unspecified
All All
: High minor
: ---
Assigned To: Editing team bugs – take if you're interested!
:
Depends on: 49439
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-10 13:46 UTC by Wikifram@gmail.com (Account disabled)
Modified: 2014-11-01 23:09 UTC (History)
5 users (show)

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


Attachments

Description Wikifram@gmail.com (Account disabled) 2013-12-10 13:46:32 UTC
This version of my sandbox at enwiki, [https://en.wikipedia.org/w/index.php?title=User:Fram/sandbox&oldid=585258547], is no longer editable in VE by me (FF25, W7). It opens, and I can make whatever changes I want, but the "save" button stays disabled, and when I open the reference interface, I can no longer close that one either. The category and media interface work allright though.
Comment 1 Andre Klapper 2013-12-10 14:50:50 UTC
Could you please open the Error Console (or whatever it is called in your browser) and reload the page that you see the problem on? If there is a problem or an error with JavaScript it should be printed in that console.
For more information please see:
* Firefox ≥24: https://developer.mozilla.org/en-US/docs/Tools/Web_Console
* Internet Explorer: http://msdn.microsoft.com/en-us/library/ie/dn255006
* Google Chrome: https://developers.google.com/chrome-developer-tools/
* Apple Safari: https://developer.apple.com/library/safari/documentation/AppleApplications/Conceptual/Safari_Developer_Guide/PrototypingYourWebsite/PrototypingYourWebsite.html
* Opera: http://help.opera.com/Linux/12.10/en/errorconsole.html
Comment 3 James Forrester 2013-12-10 17:36:48 UTC
Yuck.

So the problem is that you've got a reference in an image's caption, which is inside a reference; this is not allowed in wikitext (as you can see from the "Cite error: A <ref> tag is missing the closing </ref> (see the help page)." error), and is because the restriction on media items' captions doesn't inherit the restriction of the reference block.

We'll need to build a way for restrictions to be explicit and inheritable.

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


Navigation
Links