When wpuselivepreview is enabled the function for hiding the toc is not initialized.
The function should be initialized by
mw.hook( 'wikipage.content' ).add( ... )
Version: 1.22.0
Severity: minor
| Fomafix | |
| Sep 21 2013, 7:38 PM |
| F11853: bug54437.patch | |
| Nov 22 2014, 2:09 AM |
When wpuselivepreview is enabled the function for hiding the toc is not initialized.
The function should be initialized by
mw.hook( 'wikipage.content' ).add( ... )
Version: 1.22.0
Severity: minor
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Invalid | None | T41272 Bugs in "Live preview" feature (tracking) | |||
| Resolved | Fomafix | T56437 Table of contents interaction should be rebound on livepreview |
Change 85526 had a related patch set uploaded by Bartosz Dziewoński:
mediawiki.util: Use 'wikipage.content' hook for TOC hiding
I submitted the patch in your name. It would be faster if you did it yourself ;) See [[mw:Developer access]].
Change 85526 merged by jenkins-bot:
mediawiki.util: Use 'wikipage.content' hook for TOC hiding