Package | Description |
---|---|
org.wikipedia |
Modifier and Type | Method and Description |
---|---|
Wiki.Revision[] |
Wiki.User.contribs(int... ns)
Fetches the contributions for this user in a particular namespace(s).
|
Wiki.Revision[] |
Wiki.contribs(String user,
int... ns)
Gets the contributions of a user in a particular namespace.
|
Wiki.Revision[] |
Wiki.contribs(String user,
String prefix,
Calendar end,
Calendar start,
int... ns)
Gets the contributions for a user, an IP address or a range of IP
addresses.
|
Wiki.Revision |
Wiki.getFirstRevision(String title)
Gets the first revision of a page, or null if the page does not exist.
|
Wiki.Revision |
Wiki.Revision.getNext()
Gets the next revision.
|
Wiki.Revision[] |
Wiki.getPageHistory(String title)
Gets the entire revision history of a page.
|
Wiki.Revision[] |
Wiki.getPageHistory(String title,
Calendar start,
Calendar end)
Gets the revision history of a page between two dates.
|
Wiki.Revision |
Wiki.Revision.getPrevious()
Gets the previous revision.
|
Wiki.Revision |
Wiki.getRevision(long oldid)
Gets a revision based on a given oldid.
|
Wiki.Revision |
Wiki.getTopRevision(String title)
Gets the most recent revision of a page, or null if the page does not
exist.
|
Wiki.Revision[] |
Wiki.newPages(int amount)
Fetches the amount most recently created pages in the main
namespace.
|
Wiki.Revision[] |
Wiki.newPages(int amount,
int rcoptions)
Fetches the amount most recently created pages in the main
namespace subject to the specified constraints.
|
Wiki.Revision[] |
Wiki.newPages(int amount,
int rcoptions,
int... ns)
Fetches the amount most recently created pages in the specified
namespace, subject to the specified constraints.
|
protected Wiki.Revision |
Wiki.parseRevision(String xml,
String title)
Parses stuff of the form title="L.
|
Wiki.Revision[] |
Wiki.rangeContribs(String range)
Deprecated.
doesn't support IPv6, and I am way too lazy to make it do so
|
Wiki.Revision[] |
Wiki.recentChanges(int amount)
Fetches the amount most recent changes in the main namespace.
|
Wiki.Revision[] |
Wiki.recentChanges(int amount,
int... ns)
Fetches the amount most recent changes in the specified
namespace.
|
protected Wiki.Revision[] |
Wiki.recentChanges(int amount,
int rcoptions,
boolean newpages,
int... ns)
Fetches the amount most recent changes in the specified
namespace subject to the specified constraints.
|
Wiki.Revision[] |
Wiki.recentChanges(int amount,
int rcoptions,
int... ns)
Fetches the amount most recent changes in the specified
namespace subject to the specified constraints.
|
Wiki.Revision[] |
Wiki.watchlist()
Fetches the most recent changes to pages on your watchlist.
|
Wiki.Revision[] |
Wiki.watchlist(boolean allrev,
int... ns)
Fetches recent changes to pages on your watchlist.
|
Modifier and Type | Method and Description |
---|---|
int |
Wiki.Revision.compareTo(Wiki.Revision other)
Compares this revision to another revision based on the recentness of
their timestamps.
|
String |
Wiki.Revision.diff(Wiki.Revision other)
Returns a HTML rendered diff table; see the table at the example.
|
void |
Wiki.rollback(Wiki.Revision revision)
Reverts a series of edits on the same page by the same user quickly
provided that they are the most recent revisions on that page.
|
void |
Wiki.rollback(Wiki.Revision revision,
boolean bot,
String reason)
Reverts a series of edits on the same page by the same user quickly
provided that they are the most recent revisions on that page.
|
void |
Wiki.undo(Wiki.Revision rev,
Wiki.Revision to,
String reason,
boolean minor,
boolean bot)
Undoes revisions, equivalent to the "undo" button in the GUI page
history.
|
Copyright © 2013. All rights reserved.