Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php |
— | — | @@ -833,13 +833,13 @@ |
834 | 834 | } |
835 | 835 | $page_ns_index = MWNamespace::getCanonicalIndex( strtolower( $page_namespace ) ); |
836 | 836 | $dbr = wfGetDB( DB_SLAVE ); |
837 | | - $encCat = $dbr->strencode( str_replace( ' ' , '_' , wfMsgForContent( 'proofreadpage_quality0_category' ) ) ); |
| 837 | + $cat = str_replace( ' ' , '_' , wfMsgForContent( 'proofreadpage_quality0_category' ) ); |
838 | 838 | $res = $dbr->select( |
839 | 839 | array( 'page', 'categorylinks' ), |
840 | 840 | array( 'page_title' ), |
841 | 841 | array( |
842 | 842 | 'page_title' => $pp, |
843 | | - 'cl_to' => $encCat, |
| 843 | + 'cl_to' => $cat, |
844 | 844 | 'page_namespace' => $page_ns_index |
845 | 845 | ), |
846 | 846 | __METHOD__, |