* Added templatelinks table. The table currently represents a literal list of templat...
[lhc/web/wiklou.git] / index.php
index 360f048..fd8bb69 100644 (file)
--- a/index.php
+++ b/index.php
@@ -165,7 +165,7 @@ if( !$wgDisableInternalSearch && !is_null( $search ) && $search !== '' ) {
                unset($wgArticle);
                require_once( 'includes/ImagePage.php' );
                $wgArticle = new ImagePage( $wgTitle );
-       } elseif ( $wgUseCategoryMagic && $ns == NS_CATEGORY ) {
+       } elseif ( $ns == NS_CATEGORY ) {
                unset($wgArticle);
                require_once( 'includes/CategoryPage.php' );
                $wgArticle = new CategoryPage( $wgTitle );