Index: branches/wmf/1.19wmf1/includes/api/ApiWatch.php |
— | — | @@ -52,11 +52,11 @@ |
53 | 53 | |
54 | 54 | if ( $params['unwatch'] ) { |
55 | 55 | $res['unwatched'] = ''; |
56 | | - $res['message'] = wfMsgExt( 'removedwatchtext', array( 'parse' ), $title->getPrefixedText() ); |
| 56 | + $res['message'] = $this->msg( 'removedwatchtext', $title->getPrefixedText() )->title( $title )->parseAsBlock(); |
57 | 57 | $success = UnwatchAction::doUnwatch( $title, $user ); |
58 | 58 | } else { |
59 | 59 | $res['watched'] = ''; |
60 | | - $res['message'] = wfMsgExt( 'addedwatchtext', array( 'parse' ), $title->getPrefixedText() ); |
| 60 | + $res['message'] = $this->msg( 'addedwatchtext', $title->getPrefixedText() )->title( $title )->parseAsBlock(); |
61 | 61 | $success = WatchAction::doWatch( $title, $user ); |
62 | 62 | } |
63 | 63 | if ( !$success ) { |
Property changes on: branches/wmf/1.19wmf1/includes/api |
___________________________________________________________________ |
Modified: svn:mergeinfo |
64 | 64 | Merged /trunk/phase3/includes/api:r111397 |
Property changes on: branches/wmf/1.19wmf1/includes |
___________________________________________________________________ |
Modified: svn:mergeinfo |
65 | 65 | Merged /trunk/phase3/includes:r111397 |
Property changes on: branches/wmf/1.19wmf1 |
___________________________________________________________________ |
Modified: svn:mergeinfo |
66 | 66 | Merged /trunk/phase3:r111397 |