From ff1429fc7e9b40817719297c5605d4f6bfcc75b7 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sun, 24 Aug 2014 15:09:01 -0700 Subject: [PATCH] Update findHooks.php and move MonoBook hook out of docs/hooks.txt 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 | 7 ------- maintenance/findHooks.php | 4 +--- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index fc298584a0..d704eb54be 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -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 diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index 17b9a04a0e..36760d7edf 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -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 ) { -- 2.20.1