Page MenuHomeMiraheze

Requesting a new user right
Closed, ResolvedPublic

Description

Miraheze wiki urlhttps://www.sekaipedia.org

Is it possible to add a custom userright that allows users with that right to edit a namespace?

I have this namespace "Guide" where I only want users with the "editguide" right to be able to edit.

Event Timeline

MacFan4000 subscribed.

If you go to the namespace settings in ManageWiki, the 3rd textbox down is to specify a user right (could be anything) that should be required to edit the namespace. You can do that for any namespace you want to protect.

Unknown Object (User) reopened this task as Open.Dec 21 2022, 17:28

This is still valid. Unless already done, the custom right needs to be added on our end in LocalSettings.php, $wgAvailableRights, then it can be used in that input.

Unknown Object (User) triaged this task as Normal priority.Dec 21 2022, 17:29
Unknown Object (User) added projects: Configuration, MediaWiki (SRE).

@ChaoticShadow after the above PR has been merged; you'll go to https://www.sekaipedia.org/wiki/Special:ManageWiki/namespaces/3002 and replace guide_writer in $wgNamespaceProtection with editguide, then go to https://www.sekaipedia.org/wiki/Special:ManageWiki/permissions/guide_writer#mw-section-unassigned search for editguide add it and save.
PRO Tip: I'd suggest you delete that guide_writer group and recreate it with guide-writer; if you do that, you'll be able to edit the group display name at MediaWiki:Group-guide-writer.

@Ugochimobi Thanks for the instructions and the tip!

Unknown Object (User) added a comment.Dec 22 2022, 02:28

PRO Tip: I'd suggest you delete that guide_writer group and recreate it with guide-writer; if you do that, you'll be able to edit the group display name at MediaWiki:Group-guide-writer.

Why would you have to that? guide_writer works fine and can be changed at MediaWiki:Group-guide_writer

PRO Tip: I'd suggest you delete that guide_writer group and recreate it with guide-writer; if you do that, you'll be able to edit the group display name at MediaWiki:Group-guide-writer.

Why would you have to that? guide_writer works fine and can be changed at MediaWiki:Group-guide_writer

The _ when used as URL works as a space not an actual underscore. MediaWiki:Group-guide_writer ends up being MediaWiki:Group-guide writer.

Unknown Object (User) added a comment.Dec 22 2022, 06:33
In T10180#205218, @Ugochimobi wrote:

PRO Tip: I'd suggest you delete that guide_writer group and recreate it with guide-writer; if you do that, you'll be able to edit the group display name at MediaWiki:Group-guide-writer.

Why would you have to that? guide_writer works fine and can be changed at MediaWiki:Group-guide_writer

The _ in when used as URL works as a space not an actual underscore.

Yes, but the message still works I believe.

In T10180#205218, @Ugochimobi wrote:

PRO Tip: I'd suggest you delete that guide_writer group and recreate it with guide-writer; if you do that, you'll be able to edit the group display name at MediaWiki:Group-guide-writer.

Why would you have to that? guide_writer works fine and can be changed at MediaWiki:Group-guide_writer

The _ in when used as URL works as a space not an actual underscore.

Yes, but the message still works I believe.

I'm doubting, that's why I suggested, so they should confirm if it works.

Unknown Object (User) added a comment.EditedDec 22 2022, 06:45

It works with underscores. I have done it before.

It works with underscores. I have done it before.

Oh, that's so smart of MediaWiki :)

Unknown Object (User) closed this task as Resolved.Dec 22 2022, 22:41
Unknown Object (User) assigned this task to Excelsis.

I have now merged the PR.