Click or drag to resize

WikiClientLibrary Namespace

This is preliminary documentation and is subject to change.

The root namespace of Wiki Client Library.
Classes
 ClassDescription
Public classAccountAssertionFailureException Raises when the account assertion fails when performing MediaWiki API requests.
Public classBadTokenException Raises when the token used to invoke MediaWiki API is invalid. (badtoken)
Public classBadValueException An exception indicating an unrecognized value was specified for an enumerated-value parameter.
Public classBuiltInNamespaces Contains MediaWiki built-in namespace IDs for most MediaWiki sites. (MediaWiki 1.14+)
Public classContentModels Contains commonly-used content model names for MediaWiki pages. (MediaWiki 1.22+)
Public classInvalidActionException An exception indicating the requested action is invalid.
Public classMediaWikiRemoteException Raises when the remote MediaWiki site has encountered an internal error. (internal_api_error_*)
Public classOperationConflictException Raises when conflict detected performing the operation. (*conflict)
Public classOperationFailedException An exception indicating the requested operation has failed.
Public classServerLagException Raises when MediaWiki server replication lag does not meet the required limitation. (mw:Manual:Maxlag parameter)
Public classUnauthorizedOperationException Raises when user has no rights for certain operations.
Public classUnexpectedDataException Raises when the received network data is out of expectation. This may indicate the client library code is out of date.
Public classWikiClientException Base exception class for WikiClientLibrary.
Public classWikiLink An immutable representation of a MediaWiki link (local or interwiki).
Structures
 StructureDescription
Public structureGeoCoordinate Represents a coordinate and an optional size in radius on the globe.
Public structureGeoCoordinateRectangle Represents a spherical rectangle determined by the top-left (north-west) and bottom-right (south-east) coordinates on the globe.
Public structureMediaWikiVersion Represents a MediaWiki core version number.
Public structureUserStub Represents basic information of a user.
Interfaces
 InterfaceDescription
Public interfaceIWikiClientAsyncInitialization Provides properties to expose the asynchronous initialization status of an instance.
Public interfaceIWikiClientLoggable Provides methods for setting up logger for a class.
Enumerations
 EnumerationDescription
Public enumerationGender Gender of a MediaWiki site contributor.
Public enumerationMediaWikiDevChannel MediaWiki development channels.