Page MenuHomePhabricator

VisualEditor: Warn/stop users from inserting wikitext/bad inputs in the Gallery inspector
Closed, ResolvedPublic0 Estimated Story Points

Description

Right now if , a user inserts wikitext inside gallery inspector such as <gallery></gallery> or <ref> inside gallery inserter, it adds an empty gallery inside the page and if you switch to edit source you will see something like:
<gallery><gallery><ref></ref></gallery></gallery>

One possible solution to this issue could be let user know not to add any such wikitext/bad inputs inside gallery inspector

Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5


Version: unspecified
Severity: minor

Details

Reference
bz62799

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 3:00 AM
bzimport set Reference to bz62799.

Created attachment 14853
Screenshot

Attached:

Screen_Shot_2014-03-18_at_11.56.15_AM.png (239×852 px, 65 KB)

This has been resolved by the new gallery dialog, which doesn't allow users to input weird wikitext into the <gallery> tag (T45037).

Deskana set the point value for this task to 0.Feb 22 2018, 11:02 AM