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.LogEntry[] |
Wiki.User.blockLog()
Returns a log of the times when the user has been blocked.
|
Wiki.LogEntry[] |
Wiki.getImageHistory(String title)
Returns the upload history of an image.
|
Wiki.LogEntry[] |
Wiki.getIPBlockList(Calendar start,
Calendar end)
Lists currently operating blocks that were made in the specified
interval.
|
Wiki.LogEntry[] |
Wiki.getIPBlockList(String user)
Looks up a particular user in the IP block list, i.e. whether a user
is currently blocked.
|
protected Wiki.LogEntry[] |
Wiki.getIPBlockList(String user,
Calendar start,
Calendar end)
Fetches part of the list of currently operational blocks.
|
Wiki.LogEntry[] |
Wiki.getLogEntries(Calendar start,
Calendar end)
Gets all log entries that occurred between the specified dates.
|
Wiki.LogEntry[] |
Wiki.getLogEntries(Calendar start,
Calendar end,
int amount,
String log,
String action,
Wiki.User user,
String target,
int namespace)
Gets the specified amount of log entries between the given times by
the given user on the given target.
|
Wiki.LogEntry[] |
Wiki.getLogEntries(int amount)
Gets the most recent set of log entries up to the given amount.
|
Wiki.LogEntry[] |
Wiki.getLogEntries(int amount,
String type,
String action)
Gets the last how ever many log entries in the specified log.
|
Wiki.LogEntry[] |
Wiki.getLogEntries(String target)
Gets the log entries representing actions that were performed on a
specific target.
|
Wiki.LogEntry[] |
Wiki.getLogEntries(Wiki.User user)
Gets log entries for a specific user.
|
Wiki.LogEntry[] |
Wiki.getUploads(Wiki.User user)
Gets the uploads of a user.
|
Wiki.LogEntry[] |
Wiki.getUploads(Wiki.User user,
Calendar start,
Calendar end)
Gets the uploads of a user between the specified times.
|
protected Wiki.LogEntry |
Wiki.parseLogEntry(String xml)
Parses xml generated by getLogEntries(),
getImageHistory() and getIPBlockList() into LogEntry
objects.
|
Modifier and Type | Method and Description |
---|---|
int |
Wiki.LogEntry.compareTo(Wiki.LogEntry other)
Compares this log entry to another one based on the recentness
of their timestamps.
|
byte[] |
Wiki.getOldImage(Wiki.LogEntry entry)
Gets an old image revision and returns the image data in a byte[].
|
Copyright © 2018 BITPlan GmbH. All rights reserved.