r61203 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61202‎ | r61203 | r61204 >
Date:15:34, 18 January 2010
Author:freakolowsky
Status:ok
Tags:
Comment:
removed obsolete search term validation used in validation
Modified paths:
  • /trunk/phase3/includes/search/SearchOracle.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/search/SearchOracle.php
@@ -188,7 +188,6 @@
189189 foreach($m as $terms) {
190190 // Search terms in all variant forms, only
191191 // apply on wiki with LanguageConverter
192 - if(in_array($wgContLang->stripForSearch( $terms[2] ), $cc))
193192 $temp_terms = $wgContLang->autoConvertToAllVariants( $terms[2] );
194193 if( is_array( $temp_terms )) {
195194 $temp_terms = array_unique( array_values( $temp_terms ));

Status & tagging log