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
Allow a lonely "-" as positional argument
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialWantedpages.php
diff --git
a/includes/specials/SpecialWantedpages.php
b/includes/specials/SpecialWantedpages.php
index
cad2348
..
dd4eb0a
100644
(file)
--- a/
includes/specials/SpecialWantedpages.php
+++ b/
includes/specials/SpecialWantedpages.php
@@
-72,7
+72,10
@@
class WantedPagesPage extends WantedQueryPage {
"pg2.page_namespace != '" . NS_MEDIAWIKI . "'"
),
'options' => array(
"pg2.page_namespace != '" . NS_MEDIAWIKI . "'"
),
'options' => array(
- 'HAVING' => "COUNT(*) > $count",
+ 'HAVING' => array(
+ "COUNT(*) > $count",
+ "COUNT(*) > SUM(pg2.page_is_redirect)"
+ ),
'GROUP BY' => array( 'pl_namespace', 'pl_title' )
),
'join_conds' => array(
'GROUP BY' => array( 'pl_namespace', 'pl_title' )
),
'join_conds' => array(