Tell regexp parser to use extra analysis on external link regexp;
[lhc/web/wiklou.git] / includes / QueryPage.php
index 2a697fd..349540c 100644 (file)
@@ -68,6 +68,13 @@ class QueryPage {
                return $wgDisableQueryPages;
        }
 
+       /**
+        * Sometime we dont want to build rss / atom feeds.
+        */
+       function isSyndicated() {
+               return true;
+       }
+
        /**
         * Formats the results of the query for display. The skin is the current
         * skin; you can use it for making links. The result is a single row of
@@ -102,7 +109,7 @@ class QueryPage {
                $dbw =& wfGetDB( DB_MASTER );
                $querycache = $dbr->tableName( 'querycache' );
 
-               $wgOut->setSyndicated( true );
+               $wgOut->setSyndicated( $this->isSyndicated() );
                $res = false;
 
                if ( $this->isExpensive() ) {