MediaWiki:Groups.js

/* */ //////////////////////////////////// // INFO: Group list. // //      Can be included into any // //      type of user or skin .js // //      to provide a list of the // //      wiki's group tags. // //////////////////////////////////// /**** GENERATION: **** Most of this info can be generated by copying the source inside the group select box at Special:Listusers and then running it through a regex with a expression of: -START-- ([^<]+) --END--- and a replacement of: (Yes the extra line break is included.) -START--	{ value: '\1', data: '\2' }, --END--- Then just remove the, off the last one and replace the content inside of the array. var mwGroups = new Array(	{ value: '', data: '(all)' },	{ value: 'bot', data: 'Bots' },	{ value: 'sysop', data: 'Jonin' },	{ value: 'bureaucrat', data: 'Kages' },	{ value: 'checkuser', data: 'checkuser' },	{ value: 'staff', data: 'staff' },	{ value: 'rollback', data: 'Tokubetsu Jonin' } );