MediaWiki REL1_39
CodeCleanerGlobalsPass Class Reference

Prefix the real command with a 'global $VAR, $VAR2, ...;' command, where $VAR etc. More...

Inheritance diagram for CodeCleanerGlobalsPass:
Collaboration diagram for CodeCleanerGlobalsPass:

Public Member Functions

 beforeTraverse (array $nodes)
 

Detailed Description

Prefix the real command with a 'global $VAR, $VAR2, ...;' command, where $VAR etc.

are the current global variables. This will make the shell behave as if it was running in the global scope (almost; variables created in the shell won't become global if no global variable by that name existed before) so debugging MediaWikis globals-based configuration settings is less cumbersome, and behavior is closer to that of eval.php.

Definition at line 37 of file CodeCleanerGlobalsPass.php.

Member Function Documentation

◆ beforeTraverse()

CodeCleanerGlobalsPass::beforeTraverse ( array $nodes)

Definition at line 42 of file CodeCleanerGlobalsPass.php.


The documentation for this class was generated from the following file: