Rights that the user has (user_rights) | [
0 => 'autopatrol',
1 => 'autoreview',
2 => 'editinterface',
3 => 'deletelogentry',
4 => 'nuke',
5 => 'unblockself',
6 => 'bureaucrat',
7 => 'userboard-delete',
8 => 'checkuser-limited',
9 => 'import',
10 => 'importupload',
11 => 'edituserjson',
12 => 'editsitejson',
13 => 'modchat',
14 => 'move',
15 => 'move-subpages',
16 => 'move-rootuserpages',
17 => 'move-categorypages',
18 => 'movefile',
19 => 'skipcaptcha',
20 => 'editsemiprotected',
21 => 'autoconfirmed',
22 => 'review',
23 => 'interwiki',
24 => 'patrol',
25 => 'rollback',
26 => 'noratelimit',
27 => 'suppressredirect',
28 => 'upload_by_url',
29 => 'browsearchive',
30 => 'deletedhistory',
31 => 'deletedtext',
32 => 'block',
33 => 'delete',
34 => 'bigdelete',
35 => 'undelete',
36 => 'protect',
37 => 'editprotected',
38 => 'unwatchedpages',
39 => 'ipblock-exempt',
40 => 'blockemail',
41 => 'markbotedits',
42 => 'apihighlimits',
43 => 'mergehistory',
44 => 'managechangetags',
45 => 'deletechangetags',
46 => 'oathauth-enable',
47 => 'pagetranslation',
48 => 'translate-manage',
49 => 'deleterevision',
50 => 'abusefilter-modify',
51 => 'abusefilter-log-detail',
52 => 'abusefilter-revert',
53 => 'validate',
54 => 'unreviewedpages',
55 => 'pagelang',
56 => 'mwoauthproposeconsumer',
57 => 'mwoauthupdateownconsumer',
58 => 'template-editor',
59 => 'abusefilter-view-private',
60 => 'abusefilter-log-private',
61 => 'stablesettings',
62 => 'movestable',
63 => 'massmessage',
64 => 'oathauth-disable-for-user',
65 => 'oathauth-verify-user',
66 => 'oathauth-view-log',
67 => 'tboverride',
68 => 'titleblacklistlog',
69 => 'awardsmanage',
70 => 'giftadmin',
71 => 'createaccount',
72 => 'read',
73 => 'edit',
74 => 'createpage',
75 => 'createtalk',
76 => 'writeapi',
77 => 'viewmywatchlist',
78 => 'editmywatchlist',
79 => 'viewmyprivateinfo',
80 => 'editmyprivateinfo',
81 => 'editmyoptions',
82 => 'abusefilter-view',
83 => 'abusefilter-log',
84 => 'patrolmarks',
85 => 'upload',
86 => 'reupload',
87 => 'reupload-shared',
88 => 'minoredit',
89 => 'editmyusercss',
90 => 'editmyuserjson',
91 => 'editmyuserjs',
92 => 'editmyuserjsredirect',
93 => 'purge',
94 => 'sendemail',
95 => 'applychangetags',
96 => 'changetags',
97 => 'editcontentmodel',
98 => 'user',
99 => 'translate',
100 => 'translate-messagereview',
101 => 'translate-groupreview',
102 => 'translate-import',
103 => 'chat',
104 => 'mwoauthmanagemygrants',
105 => 'spamblacklistlog'
] |
Old page wikitext, before the edit (old_wikitext) | 'Insert the following code and go to [[Test Wiki:AutoWikiBrowser/Script]] to run the script.
$.when(mw.loader.using(['mediawiki.util'], $.ready)).done( function() {
mw.util.addPortletLink("p-tb", mw.config.get('wgArticlePath').replace('$1', "Project:AutoWikiBrowser/Script"), "JS Wiki Browser", "tb-awbscript", "Run Javascript Wiki Browser");
});
if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'Project:AutoWikiBrowser/Script' && mw.config.get('wgAction') == 'view')
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js&action=raw&ctype=text/javascript');' |
New page wikitext, after the edit (new_wikitext) | 'Insert the following code in [[Special:MyPage/common.js|your /common.js]] and go to [[Test Wiki:AutoWikiBrowser/Script]] to run the script.
$.when(mw.loader.using(['mediawiki.util'], $.ready)).done( function() {
mw.util.addPortletLink("p-tb", mw.config.get('wgArticlePath').replace('$1', "Project:AutoWikiBrowser/Script"), "JS Wiki Browser", "tb-awbscript", "Run Javascript Wiki Browser");
});
if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'Project:AutoWikiBrowser/Script' && mw.config.get('wgAction') == 'view')
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js&action=raw&ctype=text/javascript');' |