Permalink
Browse files

added exclusion for Template:Pollutedcat per user request

  • Loading branch information...
MZMcBride
MZMcBride committed Mar 13, 2009
1 parent 7401fc5 commit 46ca3e3f28fdc6c6efd9b46a786bedf52998cffd
Showing with 8 additions and 0 deletions.
  1. +8 −0 pollcats.py
@@ -54,6 +54,14 @@
ON pg2.page_id = cl.cl_from
WHERE pg2.page_namespace = 0
AND cat.cl_to = cl.cl_to)
AND cl_to NOT IN (SELECT
page_title
FROM page
JOIN templatelinks
ON tl_from = page_id
WHERE page_namespace = 14
AND tl_namespace = 10
AND tl_title = 'Pollutedcat')
LIMIT 250;
''')

0 comments on commit 46ca3e3

Please sign in to comment.