Go to the documentation of this file.
42 'svn+ssh://svn.wikimedia.org/svnroot/mediawiki' =>
'http://svn.wikimedia.org/viewvc/mediawiki',
43 'http://svn.wikimedia.org/svnroot/mediawiki' =>
'http://svn.wikimedia.org/viewvc/mediawiki',
44 'https://svn.wikimedia.org/svnroot/mediawiki' =>
'https://svn.wikimedia.org/viewvc/mediawiki',
48 parent::__construct(
'Version' );
60 $out->allowClickjacking();
63 $parts = explode(
'/', (
string)$par );
65 if ( isset( $parts[1] ) ) {
66 $extName = str_replace(
'_',
' ', $parts[1] );
70 if ( isset(
$ext[
'name'] ) && (
$ext[
'name'] === $extName ) ) {
77 $out->setStatusCode( 404 );
80 $extName =
'MediaWiki';
84 switch ( strtolower( $parts[0] ) ) {
86 $wikiText =
'{{int:version-credits-not-found}}';
87 if ( $extName ===
'MediaWiki' ) {
88 $wikiText = file_get_contents(
$IP .
'/CREDITS' );
89 } elseif ( ( $extNode !==
null ) && isset( $extNode[
'path'] ) ) {
92 $wikiText = file_get_contents(
$file );
93 if ( substr(
$file, -4 ) ===
'.txt' ) {
99 $out->setPageTitle( $this->
msg(
'version-credits-title', $extName ) );
100 $out->addWikiText( $wikiText );
104 $wikiText =
'{{int:version-license-not-found}}';
105 if ( $extName ===
'MediaWiki' ) {
106 $wikiText = file_get_contents(
$IP .
'/COPYING' );
107 } elseif ( ( $extNode !==
null ) && isset( $extNode[
'path'] ) ) {
110 $wikiText = file_get_contents(
$file );
111 if ( !isset( $extNode[
'license-name'] ) ) {
115 $wikiText =
"<pre>$wikiText</pre>";
120 $out->setPageTitle( $this->
msg(
'version-license-title', $extName ) );
121 $out->addWikiText( $wikiText );
125 $out->addModules(
'mediawiki.special.version' );
151 array(
'id' =>
'mw-version-license' ),
156 $ret .=
'<div class="plainlinks">';
159 " .
wfMessage(
'version-license-info' )->text();
162 return str_replace(
"\t\t",
'',
$ret ) .
"\n";
173 if ( defined(
'MEDIAWIKI_INSTALL' ) ) {
174 $othersLink =
'[//www.mediawiki.org/wiki/Special:Version/Credits ' .
175 wfMessage(
'version-poweredby-others' )->text() .
']';
177 $othersLink =
'[[Special:Version/Credits|' .
178 wfMessage(
'version-poweredby-others' )->text() .
']]';
181 $translatorsLink =
'[//translatewiki.net/wiki/Translating:MediaWiki/Credits ' .
182 wfMessage(
'version-poweredby-translators' )->text() .
']';
185 'Magnus Manske',
'Brion Vibber',
'Lee Daniel Crocker',
186 'Tim Starling',
'Erik Möller',
'Gabriel Wicke',
'Ævar Arnfjörð Bjarmason',
187 'Niklas Laxström',
'Domas Mituzas',
'Rob Church',
'Yuri Astrakhan',
188 'Aryeh Gregor',
'Aaron Schulz',
'Andrew Garrett',
'Raimond Spekking',
189 'Alexandre Emsenhuber',
'Siebrand Mazeland',
'Chad Horohoe',
190 'Roan Kattouw',
'Trevor Parscal',
'Bryan Tong Minh',
'Sam Reed',
191 'Victor Vasiliev',
'Rotem Liss',
'Platonides',
'Antoine Musso',
192 'Timo Tijhof',
'Daniel Kinzler',
'Jeroen De Dauw', $othersLink,
213 $software[
'[http://www.php.net/ PHP]'] = phpversion() .
" (" . PHP_SAPI .
")";
214 $software[
$dbr->getSoftwareLink()] =
$dbr->getServerInfo();
221 array(
'id' =>
'mw-version-software' ),
226 <th>" .
wfMessage(
'version-software-product' )->text() .
"</th>
227 <th>" .
wfMessage(
'version-software-version' )->text() .
"</th>
232 <td>" .
$name .
"</td>
233 <td dir=\"ltr\">" .
$version .
"</td>
252 if ( !$svnInfo && !$gitInfo ) {
254 } elseif ( $gitInfo &&
$flags ===
'nodb' ) {
255 $shortSha1 = substr( $gitInfo, 0, 7 );
256 $version =
"$wgVersion ($shortSha1)";
257 } elseif ( $gitInfo ) {
258 $shortSha1 = substr( $gitInfo, 0, 7 );
259 $shortSha1 =
wfMessage(
'parentheses' )->params( $shortSha1 )->escaped();
261 } elseif (
$flags ===
'nodb' ) {
262 $version =
"$wgVersion (r{$svnInfo['checkout-rev']})";
266 'version-svn-revision',
267 isset( $info[
'directory-rev'] ) ? $info[
'directory-rev'] :
'',
268 $info[
'checkout-rev']
313 if ( !isset( $info[
'checkout-rev'] ) ) {
318 'version-svn-revision',
319 isset( $info[
'directory-rev'] ) ? $info[
'directory-rev'] :
'',
320 $info[
'checkout-rev']
323 if ( isset( $info[
'viewvc-url'] ) ) {
324 $version =
"[{$info['viewvc-url']} $linkText]";
338 if (
wfRunHooks(
'SpecialVersionVersionUrl',
array( $wgVersion, &$versionUrl ) ) ) {
339 $versionParts =
array();
340 preg_match(
"/^(\d+\.\d+)/", $wgVersion, $versionParts );
341 $versionUrl =
"https://www.mediawiki.org/wiki/MediaWiki_{$versionParts[1]}";
344 return "[$versionUrl $wgVersion]";
356 $headSHA1 = $gitInfo->getHeadSHA1();
361 $shortSHA1 =
'(' . substr( $headSHA1, 0, 7 ) .
')';
363 $gitHeadUrl = $gitInfo->getHeadViewUrl();
364 if ( $gitHeadUrl !==
false ) {
365 $shortSHA1 =
"[$gitHeadUrl $shortSHA1]";
368 $gitHeadCommitDate = $gitInfo->getHeadCommitDate();
369 if ( $gitHeadCommitDate ) {
389 if ( self::$extensionTypes ===
false ) {
390 self::$extensionTypes =
array(
391 'specialpage' =>
wfMessage(
'version-specialpages' )->
text(),
419 return isset( $types[
$type] ) ? $types[
$type] : $types[
'other'];
428 global $wgExtensionCredits;
430 if ( !count( $wgExtensionCredits ) ) {
443 array(
'id' =>
'mw-version-ext' ),
444 $this->
msg(
'version-extensions' )->
text()
449 if ( !array_key_exists(
'other', $wgExtensionCredits ) ) {
450 $wgExtensionCredits[
'other'] =
array();
456 $wgExtensionCredits[
'other'] = array_merge( $wgExtensionCredits[
'other'],
$extensions );
462 if (
$type !=
'other' ) {
485 if ( count( $tags ) ) {
488 array(
'class' =>
'mw-headline' ),
490 '//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Tag_extensions',
491 $this->
msg(
'version-parser-extensiontags' )->parse(),
496 array_walk( $tags,
function ( &
$value ) {
516 if ( count( $fhooks ) ) {
518 '//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Parser_functions',
519 $this->
msg(
'version-parser-function-hooks' )->parse(),
542 global $wgExtensionCredits;
546 if ( array_key_exists(
$type, $wgExtensionCredits ) && count( $wgExtensionCredits[
$type] ) > 0 ) {
549 usort( $wgExtensionCredits[
$type],
array( $this,
'compare' ) );
551 foreach ( $wgExtensionCredits[
$type]
as $extension ) {
566 if ( $a[
'name'] === $b[
'name'] ) {
597 $extensionName = isset( $extension[
'name'] ) ? $extension[
'name'] :
'[no name]';
598 if ( isset( $extension[
'url'] ) ) {
604 array(
'class' =>
'mw-version-ext-name' )
607 $extensionNameLink = $extensionName;
613 $canonicalVersion =
'–';
614 $extensionPath =
null;
619 if ( isset( $extension[
'version'] ) ) {
620 $canonicalVersion =
$out->parseInline( $extension[
'version'] );
623 if ( isset( $extension[
'path'] ) ) {
625 if ( $this->coreId ==
'' ) {
626 wfDebug(
'Looking up core head id' );
628 if ( $coreHeadSHA1 ) {
629 $this->coreId = $coreHeadSHA1;
632 if ( $svnInfo !==
false ) {
633 $this->coreId = $svnInfo[
'checkout-rev'];
638 $memcKey =
wfMemcKey(
'specialversion-ext-version-text', $extension[
'path'], $this->coreId );
639 list( $vcsVersion, $vcsLink, $vcsDate ) =
$cache->get( $memcKey );
641 if ( !$vcsVersion ) {
642 wfDebug(
"Getting VCS info for extension $extensionName" );
643 $extensionPath = dirname( $extension[
'path'] );
644 $gitInfo =
new GitInfo( $extensionPath );
645 $vcsVersion = $gitInfo->getHeadSHA1();
646 if ( $vcsVersion !==
false ) {
647 $vcsVersion = substr( $vcsVersion, 0, 7 );
648 $vcsLink = $gitInfo->getHeadViewUrl();
649 $vcsDate = $gitInfo->getHeadCommitDate();
652 if ( $svnInfo !==
false ) {
653 $vcsVersion = $this->
msg(
'version-svn-revision', $svnInfo[
'checkout-rev'] )->text();
654 $vcsLink = isset( $svnInfo[
'viewvc-url'] ) ? $svnInfo[
'viewvc-url'] :
'';
657 $cache->set( $memcKey,
array( $vcsVersion, $vcsLink, $vcsDate ), 60 * 60 * 24 );
659 wfDebug(
"Pulled VCS info for extension $extensionName from cache" );
665 array(
'class' =>
'mw-version-ext-version' ),
673 $this->
msg(
'version-version', $vcsVersion ),
676 array(
'class' =>
'mw-version-ext-vcs-version' )
680 array(
'class' =>
'mw-version-ext-vcs-version' ),
684 $versionString .=
" {$vcsVerString}";
688 array(
'class' =>
'mw-version-ext-vcs-timestamp' ),
691 $versionString .=
" {$vcsTimeString}";
694 array(
'class' =>
'mw-version-ext-meta-version' ),
702 if ( isset( $extension[
'license-name'] ) ) {
705 $out->parseInline( $extension[
'license-name'] ),
706 array(
'class' =>
'mw-version-ext-license' )
711 $this->
msg(
'version-ext-license' ),
712 array(
'class' =>
'mw-version-ext-license' )
719 if ( isset( $extension[
'descriptionmsg'] ) ) {
721 $descriptionMsg = $extension[
'descriptionmsg'];
723 if ( is_array( $descriptionMsg ) ) {
724 $descriptionMsgKey = $descriptionMsg[0];
725 array_shift( $descriptionMsg );
726 array_map(
"htmlspecialchars", $descriptionMsg );
727 $description = $this->
msg( $descriptionMsgKey, $descriptionMsg )->text();
729 $description = $this->
msg( $descriptionMsg )->text();
731 } elseif ( isset( $extension[
'description'] ) ) {
733 $description = $extension[
'description'];
737 $description =
$out->parseInline( $description );
740 $authors = isset( $extension[
'author'] ) ? $extension[
'author'] :
array();
741 $authors = $this->
listAuthors( $authors, $extensionName, $extensionPath );
745 'class' =>
'mw-version-ext',
746 'id' =>
"mw-version-ext-{$extensionName}"
769 if ( $wgSpecialVersionShowHooks && count(
$wgHooks ) ) {
774 $ret[] =
'== {{int:version-hooks}} ==';
781 foreach ( $myWgHooks
as $hook => $hooks ) {
790 return implode(
"\n",
$ret );
799 $opt =
array(
'colspan' => 5 );
800 if ( $this->firstExtOpened ) {
806 $this->firstExtOpened =
true;
809 $opt[
'id'] =
"sv-$name";
818 $this->
msg(
'version-ext-colheader-name' )->
text() );
820 $this->
msg(
'version-ext-colheader-version' )->
text() );
822 $this->
msg(
'version-ext-colheader-license' )->
text() );
824 $this->
msg(
'version-ext-colheader-description' )->
text() );
826 $this->
msg(
'version-ext-colheader-credits' )->
text() );
838 $ip = str_replace(
'--',
' - ', htmlspecialchars( $this->
getRequest()->getIP() ) );
840 return "<!-- visited from $ip -->\n<span style='display:none'>visited from $ip</span>";
867 foreach ( (
array)$authors
as $item ) {
868 if ( $item ==
'...' ) {
874 $this->
msg(
'version-poweredby-others' )->
text()
877 $text = $this->
msg(
'version-poweredby-others' )->text();
880 } elseif ( substr( $item, -5 ) ==
' ...]' ) {
882 $list[] = $this->
getOutput()->parseInline(
883 substr( $item, 0, -4 ) . $this->
msg(
'version-poweredby-others' )->
text() .
"]"
886 $list[] = $this->
getOutput()->parseInline( $item );
893 $this->
msg(
'version-poweredby-others' )->
text()
916 foreach ( scandir( $extDir )
as $file ) {
917 $fullPath = $extDir . DIRECTORY_SEPARATOR .
$file;
918 if ( preg_match(
'/^((AUTHORS)|(CREDITS))(\.txt)?$/',
$file ) &&
919 is_readable( $fullPath ) &&
945 foreach ( scandir( $extDir )
as $file ) {
946 $fullPath = $extDir . DIRECTORY_SEPARATOR .
$file;
947 if ( preg_match(
'/^((COPYING)|(LICENSE))(\.txt)?$/',
$file ) &&
948 is_readable( $fullPath ) &&
967 $cnt = count( $list );
972 } elseif ( $cnt == 0 ) {
980 ->listToText( array_map(
array( __CLASS__,
'arrayToString' ), $list ) );
993 if ( is_array( $list ) && count( $list ) == 1 ) {
996 if ( is_object( $list ) ) {
997 $class =
wfMessage(
'parentheses' )->params( get_class( $list ) )->escaped();
1000 } elseif ( !is_array( $list ) ) {
1003 if ( is_object( $list[0] ) ) {
1004 $class = get_class( $list[0] );
1009 return wfMessage(
'parentheses' )->params(
"$class, {$list[1]}" )->escaped();
1031 $entries =
$dir .
'/.svn/entries';
1033 if ( !file_exists( $entries ) ) {
1038 if ( !count(
$lines ) ) {
1043 if ( preg_match(
'/^<\?xml/',
$lines[0] ) ) {
1045 if ( !function_exists(
'simplexml_load_file' ) ) {
1052 $xml = simplexml_load_file( $entries );
1056 foreach ( $xml->entry
as $entry ) {
1057 if ( $xml->entry[0][
'name'] ==
'' ) {
1059 if ( $entry[
'revision'] ) {
1060 return array(
'checkout-rev' => intval( $entry[
'revision'] ) );
1070 if ( count(
$lines ) < 11 ) {
1075 'checkout-rev' => intval( trim(
$lines[3] ) ),
1076 'url' => trim(
$lines[4] ),
1077 'repo-url' => trim(
$lines[5] ),
1078 'directory-rev' => intval( trim(
$lines[10] ) )
1081 if ( isset( self::$viewvcUrls[$info[
'repo-url']] ) ) {
1082 $viewvc = str_replace(
1084 self::$viewvcUrls[$info[
'repo-url']],
1088 $viewvc .=
'/?pathrev=';
1089 $viewvc .= urlencode( $info[
'checkout-rev'] );
1090 $info[
'viewvc-url'] = $viewvc;
1106 if ( $info ===
false ) {
1108 } elseif ( isset( $info[
'checkout-rev'] ) ) {
1109 return $info[
'checkout-rev'];
1122 return $repo->getHeadSHA1();
1131 $scriptPath = $wgScriptPath ? $wgScriptPath :
"/";
1132 $entryPoints =
array(
1134 'version-entrypoints-scriptpath' => $scriptPath,
1135 'version-entrypoints-index-php' =>
wfScript(
'index' ),
1136 'version-entrypoints-api-php' =>
wfScript(
'api' ),
1137 'version-entrypoints-load-php' =>
wfScript(
'load' ),
1141 $thAttribures =
array(
1142 'dir' => $language->getDir(),
1143 'lang' => $language->getCode()
1147 array(
'id' =>
'mw-version-entrypoints' ),
1148 $this->
msg(
'version-entrypoints' )->
text()
1152 'class' =>
'wikitable plainlinks',
1153 'id' =>
'mw-version-entrypoints-table',
1162 $this->
msg(
'version-entrypoints-header-entrypoint' )->
text()
1167 $this->
msg(
'version-entrypoints-header-url' )->
text()
1171 foreach ( $entryPoints
as $message =>
$value ) {
getExtensionCredits()
Generate wikitext showing extensions name, URL, author and description.
getPageTitle( $subpage=false)
Get a self-referential title object.
listAuthors( $authors, $extName, $extDir)
Return a formatted unsorted list of authors.
static getExtAuthorsFileName( $extDir)
Obtains the full path of an extensions authors or credits file if one exists.
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
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses & $html
getOutput()
Get the OutputPage being used for this instance.
listToText( $list, $sort=true)
Convert an array of items into a list for display.
static getMediaWikiCredits()
Returns wiki text showing the license information.
& wfGetDB( $db, $groups=array(), $wiki=false)
Get a Database object.
design txt This is a brief overview of the new design More thorough and up to date information is available on the documentation wiki at etc Handles the details of getting and saving to the user table of the and dealing with sessions and cookies OutputPage Encapsulates the entire HTML page that will be sent in response to any server request It is used by calling its functions to add text
compare( $a, $b)
Callback to sort extensions by type.
static getCopyrightAndAuthorList()
Get the "MediaWiki is copyright 2001-20xx by lots of cool guys" text.
wfProfileIn( $functionname)
Begin profiling of a function.
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses & $ret
wfSuppressWarnings( $end=false)
Reference-counted warning suppression.
wfGetCache( $inputType)
Get a cache object.
$coreId
Stores the current rev id/SHA hash of MediaWiki core.
$wgHooks['ArticleShow'][]
getLanguage()
Shortcut to get user's language.
getParserFunctionHooks()
Obtains a list of installed parser function hooks and the associated H2 header.
it s the revision text itself In either if gzip is the revision text is gzipped $flags
openExtType( $text, $name=null)
static openElement( $element, $attribs=null)
This opens an XML element.
static getSvnRevision( $dir)
Retrieve the revision number of a Subversion working directory.
static makeExternalLink( $url, $text, $escape=true, $linktype='', $attribs=array(), $title=null)
Make an external link.
static getVersionLinked()
Return a wikitext-formatted string of the MediaWiki version with a link to the SVN revision or the gi...
static link( $target, $html=null, $customAttribs=array(), $query=array(), $options=array())
This function returns an HTML link to the given target.
static arrayToString( $list)
Convert an array or object to a string for display.
static softwareInformation()
Returns wiki text showing the third party software versions (apache, php, mysql).
static closeElement( $element)
Returns "</$element>", except if $wgWellFormedXml is off, in which case it returns the empty string w...
We ve cleaned up the code here by removing clumps of infrequently used code and moving them off somewhere else It s much easier for someone working with this code to see what s _really_ going and make changes or fix bugs In we can take all the code that deals with the little used title reversing we can concentrate it all in an extension file
static openElement( $element, $attribs=array())
Identical to rawElement(), but has no third parameter and omits the end tag (and the self-closing '/'...
IPInfo()
Get information about client's IP address.
wfMemcKey()
Get a cache key.
wfRestoreWarnings()
Restore error level to previous value.
wfScript( $script='index')
Get the path to a specified script file, respecting file extensions; this is a wrapper around $wgScri...
static element( $element, $attribs=array(), $contents='')
Identical to rawElement(), but HTML-escapes $contents (like Xml::element()).
static getExtensionTypeName( $type)
Returns the internationalized name for an extension type.
getCreditsForExtension(array $extension)
Creates and formats a version line for a single extension.
wfProfileOut( $functionname='missing')
Stop profiling of a function.
null means default in associative array with keys and values unescaped Should be merged with default with a value of false meaning to suppress the attribute in associative array with keys and values unescaped noclasses just before the function returns a value If you return an< a > element with HTML attributes $attribs and contents $html will be returned If you return $ret will be returned and may include noclasses after processing after in associative array form externallinks including delete and has completed for all link tables default is conds Array Extra conditions for the No matching items in log is displayed if loglist is empty msgKey Array If you want a nice box with a set this to the key of the message First element is the message additional optional elements are parameters for the key that are processed with wfMessage() -> params() ->parseAsBlock() - offset Set to overwrite offset parameter in $wgRequest set to '' to unset offset - wrap String Wrap the message in html(usually something like "<
static element( $element, $attribs=null, $contents='', $allowShortTag=true)
Format an XML element with given attributes and, optionally, text content.
wfRunHooks( $event, array $args=array(), $deprecatedVersion=null)
Call hook functions defined in $wgHooks.
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!
static getExtensionTypes()
Returns an array with the base extension types.
when a variable name is used in a it is silently declared as a new masking the global
getWgHooks()
Generate wikitext showing hooks in $wgHooks.
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global list
getGroupName()
Under which header this special page is listed in Special:SpecialPages See messages 'specialpages-gro...
static getExtLicenseFileName( $extDir)
Obtains the full path of an extensions copying or license file if one exists.
static getwgVersionLinked()
wfDebug( $text, $dest='all')
Sends a line to the debug log if enabled or, optionally, to a comment in output.
Allows to change the fields on the form that will be generated $name
msg()
Wrapper around wfMessage that sets the current context.
static getVersionLinkedSvn()
Parent class for all special pages.
static getSvnInfo( $dir)
Get an associative array of information about a given path, from its .svn subdirectory.
getRequest()
Get the WebRequest being used for this instance.
Give information about the version of MediaWiki, PHP, the DB and extensions.
static getGitHeadSha1( $dir)
getEntryPointInfo()
Get the list of entry points and their URLs.
if(PHP_SAPI !='cli') $file
static getVersionLinkedGit()
this class mediates it Skin Encapsulates a look and feel for the wiki All of the functions that render HTML and make choices about how to render it are here and are called from various other places when and is meant to be subclassed with other skins that may override some of its functions The User object contains a reference to a and so rather than having a global skin object we just rely on the global User and get the skin with $wgUser and also has some character encoding functions and other locale stuff The current user interface language is instantiated as $wgLang
static closeElement( $element)
Shortcut to close an XML element.
if(count( $args)==0) $dir
if the prop value should be in the metadata multi language array format
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
getParserTags()
Obtains a list of installed parser tags and the associated H2 header.
static rawElement( $element, $attribs=array(), $contents='')
Returns an HTML element in a string.
static getLocalInstance( $ts=false)
Get a timestamp instance in the server local timezone ($wgLocaltimezone)
outputHeader( $summaryMessageKey='')
Outputs a summary message on top of special pages Per default the message key is the canonical name o...
wfExpandUrl( $url, $defaultProto=PROTO_CURRENT)
Expand a potentially local URL to a fully-qualified URL.
static getVersion( $flags='')
Return a string of the MediaWiki version with SVN revision if available.
getExtensionCategory( $type, $message)
Creates and returns the HTML for a single extension category.