Last modified: 2013-10-23 18:46:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56437, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54437 - Table of contents interaction should be rebound on livepreview
Table of contents interaction should be rebound on livepreview
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.22.0
All All
: Low minor (vote)
: 1.22.0 release
Assigned To: Fomafix
: javascript
Depends on:
Blocks: 39272
  Show dependency treegraph
 
Reported: 2013-09-21 19:38 UTC by Fomafix
Modified: 2013-10-23 18:46 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Quick patch (538 bytes, patch)
2013-09-22 09:47 UTC, Fomafix
Details

Description Fomafix 2013-09-21 19:38:03 UTC
When wpuselivepreview is enabled the function for hiding the toc is not initialized.

The function should be initialized by
  mw.hook( 'wikipage.content' ).add( ... )
Comment 1 Fomafix 2013-09-22 09:47:22 UTC
Created attachment 13348 [details]
Quick patch
Comment 2 Gerrit Notification Bot 2013-09-22 14:17:48 UTC
Change 85526 had a related patch set uploaded by Bartosz Dziewoński:
mediawiki.util: Use 'wikipage.content' hook for TOC hiding

https://gerrit.wikimedia.org/r/85526
Comment 3 Bartosz Dziewoński 2013-09-22 14:18:26 UTC
I submitted the patch in your name. It would be faster if you did it yourself ;) See [[mw:Developer access]].
Comment 4 Gerrit Notification Bot 2013-10-23 18:46:04 UTC
Change 85526 merged by jenkins-bot:
mediawiki.util: Use 'wikipage.content' hook for TOC hiding

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links