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:
@@ -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__,
|
||||||
|
|||||||
@@ -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' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user