From: Ævar Arnfjörð Bjarmason Date: Sun, 19 Jun 2005 15:23:01 +0000 (+0000) Subject: * Special:Imagelist displays titles with " " instead of "_" X-Git-Tag: 1.5.0beta1~140 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/categories/Foobar?a=commitdiff_plain;h=136465e574797f01c390e901e6df4fec941169bc;p=lhc%2Fweb%2Fwiklou.git * Special:Imagelist displays titles with " " instead of "_" --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index cdb9a9c21d..080133fac1 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -298,6 +298,7 @@ Various bugfixes, small features, and a few experimental things: * (bug 2277) Added Friulian language file * (bug 2457) The "Special page" href now links to the current special page rather than to "". +* Special:Imagelist displays titles with " " instead of "_" * Less gratuitous munging of content sample in delete summary * badaccess/badaccesstext to supercede sysop*, developer* messages * Changed $wgGroupPermissions to more cut-n-paste-friendly format diff --git a/includes/SpecialImagelist.php b/includes/SpecialImagelist.php index 6e7cf99ec8..1ac3384680 100644 --- a/includes/SpecialImagelist.php +++ b/includes/SpecialImagelist.php @@ -117,7 +117,7 @@ function wfSpecialImagelist() { } $ilink = "" . htmlspecialchars( $name ) . ""; + "\">" . strtr(htmlspecialchars( $name ), '_', ' ') . ""; $nb = wfMsg( "nbytes", $wgLang->formatNum( $s->img_size ) ); $l = "(" .