Merge "Fix some incorrect hook annotations"
This commit is contained in:
@@ -35,10 +35,10 @@ class UniversalLanguageSelectorHooks {
|
||||
}
|
||||
|
||||
/**
|
||||
* BeforePageDisplay hook handler.
|
||||
* @param $out OutputPage
|
||||
* @param $skin Skin
|
||||
* @return bool
|
||||
* Hook: BeforePageDisplay
|
||||
*/
|
||||
public static function addModules( $out, $skin ) {
|
||||
global $wgULSGeoService;
|
||||
@@ -62,10 +62,10 @@ class UniversalLanguageSelectorHooks {
|
||||
}
|
||||
|
||||
/**
|
||||
* ResourceLoaderTestModules hook handler.
|
||||
* @param $testModules array of javascript testing modules. 'qunit' is fed using tests/qunit/QUnitTestResources.php.
|
||||
* @param $resourceLoader ResourceLoader
|
||||
* @return bool
|
||||
* Hook: ResourceLoaderTestModules
|
||||
*/
|
||||
public static function addTestModules( array &$testModules, ResourceLoader &$resourceLoader ) {
|
||||
$testModules['qunit']['ext.uls.tests'] = array(
|
||||
@@ -80,7 +80,7 @@ class UniversalLanguageSelectorHooks {
|
||||
|
||||
/**
|
||||
* Add some tabs for navigation for users who do not use Ajax interface.
|
||||
* Hooks: SkinTemplateNavigation, SkinTemplateTabs
|
||||
* Hook: PersonalUrls
|
||||
*/
|
||||
static function addPersonalBarTrigger( array &$personal_urls, &$title ) {
|
||||
global $wgLang, $wgUser, $wgULSPosition;
|
||||
|
||||
Reference in New Issue
Block a user