MediaWiki  1.23.1
PageLinkRenderer.php
Go to the documentation of this file.
1 <?php
33 interface PageLinkRenderer {
34 
45  public function getPageUrl( TitleValue $page, $params = array() );
46 
57  public function renderHtmlLink( TitleValue $page, $text = null );
58 
67  public function renderWikitextLink( TitleValue $page, $text = null );
68 
69 }
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
$params
$params
Definition: styleTest.css.php:40
PageLinkRenderer\renderWikitextLink
renderWikitextLink(TitleValue $page, $text=null)
Returns a wikitext link to the given page, using the given surface text.
PageLinkRenderer
Represents a link rendering service for MediaWiki.
Definition: PageLinkRenderer.php:33
array
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
PageLinkRenderer\getPageUrl
getPageUrl(TitleValue $page, $params=array())
Returns the URL for the given page.
PageLinkRenderer\renderHtmlLink
renderHtmlLink(TitleValue $page, $text=null)
Returns an HTML link to the given page, using the given surface text.
TitleValue
Represents a page (or page fragment) title within MediaWiki.
Definition: TitleValue.php:36