r64302 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64301‎ | r64302 | r64303 >
Date:19:23, 28 March 2010
Author:reedy
Status:ok
Tags:
Comment:
Switch if ordering as per Roans comment for r64291
Modified paths:
  • /trunk/phase3/includes/api/ApiBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiBase.php
@@ -543,7 +543,7 @@
544544 return false;
545545 case 'preferences':
546546 global $wgUser;
547 - if ( $titleObj->exists() && !$titleObj->userIsWatching() && $wgUser->getOption( 'watchdefault' ) ) {
 547+ if ( $titleObj->exists() && $wgUser->getOption( 'watchdefault' ) && !$titleObj->userIsWatching() ) {
548548 return true;
549549 }
550550 return null;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64291Followup r64197...reedy15:08, 28 March 2010

Status & tagging log