r92025 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92024‎ | r92025 | r92026 >
Date:23:53, 12 July 2011
Author:nad
Status:deferred
Tags:
Comment:
even the brackets must not be escaped
Modified paths:
  • /trunk/extensions/RecordAdmin/RecordAdmin_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php
@@ -283,8 +283,6 @@
284284 function cmpCallback( $a, $b, $operator ) {
285285 $b = html_entity_decode( $b, ENT_QUOTES );
286286 $bre = str_replace( '/', '\/', $b );
287 - $bre = str_replace( '(', '\(', $bre );
288 - $bre = str_replace( ')', '\)', $bre );
289287 switch ( $operator ) {
290288 case '=':
291289 $cond = preg_match( "/$bre/i", $a );

Status & tagging log