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

--- Comment #11 from Krinkle <[email protected]> 2012-08-12 05:24:39 UTC ---
(In reply to comment #8)
> This might be something we could fix in a clever way now that we have the
> resource loader.

Yes, but to solve this bug we need more than just JavaScript though.

Using ResourceLoader makes sense. Possible implementation:
* Use an API module to parse it (action=parse I suppose)
* Somehow keep track of modules being added to the load queue by the parser (I
think some component in the parser already has its own addModules() list)
* Expose that through a new property in action=parse

We already have something a bit like it (action=parse&prop=headitems) but that
is 1) plain html, 2) includes default ones that are already on the page.


https://www.mediawiki.org/w/api.php?format=jsonfm&action=parse&text=%3Csource%3Etest%3C/source%3E&prop=text|displaytitle|headitems|headhtml

-- 
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