[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-25 Thread jeblad
jeblad added a comment.


  In T223792#5593785 , 
@matthiasmullie wrote:
  
  > There is no magic involved.
  > Term lookups are performed differently for different entity types (because 
the data lives elsewhere), but in a non-hacky fashion (and it doesn't really 
matter where the data comes from or how it's retrieved anyway)
  > Yes, we could make an entirely different lib (currently actively being 
worked on by WMDE: 
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/544204), but 
I'm not convinced there's much benefit in doing so at this point (though others 
with more knowledge of Lua might be able to convince me otherwise)
  > IMO it would be yet another library to maintain (or fall behind on 
fixes/updates) to support something that's essentially the same data model (but 
applied differently)
  
  I would say this is not only overloaded methods, but overloaded data. When 
even the datamodel is different it should not be advertised as similar at all. 
Sorry, but I don't think this is wise at all.

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

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

To: matthiasmullie, jeblad
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-24 Thread gerritbot
gerritbot added a comment.


  Change 545903 **merged** by jenkins-bot:
  [operations/mediawiki-config@master] Enable Wikibase client access on 
commonswiki
  
  https://gerrit.wikimedia.org/r/545903

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-24 Thread gerritbot
gerritbot added a comment.


  Change 545903 had a related patch set uploaded (by Matthias Mullie; owner: 
Matthias Mullie):
  [operations/mediawiki-config@master] Enable Wikibase client access on 
commonswiki
  
  https://gerrit.wikimedia.org/r/545903

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-24 Thread Stashbot
Stashbot added a comment.


  Mentioned in SAL (#wikimedia-operations) [2019-10-24T15:04:02Z] 
 Synchronized wmf-config/InitialiseSettings.php: 
testcommonswiki, Enable Wikibase client access T223792 
 (duration: 00m 53s)

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

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

To: matthiasmullie, Stashbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-24 Thread gerritbot
gerritbot added a comment.


  Change 545862 **merged** by jenkins-bot:
  [operations/mediawiki-config@master] Enable Wikibase client access on 
testcommonswiki
  
  https://gerrit.wikimedia.org/r/545862

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-24 Thread gerritbot
gerritbot added a comment.


  Change 545862 had a related patch set uploaded (by WMDE-leszek; owner: 
WMDE-leszek):
  [operations/mediawiki-config@master] Enable Wikibase client access on 
testcommonswiki
  
  https://gerrit.wikimedia.org/r/545862

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-24 Thread gerritbot
gerritbot added a comment.


  Change 545572 **merged** by jenkins-bot:
  [mediawiki/extensions/WikibaseMediaInfo@wmf/1.35.0-wmf.3] Also use custom 
PrefetchingTermLookup in SingleEntitySourceServices
  
  https://gerrit.wikimedia.org/r/545572

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-24 Thread gerritbot
gerritbot added a comment.


  Change 545800 **merged** by jenkins-bot:
  [mediawiki/extensions/Wikibase@wmf/1.35.0-wmf.3] Allow defining 
entity-type-specific PrefetchingTermLookup
  
  https://gerrit.wikimedia.org/r/545800

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-24 Thread gerritbot
gerritbot added a comment.


  Change 545800 had a related patch set uploaded (by Matthias Mullie; owner: 
WMDE-leszek):
  [mediawiki/extensions/Wikibase@wmf/1.35.0-wmf.3] Allow defining 
entity-type-specific PrefetchingTermLookup
  
  https://gerrit.wikimedia.org/r/545800

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-23 Thread gerritbot
gerritbot added a comment.


  Change 545572 had a related patch set uploaded (by Matthias Mullie; owner: 
WMDE-leszek):
  [mediawiki/extensions/WikibaseMediaInfo@wmf/1.35.0-wmf.3] Also use custom 
PrefetchingTermLookup in SingleEntitySourceServices
  
  https://gerrit.wikimedia.org/r/545572

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-23 Thread WMDE-leszek
WMDE-leszek added a comment.


  In T223792#5598875 , 
@matthiasmullie wrote:
  
  > In T223792#5598472 , 
@WMDE-leszek wrote:
  >
  >> @matthiasmullie repeating myself from the IRC
  >
  > Mmh - didn't see anything - what channel was that in? (or DM?)
  
  #wikimedia-dev. It is a pretty busy channel, so I might have better chosen 
some other one.
  
  >> I believe those three patches 
https://gerrit.wikimedia.org/r/#/q/topic:mediainfo-pref-termlookup+(status:open+OR+status:merged)
 would need to be backported onto the deployment branch
  >> Will you be able to do this? I am not sure if we can manage to do the 
backport before train rolls further to group1 (should start in an hour?) but 
maybe we will?
  >> If you won't be able to do the backporting yourself, we (WMDE) could help 
with this, although we'd still need you for testing everything on the Commons 
end :)
  >
  > Won't be able to get it out today, but I can do it in tomorrow's Euro 
mid-day SWAT window!
  
  Sounds good! There will be someone from WMDE to assist if necessary.

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

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

To: matthiasmullie, WMDE-leszek
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-23 Thread matthiasmullie
matthiasmullie added a comment.


  In T223792#5598472 , 
@WMDE-leszek wrote:
  
  > @matthiasmullie repeating myself from the IRC
  
  Mmh - didn't see anything - what channel was that in? (or DM?)
  
  > I believe those three patches 
https://gerrit.wikimedia.org/r/#/q/topic:mediainfo-pref-termlookup+(status:open+OR+status:merged)
 would need to be backported onto the deployment branch
  > Will you be able to do this? I am not sure if we can manage to do the 
backport before train rolls further to group1 (should start in an hour?) but 
maybe we will?
  > If you won't be able to do the backporting yourself, we (WMDE) could help 
with this, although we'd still need you for testing everything on the Commons 
end :)
  
  Won't be able to get it out today, but I can do it in tomorrow's Euro mid-day 
