r45814 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45813‎ | r45814 | r45815 >
Date:21:55, 16 January 2009
Author:werdna
Status:deferred
Tags:
Comment:
Merge in r45793.
Modified paths:
  • /branches/change-tagging/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: branches/change-tagging/phase3/includes/Article.php
@@ -970,7 +970,7 @@
971971 # Only diffs and new page links from RC give rcid params, so if
972972 # we are just viewing the page normally with no rcid, try to find it.
973973 # This is more convenient for users.
974 - if( empty($rcid) && $this->mTitle->userCan('patrol') ) {
 974+ if( empty($rcid) && $this->mTitle->exists() && $this->mTitle->userCan('patrol') ) {
975975 $firstRev = $this->mTitle->getFirstRevision();
976976 $rcid = $firstRev->isUnpatrolled();
977977 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r45793Tweak r45778, check exists()aaron13:23, 16 January 2009

Status & tagging log