MediaWiki REL1_33
NullInterwikiLookup.php
Go to the documentation of this file.
1<?php
21namespace MediaWiki\Interwiki;
22
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}
An interwiki lookup that has no data, intended for use in the installer.
Service interface for looking up Interwiki records.
Copyright (C) 2018 Kunal Mehta legoktm@member.fsf.org