Content deleted Content added
changed default icons - extended confirmed =๐, 10k=๐ |
bots |
||
Line 19:
const defaultRoleInfoLookup = {
wmf: ['๐', 'Wikimedia Foundation (WMF)'],
bot: ['๐ค', 'Bot'],
stewards: ['๐ฉบ', 'Steward or Ombud'],
arbcom: ['โ๏ธ', 'Arbitration Committee member'],
Line 25 โถ 26:
formerAdmins: ['๐ฌ', 'Former Admin'],
newPageReviewers: ['๐งบ', 'New page reviewer'],
tenThousandEdits: ['
extendedConfirmed: ['
lessThan500: ['๐ฃ', 'Less than 500 edits'],
};
Line 112 โถ 113:
// ...dataJSON['global-sysop'],
};
this.stewards = dataJSON.steward;
this.arbcom = dataJSON.arbcom;
Line 121 โถ 123:
this.extendedConfirmed = {
...dataJSON.extendedconfirmed,
▲ ...dataJSON.bot,
...dataJSON.productiveIPs
};
Line 274 โถ 275:
// TODO: grab the order from an array, so I can keep checkForPermission and addCSS in the same order easily, lowering the risk of the HTML title="" being one thing, and the color being another
this.addRoleInfoIfAppropriate( this.wmf, this.roleInfoLookup.wmf[0], this.roleInfoLookup.wmf[1]);
this.addRoleInfoIfAppropriate( this.bot, this.roleInfoLookup.bot[0], this.roleInfoLookup.bot[1]);
this.addRoleInfoIfAppropriate( this.stewards, this.roleInfoLookup.stewards[0], this.roleInfoLookup.stewards[1]);
this.addRoleInfoIfAppropriate( this.arbcom, this.roleInfoLookup.arbcom[0], this.roleInfoLookup.arbcom[1]);
|