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 "RCFilters: Convert patrolled filter to three states"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialWhatlinkshere.php
diff --git
a/includes/specials/SpecialWhatlinkshere.php
b/includes/specials/SpecialWhatlinkshere.php
index
6f91c46
..
3080fbf
100644
(file)
--- a/
includes/specials/SpecialWhatlinkshere.php
+++ b/
includes/specials/SpecialWhatlinkshere.php
@@
-162,7
+162,7
@@
class SpecialWhatLinksHere extends IncludableSpecialPage {
];
$on['rd_namespace'] = $target->getNamespace();
// Inner LIMIT is 2X in case of stale backlinks with wrong namespaces
];
$on['rd_namespace'] = $target->getNamespace();
// Inner LIMIT is 2X in case of stale backlinks with wrong namespaces
- $subQuery = $dbr->
selectSQLText
(
+ $subQuery = $dbr->
buildSelectSubquery
(
[ $table, 'redirect', 'page' ],
[ $fromCol, 'rd_from' ],
$conds[$table],
[ $table, 'redirect', 'page' ],
[ $fromCol, 'rd_from' ],
$conds[$table],
@@
-175,7
+175,7
@@
class SpecialWhatLinksHere extends IncludableSpecialPage {
]
);
return $dbr->select(
]
);
return $dbr->select(
- [ 'page', 'temp_backlink_range' =>
"($subQuery)"
],
+ [ 'page', 'temp_backlink_range' =>
$subQuery
],
[ 'page_id', 'page_namespace', 'page_title', 'rd_from', 'page_is_redirect' ],
[],
__CLASS__ . '::showIndirectLinks',
[ 'page_id', 'page_namespace', 'page_title', 'rd_from', 'page_is_redirect' ],
[],
__CLASS__ . '::showIndirectLinks',