jenkins-bot has submitted this change and it was merged.
Change subject: Remove 'move' from LogPage::getTitleLink
......................................................................
Remove 'move' from LogPage::getTitleLink
LogPage::getTitleLink only called for log types which are in
$wgLogActions, but move is not there.
Change-Id: I230b25988f9a420970d807437263798e5ad1db69
---
M includes/logging/LogPage.php
1 file changed, 0 insertions(+), 20 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php
index ce5b972..b0b23ba 100644
--- a/includes/logging/LogPage.php
+++ b/includes/logging/LogPage.php
@@ -371,26 +371,6 @@
}
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();
--
To view, visit https://gerrit.wikimedia.org/r/151684
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I230b25988f9a420970d807437263798e5ad1db69
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: IAlex <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits