Index: trunk/phase3/includes/QueryPage.php |
— | — | @@ -332,6 +332,8 @@ |
333 | 333 | $num = $dbr->numRows($res); |
334 | 334 | |
335 | 335 | $this->preprocessResults( $dbr, $res ); |
| 336 | + |
| 337 | + $wgOut->addHtml( XML::openElement( 'div', array('id' => 'mw-spcontent') ) ); |
336 | 338 | |
337 | 339 | # Top header and navigation |
338 | 340 | if( $shownavigation ) { |
— | — | @@ -364,6 +366,8 @@ |
365 | 367 | if( $shownavigation ) { |
366 | 368 | $wgOut->addHtml( '<p>' . $paging . '</p>' ); |
367 | 369 | } |
| 370 | + |
| 371 | + $wgOut->addHtml( XML::closeElement( 'div' ) ); |
368 | 372 | |
369 | 373 | return $num; |
370 | 374 | } |
— | — | @@ -427,11 +431,11 @@ |
428 | 432 | } |
429 | 433 | |
430 | 434 | function openList( $offset ) { |
431 | | - return "<ol start='" . ( $offset + 1 ) . "' class='special'>"; |
| 435 | + return "\n<ol start='" . ( $offset + 1 ) . "' class='special'>\n"; |
432 | 436 | } |
433 | 437 | |
434 | 438 | function closeList() { |
435 | | - return '</ol>'; |
| 439 | + return "</ol>\n"; |
436 | 440 | } |
437 | 441 | |
438 | 442 | /** |