[Wikidata-bugs] [Maniphest] [Created] T178786: Empty map results give an error

2017-10-22 Thread Yurik
Yurik created this task.Yurik added a project: Wikidata-Query-Service.Herald added a subscriber: Aklapper.Herald added projects: Wikidata, Discovery.
TASK DESCRIPTIONBoth of these queries show unhelpful errors instead of a helpful warning message like "no data was found".  Also, looking at the code, there seems to be no way for the visualizer to show a custom error message in the error band above visualizer.

Returns a single empty object

#defaultView:Map
SELECT ?place ?placeLabel ?location
WHERE {}

{
  "head" : {"vars" : [ "place", "placeLabel", "location" ]  },
  "results" : {"bindings" : [ { } ]  }
}



Returns empty response

#defaultView:Map
SELECT ?place ?placeLabel ?location
WHERE { wd:Q0 wdt:P0 ?location  . }

{
  "head" : {"vars" : [ "place", "placeLabel", "location" ]  },
  "results" : {"bindings" : [ ]  }
}TASK DETAILhttps://phabricator.wikimedia.org/T178786EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: YurikCc: Aklapper, Yurik, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Jonas, FloNight, Xmlizer, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T178624: enwiki dispatch lag is 8 hours

2017-10-22 Thread aude
aude added a comment.
@hoo ok :/

adjusting sleep time helped when I ran the extra dispatcher and I think shorter dispatch-interval also helped someTASK DETAILhttps://phabricator.wikimedia.org/T178624EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, audeCc: hoo, aude, Addshore, Ladsgroup, Aklapper, Lydia_Pintscher, GoranSMilovanovic, QZanden, Wikidata-bugs, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Block] T89594: Use the arbitrary access to Wikidata feature on Commons (tracking)

2017-10-22 Thread Lydia_Pintscher
Lydia_Pintscher reopened subtask T173194: Module:Wikidata label should use mw.wikibase.label and mw.wikibase.sitelink as "Open".
TASK DETAILhttps://phabricator.wikimedia.org/T89594EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Lydia_PintscherCc: PokestarFan, Nizil, Poyekhali, intracer, Micru, Lydia_Pintscher, Mike_Peel, Susannaanas, Jane023, Sjoerddebruin, Revent, El_Grafo, RP88, Matanya, Steinsplitter, zhuyifei1999, Aschroet, Liuxinyu970226, Nemo_bis, Daniel_Mietchen, Jheald, Elitre, ValterVB, Jarekt, JeanFred, Ricordisamoa, Aklapper, Multichill, E1presidente, Ramsey-WMF, Jmmuguerza, SandraF_WMF, GoranSMilovanovic, QZanden, Acer, Wong128hk, Wikidata-bugs, PKM, Base, matthiasmullie, aude, Fabrice_Florin, Raymond, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


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

2017-10-22 Thread Lydia_Pintscher
Lydia_Pintscher reopened this task as "Open".
TASK DETAILhttps://phabricator.wikimedia.org/T173194EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Jarekt, Lydia_PintscherCc: 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


Re: [Wikidata] claim change ignored

2017-10-22 Thread Marco Neumann
thanks Maarten, there still seems to be a mix up with the data though, e.g.
image information

On Sun, 22 Oct 2017 at 18:49, Maarten Dammers  wrote:

> Hi Marco,
>
> Op 21-10-2017 om 14:48 schreef Marco Neumann:
> > in any event it's a false claim in this example and I will remove the
> > claim now. 2-2=0 ;)
> I undid your edit. You seem to be mixing up father (
> https://www.wikidata.org/wiki/Q2650401 ) and child (
> https://www.wikidata.org/wiki/Q15434505). Description also updated to
> make the difference clearer.
>
> Maarten
>
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
-- 


---
Marco Neumann
KONA
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] claim change ignored

2017-10-22 Thread Maarten Dammers

Hi Marco,

Op 21-10-2017 om 14:48 schreef Marco Neumann:

