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