Page MenuHomePhabricator

[M] Item label, description and alias editing should have a license note
Closed, ResolvedPublic1 Estimated Story Points

Description

As an editor, I want to be informed about the license of contributions when I am editing a label, description or alias of an Item on the legacy termbox.

Problem:
We currently don't show a "license of contributions" message when an Item label, alias or description is edited like we do when a statement is added or edited.

We need to have the same message appear when an Item label, alias or description is edited on the legacy termbox.

Screenshot

image.png (294×330 px, 28 KB)

Copy
By clicking "Publish", you agree to the terms of use, and you irrevocably agree to release your contribution under the Creative Commons CC0 License.

I accept these terms for my future edits. Do not show this message again.

BDD
GIVEN an Item
AND a legacy termbox
AND an editor wants to make a change
WHEN the edit button is clicked for an Item label, alias or description
THEN the "license of contributions" message is displayed

Acceptance criteria:

  • "license of contributions" message is displayed when an Item label, alias or description is edited on the legacy termbox

Event Timeline

Arian_Bozorg renamed this task from Item label, description and alias editing should have a license note to [SW] Item label, description and alias editing should have a license note.Aug 11 2023, 9:15 AM
karapayneWMDE renamed this task from [SW] Item label, description and alias editing should have a license note to [SW][BUG]Item label, description and alias editing should have a license note.Aug 15 2023, 2:06 PM
karapayneWMDE renamed this task from [SW][BUG]Item label, description and alias editing should have a license note to [SW][STORY] Item label, description and alias editing should have a license note.
karapayneWMDE moved this task from Incoming to Product Backlog on the Wikidata Dev Team board.
Arian_Bozorg renamed this task from [SW][STORY] Item label, description and alias editing should have a license note to Item label, description and alias editing should have a license note.Aug 16 2023, 9:17 AM
Arian_Bozorg updated the task description. (Show Details)

Change 963275 had a related patch set uploaded (by Hoo man; author: Hoo man):

[mediawiki/extensions/Wikibase@master] Add copyright note when editing terms (legacy termbox)

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

Change 963712 had a related patch set uploaded (by Hoo man; author: Hoo man):

[mediawiki/extensions/Wikibase@master] jquery.wikibase.wbtooltip: Fix left offset for s* orientation

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

Change 963986 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] WIP: Fix termbox copyright note on my machine

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

Change 963997 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] WIP: Alternative approach to termbox copyright notice height

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

Michael renamed this task from Item label, description and alias editing should have a license note to [M] Item label, description and alias editing should have a license note.Oct 6 2023, 4:54 PM
Michael changed the point value for this task from 5 to 1.

I've changed the estimated storypoints to 1 (it was 5), so that it works as intended with the point-based wip-limits on our board Wikidata Dev Team (Wikidata.org Slice)

In the task description, the popup/tooltip is shown above the “save”/“cancel” toolbar, pointing to the right. Is it also okay if it’s below the toolbar end pointing to the left? Otherwise, on my system it doesn’t fit on the page:

image.png (348×459 px, 33 KB)

It could instead look like this, partially overlapping the legacy termbox:

image.png (274×567 px, 46 KB)

(I included the “help” tooltip to demonstrate why I suggest pointing it to the left instead of to the right.)

Change 965917 had a related patch set uploaded (by Hoo man; author: Hoo man):

[mediawiki/extensions/Wikibase@master] Fix copyright notice closing

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

In the task description, the popup/tooltip is shown above the “save”/“cancel” toolbar, pointing to the right. Is it also okay if it’s below the toolbar end pointing to the left?

(The patch attached to this task has now been updated this way, and I’ll merge that unless I hear an objection here soon.)

Change 965917 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Fix copyright notice closing

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

Change 963712 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] jquery.wikibase.wbtooltip: Fix offsets

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

Change 963275 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Add copyright note when editing terms (legacy termbox)

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

Looks good to me :)

Thanks so much