[Wikidata-bugs] [Maniphest] T288466: Port Wikidata Query UI to a modern build system

2023-01-08 Thread Celenduin
Celenduin added a comment.


  I volunteered some time and created a first version that uses rollup to build 
the main code: https://gerrit.wikimedia.org/r/c/wikidata/query/gui/+/875993
  
  This now works for the main js of index.html.
  
  Things that still need doing in this patch:
  
  [ ] do the same for the embed entrypoint (should be simple)
  [ ] fix tests
  [ ] figure out how to do bundle the npm/vendor dependencies with rollup, too 
(maybe a separate change?)
  
  Things to do in follow-up changes:
  
  [ ] actually start to use `import`/`export` or at least `require` and stop 
writing into the global state
  [ ] parse `.less` files and bundle css outside of Grunt
  [ ] copy everything to the right place without Grunt
  [ ] make sure we have only hashed versions of js/css files in production, 
without using Grunt for this
  [ ] drop Grunt
  
  One other thing I noticed:
  
  - the embedInit entrypoint seems to include all the js for the query helper 
and examples, etc. But it can't be used there, right?

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

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

To: Celenduin
Cc: Celenduin, Michael, toan, Aklapper, Lucas_Werkmeister_WMDE, Astuthiodit_1, 
AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, CBogen, 
ItamarWMDE, Akuckartz, darthmon_wmde, Nandana, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, 
_jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, Izno, jkroll, Wikidata-bugs, 
Jdouglas, aude, Tobias1984, Dinoguy1000, Manybubbles, Lydia_Pintscher, Mbch331, 
Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T236938: Add monolingual language code "tok" (Toki Pona) to Wikidata

2023-01-08 Thread ReleaseTaggerBot
ReleaseTaggerBot added a project: MW-1.40-notes (1.40.0-wmf.18; 2023-01-09).

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

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

To: ReleaseTaggerBot
Cc: Nintendofan885, TheresNoTime, MZMcBride, Tommy_Kronkvist, LaPingvino, 
Tbodt, Robin_van_der_Vliet, Mbch331, jhsoby, Aklapper, blinry, Adamm71, 
Jersione, Hellket777, mrephabricator, LisafBia6531, Astuthiodit_1, 786, 
Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, 
Beast1978, ItamarWMDE, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, 
Af420, Bsandipan, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, Lewizho99, 
Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, Nikki, Wikidata-bugs, 
aude
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T236938: Add monolingual language code "tok" (Toki Pona) to Wikidata

2023-01-08 Thread gerritbot
gerritbot added a comment.


  Change 761013 **merged** by jenkins-bot:
  
  [mediawiki/core@master] Add Toki Pona (tok) to Names.php
  
  https://gerrit.wikimedia.org/r/761013

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

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

To: gerritbot
Cc: Nintendofan885, TheresNoTime, MZMcBride, Tommy_Kronkvist, LaPingvino, 
Tbodt, Robin_van_der_Vliet, Mbch331, jhsoby, Aklapper, blinry, Adamm71, 
Jersione, Hellket777, mrephabricator, LisafBia6531, Astuthiodit_1, 786, 
Biggs657, karapayneWMDE, Invadibot, maantietaja, Juan90264, Alter-paule, 
Beast1978, ItamarWMDE, Un1tY, Akuckartz, Hook696, Kent7301, joker88john, 
CucyNoiD, Nandana, Gaboe420, lucamauri, Giuliamocci, Cpaulf30, Lahi, Gq86, 
Af420, Bsandipan, GoranSMilovanovic, Mahir256, QZanden, LawExplorer, Lewizho99, 
Maathavan, _jensen, rosalieper, Neuronton, Scott_WUaS, Nikki, Wikidata-bugs, 
aude
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T326427: sparql gives me 403

2023-01-08 Thread Aklapper
Aklapper removed Kotz as the assignee of this task.
Aklapper removed a project: Content Discovery.

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

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

To: Aklapper
Cc: Gehel, Aklapper, Kotz, Astuthiodit_1, AWesterinen, karapayneWMDE, 
Invadibot, MPhamWMF, maantietaja, CBogen, ItamarWMDE, Akuckartz, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T281985: Enable eslint rules for wikidata/query/gui.git