SWAT window!

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

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

To: matthiasmullie
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-23 Thread WMDE-leszek
WMDE-leszek added a comment.


  @matthiasmullie repeating myself from the IRC
  
  I believe those three patches 
https://gerrit.wikimedia.org/r/#/q/topic:mediainfo-pref-termlookup+(status:open+OR+status:merged)
 would need to be backported onto the deployment branch
  
  Will you be able to do this? I am not sure if we can manage to do the 
backport before train rolls further to group1 (should start in an hour?) but 
maybe we will?
  If you won't be able to do the backporting yourself, we (WMDE) could help 
with this, although we'd still need you for testing everything on the Commons 
end :)

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

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

To: matthiasmullie, WMDE-leszek
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-23 Thread gerritbot
gerritbot added a comment.


  Change 544973 **merged** by jenkins-bot:
  [mediawiki/extensions/WikibaseMediaInfo@master] Also use custom 
PrefetchingTermLookup in SingleEntitySourceServices
  
  https://gerrit.wikimedia.org/r/544973

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-23 Thread gerritbot
gerritbot added a comment.


  Change 544972 **merged** by jenkins-bot:
  [mediawiki/extensions/Wikibase@master] Allow defining entity-type-specific 
PrefetchingTermLookup
  
  https://gerrit.wikimedia.org/r/544972

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

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

To: matthiasmullie, gerritbot
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-22 Thread matthiasmullie
matthiasmullie added a comment.


  Commons is group 1. Let me know if you'd like me to deploy these patches once 
merged, or help in any way!

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

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

To: matthiasmullie
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-22 Thread WMDE-leszek
WMDE-leszek added a comment.


  @matthias I think there is not need to have a direct chat.
  https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/544972 and 
co are being reviewed here at WMDE. As we missed the branch there will be a 
need for the backport. Let's figure out tomorrow who (WMDE or SD) will take 
care of it. For now train seems to have some issues departing as I read in 
wikitech-l. Looks like we should get it through the door this week, in any case.
  Which deployment group is Commons again? Sorry I keep forgetting about it.
  
  Re the new lib for different model - that'd also be my preferred approach, 
but I imagine that's something that you might intend to do after the initial 
release.

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

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

To: matthiasmullie, WMDE-leszek
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-22 Thread matthiasmullie
matthiasmullie added a comment.


  There is no magic involved.
  Term lookups are performed differently for different entity types (because 
the data lives elsewhere), but in a non-hacky fashion (and it doesn't really 
matter where the data comes from or how it's retrieved anyway)
  
  Yes, we could make an entirely different lib (currently actively being worked 
on by WMDE: 
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/544204), but 
I'm not convinced there's much benefit in doing so at this point (though others 
with more knowledge of Lua might be able to convince me otherwise)
  IMO it would be yet another library to maintain (or fall behind on 
fixes/updates) to support something that's essentially the same data model (but 
applied differently)

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

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

