From: Happy-melon Date: Mon, 27 Dec 2010 20:02:10 +0000 (+0000) Subject: Follow-up r79084: synchronise keys. X-Git-Tag: 1.31.0-rc.0~33049 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=9466a35de515d052225d774d21bc807deccc6438;p=lhc%2Fweb%2Fwiklou.git Follow-up r79084: synchronise keys. --- diff --git a/includes/ChangesList.php b/includes/ChangesList.php index 745fadfb03..9e2d43c823 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -127,6 +127,8 @@ class ChangesList { 'minor' => 'minoredit', 'bot' => 'botedit', 'unpatrolled' => 'unpatrolled', + 'minoredit' => 'minoredit', + 'botedit' => 'botedit', ); $flag = $map[$flag]; @@ -514,9 +516,9 @@ class OldChangesList extends ChangesList { $s .= $this->recentChangesFlags( array( 'newpage' => $rc->mAttribs['rc_new'], - 'minoredit' => $rc->mAttribs['rc_minor'], + 'minor' => $rc->mAttribs['rc_minor'], 'unpatrolled' => $unpatrolled, - 'botedit' => $rc->mAttribs['rc_bot'] + 'bot' => $rc->mAttribs['rc_bot'] ), '' ); @@ -830,9 +832,9 @@ class EnhancedChangesList extends ChangesList { # Main line $r .= '' . $this->recentChangesFlags( array( 'newpage' => $isnew, - 'minoredit' => false, + 'minor' => false, 'unpatrolled' => $unpatrolled, - 'botedit' => $bot , + 'bot' => $bot , ) ); # Timestamp @@ -934,9 +936,9 @@ class EnhancedChangesList extends ChangesList { $r .= ''; $r .= $this->recentChangesFlags( array( 'newpage' => $rcObj->mAttribs['rc_new'], - 'minoredit' => $rcObj->mAttribs['rc_minor'], + 'minor' => $rcObj->mAttribs['rc_minor'], 'unpatrolled' => $rcObj->unpatrolled, - 'botedit' => $rcObj->mAttribs['rc_bot'], + 'bot' => $rcObj->mAttribs['rc_bot'], ) ); $r .= ' '; @@ -1077,9 +1079,9 @@ class EnhancedChangesList extends ChangesList { } else { $r .= $this->recentChangesFlags( array( 'newpage' => $type == RC_NEW, - 'minoredit' => $rcObj->mAttribs['rc_minor'], + 'mino' => $rcObj->mAttribs['rc_minor'], 'unpatrolled' => $rcObj->unpatrolled, - 'botedit' => $rcObj->mAttribs['rc_bot'], + 'bot' => $rcObj->mAttribs['rc_bot'], ) ); } $r .= ' '.$rcObj->timestamp.' ';