Page MenuHomePhabricator

add ParserOutput::addJsConfigVars
Closed, ResolvedPublic

Description

Right now there only is a OutputPage::addJsConfigVars but not the equivalent for the ParserOutput which would be kind of useful in some situations - especially to prevent messing up the OutputPage when the stuff won't be required in the end after all.


Version: 1.21.x
Severity: enhancement

Details

Reference
bz37501

Related Objects

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:28 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz37501.
bzimport added a subscriber: Unknown Object (MLST).

ParserOutput can contains resourceloader modules, moduleScripts, moduleStyles and moduleMessages (last three since r93758), than it should also contains the js variable.