Page MenuHomePhabricator

Not possible to move a description to a label or a label to a description (at Wikidata item pages)
Open, Needs TriagePublic

Description

Wikidata contains a tool which impedes to save an edit if the "label" is identical with the "description" in any language (and not empty). This feature was implemented on the request T212869.

However, this tool compares the newly entered data with the existing data, not with the resulting state. So if the new label is identical with the old description, the system incorrectly displays a message: "Could not save due to an error. Label and description for language code en can not have the same value." and blocks the save. In addition, the system probably detects the original state from some delayed cache, so that such a blocking occurs even if both steps are performed sequentially immediately after each other.

There are several types of situations where the label after editing is equal to the description before editing or the description after editing is equal to the label before editing:

  1. The original label is too general, vague or inaccurate, while the original description is an optimally concise specification appropriate to become a label (and the description can remain empty)
  2. The original label and description are very similar (almost identical in content), but the original description is a bit more appropriate to be a label (and the description can remain empty)
  3. The original label is too descriptive and explanatory and should be used rather as a description, while the new label should be shorter

Event Timeline

Note from Task triage: The issue might be resolved as part of the adoption of mobile Termbox in desktop. Nevertheless, the issue can be reproduced on mobile. The following error is thrown when I try to replace a label by a description, or vice versa, in the mobile Termbox. Both on test.Wikidata and our Wikidata Sandbox:

Screenshot 2023-02-15 at 10.38.05.png (1×1 px, 208 KB)

We'll create a separate ticket to capture this fix.