fixfix (thx brion!)
authorIlmari Karonen <vyznev@users.mediawiki.org>
Sun, 3 Dec 2006 00:42:32 +0000 (00:42 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Sun, 3 Dec 2006 00:42:32 +0000 (00:42 +0000)
includes/SpecialContributions.php

index 57fc9bf..01a346f 100644 (file)
@@ -213,7 +213,6 @@ class ContributionsPage extends QueryPage {
                                rev_user       AS userid,
                                rev_user_text  AS username,
                                rev_minor_edit AS is_minor,
-                               page_is_new    AS is_new,
                                page_latest    AS cur_id,
                                rev_id         AS rev_id,
                                rev_comment    AS comment,
@@ -227,7 +226,7 @@ class ContributionsPage extends QueryPage {
         * and user talk pages that will be shown in the list.
         */
        function preprocessResults( $dbr, $res ) {
-               if ( !$self->newbies )
+               if ( !$this->newbies )
                        return;
 
                // Do a batch existence check for user and talk pages
@@ -290,7 +289,7 @@ class ContributionsPage extends QueryPage {
                else
                        $diff = $messages['diff'];
 
-               if( $row->minor )
+               if( $row->is_minor )
                        $mflag = '<span class="minor">' . $messages['minoreditletter'] . '</span> ';
                else
                        $mflag = '';