MediaWiki REL1_39
|
An interwiki lookup that has no data, intended for use in the installer. More...
Public Member Functions | ||||
fetch ( $prefix) | ||||
Fetch an Interwiki object.
| ||||
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 persistent object cache 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 29 of file NullInterwikiLookup.php.
MediaWiki\Interwiki\NullInterwikiLookup::fetch | ( | $prefix | ) |
Fetch an Interwiki object.
string | $prefix | Interwiki prefix to use |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 41 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, limits output to local/non-local interwikis |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 48 of file NullInterwikiLookup.php.
MediaWiki\Interwiki\NullInterwikiLookup::invalidateCache | ( | $prefix | ) |
Purge the in-process and persistent object cache for an interwiki prefix.
string | $prefix |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 55 of file NullInterwikiLookup.php.
MediaWiki\Interwiki\NullInterwikiLookup::isValidInterwiki | ( | $prefix | ) |
Check whether an interwiki prefix exists.
string | $prefix | Interwiki prefix to use |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 34 of file NullInterwikiLookup.php.