[Wikidata-bugs] [Maniphest] T356773: [tracking] Community feedback for the WDQS Split the Graph project

2024-02-07 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  Just here to say that I have a positive feedback querying for "collaboration 
platforms by creation date, with images".
  
  Prod: https://w.wiki/94fS
  
  Full: https://w.wiki/96$n
  
  Main: https://w.wiki/96$q (a bit faster than prod, I see)
  
  ---
  
  I also tried with a very-custom query of "software licenses, grouped by 
logical ones, by software count, with approved by OSI/FSF". But URL shortening 
fails indeed, so you have to copy-paste:
  
# Software licenses
# Taking in consideration license-sub-editions and counting software using 
them.
# Taking in consideration direct-usage by that license.
# Taking in consideration FSF and OSI approval.
# Author: [[User:Valerio Bozzolan]] and contributors
# Date: 2023
# License: CC 0, public domain
# https://phabricator.wikimedia.org/P52339
# https://www.wikidata.org/wiki/User:Valerio_Bozzolan

SELECT 
  ?count_broad_software
  ?count_exact_software
  ?license
  ?licenseLabel
  ?min_license_date
  ?approved_fsf
  ?approved_osi
WHERE
{

  # START SUB-QUERY: NO-LABEL
  {
SELECT 
  ?license
  (COUNT (DISTINCT ?broad_software) AS ?count_broad_software)
  (SAMPLE(?count_exact_software)AS ?count_exact_software)
  (SAMPLE(?min_license_date)AS ?min_license_date)
WHERE 
{

  # START SUB-QUERY: SOFTWARE COUNTER
  {
SELECT
  ?license
  (COUNT(DISTINCT ?software)  AS ?count_exact_software)
  (MIN   (?license_date) AS ?min_license_date)
WHERE
{

  # START SUB-QUERY: LICENSE
  {
SELECT ?license WHERE {
  # This is a license.
  ?license wdt:P31/wdt:P279* wd:Q207621.
  
  # The license must not be confused with a software (it 
happens).
  MINUS {
?license wdt:P31/wdt:P279* wd:Q7397.
  }
} GROUP BY ?license
  }
  # STOP SUB-QUERY: LICENSE

  # License must be used by software.
  ?software wdt:P275 ?license.
  wd:Q7397 ^wdt:P279*/^wdt:P31 ?software.

  # The license may have a publication date.
  OPTIONAL {
?license wdt:P577 ?license_date.
  }
  
} GROUP BY ?license
  }
  # STOP SUB-QUERY: SOFTWARE COUNTER

  # License may have editions.
  # Software may use this license edition.
  OPTIONAL {
?child_license wdt:P629*/wdt:P279* ?license.
?broad_software wdt:P275 ?child_license.
wd:Q7397 ^wdt:P279*/^wdt:P31 ?broad_software.
  }
} GROUP BY ?license
  }
  # STOP SUB-QUERY: NO-LABEL  

  # The license may be approved by OSI / FSF.
  BIND (EXISTS{?license wdt:P790 wd:Q48413. } AS ?exists_fsf )
  BIND (EXISTS{?license wdt:P790 wd:Q845918.} AS ?exists_osi )
  BIND (IF(?exists_fsf, "✅ FSF", "❌ FSF")   AS ?approved_fsf)
  BIND (IF(?exists_osi, "✅ OSI", "❌ OSI")   AS ?approved_osi)

  # Helps get the label in your language, if not, then en language
  SERVICE wikibase:label { bd:serviceParam wikibase:language 
"[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?count_broad_software)
  
  (Spoiler: `GNU GPL` wins)
  
  Also in this case a bit faster in the "main". So, thanks for this promising 
work.

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

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

To: Sannita, valerio.bozzolan
Cc: valerio.bozzolan, tfmorris, Gehel, Aklapper, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, KimKelting, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 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] T132053: Problem creating new Wikidata item with API action wbeditentity

2023-03-07 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  Hi @Magnus, I'm sorry again for your block experience. It's not funny. I'm 
trying to help to improve the current situation. Can I ask you what do you 
think about this related topic?
  
  T309328: IP range-blocks should not block trusted logged-in users 
(autopatrolled, bot, bureaucrat, checkuser, interface-admin, steward) 
<https://phabricator.wikimedia.org/T309328>
  
  I am not sure if I have described the current situation correctly.

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

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

To: Magnus, valerio.bozzolan
Cc: valerio.bozzolan, Aklapper, Magnus, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, 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] T216601: Allow download of Wikidata query results in GPS-friendly format(s)

2022-12-27 Thread valerio.bozzolan
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Jklamo, Gehel, MPhamWMF, Lydia_Pintscher, JeanFred, 
Nemo_bis, Husky, Peb, Frettie, Geertivp, Salgo60, Pigsonthewing, Aklapper, 
Astuthiodit_1, AWesterinen, karapayneWMDE, Invadibot, maantietaja, CBogen, 
ItamarWMDE, Akuckartz, darthmon_wmde, Ferenczy, sarhan.alaa, Samuditha24, 
IM3847, Nandana, Namenlos314, kostajh, Lahi, Gq86, Lucas_Werkmeister_WMDE, 
GoranSMilovanovic, Jayprakash12345, Chicocvenancio, MichaelSchoenitzer_WMDE, 
Mahir256, QZanden, EBjune, merbst, LawExplorer, Jogi_don, _jensen, rosalieper, 
xSavitar, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, 
Tobias1984, Manybubbles, Mbch331, jayantanth, Rxy
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P39517: FLOSS videogames in timeline

2022-11-16 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P39517

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

To: valerio.bozzolan
Cc: Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P39517: FLOSS videogames in timeline

2022-11-16 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P39517

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

To: valerio.bozzolan
Cc: Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 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] T323109: WDQS: Timeline: scroll not working on desktop (mouse wheel disabled)

2022-11-15 Thread valerio.bozzolan
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Aklapper, 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] T323109: WDQS: Timeline: scroll not working on desktop (mouse wheel disabled)

2022-11-15 Thread valerio.bozzolan
valerio.bozzolan created this task.
valerio.bozzolan added a project: Wikidata-Query-Service.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue** (include links if applicable):
  
  - Open Firefox or Chromium or whatever on your desktop
  - Explore this random Timeline query 
