https://bugzilla.wikimedia.org/show_bug.cgi?id=60030
Web browser: ---
Bug ID: 60030
Summary: toc hide on live preview doesn't work anymore
Product: MediaWiki
Version: 1.23-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JavaScript
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Since https://gerrit.wikimedia.org/r/101470 hiding of toc in live preview
doesn't work anymore, because the hook is fired when the content is detached
and the toc hiding code search on the attached content.
Reproduced in Mozilla Firefox and Google Chrome.
Solution: Use $content of the hook
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l