MediaWiki  master
Maintenance.php File Reference

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. More...

Go to the source code of this file.

Classes

class  FakeMaintenance
 Fake maintenance wrapper, mostly used for the web installer/updater. More...
 
class  LoggedUpdateMaintenance
 Class for scripts that perform database maintenance and want to log the update in updatelog so we can later skip it. More...
 
class  Maintenance
 Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effort. More...
 

Variables

 $maintClass = false
 
const DO_MAINTENANCE RUN_MAINTENANCE_IF_MAIN
 
const RUN_MAINTENANCE_IF_MAIN __DIR__ . '/doMaintenance.php'
 

Detailed Description

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

Definition in file Maintenance.php.

Variable Documentation

◆ $maintClass

Definition at line 44 of file Maintenance.php.

Referenced by Maintenance\runChild().

◆ DO_MAINTENANCE

const DO_MAINTENANCE RUN_MAINTENANCE_IF_MAIN
Deprecated:
since 1.31

Definition at line 42 of file Maintenance.php.

◆ RUN_MAINTENANCE_IF_MAIN

const RUN_MAINTENANCE_IF_MAIN __DIR__ . '/doMaintenance.php'

Definition at line 37 of file Maintenance.php.