https://bugzilla.wikimedia.org/show_bug.cgi?id=18608
Roan Kattouw <roan.katt...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |roan.katt...@gmail.com --- Comment #2 from Roan Kattouw <roan.katt...@gmail.com> 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: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l