Page MenuHomePhabricator

right-data-edit needs documentation
Closed, ResolvedPublic


Per T200565: Several extensions affected by AvailableRightsTest::testAllRightsWithMessage PHPUnit test failure I'd love to know a description of what the user right data-edit does so a patch could be uploaded fixing the issue.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 31 2018, 4:24 PM
Karima claimed this task.Aug 1 2018, 9:40 AM
Karima added a subscriber: Karima.

Ok, you have a doc/tutorial/good example ?

I have a problem with gerrit

git review -d 449487
Cannot checkout to new branch
The following command failed with exit code 128
    "git checkout -b review/marcoaurelio/AvailableRightsTest::testAllRightsWithMessage FETCH_HEAD"
fatal: 'review/marcoaurelio/AvailableRightsTest::testAllRightsWithMessage' is not a valid branch name.

An idea ?

On i18n/en.json add:

"right-data-edit": "brief description of the permission to be shown in Special:ListGroupRights",

On i18n/qqq.json add:

"right-data-edit": "{{doc-right|data-edit}}"

Some examples can be found at -- search for right- messages to see tons of them :-)

Hope that this helps.

I have a problem with gerrit

Log-in to gerrit and remove the topic name. Apparently git doesn't like that name. That'll solve the issue (happened to me already).

@MarcoAurelio Thanks, it works.

I'm writing the doc.

Karima closed this task as Resolved.Aug 1 2018, 12:59 PM

@MarcoAurelio It's ok for me.

MarcoAurelio updated the task description. (Show Details)Aug 1 2018, 6:04 PM

Awesome. Thank you very much :-)