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

--- Comment #5 from Reedy <[email protected]> 2011-03-19 01:37:50 UTC ---
(In reply to comment #3)
> The HTML output for comments is fetched via $wgOut->parse(), which throws away
> any head items or ResourceLoader modules specified in the ParserOutput object.
> 
> Without redoing the entire output code for the code review pages, this might
> work:
> 
> * change out $wgOut->parse() for 
> * call $wgOut->addParserOutputNoText($parserOutput) to add styles/etc
> ** note this will pass through language links and category links as well.
> Alternate: just do the head items/addModules but this feels icky. 
> * fetch the HTML with $parserOutput->getText() and use as before

Care to elaborate a bit more Brion?

Was just looking at this, and the idea doesn't seem complete...

ie Which parser output instance you are using, etc

Ta! :)

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