<https://query.wikidata.org/embed.html#%23%20FLOSS%20videogames%20in%20timeline%0A%23%20author%3A%20Valerio%20Bozzolan%2C%20contributors%0A%23%20source%20code%3A%20https%3A%2F%2Fphabricator.wikimedia.org%2FP39517%0A%23%20license%3A%20CC0%0A%23defaultView%3ATimeline%0A%0A%23%20query%20with%20label%0ASELECT%20%3Fitem%20%3FitemLabel%20%3Fimage%20%3Fdate%0AWHERE%20%0A%7B%0A%20%20%7B%0A%20%20%20%20%23%20query%20without%20labels%0A%20%20%20%20SELECT%20%3Fitem%20%28SAMPLE%28%3Fimage%29%20as%20%3Fimage%29%20%28MIN%28%3Fwhatever_date%29%20as%20%3Fdate%29%0A%20%20%20%20WHERE%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%23%20item%20must%20be%20a%20videogame%20or%20any%20subclass%20of%20copyright%20license%0A%20%20%20%20%20%20wd%3AQ7889%20%5Ewdt%3AP279%2a%2F%5Ewdt%3AP31%20%3Fitem.%0A%0A%20%20%20%20%20%20%23%20item%20must%20has%20a%20license%0A%20%20%20%20%20%20%3Fitem%20wdt%3AP275%20%3Flicense.%0A%0A%20%20%20%20%20%20%23%20the%20license%20must%20be%20a%20libre%20license%0A%20%20%20%20%20%20%3Flibre_license%20%5Ewdt%3AP279%2a%2F%5Ewdt%3AP31%20%20%3Flicense.%0A%20%20%20%20%20%20VALUES%20%3Flibre_license%20%7B%0A%20%20%20%20%20%20%20%20wd%3AQ97044024%20%23%20open%20source%0A%20%20%20%20%20%20%20%20wd%3AQ3943414%20%20%23%20free%20software%0A%20%20%20%20%20%20%20%20wd%3AQ97662661%20%23%20free%20license%0A%20%20%20%20%20%20%20%20wd%3AQ196294%20%20%20%23%20open%20license%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20OPTIONAL%20%7B%0A%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP18%20%3Fimage.%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%23%20item%20must%20have%20a%20date%20%28whatever%20publication%20date%20or%20inception%20date%20is%20fine%29%0A%20%20%20%20%20%20%3Fitem%20%20wdt%3AP577%7Cwdt%3AP571%20%3Fwhatever_date.%0A%20%20%20%20%7D%0A%20%20%20%20GROUP%20BY%20%3Fitem%0A%20%20%7D%0A%20%20%23%20apply%20labels%20after%20the%20group%20by%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%0A%7D>
 (yeah I know it's very nice: Open Source videogames by date)
  - Put the pointer in the middle of the screen, use the mouse wheel.
  - Put the pointer in the middle of the screen, use shift+mouse wheel.
  
  **What happens?**:
  
  Nothing.
  
  **What should have happened instead?**:
  
  Vertical scrolling (when using the mouse wheel).
  
  Horizontal scrolling (when using shift + mouse wheel).
  
  **Other information** (browser name/version, screenshots, etc.):
  
  In mobile it works.
  
  I think there is some `preventDefault()` in some scroll listener.
  
  **Quality control**
  
  [ ] able to scroll on desktop with the mouse wheel (← this bug)
  [ ] still able to scroll on mobile using your finger (it was already working)

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

WORKBOARD
  https://phabricator.wikimedia.org/project/board/891/

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Aklapper, AWesterinen, MPhamWMF, CBogen, Namenlos314, 
Gq86, Lucas_Werkmeister_WMDE, EBjune, merbst, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P38166: All Museums inside Canton Ticino with facilities

2022-11-05 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P38166

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

To: valerio.bozzolan
Cc: Ysogo, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P38166: All Museums inside Canton Ticino with facilities

2022-11-05 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P38166

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

To: valerio.bozzolan
Cc: Ysogo, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P38166: All Museums inside Canton Ticino with facilities

2022-11-05 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P38166

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

To: valerio.bozzolan
Cc: Ysogo, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P38166: All Museums inside Canton Ticino with facilities

2022-11-05 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P38166

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

To: valerio.bozzolan
Cc: Ysogo, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P38166: All Museums inside Canton Ticino with facilities

2022-11-05 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P38166

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

To: valerio.bozzolan
Cc: Ysogo, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P38166: All Museums inside Canton Ticino with facilities

2022-11-05 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P38166

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

To: valerio.bozzolan
Cc: Ysogo, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P38166: All Museums inside Canton Ticino with facilities

2022-11-05 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P38166

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

To: valerio.bozzolan
Cc: Ysogo, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Paste] P38166: All Museums inside Canton Ticino with facilities

2022-11-05 Thread valerio.bozzolan
valerio.bozzolan edited the content of this paste.

PASTE DETAIL
  https://phabricator.wikimedia.org/P38166

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

To: valerio.bozzolan
Cc: Ysogo, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 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] T303103: Wikidata Kartographer bug when clicking on zoom actions (+/-): the picker is closed

2022-10-11 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  OK so if I understand correctly there is a `blur` that, when triggered, tries 
to close the widget running an `animationTimeout`. The problem was that doing a 
zoom was firing this `blur` event, and there was nothing saying that the user 
had the focus again on the widget, and nothing stopping the closing attempt. 
The fix was to stop `animationTimeout` and the related flag also from the 
related `focusin.XX` event.
  
  Thank you so much @hoo for your time

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

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

To: hoo, valerio.bozzolan
Cc: thiemowmde, hoo, Melderick, Ainali, Aklapper, valerio.bozzolan, lucamauri, 
mrephabricator, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Alilje, Nabetaro, Nandana, MSantos, Lahi, Gq86, 
Looniverse, GoranSMilovanovic, Sturm, QZanden, Orienteerix, LawExplorer, 
Ddproxy, _jensen, rosalieper, JGirault, Scott_WUaS, phabyogi, GAllegre, 
Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, awight, Yurik, 
TheDJ, Mbch331, Jay8g, 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] T303103: Wikidata Kartographer bug when clicking on zoom actions (+/-): the picker is closed

2022-10-10 Thread valerio.bozzolan
valerio.bozzolan added a subscriber: thiemowmde.
valerio.bozzolan added a comment.


  Hi @thiemowmde! Thank you for your work!
  
  Can I ask you if you can reproduce? :)

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

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

To: valerio.bozzolan
Cc: thiemowmde, hoo, Melderick, Ainali, Aklapper, valerio.bozzolan, lucamauri, 
mrephabricator, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Alilje, Nabetaro, Nandana, MSantos, Lahi, Gq86, 
Looniverse, GoranSMilovanovic, Sturm, QZanden, Orienteerix, LawExplorer, 
Ddproxy, _jensen, rosalieper, JGirault, Scott_WUaS, phabyogi, GAllegre, 
Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, awight, Yurik, 
TheDJ, Mbch331, Jay8g, 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] T68067: Support Redirects between Items (tracking)

2022-08-30 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  What was the original description of this Task?

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, PokestarFan, Liuxinyu970226, Ricordisamoa, Aklapper, 
Bene, Lydia_Pintscher, daniel, Astuthiodit_1, karapayneWMDE, Invadibot, 
maantietaja, ItamarWMDE, Akuckartz, Nickleh, Nandana, lucamauri, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Dinoguy1000, 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] T192870: Provide a mechanism to get historic results of a SPARQL query on a WDQS instance

2022-08-30 Thread valerio.bozzolan
valerio.bozzolan removed a project: Wikidata-Query-Service.
valerio.bozzolan reopened this task as "Open".
valerio.bozzolan added a comment.


  As already said elsewhere, thanks @Daniel_Mietchen for this awesome idea: the 
