Fix some incorrect hook annotations

Change-Id: I2594b50c07eafbee68df29152066c81a79035a9e
This commit is contained in:
Niklas Laxström
2013-05-25 08:43:27 +00:00
parent bba4896df1
commit 15b57bc315

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;