Page MenuHomePhabricator

Editing keys on Z46 and Z64 does not work
Open, MediumPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?: You get an error message "User does not have permission to edit"

What should have happened instead?: I guess functioneer and sysop rights should be enough to make these edits, so the edit should be safed.

Event Timeline

I guess functioneer and sysop rights should be enough to make these edits, so the edit should be safed.

Sounds like your attempted edit triggered the wikilambda-edit-predefined right, which it shouldn't have, yes. (Sorry for the low-context error message; fixing that is T351583.)

Change #1017875 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] tests: Add authorisation test for adding a label to a built-in type

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

I guess functioneer and sysop rights should be enough to make these edits, so the edit should be safed.

Sounds like your attempted edit triggered the wikilambda-edit-predefined right, which it shouldn't have, yes. (Sorry for the low-context error message; fixing that is T351583.)

@Ameisenigel: However, I've re-created (what I imagine is close to) your edit in our test suite, and it seems to pass: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/1017875 – do you have any more information about the change you tried to make?

I guess functioneer and sysop rights should be enough to make these edits, so the edit should be safed.

Sounds like your attempted edit triggered the wikilambda-edit-predefined right, which it shouldn't have, yes. (Sorry for the low-context error message; fixing that is T351583.)

@Ameisenigel: However, I've re-created (what I imagine is close to) your edit in our test suite, and it seems to pass: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/WikiLambda/+/1017875 – do you have any more information about the change you tried to make?

For Z64 I tried to add the following German labels:

  • Z64K1: Identität
  • Z64K2: Typ
  • Z64K3: Umwandler
  • Z64K4: nativer Typ