ability to query old RDF snapshots to visualize something related to the past 
is a scary killer feature for Wikidata, and it would be useful from the 
research world to all Wikimedia communities who want to see how Wikidata is 
changing over time.
  
  Although the official team related to #wikidata-query-service 
<https://phabricator.wikimedia.org/tag/wikidata-query-service/>  said there is 
not the capacity to support this big feature at the moment, I think we won't 
have a hard time to find an additional working team and funds to support this 
idea.
  
  So, hoping to be useful, and hoping to relax the official team, and thanking 
the official team for this early feedback; I would like to reopen this Task, 
unassign from the official team, and just leave the #Wikidata 
<https://phabricator.wikimedia.org/tag/wikidata/> umbrella Tag in order to 
continue the discussion and attract more feedback from other contributors.

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Lucas_Werkmeister_WMDE, Lydia_Pintscher, Addshore, 
Smalyshev, Daniel_Mietchen, Aklapper, Astuthiodit_1, bking, karapayneWMDE, 
Invadibot, Saarik, MPhamWMF, Johentsch, maantietaja, ItamarWMDE, Akuckartz, 
ET4Eva, Nandana, LJ, lucamauri, Lahi, Gq86, SandraF_WMF, Andrawaag, 
GoranSMilovanovic, QZanden, EBjune, YULdigitalpreservation, LawExplorer, 
Salgo60, Avner, Gehel, _jensen, rosalieper, Jneubert, Scott_WUaS, FloNight, 
Myst, Wikidata-bugs, aude, GreenReaper, Mbch331, AWesterinen, CBogen, 
Namenlos314, merbst, Jonas, Xmlizer, jkroll, Jdouglas, Tobias1984, Manybubbles
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T291091: Snapshots for saved queries

2022-08-30 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  I imagine a world where in the query service there is a time slider: and if 
you change the year, to query an old snapshot instead of the current data.
  
  That's possible deploying some query services starting from yearly Wikidata 
snapshots. So, we can query the Wikidata situation in January 2022, 2021, 2020.
  
  This is not something totally impossible; it is something we already know how 
to do. Already doing an experiment starting with yearly snapshots would be very 
powerful killer feature for scientific purposes.

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Tacsipacsi, Aklapper, Bugreporter, 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] T104762: Setup sparqly service at https://sparqly.wmflabs.org/ (like Quarry but for SPARQL)

2022-08-30 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  The killer feature of this tool would be: less timeouts.
  
  Lot of users have very interesting queries, that sometime cannot just be 
optimized more and just require more resources. Having said I understand we 
cannot just increase resources for every anonymous execution in the world (lot 
of people could abuse it) I think it could be possible to use this Task to 
target a fix for this issue, since this tool will have a queue, and there is no 
parallel execution.

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, So9q, Sylvain_WMFr, Mmarx, Ayack, abian, Wittylama, 
zhuyifei1999, Smalyshev, Lucas_Werkmeister_WMDE, Liuxinyu970226, WikidataFacts, 
Daniel_Mietchen, jcrespo, Base, StudiesWorld, Ricordisamoa, Sitic, Addshore, 
Nikki, Aklapper, Multichill, fnegri, Astuthiodit_1, AWesterinen, bking, 
BeautifulBold, Suran38, karapayneWMDE, Invadibot, MPhamWMF, Devnull, Slst2020, 
maantietaja, Peteosx1x, NavinRizwi, CBogen, ItamarWMDE, Nintendofan885, 
Akuckartz, ET4Eva, Legado_Shulgin, 94rain, Dinadineke, DannyS712, Nandana, 
Namenlos314, skpuneethumar, Jony, Zylc, tabish.shaikh91, 1978Gage2001, Lahi, 
Operator873, Gq86, Bsandipan, GoranSMilovanovic, Jayprakash12345, 
Chicocvenancio, JakeTheDeveloper, QZanden, EBjune, Tbscho, merbst, LawExplorer, 
Framawiki, Avner, JJMC89, Gehel, _jensen, rosalieper, Scott_WUaS, Jonas, 
FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, Jitrixis, aude, Tobias1984, 
Capt_Swing, Dinoguy1000, Manybubbles, Gryllida, scfc, TheDJ, Mbch331, Krenair
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T104762: Setup sparqly service at https://sparqly.wmflabs.org/ (like Quarry but for SPARQL)

2022-08-30 Thread valerio.bozzolan
valerio.bozzolan renamed this task from "Setup sparqly service at 
https://sparqly.wmflabs.org/  (like Quarry)" to "Setup sparqly service at 
https://sparqly.wmflabs.org/ (like Quarry but for SPARQL)".
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: So9q, Sylvain_WMFr, Mmarx, Ayack, abian, Wittylama, zhuyifei1999, 
Smalyshev, Lucas_Werkmeister_WMDE, Liuxinyu970226, WikidataFacts, 
Daniel_Mietchen, jcrespo, Base, StudiesWorld, Ricordisamoa, Sitic, Addshore, 
Nikki, Aklapper, Multichill, fnegri, Astuthiodit_1, AWesterinen, bking, 
BeautifulBold, Suran38, karapayneWMDE, Invadibot, MPhamWMF, Devnull, Slst2020, 
maantietaja, Peteosx1x, NavinRizwi, CBogen, ItamarWMDE, Nintendofan885, 
Akuckartz, ET4Eva, Legado_Shulgin, 94rain, Dinadineke, DannyS712, Nandana, 
Namenlos314, skpuneethumar, Jony, Zylc, tabish.shaikh91, 1978Gage2001, Lahi, 
Operator873, Gq86, Bsandipan, GoranSMilovanovic, Jayprakash12345, 
Chicocvenancio, JakeTheDeveloper, QZanden, EBjune, Tbscho, merbst, LawExplorer, 
Framawiki, Avner, JJMC89, Gehel, _jensen, rosalieper, Scott_WUaS, Jonas, 
FloNight, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, Jitrixis, aude, Tobias1984, 
Capt_Swing, Dinoguy1000, Manybubbles, Gryllida, scfc, TheDJ, Mbch331, Krenair
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T303103: Wikidata Kartographer bug when clicking on zoom actions (+/-): the picker is closed

2022-05-31 Thread valerio.bozzolan
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: hoo, Melderick, Ainali, Aklapper, valerio.bozzolan, lucamauri, 
mrephabricator, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Alilje, Nabetaro, Nandana, MSantos, Lahi, Gq86, 
Looniverse, GoranSMilovanovic, Sturm, QZanden, Orienteerix, LawExplorer, 
Ddproxy, _jensen, rosalieper, JGirault, Scott_WUaS, phabyogi, GAllegre, 
Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, awight, Yurik, 
TheDJ, 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] T250627: Do not approximate coordinates when saving, but only on presentation level

2022-05-31 Thread valerio.bozzolan
valerio.bozzolan renamed this task from "wrong rendering of coordinates in 
Wikidata" to "Do not approximate coordinates when saving, but only on 
presentation level".

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

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

