Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php |
— | — | @@ -1448,13 +1448,12 @@ |
1449 | 1449 | ); |
1450 | 1450 | if( $res && $dbr->numRows( $res ) > 0 ) { |
1451 | 1451 | $row = $dbr->fetchObject( $res ); |
1452 | | - $title = $dbr->strencode( $row->title ); |
1453 | 1452 | $dbr->freeResult( $res ); |
1454 | 1453 | $res2 = $dbr->select( |
1455 | 1454 | array( 'pagelinks', 'page' ), |
1456 | 1455 | array( 'page_title AS title' ), |
1457 | 1456 | array( |
1458 | | - 'pl_title' => $title, |
| 1457 | + 'pl_title' => $row->title, |
1459 | 1458 | 'pl_namespace' => $page_ns_index, |
1460 | 1459 | 'page_namespace' => $index_ns_index |
1461 | 1460 | ), |
— | — | @@ -1464,7 +1463,7 @@ |
1465 | 1464 | ); |
1466 | 1465 | if( $res2 && $dbr->numRows( $res2 ) > 0 ) { |
1467 | 1466 | $row = $dbr->fetchObject( $res2 ); |
1468 | | - $indextitle = $dbr->strencode( $row->title ); |
| 1467 | + $indextitle = $row->title; |
1469 | 1468 | $dbr->freeResult( $res2 ); |
1470 | 1469 | } |
1471 | 1470 | } |