From 63601400e476c6cf43d985f3e7b9864681695ed4 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 18 Jan 2013 16:46:04 +0100 Subject: Update to MediaWiki 1.20.2 this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024 --- includes/actions/RollbackAction.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/actions/RollbackAction.php') diff --git a/includes/actions/RollbackAction.php b/includes/actions/RollbackAction.php index ebb34c78..0d9a9027 100644 --- a/includes/actions/RollbackAction.php +++ b/includes/actions/RollbackAction.php @@ -63,7 +63,7 @@ class RollbackAction extends FormlessAction { $current = $details['current']; if ( $current->getComment() != '' ) { - $this->getOutput()->addHTML( wfMessage( 'editcomment' )->rawParams( + $this->getOutput()->addHTML( $this->msg( 'editcomment' )->rawParams( Linker::formatComment( $current->getComment() ) )->parse() ); } } @@ -97,7 +97,7 @@ class RollbackAction extends FormlessAction { $this->getOutput()->setRobotPolicy( 'noindex,nofollow' ); if ( $current->getUserText() === '' ) { - $old = wfMsg( 'rev-deleted-user' ); + $old = $this->msg( 'rev-deleted-user' )->escaped(); } else { $old = Linker::userLink( $current->getUser(), $current->getUserText() ) . Linker::userToolLinks( $current->getUser(), $current->getUserText() ); @@ -105,7 +105,7 @@ class RollbackAction extends FormlessAction { $new = Linker::userLink( $target->getUser(), $target->getUserText() ) . Linker::userToolLinks( $target->getUser(), $target->getUserText() ); - $this->getOutput()->addHTML( wfMsgExt( 'rollback-success', array( 'parse', 'replaceafter' ), $old, $new ) ); + $this->getOutput()->addHTML( $this->msg( 'rollback-success' )->rawParams( $old, $new )->parseAsBlock() ); $this->getOutput()->returnToMain( false, $this->getTitle() ); if ( !$request->getBool( 'hidediff', false ) && !$this->getUser()->getBoolOption( 'norollbackdiff', false ) ) { -- cgit v1.2.3-54-g00ecf