Page MenuHomePhabricator

VisualEditor: When "__FORCETOC__" is set, inside VE instead of "Hide" the link to hide the TOC appears as "<hidetoc>"
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Open a page with VE
2.Add Heading
3.Add Subheading 1
4.Now go to Page Settings and set the option to show the TOC as Always

Observed Result:
In the TOC inside VE the link to hide the TOC appears as <hidetoc> instead of Hide

See the screenshot attached

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


Version: unspecified
Severity: minor

Attached:

Details

Reference
bz64464

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:23 AM
bzimport set Reference to bz64464.

Change 129852 merged by jenkins-bot:
Export showtoc and hidetoc messages

https://gerrit.wikimedia.org/r/129852

Verified the fix in Betalabs

Verified the fix in test2

Verified the fix in production