From: Aaron Schulz Date: Thu, 15 Mar 2007 01:13:47 +0000 (+0000) Subject: *Fix bug causing (revert) links not to show for moves X-Git-Tag: 1.31.0-rc.0~53724 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=fd50c397ad027ab0a5a8809de6a0524d06f19a6a;p=lhc%2Fweb%2Fwiklou.git *Fix bug causing (revert) links not to show for moves --- 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' ) ) {