r33002 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33001‎ | r33002 | r33003 >
Date:01:20, 9 April 2008
Author:aaron
Status:old
Tags:
Comment:
LEFT JOIN on page, this picks up deletion log and salting stuff
Modified paths:
  • /trunk/phase3/includes/SpecialWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialWatchlist.php
@@ -187,11 +187,11 @@
188188 $wltsfield=", ${watchlist}.wl_notificationtimestamp ";
189189 }
190190 $sql = "SELECT ${recentchanges}.* ${wltsfield}
191 - FROM $watchlist,$recentchanges,$page
 191+ FROM $watchlist,$recentchanges
 192+ LEFT JOIN $page ON rc_cur_id=page_id
192193 WHERE wl_user=$uid
193194 AND wl_namespace=rc_namespace
194195 AND wl_title=rc_title
195 - AND rc_cur_id=page_id
196196 $andcutoff
197197 $andLatest
198198 $andHideOwn

Status & tagging log