Extension:AuthorProtect
![]() 发行状态: 稳定版 |
|
---|---|
实现 | 用户权限 , 页面操作 |
描述 | 能让页面的作者保护页面不受其他用户的影响 |
作者 | Ryan Schmidt (Skizzerz留言) |
最新版本 | 1.4.0 (2017-11-25) |
MediaWiki | 1.29+ |
许可协议 | GNU通用公眾授權條款2.0或更新版本 |
下載 | |
|
|
|
|
季度下載量 | 5 (Ranked 135th) |
前往translatewiki.net翻譯AuthorProtect扩展 | |
The AuthorProtect extension allows page authors to protect pages from non-authors on a page-by-page basis. Authors with the 'authorprotect' permission will gain a protect tab on pages that gives them (author) access to this interface. Because logs and anonymous users don't mix very well (as with the fact that all anonymous users share the same user id), anonymous users are unable to use this extension regardless of if they have the 'authorprotect' right or not.
Do not assign the author right via GroupPermissions (except to those who you want to be able to edit author-protected pages)! This right is automatically assigned to the author of the page. Assigning this right via $wgGroupPermissions gives that group the ability to edit all author-protected pages, regardless of if they are the author of the page or not (by default user group administrators have this right).
安装
- 下载文件,并将其放置在您
extensions/
文件夹中的AuthorProtect
目录内。
开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AuthorProtect - 将下列代码放置在您的LocalSettings.php 的底部:
wfLoadExtension( 'AuthorProtect' );
完成 – 在您的wiki上导航至Special:Version,以验证已成功安装扩展。
参见
![]() | 此扩展在以下wiki农场/托管网站和/或软件包中提供: 這不是一份權威名單。 即使某些wiki农场/托管网站和/或软件包未在这里列出,它们也可能提供此扩展。 请检查你的wiki农场/托管网站或软件包以确认提供情况。 |
Categories:
- Stable extensions/zh
- User rights extensions/zh
- Page action extensions/zh
- GPL licensed extensions/zh
- Extensions in Wikimedia version control/zh
- SkinTemplateNavigation::Universal extensions/zh
- UserGetRights extensions/zh
- All extensions/zh
- Extensions included in Miraheze/zh
- Extensions included in WikiForge/zh
- Edit extensions/zh
- Page specific user rights extensions/zh