Page MenuHomeMiraheze

Extension:ProtectSite playing up
Closed, ResolvedPublic

Description

I have been using Extension:ProtectSite for some time now. It is effective (although I would have preferred it if I could remove the timeout function and manually switch it off). I have noticed that yesterday its behaviour changed.

Now if I set it to "admins only" for create page - it stops me as an admin creating a page. It may have been like this all the time, as it could well have timed out and I didn't notice.

I've switched moderation on now, but the one feature I would have liked from ProtectSite was to stop pages being created. When a signed in user wants to create a new page the idea was for me to create the page - add the categories links etc and then they could have edited it to add the body content.

Could you take a look at why this issue is happening?

Event Timeline

Hispano76 triaged this task as Normal priority.Aug 21 2018, 12:26

Hmm, from the looks of things, the extension only assigns the edit permission to admins but never grants the group any of the other permissions it revokes. It could be worth an upstream ticket, but we could easily assign the permission (createpage) to admins on request.

Certainly I like the idea of only admins being allowed to create pages. It is the biggest benefit I saw in the ProtectSite extension. Editing control is good rather than having to set it at each page. It's not the best extension I've ever come across :-) The time out should be optional really.

We can up the limit on the time out too, but there's no real way to get rid of it entirely.

Yes the up on the time out would be good. Then I can add a reminder in my calendar for when I know it is due to expire. Can it be for a fairly extensive period? 3 months or so would be good.

@Michaeldakin Looking at our settings page, it seems that we have set the limit to "indefinite" on a wiki, so would you like to try that? Also, you never mentioned the name of your wiki.

On the topic of 'createpage', the patch I created was approved by the project owner, however, it still needs to be backported to our version of MediaWiki in order for it to work on Miraheze.

Hi, My wiki is https://wiki.campaign-labour.org/wiki/Main_Page

Indefinite would be ideal for ProtectSite. I can control if I want to reduce protection at any stage, rather than rely on my flaky memory to switch it back on when it times out.

Thanks for the createpage patch. Much appreciated.

@Michaeldakin I will add your wiki to the configuration to allow indefinite ProtectSite.

MacFan4000 mentioned this in Unknown Object (Diffusion Commit).Aug 27 2018, 19:12
AmandaCath mentioned this in Unknown Object (Diffusion Commit).Aug 27 2018, 19:12