MediaWiki  REL1_22
update.php File Reference

Run all updaters. More...

Go to the source code of this file.

Classes

class  UpdateMediaWiki
 Maintenance script to run database schema updates. More...

Variables

 $maintClass = 'UpdateMediaWiki'
if(!function_exists(
'version_compare')||(version_compare(phpversion(), '5.3.2')< 0)) 
$wgUseMasterForMaintenance = true

Detailed Description

Run all updaters.

This is used when the database schema is modified and we need to apply patches. It is kept compatible with php 4 parsing so that it can give out a meaningful error.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html

Todo:
document

Definition in file update.php.


Variable Documentation

Definition at line 200 of file update.php.

if (!function_exists( 'version_compare')||(version_compare(phpversion(), '5.3.2')< 0)) $wgUseMasterForMaintenance = true

Definition at line 33 of file update.php.