Wangombe added subscribers: ngkountas, Pginer-WMF.
Wangombe added a comment.


  These tags are now available on Wikidata tags 
<https://www.wikidata.org/wiki/Special:Tags>. However, no activity is being 
registered. After some investigation by @ngkountas, it turns out that this 
might be user rights issue.
  F41570691: image.png <https://phabricator.wikimedia.org/F41570691>
  The `wblinktitles` API is called prior to the `tag` API request. In this 
instance, it's not clear whether  the `tag` API is being called anonymously 
(user is not logged in. Arguably, they are). In 
https://www.wikidata.org/wiki/Special:ListGroupRights, the 'User' group is 
allowed to perform the `applychangetags` request "//**along**// with one's 
changes". The 'along' part of the description matters.
  
  In T335256#9205834 <https://phabricator.wikimedia.org/T335256#9205834>, 
@Zache wrote:
  
  > Is CX is using `wblinktitles` API for adding languagelinks?
  >
  > - https://www.wikidata.org/w/api.php?action=help&modules=wblinktitles
  >
  > If so one clean method could be adding `tags` parameter to wblinktitles API 
similar to other wikibase edit API calls (see `wbeditentity` , `wbsetsitelink`)
  
  Ultimately, this suggestion carries a lot of merit and is ideal for this 
ticket. A few changes would have to be made to LinkTitles::class 
<https://gerrit.wikimedia.org/g/mediawiki/extensions/Wikibase/+/8b511938e5b10d1a662639cd9546752673e10f2f/repo/includes/Api/LinkTitles.php>
 to accommodate this. Additionally, we'll have to revert the changes submitted 
for the `tag` API call on ContentTranslation 
<https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ContentTranslation/+/935400/>
 and SectionTranslation <https://gerrit.wikimedia.org/r/c/935399>.
  
  @Pginer-WMF, "wblinktitles requests (i.e. the requests that link the 
published article with the source article on Wikidata), can also silently fail, 
but we do not notify the users (although we theoretically could) that the 
Wikidata link is not created. This is true for both desktop and mobile 
versions. Just bringing this to your attention." by @ngkountas.

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

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

To: Wangombe
Cc: Pginer-WMF, ngkountas, Nikerabbit, abi_, EChukwukere-WMF, Aklapper, Zache, 
GLima-WMF, Danny_Benjafield_WMDE, BartTerpstra, Isabelladantes1983, 
Themindcoder, Dominika_Naumiuk, Adamm71, Jersione, Hellket777, LisafBia6531, 
Wangombe, Astuthiodit_1, 786, Biggs657, karapayneWMDE, Invadibot, UOzurumba, 
PallaviPatke, maantietaja, Juan90264, Tiputini, Alter-paule, Beast1978, 
Rileych, ItamarWMDE, Un1tY, Nintendofan885, Akuckartz, 50019062, Hook696, 
Kent7301, joker88john, Tris_T7, CucyNoiD, Nandana, Gaboe420, Giuliamocci, 
Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, chapulina, QZanden, 
Alfa80, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Soum213, 
Taiwania_Justo, Neuronton, Nizil, Scott_WUaS, Ixocactus, Wikidata-bugs, aude, 
Amire80, Jsahleen, Arrbee, santhosh, KartikMistry, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to