MediaWiki
master
InterwikiLookup.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Interwiki
;
22
30
interface
InterwikiLookup
{
31
38
public
function
isValidInterwiki
( $prefix );
39
46
public
function
fetch
( $prefix );
47
72
public
function
getAllPrefixes
( $local =
null
);
73
79
public
function
invalidateCache
( $prefix );
80
81
}
MediaWiki\Interwiki\InterwikiLookup
Service interface for looking up Interwiki records.
Definition
InterwikiLookup.php:30
MediaWiki\Interwiki\InterwikiLookup\invalidateCache
invalidateCache( $prefix)
Purge the in-process and any persistent cache (e.g.
MediaWiki\Interwiki\InterwikiLookup\isValidInterwiki
isValidInterwiki( $prefix)
Check whether an interwiki prefix exists.
MediaWiki\Interwiki\InterwikiLookup\getAllPrefixes
getAllPrefixes( $local=null)
Returns information about all interwiki prefixes, in the form of rows of the interwiki table.
MediaWiki\Interwiki\InterwikiLookup\fetch
fetch( $prefix)
Get the Interwiki object for a given prefix.
MediaWiki\Interwiki
Definition
ClassicInterwikiLookup.php:21
includes
interwiki
InterwikiLookup.php
Generated on Tue May 20 2025 23:24:59 for MediaWiki by
1.10.0