r111950 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111949‎ | r111950 | r111951 >
Date:18:39, 20 February 2012
Author:aaron
Status:ok
Tags:
Comment:
r99633: Fixed raw access to context field, which is lazy-loaded and thus the relevant code was broken (bug 34544)
Modified paths:
  • /trunk/phase3/includes/RevisionList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/RevisionList.php
@@ -270,7 +270,7 @@
271271 public function __construct( $list, $row ) {
272272 parent::__construct( $list, $row );
273273 $this->revision = new Revision( $row );
274 - $this->context = $list->context;
 274+ $this->context = $list->getContext();
275275 }
276276
277277 public function getIdField() {

Sign-offs

UserFlagDate
Nikerabbitinspected07:50, 21 February 2012

Follow-up revisions

RevisionCommit summaryAuthorDate
r111952MFT r111950aaron18:43, 20 February 2012

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99633* Added User paremeter to Revision::userCan(), Revision::userCanBitfield(), L...ialex15:09, 12 October 2011

Status & tagging log