Page MenuHomePhabricator

remove badges when changing the sitelink on the repo
Closed, ResolvedPublic

Description

Currently the sitelink's badge is kept when changing the sitelink. We should change this when making the edit on the repo. The badge should be kept when moving the site on the client.

The following should happen when a user changes the sitelink on the repo:

  • he deletes the old sitelink in the text field and starts typing a new one
  • the existing badges icon is turned into the placeholder icon that is also shown when no badge is set
  • when pressing save the badge is removed in the database

Version: master
Severity: normal
Whiteboard: u=dev c=frontend p=3 s=2014-07-15

Details

Reference
bz68155

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:40 AM
bzimport set Reference to bz68155.
bzimport added a subscriber: Unknown Object (MLST).

Rationale: When changing the sitelink on the repo it is likely that the article is not the same and the badge is wrong for the new article. When moving the page on the client the article is likely the same and the badge should stay.

Change 148117 had a related patch set uploaded by Hoo man:
Remove badges if a sitelink is being changed in the UI

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

Change 148117 merged by jenkins-bot:
Remove badges if a sitelink is being changed in the UI

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