From 179017976f0e7c4e634c806dee9ac51b84e830b2 Mon Sep 17 00:00:00 2001 From: Ricordisamoa Date: Fri, 12 Feb 2016 18:31:49 +0100 Subject: [PATCH] Make maintenance/findHooks.php pass again * check 4 new paths * strip 'NormalizeMessageKey' hook from docs/hooks.txt, last call was removed in 1ea4f23b05a1776be395e2390aab8326bd97caa7 Change-Id: Id36ab478b94f74be451cae848d5ef2a318d23040 --- docs/hooks.txt | 11 ----------- maintenance/findHooks.php | 4 ++++ 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 0fe888fe7e..5e2b9810fe 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2076,17 +2076,6 @@ $rev: the new revision $baseID: the revision ID this was based off, if any $user: the editing user -'NormalizeMessageKey': Called before the software gets the text of a message -(stuff in the MediaWiki: namespace), useful for changing WHAT message gets -displayed. -&$key: the message being looked up. Change this to something else to change - what message gets displayed (string) -&$useDB: whether or not to look up the message in the database (bool) -&$langCode: the language code to get the message for (string) - or - - whether to use the content language (true) or site language (false) (bool) -&$transform: whether or not to expand variables and templates - in the message (bool) - 'OldChangesListRecentChangesLine': Customize entire recent changes line, or return false to omit the line from RecentChanges and Watchlist special pages. &$changeslist: The OldChangesList instance. diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index 1cf818ee79..9879b108d9 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -82,12 +82,14 @@ class FindHooks extends Maintenance { $IP . '/includes/deferred/', $IP . '/includes/diff/', $IP . '/includes/exception/', + $IP . '/includes/export/', $IP . '/includes/externalstore/', $IP . '/includes/filebackend/', $IP . '/includes/filerepo/', $IP . '/includes/filerepo/file/', $IP . '/includes/gallery/', $IP . '/includes/htmlform/', + $IP . '/includes/import/', $IP . '/includes/installer/', $IP . '/includes/interwiki/', $IP . '/includes/jobqueue/', @@ -102,11 +104,13 @@ class FindHooks extends Maintenance { $IP . '/includes/resourceloader/', $IP . '/includes/revisiondelete/', $IP . '/includes/search/', + $IP . '/includes/session/', $IP . '/includes/site/', $IP . '/includes/skins/', $IP . '/includes/specialpage/', $IP . '/includes/specials/', $IP . '/includes/upload/', + $IP . '/includes/user/', $IP . '/includes/utils/', $IP . '/languages/', $IP . '/maintenance/', -- 2.20.1