Step 2 in NS_IMAGE -> NS_FILE transition (bug 44) (WARNING: huge commit).
[lhc/web/wiklou.git] / includes / filerepo / RepoGroup.php
index 3f31813..54c40cc 100644 (file)
@@ -90,7 +90,7 @@ class RepoGroup {
                $titleObjs = array();
                foreach ( $titles as $title ) {
                        if ( !( $title instanceof Title ) )
-                               $title = Title::makeTitleSafe( NS_IMAGE, $title );
+                               $title = Title::makeTitleSafe( NS_FILE, $title );
                        $titleObjs[$title->getDBkey()] = $title;
                }