Ladsgroup added a comment.

  In T235420#5931689 <https://phabricator.wikimedia.org/T235420#5931689>, 
@Jheald wrote:
  
  > I tried to add an "intentional sitelink to redirect" badge on the English 
sitelink for asteroid 6765 Fibonacci <https://www.wikidata.org/wiki/Q568417>, 
but got "Could not save due to an error.  The save has failed."
  > Is there something else that needs to be enabled, and/or does it need 
special permissions to be able to add such badges?
  
  I was able to reproduce it. Basically you can add the badge to any sitelinks 
except the redirects (that redirect to another item).
  
    {"errors":[{"code":"failed-save","module":"wbsetsitelink","*":"The save has 
failed."},{"code":"wikibase-validator-sitelink-conflict","module":"wbsetsitelink","*":"The
 link [https://en.wikipedia.org/wiki/List_of_minor_planets:_6001%E2%80%937000 
enwiki:List of minor planets: 6001\u20137000] is already used by Item 
[[Q313483|Q313483]]. You may remove it from [[Q313483|Q313483]] if it does not 
belong there or merge the Items if they are about the exact same 
topic."},{"code":"failed-save","data":{"messages":[{"name":"wikibase-api-failed-save","parameters":[],"html":{"*":"The
 save has 
failed."}},{"name":"wikibase-validator-sitelink-conflict","parameters":["[https://en.wikipedia.org/wiki/List_of_minor_planets:_6001%E2%80%937000
 enwiki:List of minor planets: 
6001\u20137000]","[[Q313483|Q313483]]"],"html":{"*":"Site link <a 
class=\"external text\" 
href=\"https://en.wikipedia.org/wiki/List_of_minor_planets:_6001%E2%80%937000\";>enwiki:List
 of minor planets: 6001\u20137000</a> is already used by item <a 
href=\"/wiki/Q313483\" title=\"Q313483\">Q313483</a>. Perhaps the items should 
be <a href=\"/wiki/Special:MyLanguage/Help:Merge\" 
title=\"Special:MyLanguage/Help:Merge\">merged</a> and one of them <a 
href=\"/wiki/Special:MyLanguage/Wikidata:Deletion_policy\" 
title=\"Special:MyLanguage/Wikidata:Deletion policy\">deleted</a>? Request 
deletion of one of the items at <a 
href=\"/wiki/Wikidata:Requests_for_deletions\" title=\"Wikidata:Requests for 
deletions\">d:Wikidata:Requests for deletions</a>, or ask at <a 
href=\"/wiki/Wikidata:Interwiki_conflicts\" title=\"Wikidata:Interwiki 
conflicts\">d:Wikidata:Interwiki conflicts</a> if you believe that they should 
not be merged."}}]},"module":"wbsetsitelink","*":"The save has 
failed."}],"servedby":"mw1227","*":"See https://www.wikidata.org/w/api.php for 
API usage. Subscribe to the mediawiki-api-announce mailing list at 
&lt;https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce&gt; for 
notice of API deprecations and breaking changes."}

TASK DETAIL
  https://phabricator.wikimedia.org/T235420

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ItamarWMDE, Ladsgroup
Cc: Ladsgroup, Gamaliel, Fuzheado, ItamarWMDE, JAnD, Hsarrazin, deryckchan, 
agray, Lydia_Pintscher, MisterSynergy, Aklapper, Liuxinyu970226, Jheald, 
Iflorez, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, 
aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to