From: Robin Pepermans Date: Thu, 7 Jul 2011 21:07:51 +0000 (+0000) Subject: Fix r91685: add space at the right place. X-Git-Tag: 1.31.0-rc.0~28999 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=488e21072d9cf0350e709b45cd980977c3f0b05f;p=lhc%2Fweb%2Fwiklou.git Fix r91685: add space at the right place. (Also removing unused variable in protectedtitles.) --- 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"; } /**