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 "Tweak fullscreen styles for API sandbox"
[lhc/web/wiklou.git]
/
maintenance
/
fixDefaultJsonContentPages.php
diff --git
a/maintenance/fixDefaultJsonContentPages.php
b/maintenance/fixDefaultJsonContentPages.php
index
232151b
..
460b553
100644
(file)
--- a/
maintenance/fixDefaultJsonContentPages.php
+++ b/
maintenance/fixDefaultJsonContentPages.php
@@
-47,7
+47,7
@@
class FixDefaultJsonContentPages extends LoggedUpdateMaintenance {
return true;
}
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
$namespaces = [
NS_MEDIAWIKI => $dbr->buildLike( $dbr->anyString(), '.json' ),
NS_USER => $dbr->buildLike( $dbr->anyString(), '/', $dbr->anyString(), '.json' ),