MediaWiki
REL1_33
NullInterwikiLookup.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Interwiki
;
22
29
class
NullInterwikiLookup
implements
InterwikiLookup
{
30
34
public
function
isValidInterwiki
( $prefix ) {
35
return
false
;
36
}
37
41
public
function
fetch
( $prefix ) {
42
return
false
;
43
}
44
48
public
function
getAllPrefixes
( $local =
null
) {
49
return
[];
50
}
51
55
public
function
invalidateCache
( $prefix ) {
56
}
57
}
MediaWiki\Interwiki\NullInterwikiLookup
An interwiki lookup that has no data, intended for use in the installer.
Definition
NullInterwikiLookup.php:29
MediaWiki\Interwiki\NullInterwikiLookup\isValidInterwiki
isValidInterwiki( $prefix)
@inheritDoc
Definition
NullInterwikiLookup.php:34
MediaWiki\Interwiki\NullInterwikiLookup\invalidateCache
invalidateCache( $prefix)
@inheritDoc
Definition
NullInterwikiLookup.php:55
MediaWiki\Interwiki\NullInterwikiLookup\getAllPrefixes
getAllPrefixes( $local=null)
@inheritDoc
Definition
NullInterwikiLookup.php:48
MediaWiki\Interwiki\NullInterwikiLookup\fetch
fetch( $prefix)
@inheritDoc
Definition
NullInterwikiLookup.php:41
MediaWiki\Interwiki\InterwikiLookup
Service interface for looking up Interwiki records.
Definition
InterwikiLookup.php:31
MediaWiki\Interwiki
Copyright (C) 2018 Kunal Mehta legoktm@member.fsf.org
Definition
ClassicInterwikiLookup.php:23
includes
interwiki
NullInterwikiLookup.php
Generated on Mon Nov 25 2024 15:49:29 for MediaWiki by
1.10.0