r96673 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96672‎ | r96673 | r96674 >
Date:17:34, 9 September 2011
Author:aaron
Status:ok
Tags:
Comment:
FU r81612: use getRawText() in leaveUserMessage()
Modified paths:
  • /trunk/extensions/NewUserMessage/NewUserMessage.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/NewUserMessage/NewUserMessage.class.php
@@ -224,7 +224,7 @@
225225 $flags = $article->checkFlags( $flags );
226226
227227 if ( $flags & EDIT_UPDATE ) {
228 - $text = $article->getContent() . $text;
 228+ $text = $article->getRawText() . $text;
229229 }
230230
231231 $dbw = wfGetDB( DB_MASTER );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r81612Per CR r66438 and IRC, revert User::leaveNewMessage for now. Copied the funct...btongminh22:44, 6 February 2011

Status & tagging log