* (bug 1850) Additional fixes so existing local and remote images
[lhc/web/wiklou.git] / includes / Namespace.php
index a95b7cc..f1341cc 100644 (file)
@@ -62,6 +62,14 @@ class Namespace {
                return true;
        }
 
+       /**
+        * Check if the given namespace is not a talk page
+        * @return bool
+        */
+       function isMain( $index ) {
+               return ! Namespace::isTalk( $index );
+       }
+
        /**
         * Check if the give namespace is a talk page
         * @return bool