Index: trunk/extensions/Collection/Collection.body.php |
— | — | @@ -355,6 +355,7 @@ |
356 | 356 | |
357 | 357 | static function addArticleFromName( $namespace, $name, $oldid=0 ) { |
358 | 358 | $title = Title::makeTitleSafe( $namespace, $name ); |
| 359 | + if (!$title) return false; |
359 | 360 | return self::addArticle( $title, $oldid ); |
360 | 361 | } |
361 | 362 | |