To: valerio.bozzolan
Cc: NordNordWest, Thgoiter, Man77, Aklapper, Herzi.Pinki, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, 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] T309292: When saving an image to Wikidata (P18), a semi-automated gadget could suggest to add depicted (P180) on Wikimedia Commons

2022-05-26 Thread valerio.bozzolan
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: Aklapper, valerio.bozzolan, dachary, Wikidata-bugs, Ricordisamoa, 
Tacsipacsi, Sjoerddebruin, 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] T309292: When saving an image to Wikidata (P18), a semi-automated gadget could suggest to add depicted (P180) on Wikimedia Commons

2022-05-26 Thread valerio.bozzolan
valerio.bozzolan created this task.
valerio.bozzolan added a project: Wikidata-Gadgets.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  When adding an image on Wikidata, it would be nice to have a gadget able to 
suggest to add the depicted (P180 <https://phabricator.wikimedia.org/P180>) on 
Wikimedia Commons too.
  
  | Image (`P18`) on Wikidata | → | Depicted (`P180`) on Wikimedia Commons |
  | - | - | -- |
  |   |   ||
  | F35178452: Wikidata Barack Obama pick image.png 
<https://phabricator.wikimedia.org/F35178452> | → | 
F35178461: Wikimedia Commons Barack Obama depicts.png 
<https://phabricator.wikimedia.org/F35178461>   
   |
  |
  
  
  
  Suggested pseudo-code
  -
  
  1. (base case) assume that the depicted __cannot__ be proposed
  2. after a Wikidata user saves an image (`P18` statement)
1. query image statements from Wikimedia Commons (API wbgetclaims 
<https://commons.wikimedia.org/w/api.php?action=help=wbgetclaims>: 
example request 
<https://commons.wikimedia.org/w/api.php?action=wbgetclaims=M30087096> 
for this file 
<https://commons.wikimedia.org/w/index.php?title=File:Barack_Obama_with_artistic_gymnastic_McKayla_Maroney_2.jpg=info>)
  1. check if the image already has at least one "depicted" (`P180`) 
statement
1. if not:
  1. ✅ assume that the depicted __can__ be proposed in Wikimedia Commons
2. if yes (this code branch can be omitted in the first version):
  1. check whenever __none__ of the depicted entities is: the original 
entity (e.g. Barack Obama) __or__ something even more specific (e.g. about 
cats, let's say kitten, Tibetan cat, etc. · example SPARQL query to find more 
specific elements <https://w.wiki/5Cwb>)
1. ✅ assume that the depicted __can__ be proposed in Wikimedia 
Commons
  
  When we know that the depicted can be proposed in Wikimedia Commons, I expect 
an OOUI simple message 
<https://www.mediawiki.org/wiki/OOUI/Windows/Simple_messages> asking something 
like:
  
  > **How does this image represent [ENTITY LABEL]?**
  > Buttons: `[Normally, or not particularly]` · `[Main subject]`
  
  Then save the statement as not prominent (rank = `normal`) or (rank = 
`preferred`).
  
  ---
  
  (We can also think of a vice-versa gadget from Wikimedia Commons, but this 
Task is about designing a gadget for Wikidata)
  
  ---
  
  What do you think about?

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

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

To: valerio.bozzolan
Cc: Aklapper, valerio.bozzolan, dachary, Wikidata-bugs, Ricordisamoa, 
Tacsipacsi, Sjoerddebruin, 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] T289522: Wikidata Complete Gadget

2022-05-26 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  (The underlying API is interesting but I've not found the related 
documentation.)

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Aklapper, DD063520, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, dachary, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Ricordisamoa, Tacsipacsi, Sjoerddebruin, 
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] T289522: Wikidata Complete Gadget

2022-05-26 Thread valerio.bozzolan
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: Aklapper, DD063520, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, 
ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
dachary, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, 
Ricordisamoa, Tacsipacsi, Sjoerddebruin, 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] T199619: wbremoveclaims fails to remove several claims

2022-05-26 Thread valerio.bozzolan
valerio.bozzolan closed this task as "Invalid".
valerio.bozzolan added a comment.


  Hi! I've looked at your example and it seems the intention was to remove 2 
claims from two different entities (Q7162337 and Q7836677), but deleting claims 
from different entities is not supported at the moment.
  
  Here the official documentation for more information:
  
  https://www.wikidata.org/w/api.php?action=help=wbremoveclaims
  
  Sorry if I close as "invalid" but I think this is officially documented and 
not a bug. Feel free to reopen if I'm somewhere wrong. Thank you!

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Maxlath, Aklapper, Astuthiodit_1, karapayneWMDE, 
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, 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] T303103: Wikidata Kartographer bug when clicking on zoom actions (+/-): the picker is closed

2022-03-05 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  In T303103#7754805 <https://phabricator.wikimedia.org/T303103#7754805>, 
@Ainali wrote:
  
  > Related, when I go to full screen with the square bracketed button in the 
top-right corner of the map, and then close the full screen view, the map 
totally disappears.
  
  Uhm. So when opening full-screen mode, there is not the possibility to exit 
full-screen mode, since there is just the possibility to close the picker.

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

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

To: valerio.bozzolan
Cc: Melderick, Ainali, Aklapper, valerio.bozzolan, lucamauri, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Alilje, Nabetaro, Nandana, MSantos, Lahi, 
Gq86, Looniverse, GoranSMilovanovic, Sturm, QZanden, Orienteerix, LawExplorer, 
Ddproxy, _jensen, rosalieper, JGirault, Scott_WUaS, phabyogi, GAllegre, 
Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, awight, Yurik, 
TheDJ, 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] T303103: Wikidata Kartographer bug when clicking on zoom actions (+/-): the picker is closed

2022-03-05 Thread valerio.bozzolan
valerio.bozzolan added a subscriber: Melderick.
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: Melderick, Ainali, Aklapper, valerio.bozzolan, lucamauri, karapayneWMDE, 
Invadibot, maantietaja, Akuckartz, Alilje, Nabetaro, Nandana, MSantos, Lahi, 
Gq86, Looniverse, GoranSMilovanovic, Sturm, QZanden, Orienteerix, LawExplorer, 
Ddproxy, _jensen, rosalieper, JGirault, Scott_WUaS, phabyogi, GAllegre, 
Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, awight, Yurik, 
TheDJ, 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] T303103: Wikidata Kartographer bug when clicking on zoom actions (+/-): the picker is closed

2022-03-05 Thread valerio.bozzolan
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: Aklapper, valerio.bozzolan, lucamauri, karapayneWMDE, Invadibot, 
maantietaja, Akuckartz, Alilje, Nabetaro, Nandana, MSantos, Lahi, Gq86, 
Looniverse, GoranSMilovanovic, Sturm, QZanden, Orienteerix, LawExplorer, 
Ddproxy, _jensen, rosalieper, JGirault, Scott_WUaS, phabyogi, GAllegre, 
Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, awight, Yurik, 
TheDJ, 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] T303103: Wikidata Kartographer bug when clicking on zoom actions (+/-): the picker is closed

