Index: trunk/extensions/SpecialFileList/SpecialFilelist.php |
— | — | @@ -179,7 +179,7 @@ |
180 | 180 | $ut = $s->img_user_text; |
181 | 181 | |
182 | 182 | $nt = Title::newFromText( $name, NS_IMAGE ); |
183 | | - $img = Image::newFromTitle( $nt ); |
| 183 | + $img = new Image( $nt ); |
184 | 184 | $ul = $this->sk->makeLinkObj( Title::makeTitle( NS_USER, $ut ), $ut ); |
185 | 185 | |
186 | 186 | $gallery->add( $img, "$ul<br />\n<i>".$wgLang->timeanddate( $s->img_timestamp, true )."</i><br />\n" ); |