From 136465e574797f01c390e901e6df4fec941169bc Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Sun, 19 Jun 2005 15:23:01 +0000 Subject: [PATCH] * Special:Imagelist displays titles with " " instead of "_" --- RELEASE-NOTES | 1 + includes/SpecialImagelist.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 = "(" . -- 2.20.1