Fix description
[lhc/web/wiklou.git] / maintenance / showJobs.php
1 <?php
2 /**
3 * Based on runJobs.php
4 *
5 * @author Tim Starling
6 * @author Ashar Voultoiz
7 */
8 require_once( 'commandLine.inc' );
9 require_once( "$IP/includes/JobQueue.php" );
10 require_once( "$IP/includes/FakeTitle.php" );
11
12 // Trigger errors on inappropriate use of $wgTitle
13 $wgTitle = new FakeTitle;
14
15 $dbw = wfGetDB( DB_MASTER );
16 $count = $dbw->selectField( 'job', 'count(*)', '', 'runJobs.php' );
17 print $count."\n";
18
19