Fandom Developers Wiki
(Major Fix)
(Templatize)
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{:AddUserRightsTag
{{Languages}}
 
 
|description = 添加一個按鈕以連結至 Special:UserRights 頁面
{{Infobox JavaScript
 
 
|intro = '''添加用戶權限標籤(AddUserRightsTag)''' 會在用戶的個人檔案上添加一個按鈕以變更該用戶的權限,但僅限於管理員和行政員使用。這個按鈕會連結至該用戶的 <code>Special:UserRights</code> 頁面。
| Image file = AddUserRightsTag.png
 
| Description = 添加一個按鈕以連結至 Special:UserRights 頁面
 
| Scope = ps
 
| Author = [[User:Algorithmz|Algorithmz]]
 
| Using code by = [[User:Slyst|Slyst]] ([[EditcountTag|編輯數量標籤]])
 
| Code = [[MediaWiki:AddUserRightsTag/code.js|code.js]]
 
| Languages = mw
 
}}
 
'''添加用戶權限標籤(AddUserRightsTag)''' 會在用戶的個人檔案上添加一個按鈕以變更該用戶的權限,但僅限於管理員和行政員使用。這個按鈕會連結至該用戶的 <code>Special:UserRights</code> 頁面。
 
 
==安裝方法==
 
{{Script Install
 
| Use = PS
 
| codepage = AddUserRightsTag/code.js
 
 
}}
 
}}

Revision as of 18:40, 5 February 2019

添加用戶權限標籤(AddUserRightsTag) 會在用戶的個人檔案上添加一個按鈕以變更該用戶的權限,但僅限於管理員和行政員使用。這個按鈕會連結至該用戶的 Special:UserRights 頁面。

安裝方法

Known Bugs

This script does not work with AddBlockUserTag and EditcountTag.

Changelog

Date Description Author
February 18, 2017 Initial release. Algorithmz
March 7, 2018 Slightly shortened and modified; made accessible for Staff. TheGoldenPatrik1
March 12, 2018 Minor rewrite to no longer use "tag" class, making it compatible with UserTags, ProfileTags, and Quick Management. TheGoldenPatrik1
March 25, 2019 Use Fetch. TheGoldenPatrik1