Repository navigation
Expand file tree
/
Copy pathShowAdminMessages.js
More file actions
76 lines (71 loc) · 1.63 KB
/
Copy pathShowAdminMessages.js
File metadata and controls
76 lines (71 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// <nowiki>
// There are various hidden messages onwiki that can be targeted to extended confirmed users, admins, checkusers, template editors, etc. This user script 1) shows these messages and 2) highlights them yellow so you can recognize them.
mw.util.addCSS( `
div.sysop-show,
div.checkuser-show,
div.sysop-show,
div.abusefilter-show,
div.abusefilter-helper-show,
div.patroller-show,
div.templateeditor-show,
div.extendedmover-show {
display: block !important;
background: yellow;
}
p.sysop-show,
p.checkuser-show,
p.sysop-show,
p.abusefilter-show,
p.abusefilter-helper-show,
p.patroller-show,
p.templateeditor-show,
p.extendedmover-show {
display: block !important;
background: yellow;
}
span.sysop-show,
span.checkuser-show,
span.sysop-show,
span.abusefilter-show,
span.abusefilter-helper-show,
span.patroller-show,
span.templateeditor-show,
span.extendedmover-show {
display: inline !important;
background: yellow;
}
small.sysop-show,
small.checkuser-show,
small.sysop-show,
small.abusefilter-show,
small.abusefilter-helper-show,
small.patroller-show,
small.templateeditor-show,
small.extendedmover-show {
display: inline !important;
background: yellow;
}
table.sysop-show,
table.checkuser-show,
table.sysop-show,
table.abusefilter-show,
table.abusefilter-helper-show,
table.patroller-show,
table.templateeditor-show,
table.extendedmover-show {
display: table !important;
background: yellow;
}
li.sysop-show,
li.checkuser-show,
li.sysop-show,
li.abusefilter-show,
li.abusefilter-helper-show,
li.patroller-show,
li.templateeditor-show,
li.extendedmover-show {
display: list-item !important;
background: yellow;
}
` );
// </nowiki>