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 @@
697
697
}
698
698
699
699
if ( $file ) {
700
- $url = $file->getUrl();
700
+ $url = $file->getFullUrl();
701
701
702
702
// If a size is requested...
703
703
if ( is_integer( $size ) ) {
Follow-up revisions
Revision
Commit summary
Author
Date
r87353
1.17wmf1: MFT
r85546
,
r86409
,
r86450
,
r86625
,
r86788
,
r86805
,
r86841
,
r86904
,...
catrope
20:27, 3 May 2011
Status & tagging log
20:33, 3 May 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r86788
[
removed:
1.17wmf1]
11:57, 25 April 2011
Catrope
(
talk
|
contribs
)
changed the
tags
for r86788
[
added:
1.17wmf1]
11:56, 25 April 2011
Catrope
(
talk
|
contribs
)
changed the
status
of r86788
[
removed:
new
added:
ok]