Last modified: 2014-05-07 14:22:18 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 T66969, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64969 - When a message requires modules load the modules on parse
When a message requires modules load the modules on parse
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.24rc
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-06 19:22 UTC by Fomafix
Modified: 2014-05-07 14:22 UTC (History)
1 user (show)

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


Attachments

Description Fomafix 2014-05-06 19:22:30 UTC
The module mediawiki.toc gets not loaded when __TOC__ is only in a message.

Steps to reproduce:
* Create [[MediaWiki:Editnotice-0]] with the content
  __TOC__
  == H2 ==
* Save the page
-> the module mediawiki.toc get loaded and the toc is hideable.
* Edit a page in namespace 0
-> The content of MediaWiki:Editnotice-0 is shown before the edit box.
-> The toc is not hideable because the module mediawiki.toc is not loaded.

You only see the missing module mediawiki.toc when it is not loaded by the dependency to mediawiki.util. This dependency gets removed in https://gerrit.wikimedia.org/r/131260
Comment 1 Gerrit Notification Bot 2014-05-06 19:25:23 UTC
Change 131766 had a related patch set uploaded by Gerrit Patch Uploader:
Load required modules from messages in parseText()

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

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


Navigation
Links