jwbf
jwbf copied to clipboard
Java Wiki Bot Framework is a library to maintain Wikis like Wikipedia based on MediaWiki.
When running the API from a shaded JAR (when the package is bundled within a JAR) the creation of a MediaWikiBot fails with the following message: Caused by: java.lang.IllegalArgumentException: URI...
In this file: https://github.com/eldur/jwbf/blob/master/src/main/java/net/sourceforge/jwbf/mediawiki/actions/editing/GetRevision.java I had to remove line 84 which contains ".param("rvlimit", "1")", otherwise I would get an error message when attempting to obtain multiple pages in one query....
I have written a bot using this plugin, but I noticed some strange behaviour. At this point my bot is a bit inefficient, it edits the same article multiple times,...
When get a article, only 10000 characters of the text is received . It's configurable?
net/sourceforge/jwbf/core/actions/HttpActionClient.java:386 is a pointless warning. It should be info or rely on reflection to check if a user agent is set in the HTTPClient. This should be fixed because it's...
Running ``` java new MediaWikiBot("https://en.wikipedia.org/w/").getArticle("42"); ``` I started to get `jan. 24, 2016 5:49:00 DU org.apache.http.client.protocol.ResponseProcessCookies processCookies` `WARNING: Invalid cookie header: "Set-Cookie: WMF-Last-Access=24-Jan-2016;Path=/;HttpOnly;Expires=Thu, 25 Feb 2016 12:00:00 GMT". Invalid 'expires'...
Please consider implementing OAuth 1.0a authentication. OAuth will be the preferred way of authentication for bots. Example config for Pywikibot: https://www.mediawiki.org/wiki/Manual:Pywikibot/OAuth
- Added support for [?action=query&list=allusers](https://www.mediawiki.org/wiki/API:Allusers) through AllUsers - Added test and testdata
Added the class PostPurge to support the API's [?action=purge](https://www.mediawiki.org/wiki/API:Purge). Added a test for PostPurge. Also removed testdata leftovers from my last pull request.
Is it or will it be possible to watch articles (add them to personal watchlist) ?