2022-03-05 Thread valerio.bozzolan
valerio.bozzolan created this task.
valerio.bozzolan added projects: Maps (Kartographer), Wikidata, UX-Debt.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  **List of steps to reproduce**
  
  - go to a random Wikidata item with a coordinate location (e.g. 
https://www.wikidata.org/wiki/Q03620 this cute palace in Trento, Italy )
  - goto "coordinate location"
  - click //Edit//
  - click on //Zoom in// (+), or //Zoom out// (-)
  
  **Proof of concept**
  
  
https://commons.wikimedia.org/wiki/File:Wikidata_coordinate_picker_zoom_click_bug.webm
  
  **What happens?**:
  
  The zoom button closes the Kartographer picker.
  
  **What should have happened instead?**:
  
  The zoom button should just zoom.
  
  The zoom button should not close the Kartographer picker.
  
  **Reproduced in:**
  
  - Reproduced on Wikidata using Firefox 97 and Chromium 99 on Xubuntu 20.04 
focal fossa (tested both as logged-in and logged-out) from @valerio.bozzolan
  - Reproduced on Wikidata using Firefox 97.0.2, Chrome 98.0.4758.102, Edge 
99.0.1150.30 from Microsoft Windows 64bit (tested both as logged-in and 
logged-out) from @lucamauri
  - Reproduced on Wikidata using Firefox on macOS from a logged-in user
  - ...

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

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

To: valerio.bozzolan
Cc: Aklapper, valerio.bozzolan, lucamauri, karapayneWMDE, Invadibot, 
maantietaja, Akuckartz, Alilje, Nabetaro, Nandana, MSantos, Lahi, Gq86, 
Looniverse, GoranSMilovanovic, Sturm, QZanden, Orienteerix, LawExplorer, 
Ddproxy, _jensen, rosalieper, JGirault, Scott_WUaS, phabyogi, GAllegre, 
Susannaanas, ferdbold, lxbarth, Planemad, Wikidata-bugs, aude, awight, Yurik, 
TheDJ, 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] T285761: Add proper security headers to Query Builder

2021-07-16 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  For a moment I thought GNU Terry Pratchett was missing. Fortunately there is. 
Nice!

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Lucas_Werkmeister_WMDE, Aklapper, bete, 
conny-kawohl_WMDE, guergana.tzatchkova, Jakob_WMDE, Lydia_Pintscher, Michael, 
sbassett, Addshore, karapayneWMDE, Mstyles, Reedy, Ladsgroup, Invadibot, 
Devnull, maantietaja, Akuckartz, DannyS712, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Bawolff, Mbch331, Legoktm
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T280787: Modify the regex that evaluates the SortedProperties page

2021-04-21 Thread valerio.bozzolan
valerio.bozzolan updated the task description.

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

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

To: lucamauri, valerio.bozzolan
Cc: Aklapper, lucamauri, Invadibot, maantietaja, Alter-paule, Beast1978, Un1tY, 
Akuckartz, Hook696, Kent7301, joker88john, CucyNoiD, Nandana, Gaboe420, 
Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, 
QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T112081: [Story] purge cached renderings of IDs when the formatter URL changes

2020-08-24 Thread valerio.bozzolan
valerio.bozzolan added a comment.


  In T112081#6100884 <https://phabricator.wikimedia.org/T112081#6100884>, 
@agray wrote:
  
  > As an interim workaround, I've put together a quick-and-dirty script to 
slowly do a rolling purge of items using pywikibot. It identifies all items 
that have not been edited since before the formatter URL was changed, generates 
a list, and works through them.
  
  Is this scheduled?
  
  For example we noticed that `P6288` should be purged.

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Eihel, agray, Salgo60, Lucas_Werkmeister_WMDE, 
PokestarFan, Lydia_Pintscher, Mbch331, hoo, Jheald, Aklapper, daniel, 
Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, 
LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T246743: Inconsistent "claims" vs "statements" in wbgetentities API between Wikidata and Commons

2020-03-03 Thread valerio.bozzolan
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Aklapper, CBogen, darthmon_wmde, Nandana, Lahi, Gq86, 
Ramsey-WMF, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T246743: Inconsistent "claims" vs "statements" in wbgetentities API between Wikidata and Commons

2020-03-03 Thread valerio.bozzolan
valerio.bozzolan updated the task description.

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Aklapper, CBogen, darthmon_wmde, Nandana, Lahi, Gq86, 
Ramsey-WMF, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Created] T246743: Inconsistent "claims" vs "statements" in wbgetentities API between Wikidata and Commons

2020-03-03 Thread valerio.bozzolan
valerio.bozzolan created this task.
valerio.bozzolan added projects: Wikidata, Structured Data Engineering.
Restricted Application added a subscriber: Aklapper.
Restricted Application added a project: Structured-Data-Backlog.

TASK DESCRIPTION
  Hello everyone!
  
  We know that that the `prop` parameter in the `wbgetentities` API in Wikidata 
accepts these values: [1]
  
  - aliases
  - **claims**
  - datatype
  - descriptions
  - ...
  
  In the other hand, the `wbgetentities` API in Wikimedia Commons has the same 
documentation but it does not support `claims`. [2]
  
  Briefly, in Wikidata the statements are considered "claims" and must be 
retrieved through `prop=claims`. Instead, in Wikimedia Commons the statements 
(about a file) must be retrieved using `prop=statements`. Moreover, 
`prop=claims` return nothing in Commons.
  
  [1]: https://www.wikidata.org/w/api.php?action=help=wbgetentities
  [2] https://commons.wikimedia.org/w/api.php?action=help=wbgetentities
  
  [3] 
https://www.wikidata.org/w/api.php?action=wbgetentities=statements=Q42
  [4] 
https://commons.wikimedia.org/w/api.php?action=wbgetentities=statements=208390
  
  I know that everything is in alpha, but I don't understand if this an 
undocumented inconsistency between these two Wikibase instances or if this is a 
bug. Are there some public thougths about this?
  
  Thank you for the clarifications!

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

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

To: valerio.bozzolan
Cc: valerio.bozzolan, Aklapper, CBogen, darthmon_wmde, Nandana, Lahi, Gq86, 
Ramsey-WMF, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, 
Scott_WUaS, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T203572: Allow wbeditentity API to both add and remove claims in a single API request

2018-09-05 Thread valerio.bozzolan
valerio.bozzolan added a comment.
As a note, you can also do:

{ "claims": {
 "P123": [
{ claim to be added },
{ claim to be added },
  ],
  "P234": [
{ claim to be added },
  ],
  "ASD-ASD-ASD": [
{ id: "ID claim to be removed", remove: 1 },
{ id: "ID claim to be removed", remove: 1 },
  ],
} }TASK DETAILhttps://phabricator.wikimedia.org/T203572EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Wikidata-bugs___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Closed] T203572: Allow wbeditentity API to both add and remove claims in a single API request

2018-09-05 Thread valerio.bozzolan
valerio.bozzolan claimed this task.valerio.bozzolan closed this task as "Resolved".valerio.bozzolan added a comment.
Actually it's yet supported as undocumented feature.