in any event it's a false claim in this example and I will remove the
claim now. 2-2=0 ;)
I undid your edit. You seem to be mixing up father ( 
https://www.wikidata.org/wiki/Q2650401 ) and child ( 
https://www.wikidata.org/wiki/Q15434505). Description also updated to 
make the difference clearer.


Maarten

___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


[Wikidata-bugs] [Maniphest] [Commented On] T173195: Implement federated Wikibase in Pywikibot

2017-10-22 Thread Multichill
Multichill added a comment.
Why is this moved to upstream? Nothing needs to be done there, we just need to implement it.TASK DETAILhttps://phabricator.wikimedia.org/T173195EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MultichillCc: Ladsgroup, daniel, WMDE-leszek, zhuyifei1999, Lydia_Pintscher, SandraF_WMF, Aklapper, Lokal_Profil, PokestarFan, pywikibot-bugs-list, Multichill, E1presidente, Ramsey-WMF, Jmmuguerza, GoranSMilovanovic, Magul, QZanden, Tbscho, MayS, Acer, Mdupont, JJMC89, Avicennasis, Susannaanas, Wikidata-bugs, PKM, Base, matthiasmullie, aude, jayvdb, Ricordisamoa, Dalba, Fabrice_Florin, Raymond, Masti, Alchimista, Steinsplitter, Mbch331, Rxy___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T178757: Add diff support for Lexeme

2017-10-22 Thread gerritbot
gerritbot added a comment.
Change 385838 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/extensions/WikibaseLexeme@master] [WIP] Add LexemeDiffVisualizer

https://gerrit.wikimedia.org/r/385838TASK DETAILhttps://phabricator.wikimedia.org/T178757EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ladsgroup, gerritbotCc: gerritbot, Aklapper, Ladsgroup, Lordiis, Cinemantique, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T177486: Wikidata entity dumpers need to cope with the immense Wikidata growth recently

2017-10-22 Thread hoo
hoo added a comment.

In T177486#3700420, @thiemowmde wrote:
Note that the changes to the #wikibase-datamodel are not released yet. I think we can't easily backport the changes to the 7.x branch because other changes are made to the same classes, but maybe we should try to do that just to get an early release. @hoo?


I can try to do that on Monday… both changes should actually backport quite well.

Please keep in mind that the only changes we yet deployed are the increase in the number of shards and the batch-size changes (which might not actually have much of an effect :/).TASK DETAILhttps://phabricator.wikimedia.org/T177486EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: gerritbot, thiemowmde, Aklapper, ezachte, daniel, Lydia_Pintscher, mark, ArielGlenn, bd808, Liuxinyu970226, aude, JanZerebecki, Jimkont, Denis.bykov, Ricordisamoa, PokestarFan, hoo, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Wikidata-bugs, Svick, Mbch331, jeremyb___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T173144: Tracking implicit (extensions) usages of Wikidata

2017-10-22 Thread hoo
hoo added a comment.
I've just added three possible implementations for this above.

Currently I favor the second approach (allow extensions to register new usages via a hook which will be saved into wbc_entity_usage). This is (mostly) in line with the current infrastructure and should be the most flexible way to handle this.TASK DETAILhttps://phabricator.wikimedia.org/T173144EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: matej_suchanek, hoo, PokestarFan, Halfak, Aklapper, RP88, eranroz, Doc_James, GoranSMilovanovic, QZanden, Winter, 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] T178757: Add diff support for Lexeme

2017-10-22 Thread gerritbot
gerritbot added a comment.
Change 385837 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[mediawiki/extensions/Wikibase@master] Make DiffView extendible

https://gerrit.wikimedia.org/r/385837TASK DETAILhttps://phabricator.wikimedia.org/T178757EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ladsgroup, gerritbotCc: gerritbot, Aklapper, Ladsgroup, Cinemantique, GoranSMilovanovic, QZanden, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T178757: Add diff support for Lexeme

