repo.or.cz
/
mediawiki.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Localisation updates:
[mediawiki.git]
/
maintenance
/
showJobs.php
blob
6e38c854c319e1a14fd102a97076d4f8b459de58
1
<
?php
2
/**
3
* Based on runJobs.php
4
*
5
* Report number of jobs currently waiting in master database.
6
*
7
* @file
8
* @ingroup Maintenance
9
* @author Tim Starling
10
* @author Ashar Voultoiz
11
*/
12
require_once
(
'commandLine.inc'
);
13
14
$dbw
=
wfGetDB
(
DB_MASTER
);
15
$count
=
$dbw
->
selectField
(
'job'
,
'count(*)'
,
''
,
'runJobs.php'
);
16
print
$count
.
"
\n
"
;
17
18