From 63601400e476c6cf43d985f3e7b9864681695ed4 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 18 Jan 2013 16:46:04 +0100 Subject: Update to MediaWiki 1.20.2 this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024 --- maintenance/findHooks.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'maintenance/findHooks.php') diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index cb582857..e273c545 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -34,8 +34,13 @@ * @author Antoine Musso */ -require_once( dirname( __FILE__ ) . '/Maintenance.php' ); +require_once( __DIR__ . '/Maintenance.php' ); +/** + * Maintenance script that compares documented and actually present mismatches. + * + * @ingroup Maintenance + */ class FindHooks extends Maintenance { public function __construct() { parent::__construct(); @@ -63,8 +68,10 @@ class FindHooks extends Maintenance { $IP . '/includes/db/', $IP . '/includes/diff/', $IP . '/includes/filerepo/', + $IP . '/includes/filerepo/file/', $IP . '/includes/installer/', $IP . '/includes/interwiki/', + $IP . '/includes/logging/', $IP . '/includes/media/', $IP . '/includes/parser/', $IP . '/includes/resourceloader/', @@ -157,7 +164,7 @@ class FindHooks extends Maintenance { /** * Get hooks from a PHP file - * @param $file Full filename to the PHP file. + * @param $file string Full filename to the PHP file. * @return array of hooks found. */ private function getHooksFromFile( $file ) { @@ -188,7 +195,7 @@ class FindHooks extends Maintenance { /** * Get bad hooks (where the hook name could not be determined) from a PHP file - * @param $file Full filename to the PHP file. + * @param $file string Full filename to the PHP file. * @return array of bad wfRunHooks() lines */ private function getBadHooksFromFile( $file ) { -- cgit v1.2.3-54-g00ecf