Unbreak missing flags in enhanced RC
$this->recentChangesFlags() was being called on the data twice, so the
second time it was processing the string, causing the flags go missing.
Follows-up 94f153db6a.
Bug: T105237
Change-Id: I04465d0317eecc1c12e47bc9a74f11986eba99a4
This commit is contained in:
parent
2dea059bd5
commit
a220d8b830
1 changed files with 2 additions and 2 deletions
|
|
@ -544,12 +544,12 @@ class EnhancedChangesList extends ChangesList {
|
|||
? 'mw-changeslist-line-watched' : 'mw-changeslist-line-not-watched';
|
||||
|
||||
# Flag and Timestamp
|
||||
$data['recentChangesFlags'] = $this->recentChangesFlags( array(
|
||||
$data['recentChangesFlags'] = array(
|
||||
'newpage' => $type == RC_NEW,
|
||||
'minor' => $rcObj->mAttribs['rc_minor'],
|
||||
'unpatrolled' => $rcObj->unpatrolled,
|
||||
'bot' => $rcObj->mAttribs['rc_bot'],
|
||||
) );
|
||||
);
|
||||
// timestamp is not really a link here, but is called timestampLink
|
||||
// for consistency with EnhancedChangesListModifyLineData
|
||||
$data['timestampLink'] = $rcObj->timestamp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue