Inherits SpecialPage.
Public Member Functions | |
| __construct () | |
| execute ($par) | |
| main() | |
| extensionCredits () | |
| Generate wikitext showing extensions name, URL, author and description. | |
| compare ($a, $b) | |
| Callback to sort extensions by type. | |
| formatCredits ($name, $version=null, $author=null, $url=null, $description=null, $descriptionMsg=null) | |
| wgHooks () | |
| IPInfo () | |
| listToText ($list) | |
Static Public Member Functions | |
| static | MediaWikiCredits () |
| #@+ | |
| static | softwareInformation () |
| static | getVersion () |
| Return a string of the MediaWiki version with SVN revision if available. | |
| static | getVersionLinked () |
| Return a string of the MediaWiki version with a link to SVN revision if available. | |
| static | arrayToString ($list) |
| static | getSvnRevision ($dir) |
| Retrieve the revision number of a Subversion working directory. | |
Private Member Functions | |
| openExtType ($text, $name=null) | |
Private Attributes | |
| $firstExtOpened = true | |
Definition at line 12 of file SpecialVersion.php.
| SpecialVersion::__construct | ( | ) |
Definition at line 15 of file SpecialVersion.php.
| static SpecialVersion::arrayToString | ( | $ | list | ) | [static] |
| mixed | $list Will convert an array to string if given and return the paramater unaltered otherwise |
Definition at line 323 of file SpecialVersion.php.
Referenced by listToText().
| SpecialVersion::compare | ( | $ | a, | |
| $ | b | |||
| ) |
Callback to sort extensions by type.
Definition at line 215 of file SpecialVersion.php.
References $wgLang.
| SpecialVersion::execute | ( | $ | par | ) |
Reimplemented from SpecialPage.
Definition at line 22 of file SpecialVersion.php.
References $text, $wgMessageCache, $wgOut, $wgSpecialVersionShowHooks, extensionCredits(), IPInfo(), MediaWikiCredits(), SpecialPage::outputHeader(), SpecialPage::setHeaders(), softwareInformation(), and wgHooks().
| SpecialVersion::extensionCredits | ( | ) |
Generate wikitext showing extensions name, URL, author and description.
Definition at line 135 of file SpecialVersion.php.
References $i, $out, $text, $type, $version, $wgExtensionCredits, $wgExtensionFunctions, $wgParser, $wgSkinExtensionFunctions, Xml::closeElement(), Xml::element(), formatCredits(), listToText(), Xml::openElement(), openExtType(), wfMsg(), and wfRunHooks().
Referenced by execute().
| SpecialVersion::formatCredits | ( | $ | name, | |
| $ | version = null, |
|||
| $ | author = null, |
|||
| $ | url = null, |
|||
| $ | description = null, |
|||
| $ | descriptionMsg = null | |||
| ) |
Definition at line 226 of file SpecialVersion.php.
References $msg, $name, $url, $version, listToText(), wfEmptyMsg(), and wfMsg().
Referenced by extensionCredits().
| static SpecialVersion::getSvnRevision | ( | $ | dir | ) | [static] |
Retrieve the revision number of a Subversion working directory.
| string | $dir |
Definition at line 346 of file SpecialVersion.php.
References SpecialPage::file(), wfRestoreWarnings(), and wfSuppressWarnings().
Referenced by getVersion(), and getVersionLinked().
| static SpecialVersion::getVersion | ( | ) | [static] |
Return a string of the MediaWiki version with SVN revision if available.
Definition at line 109 of file SpecialVersion.php.
References $IP, $version, $wgVersion, getSvnRevision(), wfProfileIn(), and wfProfileOut().
Referenced by Parser::getVariableValue(), wikiStatsOutput::heading(), and DbTestRecorder::start().
| static SpecialVersion::getVersionLinked | ( | ) | [static] |
Return a string of the MediaWiki version with a link to SVN revision if available.
Definition at line 124 of file SpecialVersion.php.
References $IP, $version, $wgVersion, getSvnRevision(), wfProfileIn(), and wfProfileOut().
Referenced by softwareInformation().
| SpecialVersion::IPInfo | ( | ) |
Definition at line 293 of file SpecialVersion.php.
References wfGetIP().
Referenced by execute().
| SpecialVersion::listToText | ( | $ | list | ) |
| array | $list |
Definition at line 303 of file SpecialVersion.php.
References $wgLang, arrayToString(), and sort.
Referenced by extensionCredits(), formatCredits(), and wgHooks().
| static SpecialVersion::MediaWikiCredits | ( | ) | [static] |
#@+
Definition at line 49 of file SpecialVersion.php.
References Xml::element(), and wfMsg().
Referenced by execute().
| SpecialVersion::openExtType | ( | $ | text, | |
| $ | name = null | |||
| ) | [private] |
Definition at line 274 of file SpecialVersion.php.
References $name, $out, $text, and Xml::element().
Referenced by extensionCredits().
| static SpecialVersion::softwareInformation | ( | ) | [static] |
Definition at line 80 of file SpecialVersion.php.
References $dbr, Xml::closeElement(), Xml::element(), getVersionLinked(), Xml::openElement(), wfGetDB(), and wfMsg().
Referenced by execute().
| SpecialVersion::wgHooks | ( | ) |
Definition at line 248 of file SpecialVersion.php.
References $wgHooks, Xml::closeElement(), Xml::element(), listToText(), Xml::openElement(), and wfMsg().
Referenced by execute().
SpecialVersion::$firstExtOpened = true [private] |
Definition at line 13 of file SpecialVersion.php.
1.5.9