Page MenuHomePhabricator

Check that aliases for Schema are unique before saving
Closed, ResolvedPublic

Description

As a Schema editor I want to save unique Aliases for my Schema.

Currently we don't check for duplicities in Schema aliases at any point.
A check (probably in the SchemaWriter) should make sure the elements in the aliases array for a schema are unique within the array.

Event Timeline

noarave created this task.Mar 5 2019, 8:40 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 5 2019, 8:40 AM

Change 494481 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseSchema@master] Check that aliases are unique before saving

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

hoo moved this task from Peer Review to Done on the Shape Expressions Sprint 3 board.
hoo closed this task as Resolved.

Change 494481 merged by jenkins-bot:
[mediawiki/extensions/WikibaseSchema@master] Check that aliases are unique before saving

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