From 488e21072d9cf0350e709b45cd980977c3f0b05f Mon Sep 17 00:00:00 2001 From: Robin Pepermans Date: Thu, 7 Jul 2011 21:07:51 +0000 Subject: [PATCH] Fix r91685: add space at the right place. (Also removing unused variable in protectedtitles.) --- includes/GlobalFunctions.php | 2 +- includes/specials/SpecialProtectedtitles.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index bba1ac028f..63b621f184 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -2516,7 +2516,7 @@ function wfSpecialList( $page, $details, $oppositedm = true ) { global $wgLang; $dirmark = ( $oppositedm ? $wgLang->getDirMark( true ) : '' ) . $wgLang->getDirMark(); - $details = $details ? ' ' . $dirmark . "($details)" : ''; + $details = $details ? $dirmark . " ($details)" : ''; return $page . $details; } diff --git a/includes/specials/SpecialProtectedtitles.php b/includes/specials/SpecialProtectedtitles.php index d75b9c8e86..dfe356ea87 100644 --- a/includes/specials/SpecialProtectedtitles.php +++ b/includes/specials/SpecialProtectedtitles.php @@ -92,8 +92,6 @@ class SpecialProtectedtitles extends SpecialPage { $description_items[] = $protType; - $stxt = ''; - if ( $row->pt_expiry != 'infinity' && strlen($row->pt_expiry) ) { $expiry = $wgLang->formatExpiry( $row->pt_expiry ); @@ -104,7 +102,7 @@ class SpecialProtectedtitles extends SpecialPage { wfProfileOut( __METHOD__ ); - return '
  • ' . wfSpecialList( $link . $stxt, implode( $description_items, ', ' ) ) . "
  • \n"; + return '
  • ' . wfSpecialList( $link, implode( $description_items, ', ' ) ) . "
  • \n"; } /** -- 2.20.1