Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6076
showfilename.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:49 PM
2014-11-21 22:49:27 (UTC+0)
Size
511 B
Referenced Files
None
Subscribers
None
showfilename.patch
View Options
Index: Parser.php
===================================================================
--- Parser.php (revision 60533)
+++ Parser.php (working copy)
@@ -4383,6 +4383,11 @@
$ig->useSkin( $this->mOptions->getSkin() );
$ig->mRevisionId = $this->mRevisionId;
+ if( isset( $params['showfilename'] ) ) {
+ $ig->setShowFilename( true );
+ } else {
+ $ig->setShowFilename( false );
+ }
if( isset( $params['caption'] ) ) {
$caption = $params['caption'];
$caption = htmlspecialchars( $caption );
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5624
Default Alt Text
showfilename.patch (511 B)
Attached To
Mode
T23981: Auto file name/label feature for <gallery>
Attached
Detach File
Event Timeline
Log In to Comment