6 * @author Ashar Voultoiz
8 require_once( 'commandLine.inc' );
9 require_once( "$IP/includes/JobQueue.php" );
10 require_once( "$IP/includes/FakeTitle.php" );
12 // Trigger errors on inappropriate use of $wgTitle
13 $wgTitle = new FakeTitle
;
15 $dbw =& wfGetDB( DB_MASTER
);
16 $count = $dbw->selectField( 'job', 'count(*)', '', 'runJobs.php' );