From 1ac209eba83e39f97592d83df09ffbebb031c7d1 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Mon, 4 Aug 2014 19:49:08 +0200 Subject: [PATCH] Remove 'move' from LogPage::getTitleLink LogPage::getTitleLink only called for log types which are in $wgLogActions, but move is not there. Change-Id: I230b25988f9a420970d807437263798e5ad1db69 --- includes/logging/LogPage.php | 20 -------------------- 1 file changed, 20 deletions(-) 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(); -- 2.20.1