obsolete, we have plenty of examples these days
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 4 Oct 2006 02:27:47 +0000 (02:27 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 4 Oct 2006 02:27:47 +0000 (02:27 +0000)
maintenance/trivialCmdLine.php [deleted file]

diff --git a/maintenance/trivialCmdLine.php b/maintenance/trivialCmdLine.php
deleted file mode 100644 (file)
index 2f12815..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-/**
- * @package MediaWiki
- * @subpackage Maintenance
- */
-
-/** */
-require_once( "commandLine.inc" );
-# print "DB name: $wgDBname\n";
-# print "DB user: $wgDBuser\n";
-# print "DB password: $wgDBpassword\n";
-
-print "This is an example command-line maintenance script.\n";
-
-$dbr =& wfGetDB( DB_SLAVE );
-$page = $dbr->tableName( 'page' );
-$res = $dbr->query( "SELECT MAX(page_id) as m FROM $page" );
-$row = $dbr->fetchObject( $res );
-print "Max page_id: {$row->m}\n";
-
-?>