Operator: «l| Ψrom3th3ăn ™|l» (talk)
Automatic or Manually Assisted: Automatic
Programming Language(s): Pywikipedia
Function Summary:
Edit period(s) (e.g. Continuous, daily, one time run): Multiple
Already has a bot flag (Y/N):
Function Details:
Per Wikipedia:BOT bots should have bot or something signifying an automated process in the user name -- Chris 10:10, 19 July 2008 (UTC) reply
(see relevant detection code below).
def lacksReferences(self, text, verbose = True):
"""
Checks whether or not the page is lacking a references tag.
"""
oldTextCleaned = wikipedia.removeDisabledParts(text)
if not self.refR.search(oldTextCleaned):
if verbose:
wikipedia.output(u'No changes necessary: no ref tags found.')
return False
elif self.referencesR.search(oldTextCleaned):
if verbose:
wikipedia.output(u'No changes necessary: references tag found.')
return False
else:
if self.referencesTemplates:
templateR = u'{{(' + u'|'.join(self.referencesTemplates) + ')'
if re.search(templateR, oldTextCleaned, re.IGNORECASE):
if verbose:
wikipedia.output(u'No changes necessary: references template found.')
return False
if verbose:
wikipedia.output(u'Found ref without references.')
return True
«l| Ψrom3th3ăn ™|l» (talk) 10:42, 19 July 2008 (UTC) reply
I have renamed the bot to Prombot per [1] =Nichalp «Talk»= 12:54, 19 July 2008 (UTC) reply
Denied. Procedural deny, please file this properly. BJ Talk 03:31, 21 July 2008 (UTC) reply