diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-01-18 16:46:04 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-01-18 16:46:04 +0100 |
commit | 63601400e476c6cf43d985f3e7b9864681695ed4 (patch) | |
tree | f7846203a952e38aaf66989d0a4702779f549962 /maintenance/findHooks.php | |
parent | 8ff01378c9e0207f9169b81966a51def645b6a51 (diff) |
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
Diffstat (limited to 'maintenance/findHooks.php')
-rw-r--r-- | maintenance/findHooks.php | 13 |
1 files changed, 10 insertions, 3 deletions
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 <hashar at free dot fr> */ -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 ) { |