r102296 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102295‎ | r102296 | r102297 >
Date:16:19, 7 November 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Skiplanguages were overwriting all other conditions
Modified paths:
  • /trunk/extensions/Translate/scripts/fuzzy.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/scripts/fuzzy.php
@@ -125,7 +125,7 @@
126126 );
127127
128128 if ( count( $this->skipLanguages ) ) {
129 - $conds = 'substring_index(page_title, \'/\', -1) NOT IN (' . $dbr->makeList( $this->skipLanguages ) . ')';
 129+ $conds[] = 'substring_index(page_title, \'/\', -1) NOT IN (' . $dbr->makeList( $this->skipLanguages ) . ')';
130130 }
131131
132132 $rows = $dbr->select(

Status & tagging log