Page MenuHomePhabricator

Change the message (that the page is protected) if protected to "sysop" or to "autoconfirmed"
Closed, InvalidPublic

Description

Author: rotemliss

Description:
The message says that the page is protected should be different if the page is
protected for "sysop" and you are not a sysop, or the page is protected for
"autoconfirmed" and you are not an autoconfirmed user.

And again, I want to create the patch, for I will be able to update also
MessagesHe.php.


Version: 1.6.x
Severity: minor

Details

Reference
bz5423

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:09 PM
bzimport set Reference to bz5423.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

I'm not sure I understand the intent of the request.

rotemliss wrote:

(In reply to comment #1)

I'm not sure I understand the intent of the request.

Currently it is like that algorithm:
if ((protectedToSysops() AND notSysop()) OR (protectedToAutoconfirmed() AND
notAutoconfirmed())
{

show "Page protected, full or semi."

}

I want it like that:
if (protectedToSysops() AND notSysop())
{

show "Page fully protected, only for sysops."

}
else if (protectedToAutoconfirmed() AND notAutoconfirmed())
{

show "Page semi protected, only for autoconfirmed."

}

robchur wrote:

What's the point? The page is protected from editing by "you".