MediaWiki REL1_28
|
Service interface for looking up Interwiki records. More...
Public Member Functions | |
fetch ( $prefix) | |
Fetch an Interwiki object. | |
getAllPrefixes ( $local=null) | |
Returns all interwiki prefixes. | |
invalidateCache ( $prefix) | |
Purge the in-process and persistent object cache for an interwiki prefix. | |
isValidInterwiki ( $prefix) | |
Check whether an interwiki prefix exists. | |
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.