Page MenuHomePhabricator

Prevent redirecting an entity to itself - using Special:RedirectEntity
Closed, ResolvedPublic

Description

See parent task for further details: T214775

BDD
GIVEN an entity
WHEN trying to redirect it to itself via Special:RedirectEntity
THEN the redirect should be prevented
AND an error message shown ("Can not redirect an Entity to itself")

Acceptance criteria:

  • Redirecting entities to themselves is no longer possible

Event Timeline

Addshore triaged this task as High priority.Jan 29 2019, 2:28 PM
Addshore created this task.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 29 2019, 2:28 PM
Restricted Application added a project: User-Ladsgroup. · View Herald TranscriptJan 29 2019, 3:09 PM

Change 487041 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/Wikibase@master] Do not let redirecting to self in EntityRedirectCreationInteractor

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

Change 487041 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Do not let redirecting to self in EntityRedirectCreationInteractor

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