Index: trunk/phase3/includes/filerepo/ForeignAPIRepo.php |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | |
96 | 96 | function getImageInfo( $title, $time = false ) { |
97 | 97 | return $this->queryImage( array( |
98 | | - 'titles' => 'Image:' . $title->getText(), |
| 98 | + 'titles' => MWNamespace::getCanonicalName( NS_IMAGE ) . ':' . $title->getText(), |
99 | 99 | 'iiprop' => 'timestamp|user|comment|url|size|sha1|metadata|mime' ) ); |
100 | 100 | } |
101 | 101 | |