/**
* Based on runJobs.php
*
+ * Report number of jobs currently waiting in master database.
+ *
+ * @file
+ * @ingroup Maintenance
* @author Tim Starling
* @author Ashar Voultoiz
*/
// Trigger errors on inappropriate use of $wgTitle
$wgTitle = new FakeTitle;
-$dbw =& wfGetDB( DB_MASTER );
+$dbw = wfGetDB( DB_MASTER );
$count = $dbw->selectField( 'job', 'count(*)', '', 'runJobs.php' );
print $count."\n";
-?>
+
+