📖 A library for effortlessly interacting with Wikipedia/MediaWiki
GPL-3.0 License
Bot releases are hidden (Show)
v1.11.0 includes:
ColorLog
with slf4j so consumers of this library can specify their own logging schemes.JwikiCookieJar
with JavaNetCookieJar
from okhttp
. Also includes an option to allow consumers to specify their own custom java.net.CookieManager
(#42)Published by fastily over 2 years ago
v1.10.0 includes:
io.github.fastily
. This is a breaking change.
org.fastily
group id will continue to work for these versions.org.fastily
) to use the new io.github.fastily
prefix. This is a breaking change.Published by fastily over 2 years ago
v1.9.0 includes:
Wiki.move()
(#27)Published by fastily over 4 years ago
v1.8.0 includes:
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.*org.
prefix to all packages; jwiki is now on Maven Central.*Wiki.getContribs
to allow filtering by new page creations (#22)** = This is a breaking change.
Published by fastily almost 6 years ago
v1.7.0 includes:
Wiki
to better support non-WMF Wikis.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.search
function to Wiki
getCategoryMembers
method in Wiki
for consistency with other methods in jwiki
getDuplicatesOf
and getSharedDuplicatesOf
in Wiki
now return file names with a namespace prefixPublished 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.Wiki
. You can now:
Published by fastily almost 7 years ago
v1.5.0 includes:
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.Wiki
. You can now:
Wiki.getPageSections()
to make it more useful. This is a breaking change.dwrap
classes extending DataEntry
. This should reduce some API clutter. Minor changes to ImageInfo
and ProtectedTitleEntry
; this is a small breaking change.purge()
recentChanges()
Published by fastily about 7 years ago
v1.4.0 includes:
getExternalLinks
, genericPOST
, getTextExtracts
.tp
, to parse templates and wiki-text into an easy-to-manipulate format.WGen
credential manager to util
packagePublished by fastily over 7 years ago
v1.3.0 includes:
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.
Published by fastily about 8 years ago
v1.2.1 includes:
fastily
for Gradle and Maven (this is a breaking change)Published by fastily over 8 years ago
v1.2 introduces:
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.globalUsage
in MQuery
, which returns a HashMap<String, ArrayList<Tuple<String, String>>>>
. This is a minor breaking change.MQuery
to return null values in some cases.jwiki.util
packagePTask
and CAction
are now part of jwiki-extras, as they are out of scope for core jwiki.This release comes with:
Notes:
javac 1.8.0_74-b02
ce0fc7fa9d955a661e2df02797b9ddc2
Published by fastily over 8 years ago
v1.1 introduces:
HashMap
instead of ArrayList<Tuple<>>
. This will require a light refactor if you're using MQuery
a lot.MBot
interface with the more robust and generalized static methods in PTask
.Includes:
Notes:
javac 1.8.0_66
fc1d56f6cbcc1b1a4aae8b5769b0d08b
Published by fastily about 9 years ago
Compiled with javac 1.8.0_51
Included:
Ready to use with most IDEs; just add it to your classpath.