From: Krinkle Date: Sat, 23 Apr 2011 19:38:53 +0000 (+0000) Subject: Change getUrl to getFullUrl for {{filepath:Filename.jpg}} of non-thumbd local files... X-Git-Tag: 1.31.0-rc.0~30596 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=3b5d666da754876aa28ebf61561abe94c97305ff;p=lhc%2Fweb%2Fwiklou.git Change getUrl to getFullUrl for {{filepath:Filename.jpg}} of non-thumbd local files. This way it matches the paths for thumbnails and for foreign files. (bug 28618) --- diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index ab970e403d..854676eb9b 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -696,7 +696,7 @@ class CoreParserFunctions { } if ( $file ) { - $url = $file->getUrl(); + $url = $file->getFullUrl(); // If a size is requested... if ( is_integer( $size ) ) {