Merge "Don't check namespace in SpecialWantedtemplates"
[lhc/web/wiklou.git] / includes / resourceloader / ResourceLoaderSpecialCharacterDataModule.php
index bbc59ac..8170cb1 100644 (file)
@@ -54,25 +54,17 @@ class ResourceLoaderSpecialCharacterDataModule extends ResourceLoaderModule {
        }
 
        /**
-        * @param ResourceLoaderContext $context
-        * @return int UNIX timestamp
+        * @return bool
         */
-       public function getModifiedTime( ResourceLoaderContext $context ) {
-               return static::safeFilemtime( $this->path );
+       public function enableModuleContentVersion() {
+               return true;
        }
 
        /**
         * @param ResourceLoaderContext $context
-        * @return string Hash
-        */
-       public function getModifiedHash( ResourceLoaderContext $context ) {
-               return md5( serialize( $this->getData() ) );
-       }
-
-       /**
         * @return array
         */
-       public function getDependencies() {
+       public function getDependencies( ResourceLoaderContext $context = null ) {
                return array( 'mediawiki.language' );
        }