Index: trunk/phase3/maintenance/upgrade1_5.php |
— | — | @@ -1324,4 +1324,4 @@ |
1325 | 1325 | } |
1326 | 1326 | |
1327 | 1327 | $maintClass = 'FiveUpgrade'; |
1328 | | -require( RUN_MAINTENANCE_IF_MAIN ); |
| 1328 | +require_once( RUN_MAINTENANCE_IF_MAIN ); |
Index: trunk/phase3/maintenance/preprocessDump.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | * @file |
26 | 26 | * @ingroup Maintenance |
27 | 27 | */ |
28 | | - |
| 28 | + |
29 | 29 | require_once( dirname( __FILE__ ) . '/dumpIterator.php' ); |
30 | 30 | |
31 | 31 | class PreprocessDump extends DumpIterator { |
— | — | @@ -37,7 +37,7 @@ |
38 | 38 | global $wgParser; |
39 | 39 | return $wgParser->getStripList(); |
40 | 40 | } |
41 | | - |
| 41 | + |
42 | 42 | public function __construct() { |
43 | 43 | parent::__construct(); |
44 | 44 | $this->addOption( 'cache', 'Use and populate the preprocessor cache.', false, false ); |
— | — | @@ -54,7 +54,7 @@ |
55 | 55 | if ( !$this->hasOption( 'cache' ) ) { |
56 | 56 | $wgPreprocessorCacheThreshold = false; |
57 | 57 | } |
58 | | - |
| 58 | + |
59 | 59 | if ( $this->hasOption( 'preprocessor' ) ) { |
60 | 60 | $name = $this->getOption( 'preprocessor' ); |
61 | 61 | } elseif ( isset( $wgParserConf['preprocessorClass'] ) ) { |
— | — | @@ -66,7 +66,7 @@ |
67 | 67 | $wgParser->firstCallInit(); |
68 | 68 | $this->mPreprocessor = new $name( $this ); |
69 | 69 | } |
70 | | - |
| 70 | + |
71 | 71 | /** |
72 | 72 | * Callback function for each revision, preprocessToObj() |
73 | 73 | * @param $rev Revision |
— | — | @@ -82,5 +82,5 @@ |
83 | 83 | } |
84 | 84 | |
85 | 85 | $maintClass = "PreprocessDump"; |
86 | | -require( RUN_MAINTENANCE_IF_MAIN ); |
| 86 | +require_once( RUN_MAINTENANCE_IF_MAIN ); |
87 | 87 | |
Index: trunk/phase3/maintenance/rebuildImages.php |
— | — | @@ -219,4 +219,4 @@ |
220 | 220 | } |
221 | 221 | |
222 | 222 | $maintClass = 'ImageBuilder'; |
223 | | -require( RUN_MAINTENANCE_IF_MAIN ); |
| 223 | +require_once( RUN_MAINTENANCE_IF_MAIN ); |
Index: trunk/phase3/maintenance/compareParsers.php |
— | — | @@ -139,4 +139,4 @@ |
140 | 140 | } |
141 | 141 | |
142 | 142 | $maintClass = "CompareParsers"; |
143 | | -require( RUN_MAINTENANCE_IF_MAIN ); |
| 143 | +require_once( RUN_MAINTENANCE_IF_MAIN ); |