| Package | Description |
|---|---|
| info.bliki.api |
Helper Classes for the Wikimedia API
|
| info.bliki.api.query |
| Modifier and Type | Method and Description |
|---|---|
List<Page> |
Connector.query(User user,
Query query)
Query the Mediawiki API for some wiki pages.
|
| Modifier and Type | Method and Description |
|---|---|
Query |
Query.apfrom(String title)
The page title to start enumerating from.
|
Query |
Query.aplimit(int limit)
How many total pages to return.
|
static Query |
Query.create() |
Query |
Query.generator(String generator)
Use the output of a list as the input for other prop/list/meta items.
One value: links, images, templates, categories, duplicatefiles, allimages, allpages, alllinks, allcategories, backlinks, categorymembers, embeddedin, imageusage, search, watchlist, exturlusage, random |
Query |
Query.indexpageids()
Include an additional pageids section listing all returned page IDs.
|
Query |
Query.inprop(String... prop)
Which additional properties to get: "protection" - List the protection
level of each page "talkid" - The page ID of the talk page for each
non-talk page "subjectid" - The page ID of the parent page for each talk
page Values (separate with '|'): protection, talkid, subjectid, url,
readable
|
Query |
Query.inprop(String prop)
Which additional property to get:
"protection" - List the protection level of each page "talkid" - The page ID of the talk page for each non-talk page "subjectid" - The page ID of the parent page for each talk page Values (separate with '|'): protection, talkid, subjectid, url, readable |
Query |
Query.intoken(String intoken) |
Query |
Query.list(String... lists)
Which lists to get.
Values (separate with '|'): allimages, allpages, alllinks, allcategories, allusers, backlinks, blocks, categorymembers, deletedrevs, embeddedin, imageusage, logevents, recentchanges, search, usercontribs, watchlist, exturlusage, users, random |
Query |
Query.meta(String... metadata)
Which meta data to get about the site.
Values (separate with '|'): siteinfo, userinfo, allmessages |
Query |
Query.pageids(int... pageids)
A list of page IDs to work on
|
Query |
Query.prop(String... prop)
Which properties to get for the titles/revisions/pageids.
Values (internally separated with '|'): info, revisions, links, langlinks, images, imageinfo, templates, categories, extlinks, categoryinfo, duplicatefiles |
Query |
Query.prop(String prop)
Which property to get for the titles/revisions/pageids.
Values info, revisions, links, langlinks, images, imageinfo, templates, categories, extlinks, categoryinfo, duplicatefiles |
Query |
Query.redirects()
Automatically resolve redirects.
|
Query |
Query.revids(int... revids)
A list of revision IDs to work on
|
Query |
Query.titles(String... titles)
A list of titles to work on
|
Query |
Query.titles(String title)
One title to work on
|
Copyright © 2017 Java Wikipedia API (Bliki engine). All rights reserved.