📖 A library for effortlessly interacting with Wikipedia/MediaWiki
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)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.v1.9.0 includes:
Wiki.move()
(#27)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.
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 prefixv1.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:
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()
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
packagev1.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.
v1.2.1 includes:
fastily
for Gradle and Maven (this is a breaking change)