Merge "Fix some incorrect hook annotations"

This commit is contained in:
jenkins-bot
2013-05-26 09:12:23 +00:00
committed by Gerrit Code Review

View File

@@ -35,10 +35,10 @@ class UniversalLanguageSelectorHooks {
} }
/** /**
* BeforePageDisplay hook handler.
* @param $out OutputPage * @param $out OutputPage
* @param $skin Skin * @param $skin Skin
* @return bool * @return bool
* Hook: BeforePageDisplay
*/ */
public static function addModules( $out, $skin ) { public static function addModules( $out, $skin ) {
global $wgULSGeoService; 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 $testModules array of javascript testing modules. 'qunit' is fed using tests/qunit/QUnitTestResources.php.
* @param $resourceLoader ResourceLoader * @param $resourceLoader ResourceLoader
* @return bool * @return bool
* Hook: ResourceLoaderTestModules
*/ */
public static function addTestModules( array &$testModules, ResourceLoader &$resourceLoader ) { public static function addTestModules( array &$testModules, ResourceLoader &$resourceLoader ) {
$testModules['qunit']['ext.uls.tests'] = array( $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. * 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 ) { static function addPersonalBarTrigger( array &$personal_urls, &$title ) {
global $wgLang, $wgUser, $wgULSPosition; global $wgLang, $wgUser, $wgULSPosition;