https://bugzilla.wikimedia.org/show_bug.cgi?id=26818

--- Comment #6 from Krinkle <[email protected]> 2012-06-20 01:12:03 UTC ---
Per the current code[1],  implementing this is not easy. First of all because
it is a static function, so it needs to have access to the
ResourceLoaderContext. Probably easiest to make it a public function instead of
a static function, so that context is available.

And then it needs to not use Xml::encodeJsCall, because that doesn't have any
of those options and doesn't use FormatJson.



[1]
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=includes/resourceloader/ResourceLoader.php;h=b3d7e75786e0c53b0be4982bba970aa62168c335;hb=HEAD#l994

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to