diff --git a/UniversalLanguageSelector.php b/UniversalLanguageSelector.php index e039d5de..59c64f54 100644 --- a/UniversalLanguageSelector.php +++ b/UniversalLanguageSelector.php @@ -25,7 +25,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { /** * Version number used in extension credits and in other placed where needed. */ -define( 'ULS_VERSION', '2015-04-29' ); +define( 'ULS_VERSION', '2015-06-08' ); $GLOBALS['wgExtensionCredits']['other'][] = array( 'path' => __FILE__, diff --git a/includes/ResourceLoaderULSJsonMessageModule.php b/includes/ResourceLoaderULSJsonMessageModule.php index 16e1c0c2..4ce21903 100644 --- a/includes/ResourceLoaderULSJsonMessageModule.php +++ b/includes/ResourceLoaderULSJsonMessageModule.php @@ -16,9 +16,10 @@ class ResourceLoaderULSJsonMessageModule extends ResourceLoaderModule { /** * Part of the ResourceLoader module interface. * Declares the core ext.uls.i18n module as a dependency. + * @param ResourceLoaderContext $context * @return string[] Module names. */ - function getDependencies() { + function getDependencies( ResourceLoaderContext $context = null ) { return array( 'ext.uls.i18n' ); }