http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84643

Revision: 84643
Author:   happy-melon
Date:     2011-03-23 22:29:56 +0000 (Wed, 23 Mar 2011)
Log Message:
-----------
Follow-up r79723: even nicer whitespace :D

Modified Paths:
--------------
    trunk/phase3/includes/WatchlistEditor.php

Modified: trunk/phase3/includes/WatchlistEditor.php
===================================================================
--- trunk/phase3/includes/WatchlistEditor.php   2011-03-23 22:13:09 UTC (rev 
84642)
+++ trunk/phase3/includes/WatchlistEditor.php   2011-03-23 22:29:56 UTC (rev 
84643)
@@ -212,14 +212,23 @@
                $dbr = wfGetDB( DB_MASTER );
 
                $res = $dbr->select(
-                                       array( 'watchlist', 'page' ),
-                                       array( 'wl_namespace', 'wl_title', 
'page_id', 'page_len', 'page_is_redirect', 'page_latest' ),
-                                       array( 'wl_user' => $user->getId() ),
-                                       __METHOD__,
-                                       array( 'ORDER BY' => 'wl_namespace, 
wl_title' ),
-                                       array( 'page' =>
-                                               array( 'LEFT JOIN', 
'wl_namespace = page_namespace AND wl_title = page_title' ) )
-                               );
+                       array( 'watchlist', 'page' ),
+                       array(
+                               'wl_namespace',
+                               'wl_title',
+                               'page_id',
+                               'page_len',
+                               'page_is_redirect',
+                               'page_latest'
+                       ),
+                       array( 'wl_user' => $user->getId() ),
+                       __METHOD__,
+                       array( 'ORDER BY' => 'wl_namespace, wl_title' ),
+                       array( 'page' => array(
+                               'LEFT JOIN',
+                               'wl_namespace = page_namespace AND wl_title = 
page_title'
+                       ) )
+               );
 
                if( $res && $dbr->numRows( $res ) > 0 ) {
                        $cache = LinkCache::singleton();


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to