2023-01-08 Thread Michael
Michael added a comment.


  @Lucas_Werkmeister_WMDE I think you implemented this :)

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

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

To: Michael
Cc: Michael, Lucas_Werkmeister_WMDE, Aklapper, Astuthiodit_1, AWesterinen, 
karapayneWMDE, Invadibot, MPhamWMF, maantietaja, CBogen, ItamarWMDE, Akuckartz, 
Nandana, Namenlos314, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, EBjune, 
merbst, LawExplorer, Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, 
Lydia_Pintscher, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T286870: Unrelated item show when hovering

2023-01-08 Thread Michael
Michael added a comment.


  I think this bug was fixed when we implemented T255245: Add tooltip for 
Lexemes on WDQS .

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

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

To: Michael
Cc: Michael, Lucas_Werkmeister_WMDE, Lydia_Pintscher, Aklapper, Ainali, 
Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, MPhamWMF, maantietaja, 
CBogen, ItamarWMDE, Akuckartz, Nandana, Namenlos314, Lahi, Gq86, 
GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, Salgo60, 
_jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, 
Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T321666: Wiktionary Cognate Dashboard is not accessible [timeboxed 0.5 days]

2023-01-08 Thread GoranSMilovanovic
GoranSMilovanovic added a comment.


  What I will probably be able to do in the following weeks is to prepare a 
production environment on one my (DataKolektiv) server and run Wikidata 
Analytics and Wiktionary Cognate in a production environment from there, so 
that the community can have the dashboards available.
  
  As of the CloudVPS related problems in running these two systems under 
ShinyProxy, there is nothing else that I can do; you need to find someone with 
expertise in web-servers (ShinyProxy is nothing more than a web-server) and 
virtualization to identify and solve the problem. From all my previous 
attempts, Wikidata Analytics and Wiktionary Cognate run safely in any 
environment that I have tested except CloudVPS.

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

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

To: GoranSMilovanovic
Cc: Lydia_Pintscher, WMDE-leszek, Pamputt, MarcoSwart, GoranSMilovanovic, 
Otourly, ItamarWMDE, Aklapper, Manuel, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, Akuckartz, Nandana, Lahi, Gq86, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Thibaut120094, Wikidata-bugs, aude, Darkdadaah, 
Mbch331, Ltrlg
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T112426: [Bug] Querying Wikipedia for langlinks doesn't work for be-tarask, but works for be-x-old

2023-01-08 Thread gerritbot
gerritbot added a project: Patch-For-Review.

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

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

To: gerritbot
Cc: Winston_Sung, RhinosF1, Base, PokestarFan, Jarekt, deryckchan, TerraCodes, 
Keegan, JEumerus, zhuyifei1999, Luke081515, Liuxinyu970226, daniel, 
Ricordisamoa, Krenair, Ladsgroup, Lydia_Pintscher, aude, Aklapper, Matanya, 
Nikerabbit, Amire80, Dereckson, Adamm71, Jersione, Hellket777, LisafBia6531, 
Astuthiodit_1, Yodas_henchman, 786, NguoiDungKhongDinhDanh, Biggs657, 
karapayneWMDE, Invadibot, Zabe, maantietaja, Juan90264, Alter-paule, Beast1978, 
ItamarWMDE, Un1tY, Akuckartz, Hook696, CptViraj, AKA_MBG, WDoranWMF, Kent7301, 
Dibya, joker88john, 94rain, DannyS712, CucyNoiD, Nandana, Tks4Fish, Gaboe420, 
Amorymeltzer, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, 
GoranSMilovanovic, Jayprakash12345, QZanden, Kizule, LawExplorer, Sethakill, 
Lewizho99, Maathavan, Devwaker, dg711, Niklitov, _jensen, Urbanecm, rosalieper, 
Neuronton, Scott_WUaS, Ananthsubray, Superzerocool, Stanglavine, Tulsi_Bhagat, 
Wong128hk, SimmeD, Wikidata-bugs, Snowolf, Dcljr, jayvdb, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T112426: [Bug] Querying Wikipedia for langlinks doesn't work for be-tarask, but works for be-x-old

