Index: trunk/tools/code-utils/check-vars.php |
— | — | @@ -943,6 +943,9 @@ |
944 | 944 | if ( $name == '$wgHooks' && $this->mClass == 'Installer' && $this->mFunction == 'includeExtensions' ) |
945 | 945 | return false; |
946 | 946 | |
| 947 | + if ( basename( $this->mFilename ) == "thumb-handler.php" ) |
| 948 | + return substr( $name, 0, 9 ) == '$thgThumb'; |
| 949 | + |
947 | 950 | return ( ( substr( $name, 0, 3 ) == '$wg' ) || ( substr( $name, 0, 3 ) == '$eg' ) || in_array( $name, $specialGlobals ) ) && !in_array( $name, $nonGlobals ); |
948 | 951 | } |
949 | 952 | |