Go to the documentation of this file.
36 parent::__construct(
'TrackingCategories' );
41 global $wgTrackingCategories;
48 'id' =>
'mw-trackingcategories-table' ) ) .
"\n" .
51 $this->
msg(
'trackingcategories-msg' )->escaped() .
"
54 $this->
msg(
'trackingcategories-name' )->escaped() .
57 $this->
msg(
'trackingcategories-desc' )->escaped() .
"
62 foreach( $wgTrackingCategories
as $catMsg ) {
68 $msgObj = $this->
msg( $catMsg )->inContentLanguage();
70 $catDesc = $catMsg .
'-desc';
74 htmlspecialchars( $catMsg )
77 if ( strpos( $msgObj->plain(),
'{{NAMESPACE}}' ) !==
false ) {
79 foreach ( $ns
as $namesp ) {
81 $catName = $msgObj->title( $tempTitle )->text();
82 if ( !$msgObj->isDisabled() ) {
86 htmlspecialchars( $catName )
88 $allMsgs[] = $catTitleText;
92 $catName = $msgObj->text();
93 if ( !$msgObj->isDisabled() ) {
97 htmlspecialchars( $catName )
101 $catTitleText = $this->
msg(
'trackingcategories-disabled' )->parse();
103 $allMsgs[] = $catTitleText;
110 $descMsg = $this->
msg( $catDesc );
111 if ( $descMsg->isBlank() ) {
112 $descMsg = $this->
msg(
'trackingcategories-nodesc' );
118 $this->
getLanguage()->commaList( array_unique( $allMsgs ) ) .
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
static getValidNamespaces()
Returns an array of the namespaces (by integer id) that exist on the wiki.
getOutput()
Get the OutputPage being used for this instance.
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
getLanguage()
Shortcut to get user's language.
static link( $target, $html=null, $customAttribs=array(), $query=array(), $options=array())
This function returns an HTML link to the given target.
static closeElement( $element)
Returns "</$element>", except if $wgWellFormedXml is off, in which case it returns the empty string w...
static openElement( $element, $attribs=array())
Identical to rawElement(), but has no third parameter and omits the end tag (and the self-closing '/'...
A special page that displays list of tracking categories Tracking categories allow pages with certain...
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
setHeaders()
Sets headers - this should be called from the execute() method of all derived classes!
when a variable name is used in a it is silently declared as a new masking the global
static makeTitleSafe( $ns, $title, $fragment='', $interwiki='')
Create a new Title from a namespace index and a DB key.
msg()
Wrapper around wfMessage that sets the current context.
Parent class for all special pages.
execute( $par)
Default execute method Checks user permissions, calls the function given in mFunction.
This document is intended to provide useful advice for parties seeking to redistribute MediaWiki to end users It s targeted particularly at maintainers for Linux since it s been observed that distribution packages of MediaWiki often break We ve consistently had to recommend that users seeking support use official tarballs instead of their distribution s and this often solves whatever problem the user is having It would be nice if this could such as
outputHeader( $summaryMessageKey='')
Outputs a summary message on top of special pages Per default the message key is the canonical name o...