Solved.TASK DETAILhttps://phabricator.wikimedia.org/T203572EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Wikidata-bugs___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T203572: Allow wbeditentity API to both add and remove claims in a single API request

2018-09-05 Thread valerio.bozzolan
valerio.bozzolan updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...```

But note that actually this second format gives an `invalid-claim` error.TASK DETAILhttps://phabricator.wikimedia.org/T203572EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Wikidata-bugs___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T203572: Allow wbeditentity API to both add and remove claims in a single API request

2018-09-05 Thread valerio.bozzolan
valerio.bozzolan updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...  "delete":"remove": [...TASK DETAILhttps://phabricator.wikimedia.org/T203572EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Wikidata-bugs___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T203572: Allow wbeditentity API to both add and remove claims in a single API request

2018-09-05 Thread valerio.bozzolan
valerio.bozzolan updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...  "P234": [
{ claim to be added },
  ],
  "delete": [...TASK DETAILhttps://phabricator.wikimedia.org/T203572EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Wikidata-bugs___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T203572: Allow wbeditentity API to both add and remove claims in a single API request

2018-09-05 Thread valerio.bozzolan
valerio.bozzolan updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...```

But note that actually this second format gives an `invalid-claim` error.TASK DETAILhttps://phabricator.wikimedia.org/T203572EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Wikidata-bugs___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T203572: Allow wbeditentity API to both add and remove claims in a single API request

2018-09-05 Thread valerio.bozzolan
valerio.bozzolan updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...* The second `claims` contains directly an array of claims to be removed

== Proposal ==

My suggestion is to avoid these differences. For example, allowing this format:...TASK DETAILhttps://phabricator.wikimedia.org/T203572EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Wikidata-bugs___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Created] T203572: Allow wbeditentity API to both add and remove claims in a single API request

2018-09-05 Thread valerio.bozzolan
valerio.bozzolan created this task.valerio.bozzolan added a project: wikiba.se.Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTIONActually, the wbeditentity API can be used to create multiple claims in a single call. It can also be used to remove multiple claims in a single call. Sadly, it seems that can't be used to both create and delete some claims in a single API request.

Actual situation

If you want to add multiple claims this is the data argument:

{ "claims": {
  "P123": [
{ claim to be added },
{ claim to be added },
  ],
  "P234": [
{ claim to be added },
  ],
  // ecc.
} }

If you want to remove multiple claims this is the data argument:

{ "claims": [
  { id: "ID claim to be removed", remove: 1 },
  { id: "ID claim to be removed", remove: 1 },
 // ecc.
] }

As you see, there is an inconsistence:


The first claims contains an object indexed by properties that contains an array of claims
The second claims contains directly an array of claims to be removed


My suggestion is to avoid these differences. For example, allowing this format:

{ "claims": {
 "P123": [
{ claim to be added },
{ claim to be added },
  ],
  "delete": [
{ id: "ID claim to be removed", remove: 1 },
{ id: "ID claim to be removed", remove: 1 },
  ],
} }TASK DETAILhttps://phabricator.wikimedia.org/T203572EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Wikidata-bugs___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T57755: allow time values more precise than day

2018-08-22 Thread valerio.bozzolan
valerio.bozzolan added a comment.
Correct me if I'm wrong, but as far I can see the unique "big" logical problem here is that actually we have not a clear idea about a timezone input. Designed that timezone input picker, all the problems are gone. Isn't it?TASK DETAILhttps://phabricator.wikimedia.org/T57755EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Sabas88, Sannita, Paucabot, MisterSynergy, Lea_Lacroix_WMDE, Realworldobject, Marsupium, robbi5, Andrei_Stroe, Jklamo, sladen, Liuxinyu970226, Esc3300, Edgars2007, ChristianKl, Saehrimnir, Jc3s5h, Mike_Peel, Thryduulf, Jobu0101, Laddo, Aklapper, MGChecker, Yair_rand, Apsdehal, Wikidata-bugs, Ricordisamoa, Lydia_Pintscher, Ltrlg, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T185437: wgWikibaseItemId should be available on the edit page

2018-08-03 Thread valerio.bozzolan
valerio.bozzolan added a comment.
I've found where this variable is defined:

Wikbase repository / client/ClientHooks.php:

/**
 * Add the connected item prefixed id as a JS config variable, for gadgets etc.
 *
 * @param OutputPage $out
 * @param Skin $skin
 */
public static function onBeforePageDisplayAddJsConfig( OutputPage $out, Skin $skin ) {
$prefixedId = $out->getProperty( 'wikibase_item' );

if ( $prefixedId !== null ) {
$out->addJsConfigVars( 'wgWikibaseItemId', $prefixedId );
}
}

That method is attached to the BeforePageDisplay hook, as far I can see:

Wikibase repository / client/WikibaseClient.php:

$wgHooks['BeforePageDisplay'][] = '\Wikibase\ClientHooks::onBeforePageDisplayAddJsConfig';

So I think that the problem is that it should be hooked also to one other hook listed here: Manual:Hooks.

The most notable hook I think it's AlternateEdit:

This hook gets called at the beginning of ="" before any user permissions are checked or any edit checking is performed.TASK DETAILhttps://phabricator.wikimedia.org/T185437EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, putnik, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T185437: wgWikibaseItemId should be available on the edit page

2018-08-03 Thread valerio.bozzolan
valerio.bozzolan added a project: MediaWiki-extensions-WikibaseRepository.
TASK DETAILhttps://phabricator.wikimedia.org/T185437EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, putnik, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T185437: wgWikibaseItemId should be available on the edit page

2018-08-02 Thread valerio.bozzolan
valerio.bozzolan added a comment.
Hoping to give additional visibility to this problem, I've documented this variable here:

https://www.mediawiki.org/wiki/Manual:Interface/_javascript_#Page-specific_(Wikibase)TASK DETAILhttps://phabricator.wikimedia.org/T185437EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, putnik, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T183939: The wbeditentity API seems to overwrite labels/descriptions even with the "add" parameter (that should preserve them)

2018-07-01 Thread valerio.bozzolan
valerio.bozzolan added a comment.
It happened again. I can confirm that the add parameter (for labels and descriptions) is ignored when other claims are created.TASK DETAILhttps://phabricator.wikimedia.org/T183939EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: Liuxinyu970226, valerio.bozzolan, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T185165: Incomplete error message in Wikibase api wbeditentity when omitting title or site parameters

2018-04-13 Thread valerio.bozzolan
valerio.bozzolan added a comment.
Thanks @hoo!.TASK DETAILhttps://phabricator.wikimedia.org/T185165EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hoo, valerio.bozzolanCc: gerritbot, Aklapper, valerio.bozzolan, Lahi, Gq86, GoranSMilovanovic, lisong, QZanden, LawExplorer, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Created] T185165: Incomplete error message in Wikibase api wbeditentity when omitting title or site parameters

2018-01-17 Thread valerio.bozzolan
valerio.bozzolan created this task.valerio.bozzolan added a project: MediaWiki-extensions-WikibaseRepository.Herald added a subscriber: Aklapper.Herald added a project: Wikidata.
TASK DESCRIPTIONKnowing that this is the correct way to call the wbeditentity API:

