X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ftitle%2FPageLinkRenderer.php;h=2ca570705881780a713fe6de0c4e0d0532b9f468;hb=d4ecfc1a5cd83fbd1afce89646376b3937aea299;hp=ca91f58331787a7c322e8a1281fcdebce0024bf6;hpb=96a8ab6928b3e0be884c33eed8a1febf6fc4c31e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/title/PageLinkRenderer.php b/includes/title/PageLinkRenderer.php index ca91f58331..2ca5707058 100644 --- a/includes/title/PageLinkRenderer.php +++ b/includes/title/PageLinkRenderer.php @@ -37,32 +37,32 @@ interface PageLinkRenderer { * * @todo expand this to cover the functionality of Linker::linkUrl * - * @param TitleValue $page The link's target + * @param LinkTarget $page The link's target * @param array $params Any additional URL parameters. * * @return string */ - public function getPageUrl( TitleValue $page, $params = array() ); + public function getPageUrl( LinkTarget $page, $params = array() ); /** * Returns an HTML link to the given page, using the given surface text. * * @todo expand this to cover the functionality of Linker::link * - * @param TitleValue $page The link's target + * @param LinkTarget $page The link's target * @param string $text The link's surface text (will be derived from $page if not given). * * @return string */ - public function renderHtmlLink( TitleValue $page, $text = null ); + public function renderHtmlLink( LinkTarget $page, $text = null ); /** * Returns a wikitext link to the given page, using the given surface text. * - * @param TitleValue $page The link's target + * @param LinkTarget $page The link's target * @param string $text The link's surface text (will be derived from $page if not given). * * @return string */ - public function renderWikitextLink( TitleValue $page, $text = null ); + public function renderWikitextLink( LinkTarget $page, $text = null ); }