wpoa / recitation-bot

MediaWiki bot to upload content to Wikimedia projects and update corresponding citations on Wikipedia.
GNU General Public License v3.0
9 stars 3 forks source link
doi mediawiki-bot open-access pubmed-central python pywikibot wikimedia-commons wikisource

recitation-bot

Pronounced as in "recitation" (reh-sih-tay-shun) or "re-citation" (ree-sigh-tay-shun).

To create clear signals of "open access"ness in Wikipedia references, when triggered, this MediaWiki bot uploads permissible cited content to relevant Wikimedia projects and updates corresponding citations on Wikipedia. Intended to replace citation-bot, with a focus on DOIs and Open Access scholarly literature.

Read more at tha Signalling OA-ness page under WikiProject Open Access on the English language Wikipedia.

Entry points

To Launch

Troubleshooting


EOFError on commons.login()


delete the cookie pywikibot.lwp in the ~/.pywikibot folder. then run something like source env/bin/activate import pywikibot commons = pywikibot.Site('commons','commons') commons.login() enws = pywikibot.Site('en','wikisource') enws.login()

and you should get a new cookie that will work. you might have gotten logged out for a number of reasons including the bot being blocked.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/