MediaWiki  master
Go to the documentation of this file.
1 <?php
21 namespace MediaWiki\Title;
27 interface ImportTitleFactory {
36  public function createTitleFromForeignTitle( ForeignTitle $foreignTitle );
37 }
43 class_alias( ImportTitleFactory::class, 'ImportTitleFactory' );
A simple, immutable structure to hold the title of a page on a foreign MediaWiki installation.
Represents an object that can convert page titles on a foreign wiki (ForeignTitle objects) into page ...
createTitleFromForeignTitle(ForeignTitle $foreignTitle)
Determines which local title best corresponds to the given foreign title.