MediaWiki master
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/

Note
GPL-2.0-or-later
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 151 of file shell.php.

◆ if

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

Definition at line 34 of file shell.php.