Tpt added a comment.

  I have written an implementation draft: 
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikisource/+/793867
  
  It follows @Ltrlg approach (thank you!) with a slight tweak to avoid having 
to guess the item kind (work vs edition).
  The code looks first for the sibling editions (editions of the current item 
work item) using P629 <https://phabricator.wikimedia.org/P629>+P747 
<https://phabricator.wikimedia.org/P747> and, then, if there is no single 
sitelink for the language it uses the work item sitelinks (P629 
<https://phabricator.wikimedia.org/P629>) and, if not, finally, the edition 
items sitelinks (P747 <https://phabricator.wikimedia.org/P747>).

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

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

To: Tpt
Cc: Peter_Alberti, Nintendofan885, Matlin, Xover, Ltrlg, Addshore, Uzume, 
Vladis13, beleg_tal, MJL, JAnD, Tpt, PokestarFan, Hsarrazin, Bodhisattwa, 
Billinghurst, MF-Warburg, Purodha, Ankry, Candalua, Gymel, Aklapper, 
iecetcwcpggwqpgciazwvzpfjpwomjxn, StudiesWorld, Fernandobacasegua34, 
Astuthiodit_1, 786, Suran38, Biggs657, karapayneWMDE, Invadibot, Lalamarie69, 
Bebiezaza, maantietaja, Juan90264, Alter-paule, Beast1978, ItamarWMDE, Un1tY, 
Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, 
Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, 
Mahir256, QZanden, LawExplorer, Lewizho99, Maathavan, Assassas77, _jensen, 
rosalieper, Neuronton, Scott_WUaS, Wikidata-bugs, aude, jayvdb, Shizhao, 
Mbch331, jayantanth, Krenair
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to