Revision: 47930
Author:   werdna
Date:     2009-03-02 14:17:08 +0000 (Mon, 02 Mar 2009)

Log Message:
-----------
Fix careless error in suppression on SpecialDeletedContributions.

Modified Paths:
--------------
    trunk/phase3/includes/specials/SpecialContributions.php
    trunk/phase3/includes/specials/SpecialDeletedContributions.php
    trunk/phase3/includes/specials/SpecialNewpages.php
    trunk/phase3/includes/specials/SpecialRecentchanges.php

Modified: trunk/phase3/includes/specials/SpecialContributions.php
===================================================================
--- trunk/phase3/includes/specials/SpecialContributions.php     2009-03-02 
12:41:34 UTC (rev 47929)
+++ trunk/phase3/includes/specials/SpecialContributions.php     2009-03-02 
14:17:08 UTC (rev 47930)
@@ -398,7 +398,12 @@
                        'join_conds' => $join_cond
                );
                
-               ChangeTags::modifyDisplayQuery( $queryInfo['tables'], 
$queryInfo['fields'], $queryInfo['conds'], $queryInfo['join_conds'], 
$this->tagFilter );
+               ChangeTags::modifyDisplayQuery( $queryInfo['tables'],
+                                                                               
$queryInfo['fields'],
+                                                                               
$queryInfo['conds'],
+                                                                               
$queryInfo['join_conds'],
+                                                                               
$queryInfo['options'],
+                                                                               
$this->tagFilter );
                
                wfRunHooks( 'ContribsPager::getQueryInfo', array( &$this, 
&$queryInfo ) );
                return $queryInfo;

Modified: trunk/phase3/includes/specials/SpecialDeletedContributions.php
===================================================================
--- trunk/phase3/includes/specials/SpecialDeletedContributions.php      
2009-03-02 12:41:34 UTC (rev 47929)
+++ trunk/phase3/includes/specials/SpecialDeletedContributions.php      
2009-03-02 14:17:08 UTC (rev 47930)
@@ -115,7 +115,7 @@
                                'user_text'  => $row->ar_user_text,
                                'timestamp'  => $row->ar_timestamp,
                                'minor_edit' => $row->ar_minor_edit,
-                               'rev_deleted' => $row->ar_deleted,
+                               'deleted' => $row->ar_deleted,
                                ) );
 
                $page = Title::makeTitle( $row->ar_namespace, $row->ar_title );

Modified: trunk/phase3/includes/specials/SpecialNewpages.php
===================================================================
--- trunk/phase3/includes/specials/SpecialNewpages.php  2009-03-02 12:41:34 UTC 
(rev 47929)
+++ trunk/phase3/includes/specials/SpecialNewpages.php  2009-03-02 14:17:08 UTC 
(rev 47930)
@@ -438,7 +438,12 @@
                $fields = array();
 
                ## Modify query for tags
-               ChangeTags::modifyDisplayQuery( $info['tables'], $fields, 
$info['conds'], $info['join_conds'], $this->opts['tagfilter'] );
+               ChangeTags::modifyDisplayQuery( $info['tables'],
+                                                                               
$fields,
+                                                                               
$info['conds'],
+                                                                               
$info['join_conds'],
+                                                                               
$info['options'],
+                                                                               
$this->opts['tagfilter'] );
 
                return $info;
        }

Modified: trunk/phase3/includes/specials/SpecialRecentchanges.php
===================================================================
--- trunk/phase3/includes/specials/SpecialRecentchanges.php     2009-03-02 
12:41:34 UTC (rev 47929)
+++ trunk/phase3/includes/specials/SpecialRecentchanges.php     2009-03-02 
14:17:08 UTC (rev 47930)
@@ -287,7 +287,8 @@
                }
 
                // Tag stuff.
-               $fields = array(); // Fields are * in this case, so let the 
function modify an empty array to keep it happy.
+               $fields = array();
+               // Fields are * in this case, so let the function modify an 
empty array to keep it happy.
                ChangeTags::modifyDisplayQuery( $tables, $fields, $conds, 
$join_conds, $opts['tagfilter'] );
 
                wfRunHooks('SpecialRecentChangesQuery', array( &$conds, 
&$tables, &$join_conds, $opts ) );



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to