r39200 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39199‎ | r39200 | r39201 >
Date:02:10, 12 August 2008
Author:dale
Status:old
Tags:
Comment:
basic entry point check
Modified paths:
  • /trunk/extensions/MetavidWiki/maintenance/maintenance_util.inc.php (modified) (history)
  • /trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php (modified) (history)
  • /trunk/extensions/MetavidWiki/maintenance/metavid_gov_templates.php (modified) (history)
  • /trunk/extensions/MetavidWiki/maintenance/scrape_and_insert.inc.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetavidWiki/maintenance/metavid2mvWiki.inc.php
@@ -13,7 +13,7 @@
1414 /*
1515 * Templates:
1616 */
17 -
 17+ require_once ('../../../maintenance/commandLine.inc');
1818 //$i=0;
1919 function do_stream_attr_check($old_stream) {
2020 global $i;
Index: trunk/extensions/MetavidWiki/maintenance/scrape_and_insert.inc.php
@@ -9,7 +9,7 @@
1010 * @email dale@ucsc.edu
1111 * @url http://metavid.ucsc.edu
1212 */
13 -
 13+ require_once ('../../../maintenance/commandLine.inc');
1414 class MV_BillScraper extends MV_BaseScraper{
1515 var $base_url = 'http://www.c-spanarchives.org/congress/';
1616 var $base_query = '?q=node/69850';
Index: trunk/extensions/MetavidWiki/maintenance/metavid_gov_templates.php
@@ -1,5 +1,5 @@
22 <?
3 -
 3+require_once ('../../../maintenance/commandLine.inc');
44 function upTemplates($force=false){
55 /***************************************************
66 * Transcripts:
@@ -259,4 +259,4 @@
260260
261261 }
262262
263 -?>
\ No newline at end of file
 263+?>
Index: trunk/extensions/MetavidWiki/maintenance/maintenance_util.inc.php
@@ -16,6 +16,7 @@
1717 /*
1818 * set up the bot user:
1919 */
 20+require_once ('../../../maintenance/commandLine.inc');
2021 $botUserName = 'MvBot';
2122 $wgUser = User::newFromName( $botUserName );
2223 if ( !$wgUser ) {

Status & tagging log