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
SpecialWantedPages: Use Config instead of globals
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialWantedpages.php
diff --git
a/includes/specials/SpecialWantedpages.php
b/includes/specials/SpecialWantedpages.php
index
c54d9f4
..
38f1808
100644
(file)
--- a/
includes/specials/SpecialWantedpages.php
+++ b/
includes/specials/SpecialWantedpages.php
@@
-54,8
+54,7
@@
class WantedPagesPage extends WantedQueryPage {
}
function getQueryInfo() {
- global $wgWantedPagesThreshold;
- $count = $wgWantedPagesThreshold - 1;
+ $count = $this->getConfig()->get( 'WantedPagesThreshold' ) - 1;
$query = array(
'tables' => array(
'pagelinks',