From: Raimond Spekking Date: Thu, 24 Jan 2008 12:54:18 +0000 (+0000) Subject: * Move special case from core to the Newuserlog extension itself. X-Git-Tag: 1.31.0-rc.0~49803 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22auteur_infos%22%2C%20%22id_auteur=%24id%22%29%20.%20%22?a=commitdiff_plain;h=0ae09dbc15274479023416b034407d3f4102a1ee;p=lhc%2Fweb%2Fwiklou.git * Move special case from core to the Newuserlog extension itself. --- diff --git a/includes/SpecialLog.php b/includes/SpecialLog.php index aa3f66b195..be8649b76b 100644 --- a/includes/SpecialLog.php +++ b/includes/SpecialLog.php @@ -394,17 +394,6 @@ class LogViewer { // show change protection link } elseif ( ( $s->log_action == 'protect' || $s->log_action == 'modify' ) && $wgUser->isAllowed( 'protect' ) ) { $revert = '(' . $skin->makeKnownLinkObj( $title, wfMsg( 'protect_change' ), 'action=unprotect' ) . ')'; - // show user tool links for self created users - // @todo The extension should be handling this, get it out of core! E.g. Use the hook below. - } elseif ( $s->log_action == 'create2' ) { - if( isset( $paramArray[0] ) ) { - $revert = $this->skin->userToolLinks( $paramArray[0], $s->log_title, true ); - } else { - # Fall back to a blue contributions link - $revert = $this->skin->userToolLinks( 1, $s->log_title ); - } - # Suppress $comment from old entries, not needed and can contain incorrect links - $comment = ''; // Show unmerge link } elseif ( $s->log_action == 'merge' ) { $merge = SpecialPage::getTitleFor( 'Mergehistory' );