LucasWerkmeister added a comment.

  This is about to become slightly more important due to T303682: Requested 
wiki configuration change: remove changetags right from users on wikidatawiki 
<https://phabricator.wikimedia.org/T303682> – there will be no way to tag edits 
made with the `wbcreateredirect` action at all.
  
  I tried to figure out what the impact of this would be (Quarry query for tags 
on recent '/* wbcreateredirect' edits 
<https://quarry.wmcloud.org/query/63099>), but it turns out that edits with a 
`/* wbcreateredirect` summary are also created by the `wbmergeitems` API (which 
has a `tags` parameter, see T286778 
<https://phabricator.wikimedia.org/T286778>), which probably accounts for the 
majority of these edits. That is, a single `wbmergeitems` API request creates 
two edits, with summaries like `/* wbmergeitems-to:0||Q35797306 */` and `/* 
wbcreateredirect:0||Q10711559|Q35797306 */`, and both of these edits will be 
tagged; the second of these edits could, I assume, also be made directly via 
the `wbcreateredirect` API, where the `tags` support is missing, but I’m not 
sure how this would actually happen. Note that the other entity type with 
support for redirects also has a dedicated API, `wblmergelexemes`, which also 
has a `tags` parameter. (Honestly, I’m not sure if the `wbcreateredirect` API 
has a reason to exist at all.)

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

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

To: LucasWerkmeister
Cc: LucasWerkmeister, Lydia_Pintscher, Lucas_Werkmeister_WMDE, Aklapper, 
Fernandobacasegua34, Astuthiodit_1, 786, Suran38, Biggs657, karapayneWMDE, 
Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, 
Akuckartz, Hook696, Kent7301, joker88john, DannyS712, CucyNoiD, Nandana, 
Gaboe420, lucamauri, Amorymeltzer, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, 
Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, 
_jensen, rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, TTO, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to