if ( isset( $prop['headitems'] ) )
$result_array['headitems'] = $this->formatHeadItems( $p_result->getHeadItems() );
-
- if ( isset( $prop['headhtml'] ) ) {
+ if ( isset( $prop['headhtml'] ) ) {
$out = new OutputPage;
- $out->addParserOutputNoText( $p_result ); // PO object generated by action=parse
-
+ $out->addParserOutputNoText( $p_result );
$result_array['stylesheets'] = array();
$result->setContent( $result_array['headhtml'], $out->headElement( $wgUser->getSkin() ) );
}
-
+
if ( !is_null( $oldid ) )
$result_array['revid'] = intval( $oldid );