To: matthiasmullie
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-21 Thread jeblad
jeblad added a comment.


  Make a new lib and new function calls if the models are dissimilar, please, 
please, please,…  Swiching on some kind of magic (like the initial char) will 
only create a mess.

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

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

To: matthiasmullie, jeblad
Cc: jeblad, WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, 
Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-21 Thread matthiasmullie
matthiasmullie added a comment.


  AFAICT, most operations seem to be working fine.
  The one that don't are either:
  
  - irrelevant (e.g. `resolvePropertyId` - MediaInfo's aren't properties; or 
`getDescription` - it works, but MediaInfo's don't tend to have descriptions...)
  - use `SiteLinkLookup` (`getEntityIdForTitle` and `getSitelink`) - I'm not 
even sure we'll need these for MediaInfo's - if we do, we can implement that 
later on!
  
  Other lookups seem to work just fine!

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

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

To: matthiasmullie
Cc: WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, 
Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, 
Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-21 Thread matthiasmullie
matthiasmullie added a comment.


  In T223792#5592264 , 
@WMDE-leszek wrote:
  
  > Apologies for being hard to reach recently @matthiasmullie. 
  > I've submitted a change pair https://gerrit.wikimedia.org/r/544972 + 
https://gerrit.wikimedia.org/r/544973 with a simple proof-of-concept of what 
would be my idea how to solve this. I am not certain how to verify that all 
lookup operations are working as expected, so I would appreciate if you could 
have a look.
  
  `getLabel` seems to work just fine (on my machine, with 
`useEntitySourceBasedFederation` = true`).
  Will test more thoroughly tomorrow, but I believe we should be all set - 
thanks!
  
  > Per discussing this, and possible further topics: my is quite packed in the 
next days. I should be to have a chat e.g. tomorrow from 17:00 CEST (not sure 
what timezone you're in?). IRC would work then (`leszek_wmde`), but would also 
be happy to have quick call if that seemed more efficient for you.
  
  I'm in Belgium, CEST is convenient. Have to leave at 17:30, though, but I'll 
be around at 17:00 (also around during the rest of CEST daytime)

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

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

To: matthiasmullie
Cc: WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, 
Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, 
Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-21 Thread WMDE-leszek
WMDE-leszek added a comment.


  Apologies for being hard to reach recently @matthiasmullie. 
  I've submitted a change pair https://gerrit.wikimedia.org/r/544972 + 
https://gerrit.wikimedia.org/r/544973 with a simple proof-of-concept of what 
would be my idea how to solve this. I am not certain how to verify that all 
lookup operations are working as expected, so I would appreciate if you could 
have a look.
  
  Per discussing this, and possible further topics: my is quite packed in the 
next days. I should be to have a chat e.g. tomorrow from 17:00 CEST (not sure 
what timezone you're in?). IRC would work then (`leszek_wmde`), but would also 
be happy to have quick call if that seemed more efficient for you.

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

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

To: matthiasmullie, WMDE-leszek
Cc: WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, 
Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, 
Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-21 Thread gerritbot
gerritbot added a comment.


  Change 544973 had a related patch set uploaded (by WMDE-leszek; owner: 
WMDE-leszek):
  [mediawiki/extensions/WikibaseMediaInfo@master] Also use custom 
PrefetchingTermLookup in SingleEntitySourceServices
  
  https://gerrit.wikimedia.org/r/544973

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

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

To: matthiasmullie, gerritbot
Cc: WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, 
Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, 
Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-21 Thread gerritbot
gerritbot added a comment.


  Change 544972 had a related patch set uploaded (by WMDE-leszek; owner: 
WMDE-leszek):
  [mediawiki/extensions/Wikibase@master] Allow defining entity-type-specific 
PrefetchingTermLookup
  
  https://gerrit.wikimedia.org/r/544972

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

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

To: matthiasmullie, gerritbot
Cc: WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, 
Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, 
Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-17 Thread matthiasmullie
matthiasmullie added a comment.


  In T223792#5563683 , 
@WMDE-leszek wrote:
  
  > I should be able to help with it @matthiasmullie . Looking into it...
  
  I was wondering if you're aware of any pre-existing solution to use an 
alternative `PrefetchingTermLookup` with `SingleEntitySourceServices` 
(extending it, injecting it, anything?)
  If not: I'm wondering whether it'd be possible to make 
`SingleEntitySourceServices` read from the service wiring files, or is there a 
reason that it must not? (might be a stupid questions, but I'm thinking the 
repo-code is mostly the same as what's in the service wiring files, except that 
`MultipleEntitySourceServices` will triage it per source?)
  
  @WMDE-leszek What would be the best place to discuss this? I was looking for 
you on IRC just now but couldn't find you - I'm `matthiasmullie` on freenode, 
but can also do mail/slack/video chat, or here in phab if that's more 
convenient!

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

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

To: matthiasmullie
Cc: WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, 
Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, 
Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-10 Thread WMDE-leszek
WMDE-leszek added a comment.


  I should be able to help with it @matthiasmullie . Looking into it...

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

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

To: matthiasmullie, WMDE-leszek
Cc: WMDE-leszek, Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, 
Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, 
Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, 
DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-10-08 Thread gerritbot
gerritbot added a comment.


  Change 525794 **merged** by jenkins-bot:
  [mediawiki/extensions/WikibaseMediaInfo@master] Provide an alternative 
PrefetchingTermLookup for MediaInfo entities
  
  https://gerrit.wikimedia.org/r/525794

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

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

To: matthiasmullie, gerritbot
Cc: Tpt, LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, Smalyshev, 
Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, Mike_Peel, 
Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, 
E.S.A-Sheild, darthmon_wmde, Edtadros, Meekrab2012, joker88john, DannyS712, 
CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, 
Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, 
Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, 
Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, 
QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-08-15 Thread matthiasmullie
matthiasmullie added a comment.


  @LucasWerkmeister Yes - I'm in Stockholm. I'll take a look at your suggestion 
and then come find you!

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

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

To: matthiasmullie
Cc: LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, Smalyshev, 
Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, Mike_Peel, 
Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, 
E.S.A-Sheild, darthmon_wmde, Edtadros, joker88john, DannyS712, CucyNoiD, 
Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, Majesticalreaper22, 
Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, Af420, 
E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, Bsandipan, 
Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Morgankevinj, Susannaanas, Jane023, 
Wikidata-bugs, Base, aude, Ricordisamoa, Wesalius, Lydia_Pintscher, 
Fabrice_Florin, Raymond, Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-08-14 Thread LucasWerkmeister
LucasWerkmeister added a comment.


  I don’t think implementing `TermIndex` itself, as the linked change currently 
does, is a good idea. It’s not a great interface (combining lookup, search and 
modification), and for the new term store in Wikibase we did not write a new 
implementation of it, but instead implementations of several different 
interfaces – so I would be wary of any code that really needs a `TermIndex` 
(because that would likely be broken on Wikidata already as we migrate away 
from `wb_terms`). I think what you need to implement for WikibaseMediaInfo Lua 
support is `PrefetchingTermLookup` – implementing `TermIndex` gets you that 
(via `BufferingTermLookup`), but it would be better to do it directly.
  
  @matthiasmullie I hear you’re also in Stockholm, so we can also discuss this 
in person if you want :)

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

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

To: LucasWerkmeister
Cc: LucasWerkmeister, jleedev, MarkTraceur, Yann, Addshore, Smalyshev, 
Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, Jheald, Mike_Peel, 
Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, 
E.S.A-Sheild, darthmon_wmde, Edtadros, joker88john, DannyS712, CucyNoiD, 
Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, Majesticalreaper22, 
Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, Af420, 
E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, Bsandipan, 
Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Morgankevinj, Susannaanas, Jane023, 
Wikidata-bugs, Base, aude, Ricordisamoa, Wesalius, Lydia_Pintscher, 
Fabrice_Florin, Raymond, Jdforrester-WMF, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-08-08 Thread Addshore
Addshore added a comment.


  Looking at the code it looks like indeed either a new TermIndex type thing 
would be needed for media info, or the fetching of terms, as currently done in 
https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/84e2062770467eacbb42e8a55bdf77e11141834f/lib/includes/Store/Sql/TermSqlIndex.php#L638-L686,
 would need to be factored out in some way.
  
  It feels like there should be a cleaner way of doing tihs but I might have to 
sit down and stare at it all for a bit longer.

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

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

To: Addshore
Cc: MarkTraceur, Yann, Addshore, Smalyshev, Mholloway, matthiasmullie, 
Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, 
Edtadros, joker88john, DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, 
Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, 
Lahi, PDrouin-WMF, Gq86, Af420, E1presidente, Ramsey-WMF, Darkminds3113, 
Anooprao, SandraF_WMF, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, 
Th3d3v1ls, Ramalepe, Liugev6, QZanden, Tramullas, Acer, V4switch, LawExplorer, 
Salgo60, WSH1906, Lewizho99, Maathavan, Silverfish, _jensen, rosalieper, 
Morgankevinj, Susannaanas, Wong128hk, Jane023, Wikidata-bugs, Base, aude, 
Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Jdforrester-WMF, Steinsplitter, Matanya, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-26 Thread matthiasmullie
matthiasmullie added a comment.


  I was thinking it'd make most sense to use the existing code & structure 
already used by Wikidata.
  But I've since learned about the reasons for not using wb_terms (I figured it 
was just a case of not having implemented it because there had not been a need 
for it yet)
  
  I've also been playing around with the idea of just not using an index 
altogether ATM, and I get the idea most of the people involved in this ticket 
tend to agree?
  
  I have a small POC patch up (https://gerrit.wikimedia.org/r/525794) that 
seems to work well enough for find the entity & exposing its data to Lua.
  There's still a lot of work to be done (optimize, make sure other wikibase 
properties & items can still be retrieved, ...), but can someone with more 
knowledge of this stuff take a look and see if this is a direction worth 
pursuing? (or could this be problematic for reasons I'm not yet aware of?)
  
  (I'm going to decline the other 2 wb_terms related tickets, since it looks 
like there are good reasons not to pursue that right now)

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

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

To: matthiasmullie
Cc: MarkTraceur, Yann, Addshore, Smalyshev, Mholloway, matthiasmullie, 
Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, 
joker88john, DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, 
Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, 
PDrouin-WMF, Gq86, Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, 
SandraF_WMF, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, 
Ramalepe, Liugev6, QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, 
Lewizho99, Maathavan, Silverfish, _jensen, rosalieper, Morgankevinj, 
Susannaanas, Jane023, Wikidata-bugs, Base, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-26 Thread gerritbot
gerritbot added a comment.


  Change 522355 abandoned by Matthias Mullie:
  Start writing entities into wb_terms
  
  Reason:
  I assumed we didn't get around to implementing this because we hadn't needed 
it yet - was not aware there were actual reasons for killing it.
  
  https://gerrit.wikimedia.org/r/522355

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

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

To: gerritbot
Cc: MarkTraceur, Yann, Addshore, Smalyshev, Mholloway, matthiasmullie, 
Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
Hook696, Daryl-TTMG, RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, 
joker88john, DannyS712, CucyNoiD, Nandana, NebulousIris, JKSTNK, Gaboe420, 
Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, 
PDrouin-WMF, Gq86, Af420, E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, 
SandraF_WMF, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, 
Ramalepe, Liugev6, QZanden, Tramullas, Acer, LawExplorer, Salgo60, WSH1906, 
Lewizho99, Maathavan, Silverfish, _jensen, rosalieper, Morgankevinj, 
Susannaanas, Jane023, Wikidata-bugs, Base, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-26 Thread gerritbot
gerritbot added a comment.


  Change 525794 had a related patch set uploaded (by Matthias Mullie; owner: 
Matthias Mullie):
  [mediawiki/extensions/WikibaseMediaInfo@master] Provide an alternative 
TermIndex, that doesn't require wb_terms
  
  https://gerrit.wikimedia.org/r/525794

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

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

To: gerritbot
Cc: MarkTraceur, Yann, Addshore, Smalyshev, Mholloway, matthiasmullie, 
Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, DannyS712, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, 
Morgankevinj, Susannaanas, Jane023, Wikidata-bugs, Base, aude, Ricordisamoa, 
Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-24 Thread Multichill
Multichill added a comment.


  Just realized 
https://commons.wikimedia.org/w/api.php?action=wbgetentities=labels=json=1=commonswiki=File:Charles%20P.%20Gruppe%20-%20Meadow%20Brook%20-%201912.7.1%20-%20Smithsonian%20American%20Art%20Museum.jpg
 already works at the moment.
  
  The main use case for us is to use the LUA on the same file page as where the 
structured data is located. In that context the pageid (80505417), mediainfo id 
(M80505417) and filename (File:Charles P. Gruppe - Meadow Brook - 1912.7.1 - 
Smithsonian American Art Museum.jpg) are known. So no lookup by caption, we 
don't want that.

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

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

To: Multichill
Cc: MarkTraceur, Yann, Addshore, Smalyshev, Mholloway, matthiasmullie, 
Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, 
Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Morgankevinj, 
Susannaanas, Jane023, Wikidata-bugs, Base, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-23 Thread Smalyshev
Smalyshev added a comment.


  > would an index of some sort be needed in order to support something like 
mw.wikibase.getEntity( 'File:Blah.png' )
  
  You'd have to just access page table to look up page by title, then go to the 
appropriate revision & slot (AFAIR there are services already in Wikibase that 
do that) and load the Wikibase data from there. I don't think you'd need 
anything beyond existing page-revision-slot-text tables.
  
  > MediaInfo entities are *currently* the filepage ID but almost none of the 
code assumes that
  
  AFAIR the code that does lookups and title/entityId conversions assumes that. 
Of course that code can be changed, but with this large change it would be 
natural to expect that. I would tend to write such change as YAGNI, but I think 
using standard lookup interfaces which go from Title to EntityId and then load 
the data would allow to avoid hardcoding for this particular use case, and if 
anything changes, these lookups would have to be changed.

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

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

To: Smalyshev
Cc: MarkTraceur, Yann, Addshore, Smalyshev, Mholloway, matthiasmullie, 
Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Sario528, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, 
Morgankevinj, Susannaanas, Jane023, Wikidata-bugs, Base, aude, Ricordisamoa, 
Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-23 Thread MarkTraceur
MarkTraceur added a comment.


  @Addshore et al., not to make your lives more difficult here, but assuming 
caption lookup is not desired (because I can't imagine it would be), would an 
index of some sort be needed in order to support something like 
mw.wikibase.getEntity( 'File:Blah.png' ) - i.e. using the filename instead of 
the M-ID?
  
  (also FWIW I think the MediaInfo entities are *currently* the filepage ID but 
almost none of the code assumes that, at least the last time I tinkered with 
things)

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

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

To: MarkTraceur
Cc: MarkTraceur, Yann, Addshore, Smalyshev, Mholloway, matthiasmullie, 
Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Sario528, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, 
Morgankevinj, Susannaanas, Jane023, Wikidata-bugs, Base, aude, Ricordisamoa, 
Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-18 Thread Smalyshev
Smalyshev added a comment.


  > So as a LUA user I want to do mw.wikibase.getEntity( 'M62798946' ) and get 
in LUA like
  
  But for this you don't need any index at all, 62798946 is literally the page 
id. Am I missing something here? Why there's talk about indexes?

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

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

To: Smalyshev
Cc: Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, 
Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, 
RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, joker88john, CucyNoiD, 
Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, Majesticalreaper22, 
Sario528, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, Af420, 
E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, Bsandipan, 
Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-18 Thread Multichill
Multichill added a comment.


  In T223792#5346467 , 
@Smalyshev wrote:
  
  >> It looks like the Wikibase Lua support can mostly deal with MediaInfo 
already, except that it can't look up the MediaInfo entities.
  >
  > What kind of look up is this - matching the exact caption? Or partial 
matching the caption? `mw.wikibase.getEntity` doesn't seem to need any lookups, 
so which Lua function would use that?
  
  No, it's not like that, it's something like mw.wikibase.getEntity( 
'Q20489172' ) and returns the whole entity in LUA (like 
https://www.wikidata.org/w/api.php?action=wbgetentities=Q20489172 ) so you 
can work with the data.
  
  So as a LUA user I want to do mw.wikibase.getEntity( 'M62798946' ) and get in 
LUA like 
https://commons.wikimedia.org/w/api.php?action=wbgetentities=M80505417 . 
  See also 
https://www.mediawiki.org/wiki/Extension:Wikibase_Client/Lua#mw.wikibase.entity

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

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

To: Multichill
Cc: Addshore, Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, 
Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, 
RomaAmorRoma, 0010318400, E.S.A-Sheild, darthmon_wmde, joker88john, CucyNoiD, 
Nandana, NebulousIris, JKSTNK, Gaboe420, Versusxo, Majesticalreaper22, 
Sario528, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, Af420, 
E1presidente, Ramsey-WMF, Darkminds3113, Anooprao, SandraF_WMF, Bsandipan, 
Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, WSH1906, Lewizho99, Maathavan, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, Raymond, 
Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-18 Thread Smalyshev
Smalyshev added a comment.


  > It looks like the Wikibase Lua support can mostly deal with MediaInfo 
already, except that it can't look up the MediaInfo entities.
  
  What kind of look up is this - matching the exact caption? Or partial 
matching the caption? `mw.wikibase.getEntity` doesn't seem to need any lookups, 
so which Lua function would use that?

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

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

To: Smalyshev
Cc: Smalyshev, Mholloway, matthiasmullie, Multichill, Marsupium, Keegan, 
Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, Hook696, Daryl-TTMG, RomaAmorRoma, 
0010318400, E.S.A-Sheild, darthmon_wmde, joker88john, CucyNoiD, Nandana, 
NebulousIris, JKSTNK, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, 
Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, Af420, E1presidente, Ramsey-WMF, 
Darkminds3113, Anooprao, SandraF_WMF, Bsandipan, Lordiis, GoranSMilovanovic, 
Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Tramullas, Acer, LawExplorer, 
Salgo60, WSH1906, Lewizho99, Maathavan, Silverfish, _jensen, rosalieper, 
Susannaanas, Jane023, Wikidata-bugs, Base, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-12 Thread gerritbot
gerritbot added a comment.


  Change 522355 had a related patch set uploaded (by Matthias Mullie; owner: 
Matthias Mullie):
  [mediawiki/extensions/WikibaseMediaInfo@master] Start writing entities into 
wb_terms
  
  https://gerrit.wikimedia.org/r/522355

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

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

To: gerritbot
Cc: matthiasmullie, Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, 
Aklapper, Jarekt, darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, 
Susannaanas, Jane023, Wikidata-bugs, Base, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-12 Thread matthiasmullie
matthiasmullie added a comment.


  It looks like the Wikibase Lua support can mostly deal with MediaInfo 
already, except that it can't look up the MediaInfo entities.
  Unlike Wikibase properties & items, MediaInfo entities are not currently 
stored in wb_terms.
  If MediaInfo starts writing to wb_terms, Lua's functions also start working.
  wb_terms is in the process of being redesigned/migrated, though, and I have 
yet to look into that.

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

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

To: matthiasmullie
Cc: matthiasmullie, Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, 
Aklapper, Jarekt, darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, 
E1presidente, Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, 
Tramullas, Acer, LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, 
Susannaanas, Jane023, Wikidata-bugs, Base, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-02 Thread Cparle
Cparle added a comment.


  Comment from Daniel:
  
  There are two things here to untangle, which really have very little to do 
with
  each other, though they may sound similar.
  
  1. Using Scribunto/Lua to access MediaInfo from within wikitext. This would
  
  allow the wikitext part of the page to make use of information maintained in 
the
  MediaInfo slot. This should be easy to do, since Wikibase already has support
  for accessing entities via Lua. In fact I thought this was already possible. 
If
  it is not, there is probably only a bit of glue missing. This has little to do
  with MCR (*).
  
  Note that this is a requirement for use of MediaInfo data in wikitext outside
  the image page anyway. And if that is not possible, I agree with Marsupium: a
  good part of SDC seems to be in vain. What good is structured data if you 
don't
  have access to it from some kind of scripting language? Search only? Just use 
tags.
  
  Estimate (for someone who knows Wikibase internals): two to four weeks (unless
  I'm missing some major complication). And then the same again to work out 
kinks
  once it's deployed ;)
  
  (part 2 not relevant to this ticket)

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

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

To: Cparle
Cc: Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, 
Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Susannaanas, Jane023, 
Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-01 Thread Keegan
Keegan added a comment.


  In T223792#5289707 , 
@Mike_Peel wrote:
  
  > Is there an opportunity for a retrospective here to figure out why it 
wasn't included in the original plan? It seems quite a basic component for SDC, 
and it's been requested for quite a while (or at least, I remember asking about 
it at last year's Wikimania!).
  
  
  I know I'll certainly cover it when we do a project retro towards the end of 
the year. It's come up from time to time, we've talked about it, we're not 
surprised by this. At some point the work didn't get revisited after last fall 
when it probably should have. We'll figure it out.
  
  I think the team is going to make a spike to see how long it will take them 
to do this internally.

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

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

To: Keegan
Cc: Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, 
Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Susannaanas, Jane023, 
Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-07-01 Thread Jarekt
Jarekt added a comment.


  I do not speak php, but looking at the code Multichill linked to, it seems 
like the source code for `getEntity `can be found at EntityAccessor.php 

 (line 139) which calls `entityIdParser `to convert string version of entity ID 
to an integer. The code for entityIdParser can be found here 
.
 Interestingly ItemId.php 
 
function checks that entity ID string fits `/^Q[1-9]\d{0,9}\z/i` regex pattern 
and than strips the "Q" from the begging of the string to get the integer. So 
in this code the entity IDs starting with "Q" are hardwired.

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

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

To: Jarekt
Cc: Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, 
Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Susannaanas, Jane023, 
Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-06-29 Thread Multichill
Multichill added a comment.


  Relevant code seems to be at 
https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/+/master/client/includes/DataAccess/Scribunto/

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

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

To: Multichill
Cc: Multichill, Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, 
Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Susannaanas, Jane023, 
Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-06-27 Thread Keegan
Keegan added a comment.


  In T223792#5287083 , 
@Jarekt wrote:
  
  > Thank you for the update. Since SDC and Wikidata are based on the same 
underlying software, I was (naively) imagining that this task was more like 
extending mw.wikibase.getEntity to go to www.wikidata.org if input string 
starts with "Q" and go to commons.wikimedia.org if input string starts with 
"M". However apparently there is much more to it than that.
  
  
  @Jarekt It might not be incredibly hard, it might be as you describe. The 
problem right now is that the team doesn't know what it'll take, and with the 
rest of the SDC features coming out over the next six months someone has to 
find time to sit down and learn about it and scope out the work.
  
  It'll happen, we just don't know exactly when.

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

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

To: Keegan
Cc: Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, 
Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Susannaanas, Jane023, 
Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-06-26 Thread Jarekt
Jarekt added a comment.


  Thank you for the update. Since SDC and Wikidata are based on the same 
underlying software, I was (naively) imagining that this task was more like 
extending mw.wikibase.getEntity to go to www.wikidata.org if input string 
starts with "Q" and go to commons.wikimedia.org if input string starts with 
"M". However apparently there is much more to it than that.

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

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

To: Jarekt
Cc: Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, 
Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Susannaanas, Jane023, 
Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-06-26 Thread Keegan
Keegan added a comment.


  Sorry about the delay in the update, but I'm currently meeting with the SDC 
team in person and we're discussing this task in real-time.
  
  The SDC development team is going to have to look into what it takes to get 
this done - or if not this, some other technical solution that would allow the 
dynamic updating of templates from structured data. The team currently is 
unable to do this on their own, so it will require some external partnership to 
make this happen and WMDE does not have the resources to assist with this task.
  
  So, this is going to take some time to complete. I have no idea how long for 
a timeframe, the team will have to talk to other teams and figure out how to 
make this happen. But they do know absolutely how important this is to the 
community's plans for the project, and the work is definitely something to do 
once resourcing gets worked out.

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

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

To: Keegan
Cc: Marsupium, Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, 
darthmon_wmde, Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, 
Ramsey-WMF, Anooprao, SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, 
LawExplorer, Salgo60, Silverfish, _jensen, rosalieper, Susannaanas, Jane023, 
Wikidata-bugs, Base, matthiasmullie, aude, Ricordisamoa, Wesalius, 
Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T223792: Extend mw.wikibase.getEntity lua function to allow accessing Structured Data on Commons items

2019-06-21 Thread Keegan
Keegan added a comment.


  I should have some sort of update on Monday relating to this.

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

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

To: Keegan
Cc: Keegan, Jheald, Mike_Peel, Cparle, Aklapper, Jarekt, darthmon_wmde, 
Nandana, JKSTNK, Lahi, PDrouin-WMF, Gq86, E1presidente, Ramsey-WMF, Anooprao, 
SandraF_WMF, GoranSMilovanovic, QZanden, Tramullas, Acer, LawExplorer, Salgo60, 
Silverfish, _jensen, rosalieper, Susannaanas, Jane023, Wikidata-bugs, Base, 
matthiasmullie, aude, Ricordisamoa, Wesalius, Lydia_Pintscher, Fabrice_Florin, 
Raymond, Steinsplitter, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs