MediaWiki
1.28.0
|
Service interface for looking up Interwiki records. More...
Public Member Functions | |
fetch ($prefix) | |
Fetch an Interwiki object. More... | |
getAllPrefixes ($local=null) | |
Returns all interwiki prefixes. More... | |
invalidateCache ($prefix) | |
Purge the in-process and persistent object cache for an interwiki prefix. More... | |
isValidInterwiki ($prefix) | |
Check whether an interwiki prefix exists. More... | |
Service interface for looking up Interwiki records.
Definition at line 31 of file InterwikiLookup.php.
MediaWiki\Interwiki\InterwikiLookup::fetch | ( | $prefix | ) |
Fetch an Interwiki object.
string | $prefix | Interwiki prefix to use |
Implemented in MediaWiki\Interwiki\ClassicInterwikiLookup.
MediaWiki\Interwiki\InterwikiLookup::getAllPrefixes | ( | $local = null | ) |
Returns all interwiki prefixes.
string | null | $local | If set, limits output to local/non-local interwikis |
Implemented in MediaWiki\Interwiki\ClassicInterwikiLookup.
MediaWiki\Interwiki\InterwikiLookup::invalidateCache | ( | $prefix | ) |
Purge the in-process and persistent object cache for an interwiki prefix.
string | $prefix |
Implemented in MediaWiki\Interwiki\ClassicInterwikiLookup.
MediaWiki\Interwiki\InterwikiLookup::isValidInterwiki | ( | $prefix | ) |
Check whether an interwiki prefix exists.
string | $prefix | Interwiki prefix to use |
Implemented in MediaWiki\Interwiki\ClassicInterwikiLookup.