Last modified: 2014-08-27 22:15:08 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 T72110, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70110 - "Templates used in this preview" is not collapsible in Live preview
"Templates used in this preview" is not collapsible in Live preview
Status: RESOLVED DUPLICATE of bug 53918
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-27 22:12 UTC by Helder
Modified: 2014-08-27 22:15 UTC (History)
3 users (show)

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


Attachments

Description Helder 2014-08-27 22:12:26 UTC
Enable live preview (e.g. on French Wikipedia) and go to a page containing templates and/or hidden categories. E.g.:
https://fr.wikipedia.org/w/index.php?title=Gopherus&action=edit&uselang=en

After clicking on "Show preview", the collapsible feature is gone.

This is because .makeCollapsible() is called from document ready[1][2], instead of from a hook such as "wikipage.content".

[1] https://git.wikimedia.org/blob/mediawiki%2Fcore.git/f1ffba4ec1a42d19bc260446ed7b0f6bfc43a57f/resources%2Fsrc%2Fmediawiki.action%2Fmediawiki.action.edit.collapsibleFooter.js#L1
[2] https://git.wikimedia.org/blob/mediawiki%2Fcore.git/f1ffba4ec1a42d19bc260446ed7b0f6bfc43a57f/resources%2Fsrc%2Fmediawiki.action%2Fmediawiki.action.edit.collapsibleFooter.js#L30
Comment 1 Helder 2014-08-27 22:15:08 UTC
Er...

*** This bug has been marked as a duplicate of bug 53918 ***

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


Navigation
Links