2006 called, they want their non-escaping "escaping" back.
Proposed and tested patch:
Index: BlogPageClass.php =================================================================== diff --git a/trunk/BlogPageClass.php b/trunk/BlogPageClass.php --- a/trunk/BlogPageClass.php (revision 83) +++ b/trunk/BlogPageClass.php (working copy) @@ -506,7 +506,7 @@ // Get authors and exclude them foreach ( $this->authors as $author ) { - $where[] = 'rev_user_text <> \'' . $author['user_name'] . '\''; + $where[] = 'rev_user_text <> ' . $dbr->addQuotes( $author['user_name'] ); } $res = $dbr->select( @@ -599,7 +599,7 @@ // Exclude the authors of the blog post from the list of recent // voters foreach ( $this->authors as $author ) { - $where[] = 'username <> \'' . $author['user_name'] . '\''; + $where[] = 'username <> ' . $dbr->addQuotes( $author['user_name'] ); } $res = $dbr->select(
cc @lcawte (ShoutWiki), @SamanthaNguyen (Brickimedia)