Package | Description |
---|---|
org.wikipedia |
This file is part of the https://github.com/WolfgangFahl/Mediawiki-Japi open source project
Copyright 2015-2018 BITPlan GmbH https://github.com/BITPlan
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
|
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.deletedContribs(String u)
Gets the deleted contributions of a user.
|
Wiki.Revision[] |
Wiki.deletedContribs(String u,
Calendar end,
Calendar start,
boolean reverse,
int... namespace)
Gets the deleted contributions of a user in the given namespace.
|
Wiki.Revision[] |
Wiki.getDeletedHistory(String title)
Gets the deleted history of a page.
|
Wiki.Revision[] |
Wiki.getDeletedHistory(String title,
Calendar start,
Calendar end,
boolean reverse)
Gets the deleted history of a page.
|
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,
boolean reverse)
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.getRevisions(long[] oldids)
Gets revisions based on given oldids.
|
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
void Wiki. |
revisionDelete(Boolean hidecontent,
Boolean hideuser,
Boolean hidereason,
String reason,
Boolean suppress,
Wiki.Revision[] revisions)
Deletes and undeletes revisions.
| |
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.undelete(String title,
String reason,
Wiki.Revision... revisions)
Undeletes a 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 © 2018 BITPlan GmbH. All rights reserved.