Gadget:HotCat.js:修订间差异

添加406字节 、​ 2022年12月7日 (星期三)
// Edit via Wikiplus
(// Edit via Wikiplus)
 
(// Edit via Wikiplus)
第1行: 第1行:
/**
/**
搬运自维基共享资源,CC-BY-3.0
搬运自维基共享资源,CC-BY-3.0,有部分修改
https://commons.wikimedia.org/wiki/MediaWiki:Gadget-HotCat.js
https://commons.wikimedia.org/wiki/MediaWiki:Gadget-HotCat.js
HotCat V2.43
HotCat V2.43
第139行: 第139行:
uncat_regexp: /\{\{\s*[Uu]ncategorized\s*[^}]*\}\}\s*(<!--.*?-->\s*)?/g,
uncat_regexp: /\{\{\s*[Uu]ncategorized\s*[^}]*\}\}\s*(<!--.*?-->\s*)?/g,
// The images used for the little indication icon. Should not need changing.
// The images used for the little indication icon. Should not need changing.
existsYes: '//upload.wikimedia.org/wikipedia/commons/thumb/b/be/P_yes.svg/20px-P_yes.svg.png',
existsYes: 'data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Echeck%3C/title%3E%3Cpath d='M7 14.2 2.8 10l-1.4 1.4L7 17 19 5l-1.4-1.4z'/%3E%3C/svg%3E%0A',
existsNo: '//upload.wikimedia.org/wikipedia/commons/thumb/4/42/P_no.svg/20px-P_no.svg.png',
existsNo: 'data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ctitle%3Eclose%3C/title%3E%3Cpath d='m4.3 2.9 12.8 12.8-1.4 1.4L2.9 4.3z'/%3E%3Cpath d='M17.1 4.3 4.3 17.1l-1.4-1.4L15.7 2.9z'/%3E%3C/svg%3E',
// a list of categories which can be removed by removing a template
// a list of categories which can be removed by removing a template
// key: the category without namespace
// key: the category without namespace
维护员、​界面管理员、​巡查员、​监督员、​小部件编辑者
3,469

个编辑