Page MenuHomePhabricator

VisualEditor: Right half of toolbar disappears when image caption on first line contains "page " followed by any string
Closed, ResolvedPublic

Description

When an image caption on the first line of a page contains the string "page " (including the trailing space) followed by any text the right half of the VisualEditor toolbar disappears (everything right of "more"). This includes the save button so edits cannot be saved (hence the "major" severity)

This is likely related to either bug 54379 (same symptoms) or bug 53312 (same trigger).

Comments on the VE/F report at https://en.wikipedia.org/w/index.php?title=Wikipedia:VisualEditor/Feedback&oldid=574608525#Odd_one suggest this might be restricted to FireFox.

Minimal test: https://en.wikipedia.org/w/index.php?title=User:Thryduulf/sandbox4&oldid=574608905
Real-world example: https://en.wikipedia.org/w/index.php?title=Clarke,_Irwin_%26_Company&oldid=574526057

To reproduce:

  1. Create a page with any image on the first line of page
  2. Give the image a caption containing the string "page " (including the trailing space) followed by any text.
  3. Save the page
  4. Load the page in VE and observe the right half of the editing toolbar.

Version: unspecified
Severity: major
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=53312
https://bugzilla.wikimedia.org/show_bug.cgi?id=54379

Details

Reference
bz54642

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:17 AM
bzimport set Reference to bz54642.

There may be regression involved with this: The toolbar presented properly with the "page " string included in the first line for several VE edits over August and September, then the problem was observed Sept. 25. No change in machine, OS, or browser at the time.

Can't reproduce on Chrome, looks like Ff issue.

As far as I can tell this was fixed when bug 53312 was fixed (and for the same reason).

  • This bug has been marked as a duplicate of bug 53312 ***