From: Roan Kattouw Date: Wed, 10 Feb 2010 10:54:00 +0000 (+0000) Subject: Whitespace fixes for r62195, remove out-of-context comment X-Git-Tag: 1.31.0-rc.0~37838 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=82c185b6e1a7c5f6ff0599e21067c7f375bad4a8;p=lhc%2Fweb%2Fwiklou.git Whitespace fixes for r62195, remove out-of-context comment --- diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index c24872b323..f731047efe 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -168,16 +168,14 @@ class ApiParse extends ApiBase { 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 );