Index: trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | /* |
15 | 15 | * Templates: |
16 | 16 | */ |
17 | | - |
| 17 | + require_once ('../../../maintenance/commandLine.inc'); |
18 | 18 | //$i=0; |
19 | 19 | function do_stream_attr_check($old_stream) { |
20 | 20 | global $i; |
Index: trunk/extensions/MetavidWiki/maintenance/scrape_and_insert.inc.php |
— | — | @@ -9,7 +9,7 @@ |
10 | 10 | * @email dale@ucsc.edu |
11 | 11 | * @url http://metavid.ucsc.edu |
12 | 12 | */ |
13 | | - |
| 13 | + require_once ('../../../maintenance/commandLine.inc'); |
14 | 14 | class MV_BillScraper extends MV_BaseScraper{ |
15 | 15 | var $base_url = 'http://www.c-spanarchives.org/congress/'; |
16 | 16 | var $base_query = '?q=node/69850'; |
Index: trunk/extensions/MetavidWiki/maintenance/metavid_gov_templates.php |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | <? |
3 | | - |
| 3 | +require_once ('../../../maintenance/commandLine.inc'); |
4 | 4 | function upTemplates($force=false){ |
5 | 5 | /*************************************************** |
6 | 6 | * Transcripts: |
— | — | @@ -259,4 +259,4 @@ |
260 | 260 | |
261 | 261 | } |
262 | 262 | |
263 | | -?> |
\ No newline at end of file |
| 263 | +?> |
Index: trunk/extensions/MetavidWiki/maintenance/maintenance_util.inc.php |
— | — | @@ -16,6 +16,7 @@ |
17 | 17 | /* |
18 | 18 | * set up the bot user: |
19 | 19 | */ |
| 20 | +require_once ('../../../maintenance/commandLine.inc'); |
20 | 21 | $botUserName = 'MvBot'; |
21 | 22 | $wgUser = User::newFromName( $botUserName ); |
22 | 23 | if ( !$wgUser ) { |