I want to create a new user group called "Group X editors". This text would appear having its own assignable checkbox in the User rights interface. Here's a screenshot http://postimg.org/image/o567yni59/ of that.
This text would come out different in different languages (where the red arrow is). I can do the following that creates the group and I can assign it using a checkbox: $wgGroupPermissions['group-x-editors']['group-x-editors'] = true;
But then I only see "group-x-editors" next to the checkbox. I want to see customized text for each language. I thought something like this would work: $wgGroupPermissions[wfMessage('group-x-editors')->text()]['group-x-editors'] = true;
But that doesn't work. I've seen some existing "user rights extensions" which create new rights but the few that I saw in thishttps://www.mediawiki.org/wiki/Category:Extensions_which_add_rightscategory did not provide an additional checkbox. They only created an entry in Special:ListGroupRights
Does anyone know how to do this, or does anyone of know an existing extension that creates a user rights group, where the text shown next to the checkbox changes for each language? Or maybe the text next to the checkbox is fixed and cannot be changed according to the current language?
Dan