r73893 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73892‎ | r73893 | r73894 >
Date:15:17, 28 September 2010
Author:brion
Status:ok
Tags:
Comment:
ProofreadPage -- fix for r73878: since we're using the wrappers now to generate this where subclause, we don't need to escape it.
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage_body.php
@@ -833,13 +833,13 @@
834834 }
835835 $page_ns_index = MWNamespace::getCanonicalIndex( strtolower( $page_namespace ) );
836836 $dbr = wfGetDB( DB_SLAVE );
837 - $encCat = $dbr->strencode( str_replace( ' ' , '_' , wfMsgForContent( 'proofreadpage_quality0_category' ) ) );
 837+ $cat = str_replace( ' ' , '_' , wfMsgForContent( 'proofreadpage_quality0_category' ) );
838838 $res = $dbr->select(
839839 array( 'page', 'categorylinks' ),
840840 array( 'page_title' ),
841841 array(
842842 'page_title' => $pp,
843 - 'cl_to' => $encCat,
 843+ 'cl_to' => $cat,
844844 'page_namespace' => $page_ns_index
845845 ),
846846 __METHOD__,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r73878follow up to r73453thomasv09:39, 28 September 2010

Status & tagging log