MediaWiki  1.34.0
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 MW_ENTRY_POINT 'cli'
 
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

$maintClass = false

Definition at line 46 of file Maintenance.php.

Referenced by Maintenance\runChild().

◆ DO_MAINTENANCE

const DO_MAINTENANCE RUN_MAINTENANCE_IF_MAIN
Deprecated:
since 1.31

Definition at line 44 of file Maintenance.php.

◆ MW_ENTRY_POINT

const MW_ENTRY_POINT 'cli'

Definition at line 23 of file Maintenance.php.

◆ RUN_MAINTENANCE_IF_MAIN

const RUN_MAINTENANCE_IF_MAIN __DIR__ . '/doMaintenance.php'

Definition at line 39 of file Maintenance.php.