MediaWiki
REL1_32
InterwikiLookup.php
Go to the documentation of this file.
1
<?php
2
namespace
MediaWiki\Interwiki
;
3
24
use
Interwiki
;
25
31
interface
InterwikiLookup
{
32
39
public
function
isValidInterwiki
( $prefix );
40
47
public
function
fetch
( $prefix );
48
66
public
function
getAllPrefixes
( $local =
null
);
67
72
public
function
invalidateCache
( $prefix );
73
74
}
Interwiki
Value object for representing interwiki records.
Definition
Interwiki.php:27
MediaWiki\Interwiki\InterwikiLookup
Service interface for looking up Interwiki records.
Definition
InterwikiLookup.php:31
MediaWiki\Interwiki\InterwikiLookup\invalidateCache
invalidateCache( $prefix)
Purge the in-process and persistent object cache for an interwiki prefix.
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)
Fetch an Interwiki object.
MediaWiki\Interwiki
Copyright (C) 2018 Kunal Mehta legoktm@member.fsf.org
Definition
ClassicInterwikiLookup.php:23
includes
interwiki
InterwikiLookup.php
Generated on Mon Nov 25 2024 15:57:10 for MediaWiki by
1.10.0