Add LinkTarget interface
authoraddshore <addshorewiki@gmail.com>
Tue, 26 Jan 2016 20:24:27 +0000 (21:24 +0100)
committeraddshore <addshorewiki@gmail.com>
Fri, 29 Jan 2016 11:48:21 +0000 (12:48 +0100)
commit1c63abcda32a91f75f066225df7fd929726caded
tree85350d142c7bdcd7b72fb1e99c6e4bc47a383ab0
parentc2a9f88a80e117ee7eb6675fda30ac6c18d27292
Add LinkTarget interface

To be used by things that do not care if they are
passed a Title or TitleValue so long as it has a
dbkey, namespace, possible fragment and text

Example uses include:
 LinkBatch::addObj
 MediaWikiPageLinkRenderer methods
 MediaWikiTitleCodec methods
 PageLinkRenderer methods
 TitleFormatter methods

Change-Id: I2aa1a82129bb01155924a8e6a403c7a47391432f
autoload.php
includes/LinkTarget.php [new file with mode: 0644]
includes/Title.php
includes/title/TitleValue.php