action: 'wbeditentity'
site:   'enwiki'
title:  'asd'
data:   { some data }

I've discovered that if you do a wrong API request, e.g. omitting the site or the title parameters, the wbeditentity throws this wrong error message:

The required parameter "$1" was missing.

The correct behaviour should be one of the followings:

The required parameter "site" was missing.
The required parameter "title" was missing.

If it can help, probably the error is defined here as wikibase-api-param-missing and used in the source code as param-missing.TASK DETAILhttps://phabricator.wikimedia.org/T185165EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: Aklapper, valerio.bozzolan, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T183939: The wbeditentity API seems to overwrite labels/descriptions even with the "add" parameter (that should preserve them)

2018-01-02 Thread valerio.bozzolan
valerio.bozzolan updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...* https://www.wikidata.org/w/index.php?title=Q3314490=cur614852618=614852618599844571

You can note that labels were overwrited. But this was the data (note the `add` parameters) related of that save:...TASK DETAILhttps://phabricator.wikimedia.org/T183939EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T183939: The wbeditentity API seems to overwrite labels/descriptions even with the "add" parameter (that should preserve them)

2018-01-02 Thread valerio.bozzolan
valerio.bozzolan updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...== Bug ==
When doing both the actions in the same request (creating claims and adding unexisting labels/descriptions), it seems to ignore the `add` parameter, and labels/descriptions are overwrited.

As an example, look at this diff:

* https://www.wikidata.org/w/index.php?title=Q3314490=cur=614852618

You can note that labels/descriptions were overwrited. But this was the data (note the `add` parameters):

This data reproduces the problem:

```
{
"labels": [
{
"language": "en",
"value": "Milos Culafic",
"add": "1"
},
{
"language": "it",
"value": "Milos Culafic",
"add": "1"
}
],
"descriptions": [
{
"language": "en",
"value": "Montenegrin volleyball player",
"add": "1"
},
{
"language": "it",
"value": "pallavolista montenegrino",
"add": "1"
}
],
"claims": {
"P18": [
{
"type": "statement",
"rank": "normal",
"references": [
{
"snaks": {
"P248": [
{
"snaktype": "value",
"property": "P248",
"datatype": "wikibase-item",
"datavalue": {
"type": "wikibase-entityid",
"value": {
"entity-type": "item",
"numeric-id": 16571730,
"id": "Q16571730"
}
}
}
]
}
}
],
"mainsnak": {
"snaktype": "value",
"property": "P18",
"datatype": "commonsMedia",
"datavalue": {
"type": "string",
"value": "Milos Culafic (Legavolley 2017).jpg"
}
}
}
],
"P373": [
{
"type": "statement",
"rank": "normal",
"references": [
{
"snaks": {
"P248": [
{
"snaktype": "value",
"property": "P248",
"datatype": "wikibase-item",
"datavalue": {
"type": "wikibase-entityid",
"value": {
"entity-type": "item",
"numeric-id": 16571730,
"id": "Q16571730"
}
}
}
]
}
}
],
"mainsnak": {
"snaktype": "value",
"property": "P373",
"datatype": "string",
"datavalue": {
"type": "string",
"value": "Milos Culafic"
}
}
}
]
}
}
```

As workaround, when creating claims, I have to don't rely on the `add` parameter on labels/descriptions and do some client-side decisions for them, like comparin

[Wikidata-bugs] [Maniphest] [Edited] T183939: The wbeditentity API seems to overwrite labels/descriptions even with the "add" parameter (that should preserve them)

2018-01-02 Thread valerio.bozzolan
valerio.bozzolan updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...As workaround, when creating claims, I have to don't rely on the `add` parameter on labels/descriptions and do some client-side decisions for them, like comparing the existing labels/descriptions values and skipping the existings. I can also split in multiple requests the creation of claims and the addition of labels/descriptions in order to use the `add` flag as expected.TASK DETAILhttps://phabricator.wikimedia.org/T183939EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T183939: The wbeditentity API seems to overwrite labels/descriptions even with the "add" parameter (that should preserve them)

2018-01-02 Thread valerio.bozzolan
valerio.bozzolan updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...As workaround I can don't rely on the `add` parameter and do some client-side decisions, when creating claims, comparingI have to don't rely on the existing`add` parameter on labels/descripttions and do some client-side decisions for them, like comparing the existing labels/descriptions values and skipping the existings. I can also split in multiple requests the labels/descriptions accreation of claims and the addition versus the claims acof labels/descriptions.TASK DETAILhttps://phabricator.wikimedia.org/T183939EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valerio.bozzolanCc: valerio.bozzolan, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Created] T183939: The wbeditentity API seems to overwrite labels/descriptions even with the "add" parameter (that should preserve them)

2018-01-02 Thread valerio.bozzolan
valerio.bozzolan created this task.valerio.bozzolan added a project: MediaWiki-extensions-WikibaseRepository.Herald added a subscriber: Aklapper.Herald added a project: Wikidata.
TASK DESCRIPTIONPrehamble

Knowing that the wbeditentity API module can be used to save a label/description, and that the add parameter can be used to don't overwrite an existing label/description, in the following way:

{
"labels": [
{
"language": "en",
"value": "English label that will be added without overwriting. It works!",
"add": "1"
}
]
}

...and knowing that the same API module can be used also to create claims, in the following way:

{
"claims": {
'P123': [ some statements on this property ]
}
}



Bug

When doing both the actions in the same request (creating claims and adding unexisting labels/descriptions), it seems to ignore the add parameter, and labels/descriptions are overwrited.

As an example, look at this diff:


https://www.wikidata.org/w/index.php?title=Q3314490=cur=614852618


You can note that labels/descriptions were overwrited. But this was the data (note the add parameters):

This data reproduces the problem:

