Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6928
bug23845.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 11:10 PM
2014-11-21 23:10:29 (UTC+0)
Size
689 B
Referenced Files
None
Subscribers
None
bug23845.patch
View Options
Index: SpecialListfiles.php
===================================================================
--- SpecialListfiles.php (revision 67860)
+++ SpecialListfiles.php (working copy)
@@ -146,7 +146,7 @@
if ( $imgfile === null ) $imgfile = wfMsg( 'imgfile' );
$name = $this->mCurrentRow->img_name;
- $link = $this->getSkin()->linkKnown( Title::makeTitle( NS_FILE, $name ), htmlspecialchars( $value ) );
+ $link = $this->getSkin()->linkKnown( Title::makeTitle( NS_FILE, $name ), htmlspecialchars( str_replace( '_', ' ', $value ) ) );
$image = wfLocalFile( $value );
$url = $image->getURL();
$download = Xml::element('a', array( 'href' => $url ), $imgfile );
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6465
Default Alt Text
bug23845.patch (689 B)
Attached To
Mode
T25845: ListFiles should use spaces instead of underscores
Attached
Detach File
Event Timeline
Log In to Comment