r86788 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86787‎ | r86788 | r86789 >
Date:19:38, 23 April 2011
Author:krinkle
Status:ok
Tags:
Comment:
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)
Modified paths:
  • /trunk/phase3/includes/parser/CoreParserFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/parser/CoreParserFunctions.php
@@ -696,7 +696,7 @@
697697 }
698698
699699 if ( $file ) {
700 - $url = $file->getUrl();
 700+ $url = $file->getFullUrl();
701701
702702 // If a size is requested...
703703 if ( is_integer( $size ) ) {

Follow-up revisions

RevisionCommit summaryAuthorDate
r873531.17wmf1: MFT r85546, r86409, r86450, r86625, r86788, r86805, r86841, r86904,...catrope20:27, 3 May 2011

Status & tagging log