r79085 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79084‎ | r79085 | r79086 >
Date:20:02, 27 December 2010
Author:happy-melon
Status:ok
Tags:
Comment:
Follow-up r79084: synchronise keys.
Modified paths:
  • /trunk/phase3/includes/ChangesList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ChangesList.php
@@ -127,6 +127,8 @@
128128 'minor' => 'minoredit',
129129 'bot' => 'botedit',
130130 'unpatrolled' => 'unpatrolled',
 131+ 'minoredit' => 'minoredit',
 132+ 'botedit' => 'botedit',
131133 );
132134 $flag = $map[$flag];
133135
@@ -514,9 +516,9 @@
515517 $s .= $this->recentChangesFlags(
516518 array(
517519 'newpage' => $rc->mAttribs['rc_new'],
518 - 'minoredit' => $rc->mAttribs['rc_minor'],
 520+ 'minor' => $rc->mAttribs['rc_minor'],
519521 'unpatrolled' => $unpatrolled,
520 - 'botedit' => $rc->mAttribs['rc_bot']
 522+ 'bot' => $rc->mAttribs['rc_bot']
521523 ),
522524 ''
523525 );
@@ -830,9 +832,9 @@
831833 # Main line
832834 $r .= '<td class="mw-enhanced-rc">' . $this->recentChangesFlags( array(
833835 'newpage' => $isnew,
834 - 'minoredit' => false,
 836+ 'minor' => false,
835837 'unpatrolled' => $unpatrolled,
836 - 'botedit' => $bot ,
 838+ 'bot' => $bot ,
837839 ) );
838840
839841 # Timestamp
@@ -934,9 +936,9 @@
935937 $r .= '<tr><td></td><td class="mw-enhanced-rc">';
936938 $r .= $this->recentChangesFlags( array(
937939 'newpage' => $rcObj->mAttribs['rc_new'],
938 - 'minoredit' => $rcObj->mAttribs['rc_minor'],
 940+ 'minor' => $rcObj->mAttribs['rc_minor'],
939941 'unpatrolled' => $rcObj->unpatrolled,
940 - 'botedit' => $rcObj->mAttribs['rc_bot'],
 942+ 'bot' => $rcObj->mAttribs['rc_bot'],
941943 ) );
942944 $r .= '&#160;</td><td class="mw-enhanced-rc-nested"><span class="mw-enhanced-rc-time">';
943945
@@ -1077,9 +1079,9 @@
10781080 } else {
10791081 $r .= $this->recentChangesFlags( array(
10801082 'newpage' => $type == RC_NEW,
1081 - 'minoredit' => $rcObj->mAttribs['rc_minor'],
 1083+ 'mino' => $rcObj->mAttribs['rc_minor'],
10821084 'unpatrolled' => $rcObj->unpatrolled,
1083 - 'botedit' => $rcObj->mAttribs['rc_bot'],
 1085+ 'bot' => $rcObj->mAttribs['rc_bot'],
10841086 ) );
10851087 }
10861088 $r .= '&#160;'.$rcObj->timestamp.'&#160;</td><td>';

Follow-up revisions

RevisionCommit summaryAuthorDate
r100510Follow up to r79085. Fixes bug 31408....hartman19:50, 22 October 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79084Follow-up r79083: Fix notices on TW.happy-melon19:50, 27 December 2010

Status & tagging log