Hi,
I am trying to build a script to add a reference to a few hundred articles on pt.wikipedia. I would like to use the noreferences.py script that is part of core, to add a reference section in the same run, if it is not already present in the article.
I have tried to import the script, the NoReferencesBot class, but I must be doing something wrong. It says that the function hasn't been defined.
You can check what I have been trying to do here: https://public.paws.wmcloud.org/User:GoEThe/IUCN%20status.ipynb
Any help will be greatly appreciated!
Regards,
GoEThe
_______________________________________________
pywikibot mailing list -- pywikibot@lists.wikimedia.org
To unsubscribe send an email to pywikibot-leave@lists.wikimedia.org