r56072 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56071‎ | r56072 | r56073 >
Date:21:14, 8 September 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Fix syntax error in r56071
Modified paths:
  • /trunk/extensions/Translate/TranslateUtils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/TranslateUtils.php
@@ -97,7 +97,7 @@
9898 $sql = "SELECT $fields, substring_index(rc_title, '/', -1) as lang FROM $recentchanges " .
9999 "WHERE rc_timestamp >= '{$cutoff}' " .
100100 "AND rc_namespace in ($namespaces) " .
101 - $bots ? '' : 'AND rc_bot = 0' .
 101+ ( $bots ? '' : 'AND rc_bot = 0 ' ) .
102102 "ORDER BY lang ASC, rc_timestamp DESC";
103103
104104 $res = $dbr->query( $sql, __METHOD__ );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r56071* add parameter $bots for translationChanges() to allow filtering of bot edits...siebrand21:09, 8 September 2009

Status & tagging log