Update findHooks.php and move MonoBook hook out of docs/hooks.txt
authorKunal Mehta <legoktm@gmail.com>
Sun, 24 Aug 2014 22:09:01 +0000 (15:09 -0700)
committerKunal Mehta <legoktm@gmail.com>
Sun, 24 Aug 2014 22:09:01 +0000 (15:09 -0700)
Added includes/skins/ to the list of directories and removed
the skins that were moved out of core.

The MonoBook hook is moved to skins/MonoBook in Ieb85b4bed.

Change-Id: Ie8ad1eb694575b8e1485177e2d14f2a9dcab179d

docs/hooks.txt
maintenance/findHooks.php

index fc29858..d704eb5 100644 (file)
@@ -1773,13 +1773,6 @@ $db: The database object to be queried.
 &$opts: Options for the query.
 &$join_conds: Join conditions for the query.
 
-'MonoBookTemplateToolboxEnd': DEPRECATED. Called by Monobook skin after toolbox
-links have been rendered (useful for adding more). Note: this is only run for
-the Monobook skin. To add items to the toolbox you should use the
-SkinTemplateToolboxEnd hook instead, which works for all "SkinTemplate"-type
-skins.
-$tools: array of tools
-
 'BaseTemplateToolbox': Called by BaseTemplate when building the $toolbox array
 and returning it for the skin to output. You can add items to the toolbox while
 still letting the skin make final decisions on skin-specific markup conventions
index 17b9a04..36760d7 100644 (file)
@@ -99,6 +99,7 @@ class FindHooks extends Maintenance {
                        $IP . '/includes/revisiondelete/',
                        $IP . '/includes/search/',
                        $IP . '/includes/site/',
+                       $IP . '/includes/skins/',
                        $IP . '/includes/specialpage/',
                        $IP . '/includes/specials/',
                        $IP . '/includes/upload/',
@@ -109,9 +110,6 @@ class FindHooks extends Maintenance {
                        $IP . '/tests/',
                        $IP . '/tests/parser/',
                        $IP . '/tests/phpunit/suites/',
-                       $IP . '/skins/',
-                       $IP . '/skins/MonoBook/',
-                       $IP . '/skins/Vector/',
                );
 
                foreach ( $pathinc as $dir ) {