{
"labels": [
{
"language": "en",
"value": "Milos Culafic",
"add": "1"
},
{
"language": "it",
"value": "Milos Culafic",
"add": "1"
}
],
"descriptions": [
{
"language": "en",
"value": "Montenegrin volleyball player",
"add": "1"
},
{
"language": "it",
"value": "pallavolista montenegrino",
"add": "1"
}
],
"claims": {
"P18": [
{
"type": "statement",
"rank": "normal",
"references": [
{
"snaks": {
"P248": [
{
"snaktype": "value",
"property": "P248",
"datatype": "wikibase-item",
"datavalue": {
"type": "wikibase-entityid",
"value": {
"entity-type": "item",
"numeric-id": 16571730,
"id": "Q16571730"
}
}
}
]
}
}
],
"mainsnak": {
"snaktype": "value",
"property": "P18",
"datatype": "commonsMedia",
"datavalue": {
"type": "string",
"value": "Milos Culafic (Legavolley 2017).jpg"
}
}
}
],
"P373": [
{
"type": "statement",
"rank": "normal",
"references": [
{
"snaks": {
"P248": [
{
"snaktype": "value",
"property": "P248",
"datatype": "wikibase-item",
"datavalue": {
"type": "wikibase-entityid",
"value": {
"entity-type": "item",
"numeric-id": 16571730,
"id": "Q16571730"
}
    }
   

[Wikidata-bugs] [Maniphest] [Commented On] T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink

2017-10-25 Thread valerio.bozzolan
valerio.bozzolan added a comment.
Oh yeah! I'm in. Thanks :)TASK DETAILhttps://phabricator.wikimedia.org/T173194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jarekt, valerio.bozzolanCc: valerio.bozzolan, Izno, daniel, Multichill, Aklapper, Ricordisamoa, JeanFred, Jarekt, ValterVB, Elitre, Jheald, Daniel_Mietchen, Nemo_bis, Aschroet, zhuyifei1999, Steinsplitter, Matanya, RP88, El_Grafo, Revent, Sjoerddebruin, Jane023, Susannaanas, Mike_Peel, Lydia_Pintscher, Micru, intracer, Poyekhali, Nizil, PokestarFan, hoo, Lahi, E1presidente, Ramsey-WMF, Jmmuguerza, SandraF_WMF, GoranSMilovanovic, QZanden, Acer, Vali.matei, Volker_E, Wong128hk, Wikidata-bugs, PKM, Base, matthiasmullie, aude, GWicke, Fabrice_Florin, Raymond, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink

2017-10-24 Thread valerio.bozzolan
valerio.bozzolan added a comment.
I still don't find consistence between the fix and mine old debugged sandbox patch, that I re-report:

-- ...
label= 'Normal: ' .. item
sitelink = 'Absurd: ' .. item
-- ...

Both these assignments reads from the same stack state but apparently both receive different values of item. The first receives Q321 and the second Q123  as reported in the cal in the output [[w:en:Absurd: Q123September|Normal: Q321]].

Ghosts.TASK DETAILhttps://phabricator.wikimedia.org/T173194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jarekt, valerio.bozzolanCc: valerio.bozzolan, Izno, daniel, Multichill, Aklapper, Ricordisamoa, JeanFred, Jarekt, ValterVB, Elitre, Jheald, Daniel_Mietchen, Nemo_bis, Aschroet, zhuyifei1999, Steinsplitter, Matanya, RP88, El_Grafo, Revent, Sjoerddebruin, Jane023, Susannaanas, Mike_Peel, Lydia_Pintscher, Micru, intracer, Poyekhali, Nizil, PokestarFan, hoo, E1presidente, Ramsey-WMF, Jmmuguerza, SandraF_WMF, GoranSMilovanovic, QZanden, Acer, Vali.matei, Volker_E, Wong128hk, Wikidata-bugs, PKM, Base, matthiasmullie, aude, GWicke, Fabrice_Florin, Raymond, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink

2017-10-24 Thread valerio.bozzolan
valerio.bozzolan added a comment.
That have sense, but...

Anyway I don't see how that could explain the fact that, in the second call, the debugged value of item is not the same in both the debugged fields.

I mean, that value can be erroneus, or correct, but not both correct and erroneous in the same line of code.TASK DETAILhttps://phabricator.wikimedia.org/T173194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jarekt, valerio.bozzolanCc: valerio.bozzolan, Izno, daniel, Multichill, Aklapper, Ricordisamoa, JeanFred, Jarekt, ValterVB, Elitre, Jheald, Daniel_Mietchen, Nemo_bis, Aschroet, zhuyifei1999, Steinsplitter, Matanya, RP88, El_Grafo, Revent, Sjoerddebruin, Jane023, Susannaanas, Mike_Peel, Lydia_Pintscher, Micru, intracer, Poyekhali, Nizil, PokestarFan, hoo, E1presidente, Ramsey-WMF, Jmmuguerza, SandraF_WMF, GoranSMilovanovic, QZanden, Acer, Vali.matei, Volker_E, Wong128hk, Wikidata-bugs, PKM, Base, matthiasmullie, aude, GWicke, Fabrice_Florin, Raymond, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink

2017-10-23 Thread valerio.bozzolan
valerio.bozzolan added a comment.
I'm confused. Very confused.

From this diff I've added these lines:

label = 'Normal: ' .. item
sitelink = 'Absurd: ' .. item

Yes, there are no other lines of code between these two lines.

Now:

=require('Module:Wikidata label/sandbox')._getLabel('Q123', 'en')
-- Output:
-- [[w:en:Absurd: Q123September|Normal: Q123]]

That's normal. But then:

=require('Module:Wikidata label/sandbox')._getLabel('Q321', 'en')
-- Output:
-- [[w:en:Absurd: Q123September|Normal: Q321]]

WTF I'm seeing?TASK DETAILhttps://phabricator.wikimedia.org/T173194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jarekt, valerio.bozzolanCc: valerio.bozzolan, Izno, daniel, Multichill, Aklapper, Ricordisamoa, JeanFred, Jarekt, ValterVB, Elitre, Jheald, Daniel_Mietchen, Nemo_bis, Aschroet, zhuyifei1999, Steinsplitter, Matanya, RP88, El_Grafo, Revent, Sjoerddebruin, Jane023, Susannaanas, Mike_Peel, Lydia_Pintscher, Micru, intracer, Poyekhali, Nizil, PokestarFan, hoo, E1presidente, Ramsey-WMF, Jmmuguerza, SandraF_WMF, GoranSMilovanovic, QZanden, Acer, Vali.matei, Volker_E, Wong128hk, Wikidata-bugs, PKM, Base, matthiasmullie, aude, GWicke, Fabrice_Florin, Raymond, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink

2017-10-22 Thread valerio.bozzolan
valerio.bozzolan added a comment.
As reported here, something is not working. Try this code in the Lua console:

= require('Module:Wikidata label')._getLabel('Q123', 'en')
= require('Module:Wikidata label')._getLabel('Q321', 'en')

You will obtain:

[[w:en:September|September]]
[[w:en:September|Milky Way]]

Instead of:

[[w:en:September|September]]
[[w:en:Milky Way|Milky Way]]

It seems a bug on a sort of static cache on the wililink.TASK DETAILhttps://phabricator.wikimedia.org/T173194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jarekt, valerio.bozzolanCc: valerio.bozzolan, Izno, daniel, Multichill, Aklapper, Ricordisamoa, JeanFred, Jarekt, ValterVB, Elitre, Jheald, Daniel_Mietchen, Nemo_bis, Aschroet, zhuyifei1999, Steinsplitter, Matanya, RP88, El_Grafo, Revent, Sjoerddebruin, Jane023, Susannaanas, Mike_Peel, Lydia_Pintscher, Micru, intracer, Poyekhali, Nizil, PokestarFan, hoo, E1presidente, Ramsey-WMF, Jmmuguerza, SandraF_WMF, GoranSMilovanovic, QZanden, Acer, Vali.matei, Volker_E, Wong128hk, Wikidata-bugs, PKM, Base, matthiasmullie, aude, GWicke, Fabrice_Florin, Raymond, Mbch331, Jay8g___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs