Index: trunk/extensions/SemanticMediaWiki/maintenance/SMW_refreshData.php |
— | — | @@ -41,7 +41,8 @@ |
42 | 42 | ? getenv( 'MW_INSTALL_PATH' ) . "/maintenance/commandLine.inc" |
43 | 43 | : dirname( __FILE__ ) . '/../../../maintenance/commandLine.inc' ); |
44 | 44 | |
45 | | -global $smwgEnableUpdateJobs, $wgServer; |
| 45 | +global $smwgEnableUpdateJobs, $wgServer, $wgTitle; |
| 46 | +$wgTitle = Title::newFromText( 'SMW_refreshData.php' ); |
46 | 47 | $smwgEnableUpdateJobs = false; // do not fork additional update jobs while running this script |
47 | 48 | |
48 | 49 | if ( isset( $options['server'] ) ) { |