From: Rotem Liss Date: Wed, 28 Mar 2007 17:10:05 +0000 (+0000) Subject: Fixing a regression (caused by r20473 and then r20525) that the move revert link... X-Git-Tag: 1.31.0-rc.0~53560 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=45458120fe85b527e79acc581a64ce4919ff0d34;p=lhc%2Fweb%2Fwiklou.git Fixing a regression (caused by r20473 and then r20525) that the move revert link was not shown. --- 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' ) ) {