r111422 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111421‎ | r111422 | r111423 >
Date:21:29, 13 February 2012
Author:reedy
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/wmf/1.19wmf1 (modified) (history)
  • /branches/wmf/1.19wmf1/includes (modified) (history)
  • /branches/wmf/1.19wmf1/includes/api (modified) (history)
  • /branches/wmf/1.19wmf1/includes/api/ApiWatch.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.19wmf1/includes/api/ApiWatch.php
@@ -52,11 +52,11 @@
5353
5454 if ( $params['unwatch'] ) {
5555 $res['unwatched'] = '';
56 - $res['message'] = wfMsgExt( 'removedwatchtext', array( 'parse' ), $title->getPrefixedText() );
 56+ $res['message'] = $this->msg( 'removedwatchtext', $title->getPrefixedText() )->title( $title )->parseAsBlock();
5757 $success = UnwatchAction::doUnwatch( $title, $user );
5858 } else {
5959 $res['watched'] = '';
60 - $res['message'] = wfMsgExt( 'addedwatchtext', array( 'parse' ), $title->getPrefixedText() );
 60+ $res['message'] = $this->msg( 'addedwatchtext', $title->getPrefixedText() )->title( $title )->parseAsBlock();
6161 $success = WatchAction::doWatch( $title, $user );
6262 }
6363 if ( !$success ) {
Property changes on: branches/wmf/1.19wmf1/includes/api
___________________________________________________________________
Modified: svn:mergeinfo
6464 Merged /trunk/phase3/includes/api:r111397
Property changes on: branches/wmf/1.19wmf1/includes
___________________________________________________________________
Modified: svn:mergeinfo
6565 Merged /trunk/phase3/includes:r111397
Property changes on: branches/wmf/1.19wmf1
___________________________________________________________________
Modified: svn:mergeinfo
6666 Merged /trunk/phase3:r111397

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111397* (bug 34377) action=watch now parses messages using the correct title instea...ialex18:42, 13 February 2012

Status & tagging log