Index: trunk/phase3/includes/api/ApiParse.php |
— | — | @@ -158,8 +158,8 @@ |
159 | 159 | $p_result->getDisplayTitle() : |
160 | 160 | $titleObj->getPrefixedText(); |
161 | 161 | |
162 | | - if( isset( $prop['headitems'] ) ) |
163 | | - $result_array['headitems'] = $this->formatHeadItems( $p_result->getHeadItems() ); |
| 162 | + if ( isset( $prop['headitems'] ) ) |
| 163 | + $result_array['headitems'] = $this->formatHeadItems( $p_result->getHeadItems() ); |
164 | 164 | |
165 | 165 | if ( !is_null( $oldid ) ) |
166 | 166 | $result_array['revid'] = intval( $oldid ); |
— | — | @@ -219,7 +219,7 @@ |
220 | 220 | |
221 | 221 | private function formatHeadItems( $headItems ) { |
222 | 222 | $result = array(); |
223 | | - foreach( $headItems as $tag => $content ) { |
| 223 | + foreach ( $headItems as $tag => $content ) { |
224 | 224 | $entry = array(); |
225 | 225 | $entry['tag'] = $tag; |
226 | 226 | $this->getResult()->setContent( $entry, $content ); |