dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "CategoryPager: Allow categories with no members to be shown"
[lhc/web/wiklou.git]
/
maintenance
/
updateArticleCount.php
diff --git
a/maintenance/updateArticleCount.php
b/maintenance/updateArticleCount.php
index
dff5aec
..
213195d
100644
(file)
--- a/
maintenance/updateArticleCount.php
+++ b/
maintenance/updateArticleCount.php
@@
-46,7
+46,7
@@
class UpdateArticleCount extends Maintenance {
if ( $this->hasOption( 'use-master' ) ) {
$dbr = $this->getDB( DB_MASTER );
} else {
- $dbr = $this->getDB( DB_
SLAVE
, 'vslow' );
+ $dbr = $this->getDB( DB_
REPLICA
, 'vslow' );
}
$counter = new SiteStatsInit( $dbr );
$result = $counter->articles();