|
MediaWiki master
|
We want to make this whole thing as seamless as possible to the end-user. More...
Go to the source code of this file.
Variables | |
| $IP = wfDetectInstallPath() | |
| $runner = new MaintenanceRunner() | |
| $self = $runner->getName() | |
| if(stream_isatty(STDOUT)) | $success = $runner->run() |
| if (!defined('MW_FINAL_SETUP_CALLBACK')) | |
| const | MEDIAWIKI (! $maintClass||!class_exists( $maintClass)) true |
We want to make this whole thing as seamless as possible to the end-user.
Unfortunately, we can't do all of the work in the class because A) included files are not in global scope, but in the scope of their caller, and B) MediaWiki has way too many globals. So instead we'll kinda fake it, and do the requires() inline. <3 PHP
Definition in file doMaintenance.php.
| $IP = wfDetectInstallPath() |
Definition at line 42 of file doMaintenance.php.
| $runner = new MaintenanceRunner() |
Definition at line 45 of file doMaintenance.php.
Referenced by RunJobs\execute(), MediaWiki\Specials\SpecialLog\getLogTypesOnUser(), and MediaWiki\MediaWikiServices\resetGlobalInstance().
| $self = $runner->getName() |
Definition at line 50 of file doMaintenance.php.
Referenced by MediaWiki\Page\WikiFilePage\getDuplicates(), MediaWiki\Specials\Pager\UsersPager\getPageHeader(), MediaWiki\Maintenance\Maintenance\loadParamsAndArgs(), and MediaWiki\Tidy\RemexCompatMunger\reparentChildren().
| if (stream_isatty(STDOUT)) $success = $runner->run() |
Definition at line 88 of file doMaintenance.php.
| if(!defined( 'MW_FINAL_SETUP_CALLBACK')) | ( | ! | defined'MW_FINAL_SETUP_CALLBACK' | ) |
Definition at line 55 of file doMaintenance.php.
| const MEDIAWIKI(! $maintClass||!class_exists($maintClass)) | ( | ! $maintClass||! | class_exists$maintClass | ) | true |
Definition at line 40 of file doMaintenance.php.