* Fix hook name
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 12 Feb 2011 17:15:24 +0000 (17:15 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 12 Feb 2011 17:15:24 +0000 (17:15 +0000)
* Update paths in findhooks script

docs/hooks.txt
maintenance/findhooks.php

index dfa34fe..2f79c83 100644 (file)
@@ -1124,7 +1124,7 @@ $variableIDs: array of strings
 'MakeGlobalVariablesScript': called right before Skin::makeVariablesScript
 is executed. Ideally, this hook should only be used to add variables that
 depend on the current page/request; static configuration should be added
-through ResourceLoaderConfigVars instead.
+through ResourceLoaderGetConfigVars instead.
 &$vars: variable (or multiple variables) to be added into the output
        of Skin::makeVariablesScript
 
@@ -1388,7 +1388,7 @@ loader request or generating HTML output.
 'RecentChange_save': called at the end of RecentChange::save()
 $recentChange: RecentChange object
 
-'ResourceLoaderConfigVars': called at the end of
+'ResourceLoaderGetConfigVars': called at the end of
 ResourceLoaderStartUpModule::getConfig(). Use this to export static
 configuration variables to JavaScript. Things that depend on the current
 page/request state must be added through MakeGlobalVariablesScript instead.
index 28add41..ee007ce 100644 (file)
@@ -63,14 +63,15 @@ class FindHooks extends Maintenance {
                        $IP . '/includes/installer/',
                        $IP . '/includes/parser/',
                        $IP . '/includes/resourceloader/',
+                       $IP . '/includes/revisiondelete/',
                        $IP . '/includes/search/',
                        $IP . '/includes/specials/',
                        $IP . '/includes/upload/',
                        $IP . '/languages/',
                        $IP . '/maintenance/',
-                       $IP . '/maintenance/tests/',
-                       $IP . '/maintenance/tests/parser/',
-                       $IP . '/maintenance/tests/phpunit/suites/',
+                       $IP . '/tests/',
+                       $IP . '/tests/parser/',
+                       $IP . '/tests/phpunit/suites/',
                        $IP . '/skins/',
                );