dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ac9a6
)
SpecialWantedPages: Use Config instead of globals
author
Kunal Mehta
<legoktm@gmail.com>
Wed, 6 Aug 2014 17:15:29 +0000
(18:15 +0100)
committer
Legoktm
<legoktm.wikipedia@gmail.com>
Wed, 6 Aug 2014 17:16:19 +0000
(17:16 +0000)
Change-Id: I1969af7c5367f13493b4ba938f20972bb8a72ce1
includes/specials/SpecialWantedpages.php
patch
|
blob
|
history
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',