r104251 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104250‎ | r104251 | r104252 >
Date:18:51, 25 November 2011
Author:platonides
Status:ok
Tags:
Comment:
Update r101054 to r101077 rename.
Modified paths:
  • /trunk/tools/code-utils/check-vars.php (modified) (history)

Diff [purge]

Index: trunk/tools/code-utils/check-vars.php
@@ -943,7 +943,7 @@
944944 if ( $name == '$wgHooks' && $this->mClass == 'Installer' && $this->mFunction == 'includeExtensions' )
945945 return false;
946946
947 - if ( basename( $this->mFilename ) == "thumb-handler.php" )
 947+ if ( basename( $this->mFilename ) == "thumb_handler.php" )
948948 return substr( $name, 0, 9 ) == '$thgThumb';
949949
950950 return ( ( substr( $name, 0, 3 ) == '$wg' ) || ( substr( $name, 0, 3 ) == '$eg' ) || in_array( $name, $specialGlobals ) ) && !in_array( $name, $nonGlobals );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101054thumb-handler.php uses different globals than everyone else.platonides21:03, 27 October 2011
r101077FU r100535: renamed thumb-handler.php to match the other files hereaaron22:42, 27 October 2011

Status & tagging log