Roan Kattouw <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #2 from Roan Kattouw <> 2010-01-31 15:07:32 
UTC ---
(In reply to comment #1)
> Seems we need OutputPage::headElement, passing in the current skin...
> But we don't really want it just outputting it however..
headElement() doesn't do any output, it just returns a string.

> Can we get a reference
> to the output page via any method?
Creating a new one should work just fine, as $wgOut (the global one) doesn't
contain anything useful anyway and messing it up is bad style.

$out = new OutputPage;
$out->addParserOutputNoText( $po ); // PO object generated by action=parse
$headHTML = $out->headElement();

Configure bugmail:
------- You are receiving this mail because: -------
You are watching all bug changes.

Wikibugs-l mailing list

Reply via email to