A Java wiki bot framework that is only one file -- org/wikipedia/Wiki.java. Some functionality provided by MediaWiki extensions deployed on Wikimedia sites is available in org/wikipedia/WMFWiki.java. This project also contains the source code to the tools hosted at https://wikipediatools.appspot.com and other Wikipedia-related bits and pieces. Requires JDK >= 1.8. For those using Java 9, only the java.base and java.logging modules are required.
Latest stable version: 0.34 -- MediaWiki versions 1.28+
Bug reports may be filed in the Issue tracker or at my talk page. Please read this essay on filing bug reports effectively if you are not already familiar with its contents. Bugs regarding bot things should have a short test case that demonstrates the problem. Before reporting character encoding problems, please display the output in a JOptionPane to isolate your development environment.
- The package org.wikipedia.servlets is licensed under AGPLv3+
- Everything else: GPLv3+
- Javadoc
- Extended documentation, including an example program
- See the page on Wikipedia for some old revision history.