Page MenuHomePhabricator

patch1.diff

Authored By
bzimport
Nov 21 2014, 10:11 PM
Size
516 B
Referenced Files
None
Subscribers
None

patch1.diff

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

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4466
Default Alt Text
patch1.diff (516 B)

Event Timeline