Wiki |
This is preliminary documentation and is subject to change.
Class | Description | |
---|---|---|
AccountAssertionFailureException | Raises when the account assertion fails when performing MediaWiki API requests. | |
BadTokenException | Raises when the token used to invoke MediaWiki API is invalid. (badtoken) | |
BadValueException | An exception indicating an unrecognized value was specified for an enumerated-value parameter. | |
BuiltInNamespaces | Contains MediaWiki built-in namespace IDs for most MediaWiki sites. (MediaWiki 1.14+) | |
ContentModels | Contains commonly-used content model names for MediaWiki pages. (MediaWiki 1.22+) | |
InvalidActionException | An exception indicating the requested action is invalid. | |
MediaWikiReadOnlyException | Raises when the MediaWiki server is in read-only mode. | |
MediaWikiRemoteException | Raises when the remote MediaWiki site has encountered an internal error. (internal_api_error_*) | |
OperationConflictException | Raises when conflict detected performing the operation. (*conflict) | |
OperationFailedException | An exception indicating the requested operation has failed. | |
ServerLagException | Raises when MediaWiki server replication lag does not meet the required limitation. (mw:Manual:Maxlag parameter) | |
UnauthorizedOperationException | Raises when user has no rights for certain operations. | |
UnexpectedDataException | Raises when the received network data is out of expectation. This may indicate the client library code is out of date. | |
WikiClientException | Base exception class for WikiClientLibrary. | |
WikiLink | An immutable representation of a MediaWiki link (local or interwiki). |
Structure | Description | |
---|---|---|
GeoCoordinate | Represents a coordinate and an optional size in radius on the globe. | |
GeoCoordinateRectangle | Represents a spherical rectangle determined by the top-left (north-west) and bottom-right (south-east) coordinates on the globe. | |
MediaWikiVersion | Represents a MediaWiki core version number. | |
UserStub | Represents basic information of a user. |
Interface | Description | |
---|---|---|
IWikiClientAsyncInitialization | Provides properties to expose the asynchronous initialization status of an instance. | |
IWikiClientLoggable | Provides methods for setting up logger for a class. |
Enumeration | Description | |
---|---|---|
Gender | Gender of a MediaWiki site contributor. | |
MediaWikiDevChannel | MediaWiki development channels. |