MediaWiki REL1_33
InterwikiLookup.php
Go to the documentation of this file.
1<?php
2namespace MediaWiki\Interwiki;
3
24use Interwiki;
25
31interface 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}
Value object for representing interwiki records.
Definition Interwiki.php:27
Service interface for looking up Interwiki records.
invalidateCache( $prefix)
Purge the in-process and persistent object cache for an interwiki prefix.
isValidInterwiki( $prefix)
Check whether an interwiki prefix exists.
getAllPrefixes( $local=null)
Returns information about all interwiki prefixes, in the form of rows of the interwiki table.
fetch( $prefix)
Fetch an Interwiki object.
Copyright (C) 2018 Kunal Mehta legoktm@member.fsf.org