From fd50c397ad027ab0a5a8809de6a0524d06f19a6a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 15 Mar 2007 01:13:47 +0000 Subject: [PATCH] *Fix bug causing (revert) links not to show for moves --- includes/SpecialLog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index 90aa906627..3e3f007463 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -585,12 +585,12 @@ class LogViewer { if ( $s->log_type == 'move' && isset( $paramArray[0] ) ) { $destTitle = Title::newFromText( $paramArray[0] ); if ( $destTitle ) { - $revert = '(' . $this->skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Movepage' ), + $reviewlink = $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 } else if ( $s->log_action == 'delete' && $wgUser->isAllowed( 'delete' ) ) { -- 2.20.1