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 "Don't hard-code Preferences page name"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialWithoutinterwiki.php
diff --git
a/includes/specials/SpecialWithoutinterwiki.php
b/includes/specials/SpecialWithoutinterwiki.php
index
259d1f9
..
a1e5156
100644
(file)
--- a/
includes/specials/SpecialWithoutinterwiki.php
+++ b/
includes/specials/SpecialWithoutinterwiki.php
@@
-97,7
+97,7
@@
class WithoutInterwikiPage extends PageQueryPage {
'join_conds' => [ 'langlinks' => [ 'LEFT JOIN', 'll_from = page_id' ] ]
];
if ( $this->prefix ) {
'join_conds' => [ 'langlinks' => [ 'LEFT JOIN', 'll_from = page_id' ] ]
];
if ( $this->prefix ) {
- $dbr = wfGetDB( DB_
SLAVE
);
+ $dbr = wfGetDB( DB_
REPLICA
);
$query['conds'][] = 'page_title ' . $dbr->buildLike( $this->prefix, $dbr->anyString() );
}
$query['conds'][] = 'page_title ' . $dbr->buildLike( $this->prefix, $dbr->anyString() );
}