Index: trunk/phase3/includes/filerepo/Image.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | /** |
10 | 10 | * Backwards compatibility class |
11 | 11 | * |
12 | | - * @deprecated |
| 12 | + * @deprecated. Will be removed in 1.18! |
13 | 13 | * @ingroup FileRepo |
14 | 14 | */ |
15 | 15 | class Image extends LocalFile { |
— | — | @@ -23,7 +23,7 @@ |
24 | 24 | * Do not use in core code. |
25 | 25 | * @deprecated |
26 | 26 | */ |
27 | | - static function newFromTitle( $title, $time = false ) { |
| 27 | + static function newFromTitle( $title, $repo, $time = null ) { |
28 | 28 | wfDeprecated( __METHOD__ ); |
29 | 29 | $img = wfFindFile( $title, array( 'time' => $time ) ); |
30 | 30 | if ( !$img ) { |