2017-10-22 Thread gerritbot
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T178757EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Ladsgroup, gerritbotCc: gerritbot, Aklapper, Ladsgroup, Lordiis, Cinemantique, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, Lewizho99, Maathavan, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Created] T178757: Add diff support for Lexeme

2017-10-22 Thread Ladsgroup
Ladsgroup created this task.Ladsgroup added projects: Wikidata-Sprint, Wikidata, Lexicographical data.Herald added a subscriber: Aklapper.Herald added a project: User-Ladsgroup.
TASK DESCRIPTIONTASK DETAILhttps://phabricator.wikimedia.org/T178757WORKBOARDhttps://phabricator.wikimedia.org/project/board/2351/EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LadsgroupCc: Aklapper, Ladsgroup, Cinemantique, GoranSMilovanovic, QZanden, Wikidata-bugs, aude, Darkdadaah, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Edited] T173144: Tracking implicit (extensions) usages of Wikidata

2017-10-22 Thread hoo
hoo updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...Currently we use the whole entity to track changes, but once we make it less coarse we should make should we still track the description.

This could be done in a few ways:
* Provide extensions a hook to register additional usages which are applied to all pages (of a namespace). These would be taken into account in `AffectedPagesFinder`, but not not saved into `wbc_entity_usage`.
* Provide extensions a hook to register additional usages for specific pages. These would be saved in the `wbc_entity_usage` table and handled like regular usages.
* Provide some kind of API for this which registers usages as needed (similar to what is done in Lua). This might not be doable without rather nasty hacks.TASK DETAILhttps://phabricator.wikimedia.org/T173144EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hooCc: matej_suchanek, hoo, PokestarFan, Halfak, Aklapper, RP88, eranroz, Doc_James, GoranSMilovanovic, QZanden, Winter, 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] T178624: enwiki dispatch lag is 8 hours

2017-10-22 Thread hoo
hoo added a comment.

In T178624#3701640, @aude wrote:
also, I think --lock-grace-interval could be set to a smaller value and possibly also --dispatch-interval


Sadly --lock-grace-interval doesn't work with the LockManagerlogging backend. See also T178652: Wikidata dispatchers should use a LockManager with a short TTL.TASK DETAILhttps://phabricator.wikimedia.org/T178624EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Addshore, hooCc: hoo, aude, Addshore, Ladsgroup, Aklapper, Lydia_Pintscher, GoranSMilovanovic, QZanden, Wikidata-bugs, Mbch331___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Updated] T173710: Job queue is increasing non-stop

2017-10-22 Thread Ladsgroup
Ladsgroup added a comment.
I think one of the reasons contributing to the problem is the same problem we had with T171027: "Read timeout is reached" DBQueryError when trying to load specific users' watchlists (with +1000 articles) on several wikis, we stopped emitting injectRCRecord jobs but we are still emit refreshlinks jobs to commonswiki, People are trying to make the whole thing more efficient but I guess it takes some time, we can spin up more job runners but that's not my call to make.TASK DETAILhttps://phabricator.wikimedia.org/T173710EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LadsgroupCc: elukey, debt, mxn, Daimona, YOUR1, Tbayer, mobrovac, Nikerabbit, Mholloway, Legoktm, ema, Joe, GWicke, Nemo_bis, Andreasmperu, BBlack, Peachey88, Liuxinyu970226, daniel, Stashbot, Agabi10, Daniel_Mietchen, XXN, Pasleim, Bugreporter, Sjoerddebruin, Magnus, Mr.Ibrahem, gerritbot, EBernhardson, Esc3300, jcrespo, WMDE-leszek, Jdforrester-WMF, Krinkle, aaron, fgiunchedi, Aklapper, Ladsgroup, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Hfbn0, Ramalepe, Liugev6, QZanden, EBjune, Vali.matei, Avner, Lewizho99, Zppix, Maathavan, Gehel, FloNight, Eevans, Hardikj, Wikidata-bugs, aude, jayvdb, faidon, Mbch331, Jay8g, jeremyb___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs