From 3b5d666da754876aa28ebf61561abe94c97305ff Mon Sep 17 00:00:00 2001 From: Krinkle Date: Sat, 23 Apr 2011 19:38:53 +0000 Subject: [PATCH] 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) --- includes/parser/CoreParserFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ) { -- 2.20.1