MediaWiki master
|
InterwikiLookupAdapter on top of SiteLookup. More...
Inherits MediaWiki\Interwiki\InterwikiLookup.
Public Member Functions | |
__construct (SiteLookup $siteLookup, ?array $interwikiMap=null) | |
fetch ( $prefix) | |
See InterwikiLookup::fetch It loads the whole interwiki map. | |
getAllPrefixes ( $local=null) | |
See InterwikiLookup::getAllPrefixes. | |
invalidateCache ( $prefix) | |
See InterwikiLookup::invalidateCache. | |
isValidInterwiki ( $prefix) | |
See InterwikiLookup::isValidInterwiki It loads the whole interwiki map. | |
InterwikiLookupAdapter on top of SiteLookup.
Definition at line 33 of file InterwikiLookupAdapter.php.
MediaWiki\Interwiki\InterwikiLookupAdapter::__construct | ( | SiteLookup | $siteLookup, |
?array | $interwikiMap = null ) |
Definition at line 45 of file InterwikiLookupAdapter.php.
MediaWiki\Interwiki\InterwikiLookupAdapter::fetch | ( | $prefix | ) |
See InterwikiLookup::fetch It loads the whole interwiki map.
string | $prefix | Interwiki prefix to use |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 71 of file InterwikiLookupAdapter.php.
References MediaWiki\Interwiki\InterwikiLookupAdapter\isValidInterwiki().
MediaWiki\Interwiki\InterwikiLookupAdapter::getAllPrefixes | ( | $local = null | ) |
See InterwikiLookup::getAllPrefixes.
bool | null | $local | If set, limits output to local/non-local interwikis |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 90 of file InterwikiLookupAdapter.php.
MediaWiki\Interwiki\InterwikiLookupAdapter::invalidateCache | ( | $prefix | ) |
See InterwikiLookup::invalidateCache.
string | $prefix |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 112 of file InterwikiLookupAdapter.php.
MediaWiki\Interwiki\InterwikiLookupAdapter::isValidInterwiki | ( | $prefix | ) |
See InterwikiLookup::isValidInterwiki It loads the whole interwiki map.
string | $prefix | Interwiki prefix to use |
Implements MediaWiki\Interwiki\InterwikiLookup.
Definition at line 60 of file InterwikiLookupAdapter.php.
Referenced by MediaWiki\Interwiki\InterwikiLookupAdapter\fetch().