Page MenuHomePhabricator

Add new message for user without 'editinterface' right
Closed, ResolvedPublic

Description

New message when the user cannot edit the system message (user has not the 'editinterface' right)

(Message now: Abusefilter-edit-warn-edit; needed: Abusefilter-edit-warn-view)

Details

Reference
bz18204

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:33 PM
bzimport set Reference to bz18204.
bzimport added a subscriber: Unknown Object (MLST).

sumanah wrote:

Is this obsoleted by " 'abusefilter-edit-restricted' => 'You cannot edit this filter, because it contains one or more restricted actions.
Please ask a user with permission to add restricted actions to make the change for you.'," ?

If you're a new coder who wants to fix this: look in https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FAbuseFilter.git/b13fed3adf83f7063fe75bb51a9486424ae57ec4/AbuseFilter.i18n.php , and ask in MediaWiki-General (see https://www.mediawiki.org/wiki/MediaWiki_on_IRC ) to find out where to add a line like:

'abusefilter-edit-warn-view' => 'You may not edit the system message because you do not have the editinterface right.',

ritusparks wrote:

Hey! I am a newbie to mediawiki. Could someone assign me the bug?

Change 101494 had a related patch set uploaded by Apsdehal:
Added message for key 'abusefilter-edit-warn-view' to AbuseFilter.i18n.php

https://gerrit.wikimedia.org/r/101494

RituS: This issue has been assigned to you a while ago.
Could you please provide a status update and inform us whether you are still working (or still plan to work) on this issue?
Only in case you do not plan to work on this issue anymore, should the assignee be set back to default and the bug status changed from ASSIGNED to NEW/UNCONFIRMED? Thanks.

RituS: I am resetting the assignee of this issue to default because there has been no progress in the last months. Feel free to take it again when you are actually planning to fix this. Thanks.

For anybody interested in working on this, the patch in Gerrit needs rework. See https://www.mediawiki.org/wiki/Gerrit/Tutorial#Amending_a_change

The button has been hidden from users who cannot modify interface messages since rEABF0dca928f5880: Don't show link to testing interface when the user cannot test filters. I think we don't need to keep this task open anymore.