2023-01-08 Thread gerritbot
gerritbot added a comment.


  Change 876295 had a related patch set uploaded (by Winston Sung; author: 
Winston Sung):
  
  [mediawiki/extensions/Wikibase@master] Temporary fix for Wikibase Client 
getInterwikiCodeFromSite
  
  https://gerrit.wikimedia.org/r/876295

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

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

To: gerritbot
Cc: Winston_Sung, RhinosF1, Base, PokestarFan, Jarekt, deryckchan, TerraCodes, 
Keegan, JEumerus, zhuyifei1999, Luke081515, Liuxinyu970226, daniel, 
Ricordisamoa, Krenair, Ladsgroup, Lydia_Pintscher, aude, Aklapper, Matanya, 
Nikerabbit, Amire80, Dereckson, LisafBia6531, Astuthiodit_1, Yodas_henchman, 
NguoiDungKhongDinhDanh, karapayneWMDE, Invadibot, Zabe, maantietaja, Juan90264, 
ItamarWMDE, Akuckartz, CptViraj, AKA_MBG, WDoranWMF, Dibya, 94rain, DannyS712, 
Nandana, Tks4Fish, Amorymeltzer, Lahi, Gq86, GoranSMilovanovic, 
Jayprakash12345, QZanden, Kizule, LawExplorer, Sethakill, Devwaker, dg711, 
Niklitov, _jensen, Urbanecm, rosalieper, Scott_WUaS, Ananthsubray, 
Superzerocool, Stanglavine, Tulsi_Bhagat, Wong128hk, SimmeD, Wikidata-bugs, 
Snowolf, Dcljr, jayvdb, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T112426: [Bug] Querying Wikipedia for langlinks doesn't work for be-tarask, but works for be-x-old

2023-01-08 Thread Winston_Sung
Winston_Sung added a comment.


  
https://github.com/wikimedia/Wikibase/blob/8dbd84e/client/includes/Hooks/LangLinkHandler.php#L322-L344
  
  T137537: Ensure correct information about Wikimedia sites in the Sites 
facility on the Wikimedia cluster. 
  
  name=client/includes/Hooks/LangLinkHandler.php#L322-L344
/**
 * Extracts the local interwiki code, which in case of the
 * wikimedia site groups, is always the global id's prefix.
 *
 * @fixme put somewhere more sane and use site identifiers data,
 * so that this works in non-wikimedia cases where the assumption
 * is not true.
 *
 * @param Site $site
 *
 * @return string
 */
public function getInterwikiCodeFromSite( Site $site ) {
// FIXME: We should use $site->getInterwikiIds, but the 
interwiki ids in
// the sites table are wrong currently, see T137537.
$id = $site->getGlobalId();
$id = preg_replace( '/(wiki\w*|wiktionary)$/', '', $id );
$id = strtr( $id, [ '_' => '-' ] );
if ( !$id ) {
$id = $site->getLanguageCode();
}
return $id;
}

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

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

To: Winston_Sung
Cc: Winston_Sung, RhinosF1, Base, PokestarFan, Jarekt, deryckchan, TerraCodes, 
Keegan, JEumerus, zhuyifei1999, Luke081515, Liuxinyu970226, daniel, 
Ricordisamoa, Krenair, Ladsgroup, Lydia_Pintscher, aude, Aklapper, Matanya, 
Nikerabbit, Amire80, Dereckson, LisafBia6531, Astuthiodit_1, Yodas_henchman, 
NguoiDungKhongDinhDanh, karapayneWMDE, Invadibot, Zabe, maantietaja, Juan90264, 
ItamarWMDE, Akuckartz, CptViraj, AKA_MBG, WDoranWMF, Dibya, 94rain, DannyS712, 
Nandana, Tks4Fish, Amorymeltzer, Lahi, Gq86, GoranSMilovanovic, 
Jayprakash12345, QZanden, Kizule, LawExplorer, Sethakill, Devwaker, dg711, 
Niklitov, _jensen, Urbanecm, rosalieper, Scott_WUaS, Ananthsubray, 
Superzerocool, Stanglavine, Tulsi_Bhagat, Wong128hk, SimmeD, Wikidata-bugs, 
Snowolf, Dcljr, jayvdb, Mbch331, Jay8g
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org