Remove unneeded empty lines at begin of if/else/foreach body
[lhc/web/wiklou.git] / includes / resourceloader / ResourceLoaderWikiModule.php
index 264af5b..a4d94f8 100644 (file)
@@ -224,6 +224,20 @@ class ResourceLoaderWikiModule extends ResourceLoaderModule {
                return $styles;
        }
 
+       /**
+        * Disable module content versioning.
+        *
+        * This class does not support generating content outside of a module
+        * request due to foreign database support.
+        *
+        * See getDefinitionSummary() for meta-data versioning.
+        *
+        * @return bool
+        */
+       public function enableModuleContentVersion() {
+               return false;
+       }
+
        /**
         * @param ResourceLoaderContext $context
         * @return array
@@ -277,7 +291,6 @@ class ResourceLoaderWikiModule extends ResourceLoaderModule {
                $pages = $this->getPages( $context );
                $key = implode( '|', array_keys( $pages ) );
                if ( !isset( $this->titleInfo[$key] ) ) {
-
                        $this->titleInfo[$key] = array();
                        $batch = new LinkBatch;
                        foreach ( $pages as $titleText => $options ) {