3 * Give information about the version MediaWiki, PHP, and the database
6 * @subpackage SpecialPage
12 function wfSpecialVersion() {
13 global $wgOut, $wgVersion, $wgScriptPath;
15 $dbr =& wfGetDB( DB_SLAVE
);
17 $wgOut->addWikiText( "
18 This wiki is powered by '''[http://www.mediawiki.org/ MediaWiki]''',
19 copyright (C) 2001-2005 Magnus Manske, Brion Vibber, Lee Daniel Crocker,
20 Tim Starling, Erik Möller, and others.
22 MediaWiki is free software; you can redistribute it and/or modify
23 it under the terms of the GNU General Public License as published by
24 the Free Software Foundation; either version 2 of the License, or
25 (at your option) any later version.
27 MediaWiki is distributed in the hope that it will be useful,
28 but WITHOUT ANY WARRANTY; without even the implied warranty of
29 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 GNU General Public License for more details.
32 You should have received [{{SERVER}}$wgScriptPath/COPYING a copy of the GNU General Public License]
33 along with this program; if not, write to the Free Software
34 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
35 or [http://www.gnu.org/copyleft/gpl.html read it online]
37 * [http://www.mediawiki.org/ MediaWiki]: $wgVersion
38 * [http://www.php.net/ PHP]: " . phpversion() . " (" . php_sapi_name() . ")
39 * " . $dbr->getSoftwareLink() . ": " . $dbr->getServerVersion()