维基百科:在編輯記錄中標示使用者權限

本页使用了标题或全文手工转换
维基百科,自由的百科全书

在編輯記錄中標示使用者權限是一项小工具,启用之后可以在頁面歷史、差異等等地方中標示使用者權限。小工具的代码请参见MediaWiki:Gadget-MarkRights.js討論),界面样式请参见MediaWiki:Gadget-MarkRights.css

启用[编辑]

前往您的偏好设置,单击“小工具”选项卡,选中“在编辑记录中标示用户权限”的复选框。

设定[编辑]

默认设定[编辑]

權限 權限名稱 顯示文字
(僅在您啟用小工具時才能看見)
管理员 sysop
行政员 bureaucrat
用户查核员 checkuser
监督员 suppress
界面管理员 interface-admin
模板編輯員 templateeditor
过滤器助理 abusefilter-helper
跨维基导入者 transwiki
巡查员 patroller
回退员 rollbacker
巡查豁免者 autoreviewer
大量账户创建者 accountcreator
大量信息发送者 massmessage-sender
IP封禁豁免權授予者 ipblock-exempt-grantor
确认用户 confirmed
自动确认用户 autoconfirmed (小工具預設不顯示)
延伸确认用户 extendedconfirmed
机器人 bot
机器用户 flood
IP封禁豁免者 ipblock-exempt

自定义[编辑]

若想更改默认设置,请在您的common.css中加入以下代碼。

.markrights-權限名稱:after {
	content: "顯示文字" !important;
	color: 顏色 !important;
}

例如將管理员的顯示文字改為「op」。

.markrights-sysop:after {
	content: "op" !important;
}

將界面管理员的顏色改為黃色。

.markrights-interface-admin:after {
	color: yellow !important;
}

隱藏对确认用户的标注。

.markrights-confirmed:after {
	display: none !important;
}

显示对自动确认用户的标注。

.markrights-autoconfirmed:after {
	color: green;
	content: "自";
}

延伸[编辑]

若使用者想複製原始碼進行改組,請記得在Special:Mypage/common.css中加入class(此CSS的默认设定),否則無法顯示