Update ResourceLoaderULSJsonMessageModule::getDependencies method signature

This change is for compatibility with Iee61e5b527 in MediaWiki.

This patch updates version info due to said requirement.

Change-Id: Ic63e617f51702c27104e123d4bed91983a726b7f
This commit is contained in:
Andrew Green
2015-04-26 22:23:12 -04:00
committed by Krinkle
parent e747e755ed
commit c00645a0a0
2 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ if ( !defined( 'MEDIAWIKI' ) ) {
/** /**
* Version number used in extension credits and in other placed where needed. * 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( $GLOBALS['wgExtensionCredits']['other'][] = array(
'path' => __FILE__, 'path' => __FILE__,

View File

@@ -16,9 +16,10 @@ class ResourceLoaderULSJsonMessageModule extends ResourceLoaderModule {
/** /**
* Part of the ResourceLoader module interface. * Part of the ResourceLoader module interface.
* Declares the core ext.uls.i18n module as a dependency. * Declares the core ext.uls.i18n module as a dependency.
* @param ResourceLoaderContext $context
* @return string[] Module names. * @return string[] Module names.
*/ */
function getDependencies() { function getDependencies( ResourceLoaderContext $context = null ) {
return array( 'ext.uls.i18n' ); return array( 'ext.uls.i18n' );
} }