MediaWiki:Gadget-userRightsManager.js: Difference between revisions
From Test Wiki
Content deleted Content added
No edit summary Tags: Mobile edit Mobile web edit |
testing |
||
| Line 11: | Line 11: | ||
'interface-admin': 'Interface administrator', |
'interface-admin': 'Interface administrator', |
||
'non-stewardsuppress': 'Suppressor', |
'non-stewardsuppress': 'Suppressor', |
||
'abusefilter-admin': 'Abuse filter administrator', |
|||
} |
} |
||
| Line 17: | Line 18: | ||
'bureaucrat': '{{bureaucrat granted}} ~~~~', |
'bureaucrat': '{{bureaucrat granted}} ~~~~', |
||
'interface-admin': '{{interface administrator granted}} ~~~~', |
'interface-admin': '{{interface administrator granted}} ~~~~', |
||
'non-stewardsuppress': '{{done}}. ~~~~' |
'non-stewardsuppress': '{{done}}. ~~~~', |
||
'abusefilter-admin': '{{done}}. ~~~~', |
|||
}; |
}; |
||
| Line 93: | Line 95: | ||
new OO.ui.FieldLayout(this.groupsInterfaceAdminInput, {label: 'Interface administrator', align: 'inline'}), |
new OO.ui.FieldLayout(this.groupsInterfaceAdminInput, {label: 'Interface administrator', align: 'inline'}), |
||
new OO.ui.FieldLayout(this.groupsNonStewardSuppressInput, {label: 'Suppressor', align: 'inline'}), |
new OO.ui.FieldLayout(this.groupsNonStewardSuppressInput, {label: 'Suppressor', align: 'inline'}), |
||
new OO.ui.FieldLayout(this.groupsNonStewardSuppressInput, {label: 'Abuse filter administrator', align: 'inline'}), |
|||
] |
] |
||
}) |
}) |
||
| Line 133: | Line 136: | ||
if(this.groupsInterfaceAdminInput.isSelected()) perms.push('interface-admin'); |
if(this.groupsInterfaceAdminInput.isSelected()) perms.push('interface-admin'); |
||
if(this.groupsNonStewardSuppressInput.isSelected()) perms.push('non-stewardsuppress'); |
if(this.groupsNonStewardSuppressInput.isSelected()) perms.push('non-stewardsuppress'); |
||
if(this.groupsNonStewardSuppressInput.isSelected()) perms.push('abusefilter-admin'); |
|||
var self = this, promiseCount = 2; |
var self = this, promiseCount = 2; |
||