Permalink
Browse files

added empty categories exemptions, per user request

  • Loading branch information...
MZMcBride
MZMcBride committed Feb 13, 2009
1 parent cc1cfd0 commit 97017d30e47767ac27a2830474203d9d5829c576
Showing with 1 addition and 1 deletion.
  1. +1 −1 emptycats.py
View
@@ -62,7 +62,7 @@
i = 1
output = []
for row in cursor.fetchall():
if not re.search(r'(-importance|-class|non-article|assess)', row[0], re.I|re.U):
if not re.search(r'(-importance|-class|non-article|assess|_articles_missing_|_articles_in_need_of_|_articles_undergoing_|_articles_to_be_|_articles_not_yet_|Wikipedia_featured_topics)', row[0], re.I|re.U):
page_title = u'{{clh|1=%s}}' % unicode(row[0], 'utf-8')
page_len = row[1]
table_row = u'''| %d

0 comments on commit 97017d3

Please sign in to comment.