扩展:GoToShell
Jump to navigation
Jump to search
![]() | 此扩展目前不再活跃维护! 尽管它可能仍然工作,但任何错误报告或功能请求将很可能被忽略。 如果您对承担开发与维护该扩展的任务工作感兴趣,您可以请求自己的存储库。 作为礼貌,您或许可以联络作者。 或者您应移除该模板,并在页面的{{extension}}信息框中将您自己列为扩展的维护人员。 |
GoToShell 发布状态: 未维护 |
|
---|---|
![]() |
|
实现 | 特殊页面 |
描述 | Implements a special page that takes the user to shell and back |
作者 | Nathan Larson (Leucosticte讨论) |
最新版本 | 1.0.1 (2016-10-25) |
MediaWiki | 1.23+ |
PHP | 5.3 |
数据庫更改 | 否 |
许可协议 | GNU通用公眾授權條款3.0或更新版本 |
下载 | |
$wgGoToShellCommand |
|
|
|
翻譯GoToShell擴充功能如在translatewiki.net可用 | |
The GoToShell extension implements a special page that takes the user to shell and back.
This extension is free software than can be modified and distributed under the terms of the GPL and/or the DWTSYWWI (Do Whatever The Shell You Want With It) license.
By default, shell is reserved for bureaucrats only, but you can change $wgGroupPermissions
so that other deserving users can go to shell too.
安装和设置
安装
- 下载文件,并将其放置在您
extensions/
文件夹中的GoToShell
目录内。 - 将下列代码放置在您的LocalSettings.php的底部:
require_once "$IP/extensions/GoToShell/GoToShell.php";
完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。
配置
$wgGoToShellCommand
Set this to whatever you want it to do; e.g. "ls -l", "./maintenance/php update.php --quick ", "rm -rf /incriminating_data", etc.