Index: trunk/phase3/maintenance/fuzz-tester.php |
— | — | @@ -169,7 +169,7 @@ |
170 | 170 | /////////////////////////// COMMAND LINE HELP //////////////////////////////////// |
171 | 171 | |
172 | 172 | // This is a command line script, load MediaWiki env (gives command line options); |
173 | | -include('commandLine.inc'); |
| 173 | +require('commandLine.inc'); |
174 | 174 | |
175 | 175 | // if the user asked for an explanation of command line options. |
176 | 176 | if ( isset( $options["help"] ) ) { |
Index: trunk/phase3/maintenance/rebuildInterwiki.php |
— | — | @@ -12,8 +12,8 @@ |
13 | 13 | $oldCwd = getcwd(); |
14 | 14 | |
15 | 15 | $optionsWithArgs = array( "d" ); |
16 | | -include_once( "commandLine.inc" ); |
17 | | -include_once( "rebuildInterwiki.inc" ); |
| 16 | +require( "commandLine.inc" ); |
| 17 | +require( "rebuildInterwiki.inc" ); |
18 | 18 | chdir( $oldCwd ); |
19 | 19 | |
20 | 20 | # Output |
Index: trunk/phase3/maintenance/findhooks.php |
— | — | @@ -21,8 +21,7 @@ |
22 | 22 | */ |
23 | 23 | |
24 | 24 | /** This is a command line script*/ |
25 | | -include('commandLine.inc'); |
26 | | - |
| 25 | +require('commandLine.inc'); |
27 | 26 | # GLOBALS |
28 | 27 | |
29 | 28 | $doc = $IP . '/docs/hooks.txt'; |
— | — | @@ -156,4 +155,4 @@ |
157 | 156 | printArray('unclear hook calls', $bad ); |
158 | 157 | |
159 | 158 | if ( count( $todo ) == 0 && count( $deprecated ) == 0 && count( $bad ) == 0 ) |
160 | | - echo "Looks good!\n"; |
\ No newline at end of file |
| 159 | + echo "Looks good!\n"; |
Index: trunk/phase3/maintenance/dumpInterwiki.php |
— | — | @@ -12,8 +12,8 @@ |
13 | 13 | $oldCwd = getcwd(); |
14 | 14 | |
15 | 15 | $optionsWithArgs = array( "o" ); |
16 | | -include_once( "commandLine.inc" ); |
17 | | -include_once( "dumpInterwiki.inc" ); |
| 16 | +require( "commandLine.inc" ); |
| 17 | +require( "dumpInterwiki.inc" ); |
18 | 18 | chdir( $oldCwd ); |
19 | 19 | |
20 | 20 | # Output |