Index: trunk/phase3/includes/specials/SpecialNewimages.php |
— | — | @@ -114,7 +114,7 @@ |
115 | 115 | $name = $row->img_name; |
116 | 116 | $user = User::newFromId( $row->img_user ); |
117 | 117 | |
118 | | - $title = Title::newFromText( $name, NS_FILE ); |
| 118 | + $title = Title::makeTitle( NS_FILE, $name ); |
119 | 119 | $ul = $this->skin->link( $user->getUserpage(), $user->getName() ); |
120 | 120 | |
121 | 121 | $this->gallery->add( |