MediaWiki REL1_40
shell.php File Reference

Modern interactive shell within the MediaWiki engine. More...

Go to the source code of this file.

Classes

class  MediaWikiShell
 Interactive shell with completion and global scope. More...
 

Variables

 $maintClass = MediaWikiShell::class
 
 if (in_array('--no-session', $_SERVER[ 'argv'], true))
 

Detailed Description

Modern interactive shell within the MediaWiki engine.

Merely wraps around http://psysh.org/ and drop an interactive PHP shell in the global scope.

Copyright © 2017 Antoine Musso hasha.nosp@m.r@fr.nosp@m.ee.fr Copyright © 2017 Gergő Tisza tgr.h.nosp@m.uwik.nosp@m.i@gma.nosp@m.il.c.nosp@m.om Copyright © 2017 Justin Hileman justi.nosp@m.n@ju.nosp@m.stinh.nosp@m.ilem.nosp@m.an.in.nosp@m.fo Copyright © 2017 Wikimedia Foundation Inc. https://www.mediawiki.org/

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

Author
Antoine Musso hasha.nosp@m.r@fr.nosp@m.ee.fr
Justin Hileman justi.nosp@m.n@ju.nosp@m.stinh.nosp@m.ilem.nosp@m.an.in.nosp@m.fo
Gergő Tisza tgr.h.nosp@m.uwik.nosp@m.i@gma.nosp@m.il.c.nosp@m.om

Definition in file shell.php.

Variable Documentation

◆ $maintClass

$maintClass = MediaWikiShell::class

Definition at line 154 of file shell.php.

◆ if

if(in_array('--no-session', $_SERVER['argv'], true)) ( in_array('--no-session', $_SERVER[ 'argv'], true) )

Definition at line 46 of file shell.php.