Go to the documentation of this file.
74 $name = $this->formatter->getPrefixedText( $page );
78 $url = $this->baseUrl .
$name;
81 $separator = ( strpos( $url,
'?' ) ) ?
'&' :
'?';
86 if ( $fragment !==
'' ) {
102 if ( $text ===
null ) {
103 $text = $this->formatter->getFullText( $page );
123 if ( $text ===
null ) {
124 $text = $this->formatter->getFullText( $page );
127 $name = $this->formatter->getFullText( $page );
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
wfUrlencode( $s)
We want some things to be included as literal characters in our title URLs for prettiness,...
renderHtmlLink(TitleValue $page, $text=null)
Returns an HTML link to the given page, using the given surface text.
set to $title object and return false for a match for latest after cache objects are set use the ContentHandler facility to handle CSS and JavaScript for highlighting & $link
static link( $target, $html=null, $customAttribs=array(), $query=array(), $options=array())
This function returns an HTML link to the given target.
Represents a link rendering service for MediaWiki.
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
static newFromTitleValue(TitleValue $titleValue)
Create a new Title from a TitleValue.
presenting them properly to the user as errors is done by the caller $title
Allows to change the fields on the form that will be generated $name
renderWikitextLink(TitleValue $page, $text=null)
Returns a wikitext link to the given page, using the given surface text.
wfEscapeWikiText( $text)
Escapes the given text so that it may be output using addWikiText() without any linking,...
__construct(TitleFormatter $formatter, $baseUrl=null)
TitleFormatter $formatter
getPageUrl(TitleValue $page, $params=array())
Returns the (partial) URL for the given page (including any section identifier).
A service for generating links from page titles.
Represents a page (or page fragment) title within MediaWiki.
wfArrayToCgi( $array1, $array2=null, $prefix='')
This function takes two arrays as input, and returns a CGI-style string, e.g.