Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4902
patch1.diff
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 10:11 PM
2014-11-21 22:11:17 (UTC+0)
Size
516 B
Referenced Files
None
Subscribers
None
patch1.diff
View Options
Index: includes/parser/CoreParserFunctions.php
===================================================================
--- includes/parser/CoreParserFunctions.php (revision 41835)
+++ includes/parser/CoreParserFunctions.php (working copy)
@@ -342,8 +344,8 @@
$file = wfFindFile( $name );
if( $file ) {
$url = $file->getFullUrl();
- if( $option == 'nowiki' ) {
- return "<nowiki>$url</nowiki>";
+ if ($option == 'nowiki') {
+ return array( $url, 'nowiki' => true );
}
return $url;
} else {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4466
Default Alt Text
patch1.diff (516 B)
Attached To
Mode
T15835: {{filepath:Wiki.png|nowiki}} renders wrong with the new parser PP
Attached
Detach File
Event Timeline
Log In to Comment