Permalink
Browse files

Exclude User: and User_talk: namespaces

  • Loading branch information...
Hydriz committed Jul 5, 2015
1 parent 381ab67 commit a490c801e042d4edf0af0c1c129709b833a398a9
Showing with 3 additions and 0 deletions.
  1. +3 −0 reports/blankpages.py
View
@@ -47,6 +47,9 @@ def execute( self ):
pagetitle = ':{{subst:ns:%s}}:%s' % ( nsid, pagetitle )
elif ( nsid == 0 ):
pagetitle = '%s' % (pagetitle)
elif ( nsid == 2 or nsid == 3 ):
# Skip User: and User_talk: namespaces
continue
else:
pagetitle = '{{subst:ns:%s}}:%s' % ( nsid, pagetitle )
tablerow = '| %d\n| [[%s]]\n|-' % ( i, pagetitle )

0 comments on commit a490c80

Please sign in to comment.