From 45458120fe85b527e79acc581a64ce4919ff0d34 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Wed, 28 Mar 2007 17:10:05 +0000 Subject: [PATCH] Fixing a regression (caused by r20473 and then r20525) that the move revert link was not shown. --- includes/SpecialLog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index d258d5934e..0d11f41cff 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -347,12 +347,12 @@ class LogViewer { if ( $s->log_type == 'move' && isset( $paramArray[0] ) ) { $destTitle = Title::newFromText( $paramArray[0] ); if ( $destTitle ) { - $reviewlink = $this->skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Movepage' ), + $revert = '(' . $this->skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Movepage' ), wfMsg( 'revertmove' ), 'wpOldTitle=' . urlencode( $destTitle->getPrefixedDBkey() ) . '&wpNewTitle=' . urlencode( $title->getPrefixedDBkey() ) . '&wpReason=' . urlencode( wfMsgForContent( 'revertmove' ) ) . - '&wpMovetalk=0' ); + '&wpMovetalk=0' ) . ')'; } // show undelete link } elseif ( $s->log_action == 'delete' && $wgUser->isAllowed( 'delete' ) ) { -- 2.20.1