r75819 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r75818
|
r75819
|
r75820
>
Date:
19:36, 1 November 2010
Author:
hartman
Status:
ok
Tags:
Comment:
Follow up
r75749
. Fixes a case with a linked thumbnail of a non-existant image.
Apparently makeThumbLink2() does handle non-existing files.
Modified paths:
/trunk/phase3/includes/Linker.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Linker.php
—
—
@@ -492,7 +492,7 @@
493
493
}
494
494
}
495
495
496
- if ( $file && ( isset( $fp['thumbnail'] ) || isset( $fp['manualthumb'] ) || isset( $fp['framed'] ) ) ) {
496
+ if ( isset( $fp['thumbnail'] ) || isset( $fp['manualthumb'] ) || isset( $fp['framed'] ) ) {
497
497
global $wgContLang;
498
498
# Create a thumbnail. Alignment depends on language
499
499
# writing direction, # right aligned for left-to-right-
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r75749
Upscale thumbnails of SVGs if the nominal size of the SVG is smaller than the...
hartman
21:53, 31 October 2010
Status & tagging log
00:32, 5 December 2010
Platonides
(
talk
|
contribs
)
changed the
status
of r75819
[
removed:
new
added:
ok]