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
resourceloader: Add purgeModuleDeps.php maintenance script
[lhc/web/wiklou.git]
/
maintenance
/
fixDoubleRedirects.php
diff --git
a/maintenance/fixDoubleRedirects.php
b/maintenance/fixDoubleRedirects.php
index
0592d2d
..
79f75ef
100644
(file)
--- a/
maintenance/fixDoubleRedirects.php
+++ b/
maintenance/fixDoubleRedirects.php
@@
-54,7
+54,7
@@
class FixDoubleRedirects extends Maintenance {
$title = null;
}
$title = null;
}
- $dbr = $this->getDB( DB_
SLAVE
);
+ $dbr = $this->getDB( DB_
REPLICA
);
// See also SpecialDoubleRedirects
$tables = [
// See also SpecialDoubleRedirects
$tables = [
@@
-72,7
+72,7
@@
class FixDoubleRedirects extends Maintenance {
'rd_from = pa.page_id',
'rd_namespace = pb.page_namespace',
'rd_title = pb.page_title',
'rd_from = pa.page_id',
'rd_namespace = pb.page_namespace',
'rd_title = pb.page_title',
- 'rd_interwiki IS NULL OR rd_interwiki = ' . $dbr->addQuotes( '' ), //
bug 40
352
+ 'rd_interwiki IS NULL OR rd_interwiki = ' . $dbr->addQuotes( '' ), //
T42
352
'pb.page_is_redirect' => 1,
];
'pb.page_is_redirect' => 1,
];