wikitools
wikitools copied to clipboard
Python package for working with MediaWiki wikis
Is it possible to port wiki-tools to python3?
line 55 else without if
This is not a warning. Is terminal. Please add it to errors. (requests.exceptions.HTTPError: 403 Client Error: Insecure Request Forbidden - use HTTPS - https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-May/000110.html .... trying request again in 10...
Hi, I don't really get what it means by "my.wikisite.org" when I am using wikitools.wiki, for example, ``` site = wiki.Wiki("http://my.wikisite.org/w/api.php") ``` I am using ubuntu and mediawiki-1.28.0. I have...
How about something like this for #43? This also includes a little bit of cleanup, and I think it's ready for a first look. I've only tested manually so far...
Hi! [Citation Hunt](https://tools.wmflabs.org/citationhunt/) uses wikitools on its (batch) jobs that process Wikipedia articles, both for fetching the article's text and converting wikicode to HTML. I was bit by the fact...
This (very roughly) implements a `getEntities` function to retrieve semantic data from a WikiData-like site. Example: ``` import wikitools as wt wikidata_site = wt.wiki.Wiki(url='https://www.wikidata.org/w/api.php') wt.page.Page(site=wikidata_site,title='2016 Central Italy earthquake',followRedir=False).getEntities() ```
Hi, We are using wikitools to bulk upload PDF files http://commons.wikimedia.org https://github.com/tshrinivasan/tools-for-wiki/blob/master/pdf-upload-commons/pdf-djvu-uploader-commons.py Found that we can not upload files that are more than 100 MB size. https://github.com/tshrinivasan/tools-for-wiki/issues/10 Commonist kind of...
A site maintainer asked if the requests for content could be sent as GET instead of POST, so I made a couple of minor changes in wikitools to support this....