Page MenuHomePhabricator

LivePreview: Re-run wikipage content handlers (jquery.makeCollapsible, jquery.tablesorter, ..) after preview content is loaded
Closed, ResolvedPublic

Description

I'm not sure whether LivePreview is still in an extension or is already in core.


Version: 1.20.x
Severity: normal

Details

Reference
bz33399

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 11:59 PM
bzimport set Reference to bz33399.
  • Bug 36060 has been marked as a duplicate of this bug. ***
  • It is in core
  • This is not a bug with LivePreview as much as it is with the fact that we run code on document ready instead of a mediawiki-dedicated "article loaded". Adding a dependency on bug 30713.
  • Unduping bug 36060 as it is an extension and won't be fixed automatically when we make dynamic things like sortable/colllapsible work. They are implemented too different.
  • Bug 40638 has been marked as a duplicate of this bug. ***

Change 74313 had a related patch set uploaded by Krinkle:
mediawiki.page.ready: Use wikipage.content instead of domready

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

Change 74314 had a related patch set uploaded by Krinkle:
mediawiki.action.edit.preview: Fire "wikipage.content" mw.hook

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

Change 74313 merged by jenkins-bot:
mediawiki.page.ready: Use wikipage.content instead of domready

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

Change 74314 merged by jenkins-bot:
mediawiki.action.edit.preview: Fire "wikipage.content" mw.hook

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