扩展:AjaxShowEditors
Ajax Show Editors 发行状态: 稳定版 |
|
---|---|
实现 | 数据库 , 用户活动 , Ajax |
描述 | 显示谁正在编辑您正在编辑的页面。 |
作者 | Antoine Musso, Tim Starling, Jack Phoenix |
最新版本 | 2.0 (2020-11-13) |
MediaWiki | 1.39.10+ |
数据库更改 | 是 |
表 | editings |
许可协议 | 僅限GNU通用公眾授權條款2.0 |
下載 | |
|
|
季度下載量 | 3 (Ranked 129th) |
前往translatewiki.net翻譯AjaxShowEditors扩展 | |
The Ajax Show Editors extension allows you to see who is editing a page that you're editing at the same time.
The extension displays a box containing other users' user names on action=edit
(as well as on preview, action=submit
).
安裝
- 下载文件,并将解压后的
AjaxShowEditors
文件夹移动到extensions/
目录中。
开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AjaxShowEditors - 将下列代码放置在您的LocalSettings.php 的底部:
wfLoadExtension( 'AjaxShowEditors' );
- 运行更新脚本,它将自动创建此扩展必须依赖的数据库表。
- 完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。
配置
The extension has only one configuration variable, $wgAjaxShowEditorsTimeout
; its default value is 60
(seconds); it's the timeout in seconds after which a user is considered as no longer editing the page in question.