(require("gateway/mediawiki"))(api, config) → {MediaWikiGateway}
Creates an instance of the MediaWiki API gateway.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
api |
mw.Api | |||||||||||||
config |
Object | Configuration that affects the major behavior of the gateway. Properties
|
- Source:
Returns:
- Type
- MediaWikiGateway
Type Definitions
MediaWikiGateway
Type:
- Gateway
Properties:
Name | Type | Description |
---|---|---|
extractPageFromResponse |
function | |
formatPlainTextExtract |
function |
- Source: