jwiki

📖 A library for effortlessly interacting with Wikipedia/MediaWiki

GPL-3.0 License

Stars
109
Committers
4

Bot releases are visible (Hide)

jwiki - jwiki v1.11.0 Latest Release

Published by fastily over 1 year ago

v1.11.0 includes:

  • Replaced ColorLog with slf4j so consumers of this library can specify their own logging schemes.
  • Replaced JwikiCookieJar with JavaNetCookieJar from okhttp. Also includes an option to allow consumers to specify their own custom java.net.CookieManager (#42)
  • Bumped dependency versions.
jwiki - jwiki v1.10.0

Published by fastily over 2 years ago

v1.10.0 includes:

  • jwiki has new maven central group ID: io.github.fastily. This is a breaking change.
    • This change does not apply to older versions of jwiki (≤1.9.0), the org.fastily group id will continue to work for these versions.
  • All package names have been updated (from org.fastily) to use the new io.github.fastily prefix. This is a breaking change.
  • Bumped dependency versions.
jwiki - jwiki v1.9.0

Published by fastily over 2 years ago

v1.9.0 includes:

  • Added the ability to move pages, Wiki.move() (#27)
  • Miscellaneous documentation improvements/fixes (#25, #30)
  • Bumped dependency versions
jwiki - jwiki v1.8.0

Published by fastily over 4 years ago

v1.8.0 includes:

  • Dropped JDK 8 Support, oldest supported version is now JDK 11. If you need JDK 8, please use 1.7.0 or older.*
  • Dropped support for okhttp interceptors.*
  • Implemented Builder pattern to create new Wiki instances. Most settings can now be configured in this way. This decision was made because it reduces maintenance overhead and enhances flexibility when creating new Wiki instances. Refer to class Wiki.Builder for details.*
  • Feature: upload by url (#19)
  • Added org. prefix to all packages; jwiki is now on Maven Central.*
  • Added a new boolean parameter to Wiki.getContribs to allow filtering by new page creations (#22)*
  • Various: Dependency upgrades, housekeeping, spelling fixes (#23)

* = This is a breaking change.

jwiki - jwiki v1.7.0

Published by fastily almost 6 years ago

v1.7.0 includes:

  • Output from ColorLog can now be turned on and off (#9)
  • Added a constructor to Wiki to better support non-WMF Wikis.
  • Moved FSystem and WGen to wp-toolbox as they are not a core part of jwiki functionality.
  • listUserRights in Wiki now returns null for non-existent users.
  • Added search function to Wiki
  • Removed overloaded getCategoryMembers method in Wiki for consistency with other methods in jwiki
  • getDuplicatesOf and getSharedDuplicatesOf in Wiki now return file names with a namespace prefix
  • Bug fixes and under-the-hood optimizations.
jwiki - jwiki v1.6.0

Published by fastily over 6 years ago

v1.6.0 includes:

  • Wiki now has a constructor option for setting a Proxy and/or OkHTTP Interceptor (#4)
  • Wiki now fetches the username information from the server. This allows use of BotPasswords without massively breaking Wiki.whoami() (related: #5).
  • upload() now makes up to 3 retries for failed unstash attempts.
  • New methods in Wiki. You can now:
    • get the content page associated with a talk page
    • query special pages (#6)
  • Updated test suite to Junit 5.
  • Many, many bug fixes (including #7) and under-the-hood optimizations.
jwiki - jwiki v1.5.0

Published by fastily almost 7 years ago

v1.5.0 includes:

  • Merged tp package into WParser in core. WTemplate and WikiText are now static subclasses of WParser. This is a small breaking change.
  • MQuery functions now accept any java Collection as input.
  • New methods in Wiki. You can now:
    • fetch talk page of a page
    • get the creator/last editor of a page
    • get random pages
  • Rewrote Wiki.getPageSections() to make it more useful. This is a breaking change.
  • Implemented deserialization for dwrap classes extending DataEntry. This should reduce some API clutter. Minor changes to ImageInfo and ProtectedTitleEntry; this is a small breaking change.
  • Fixed purge()
  • Fixed recentChanges()
  • Numerous miscellaneous bug fixes and under-the-hood optimizations.
jwiki - jwiki v1.4.0

Published by fastily about 7 years ago

v1.4.0 includes:

  • Added several new methods to Wiki: getExternalLinks, genericPOST, getTextExtracts.
  • Added new package, tp, to parse templates and wiki-text into an easy-to-manipulate format.
  • Added WGen credential manager to util package
  • Many bug fixes and optimizations
jwiki - jwiki v1.3.0

Published by fastily over 7 years ago

v1.3.0 includes:

  • Switched to using Gson and OkHttp libraries for JSON and HTTP methods, respectively.
  • New logic for configuration. This is a breaking change.
  • Total internal rewrite of query and action logic.
  • Dropped some util methods that are not used anywhere in the API.
  • New methods in Wiki
  • Ability to use jwiki with a Wiki that uses custom API endpoints.

Most clients should be able to upgrade with minimal amounts of breakage. As the API matures, there will be fewer/no breaking changes with future releases.

jwiki - jwiki v1.2.1

Published by fastily about 8 years ago

v1.2.1 includes:

  • The ability to get data about section headers on a page, and fetch the list of protected titles on a Wiki.
  • Gradle and Maven integration
  • Package names are now prefixed with fastily for Gradle and Maven (this is a breaking change)
  • Bug fixes and optimizations
jwiki - jwiki v1.2

Published by fastily over 8 years ago

v1.2 introduces:

  • An updated specification for the function getImageInfo in Wiki which now returns more than just the first revision (if available) of a file on a Wiki. This is a minor breaking change.
  • An update to the output format for globalUsage in MQuery, which returns a HashMap<String, ArrayList<Tuple<String, String>>>>. This is a minor breaking change.
  • Handlers for title normalization by MediaWiki which was causing MQuery to return null values in some cases.
  • New additions to the jwiki.util package
  • PTask and CAction are now part of jwiki-extras, as they are out of scope for core jwiki.
  • Many under-the-hood changes that improve speed, stability, and robustness.

This release comes with:

  • Source code with complete comment documentation
  • Binary class files

Notes:

  • Compiled with javac 1.8.0_74-b02
  • md5 = ce0fc7fa9d955a661e2df02797b9ddc2
  • Ready to use with most IDEs; just add it to your classpath.
jwiki - jwiki v1.1

Published by fastily over 8 years ago

v1.1 introduces:

  • A ton of under-the-hood optimizations which will improve handling of larger datasets.
  • New functionality such as log fetching, redirect resolution, server-side template parsing.
  • This also includes some minor breaking changes, such as using HashMap instead of ArrayList<Tuple<>>. This will require a light refactor if you're using MQuery a lot.
  • I have also replaced the clunky MBot interface with the more robust and generalized static methods in PTask.

Includes:

  • Source code w/ javadocs
  • Binary class files

Notes:

  • Compiled with javac 1.8.0_66
  • md5 = fc1d56f6cbcc1b1a4aae8b5769b0d08b
  • Ready to use with most IDEs; just add it to your classpath.
jwiki - jwiki v1.0

Published by fastily about 9 years ago

Compiled with javac 1.8.0_51

Included:

  • Source code w/ javadocs
  • Binary class files

Ready to use with most IDEs; just add it to your classpath.