MediaWiki REL1_40
|
An interwiki lookup that has no data, intended for use in the installer. More...
Inherits MediaWiki\Interwiki\InterwikiLookup.
Public Member Functions | ||||
fetch ( $prefix) | ||||
Get the Interwiki object for a given prefix.
| ||||
getAllPrefixes ( $local=null) | ||||
Returns information about all interwiki prefixes, in the form of rows of the interwiki table.Each row may have the following keys:
| ||||
invalidateCache ( $prefix) | ||||
Purge the in-process and any persistent cache (e.g.memcached) for an interwiki prefix.
| ||||
isValidInterwiki ( $prefix) | ||||
Check whether an interwiki prefix exists.
| ||||
An interwiki lookup that has no data, intended for use in the installer.
Definition at line 30 of file NullInterwikiLookup.php.
MediaWiki\Interwiki\NullInterwikiLookup::fetch | ( | $prefix | ) |
Get the Interwiki object for a given prefix.
string | $prefix | Interwiki prefix |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 42 of file NullInterwikiLookup.php.
MediaWiki\Interwiki\NullInterwikiLookup::getAllPrefixes | ( | $local = null | ) |
Returns information about all interwiki prefixes, in the form of rows of the interwiki table.Each row may have the following keys:
bool | null | $local | If set, limit output to local or non-local interwikis |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 49 of file NullInterwikiLookup.php.
MediaWiki\Interwiki\NullInterwikiLookup::invalidateCache | ( | $prefix | ) |
Purge the in-process and any persistent cache (e.g.memcached) for an interwiki prefix.
string | $prefix |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 56 of file NullInterwikiLookup.php.
MediaWiki\Interwiki\NullInterwikiLookup::isValidInterwiki | ( | $prefix | ) |
Check whether an interwiki prefix exists.
string | $prefix | Interwiki prefix |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 35 of file NullInterwikiLookup.php.