https://bugzilla.wikimedia.org/show_bug.cgi?id=55684
Krinkle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easy Priority|Unprioritized |High Status|UNCONFIRMED |NEW Target Milestone|--- |MW 1.22 version Summary|Special pages load |Cite: Module "ext.cite" |"ext.cite" ResourceLoader |should not be loaded on |module |pages without <ref> (e.g. | |Special pages) Ever confirmed|0 |1 --- Comment #3 from Krinkle <[email protected]> --- (In reply to comment #2) > (In reply to comment #0) > > According to mw.loader.inspect(), [[Special:BlankPage]] loads the "ext.cite" > > ResourceLoader module. This seems to be a global module, but it doesn't need > > to > > be loaded on any Special page besides Special:Cite, I imagine. > > Technically any Special page might have <ref></ref> tags due to local > modifications of system messages, so in those cases the RL module would be > needed. In that case the parser hook can call $parserOutput->addModules(). The Cite extension is still using the classic way of adding resources through wgHooks['BeforePageDisplay'] instead of doing it the new way through contextual addModules when it actually needs to. -- 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
