From: umherirrender Date: Mon, 4 Aug 2014 17:49:08 +0000 (+0200) Subject: Remove 'move' from LogPage::getTitleLink X-Git-Tag: 1.31.0-rc.0~13892^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/Dunav?a=commitdiff_plain;h=1ac209eba83e39f97592d83df09ffbebb031c7d1;p=lhc%2Fweb%2Fwiklou.git Remove 'move' from LogPage::getTitleLink LogPage::getTitleLink only called for log types which are in $wgLogActions, but move is not there. Change-Id: I230b25988f9a420970d807437263798e5ad1db69 --- diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php index ce5b972fc0..b0b23babe4 100644 --- a/includes/logging/LogPage.php +++ b/includes/logging/LogPage.php @@ -371,26 +371,6 @@ class LogPage { } switch ( $type ) { - case 'move': - $titleLink = Linker::link( - $title, - htmlspecialchars( $title->getPrefixedText() ), - array(), - array( 'redirect' => 'no' ) - ); - - $targetTitle = Title::newFromText( $params[0] ); - - if ( !$targetTitle ) { - # Workaround for broken database - $params[0] = htmlspecialchars( $params[0] ); - } else { - $params[0] = Linker::link( - $targetTitle, - htmlspecialchars( $params[0] ) - ); - } - break; case 'block': if ( substr( $title->getText(), 0, 1 ) == '#' ) { $titleLink = $title->getText();