Extension:AuthorProtect/zh

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:AuthorProtect and the translation is 0% complete.
MediaWiki擴充功能手冊
OOjs UI icon advanced-invert.svg
AuthorProtect
发布状态: 稳定版
实现 用户权限 , 页面操作
描述 Allows the author of a page to protect it from other users
作者 Ryan Schmidt (Skizzerz讨论)
最新版本 1.4.0 (2017-11-25)
MediaWiki 1.29+
许可协议 GNU通用公眾授權條款2.0或更新版本
下载
  • $wgRestrictionLevels
  • author
  • authorprotect
翻譯AuthorProtect擴充功能如在translatewiki.net可用

检查使用和版本矩阵。

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 they author that gives them 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).

Download

此扩展可直接从Git检索到 [?]:

  • 浏览代码
  • 部分扩展有稳定版本标签。
  • 每个分支与过去的MediaWiki发布版本相关联。 这里也有一个“主线”分支,包含最新alpha版本(可能需要MediaWiki的alpha版本)。

提取快照,并将它放置在您的MediaWiki安装副本的extensions/AuthorProtect/目录中。

如果您对git熟悉,并且拥有您服务器的shell访问权,您也可以通过以下方法获得扩展:

cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AuthorProtect.git

Installation

  • 下载文件,并将其放置在您extensions/文件夹中的AuthorProtect目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
    wfLoadExtension( 'AuthorProtect' );
    
  • Yes 完成 – 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

See also