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
WikiPage: Use Title::isKnown() in hasViewableContent()
[lhc/web/wiklou.git]
/
includes
/
CategoryViewer.php
diff --git
a/includes/CategoryViewer.php
b/includes/CategoryViewer.php
index
490f548
..
a8e988f
100644
(file)
--- a/
includes/CategoryViewer.php
+++ b/
includes/CategoryViewer.php
@@
-286,7
+286,7
@@
class CategoryViewer extends ContextSource {
}
function doCategoryQuery() {
- $dbr = wfGetDB( DB_
SLAVE
, 'category' );
+ $dbr = wfGetDB( DB_
REPLICA
, 'category' );
$this->nextPage = [
'page' => null,