[08:08:49] Hmm, is wikidata-tech a closed list? When I try to subscribe at https://lists.wikimedia.org/mailman/listinfo/wikidata-tech I get "Forbidden: You don't have permission to access /mailman/subscribe/wikidata-tech on this server." [08:46:52] Hi [08:47:11] Is it possible to set a separate LIMIT parameter for different components of a UNION query [09:21:02] Nazral: http://tinyurl.com/yaud4jrc or http://tinyurl.com/y8rfzopu seem to work... but they both take nearly a minute to run (when not cached) so I'm not sure what's going on [09:33:01] Thanks [09:33:11] you do need to do subqueries then [10:26:30] I added a Wikibase RDF question to https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting#Next_meeting_on_Wednesday,_July_18th_2018_(Wikimania_Special) [10:27:56] I'm hoping to put together a "how to use Wikibase with a custom RDF ontology" but having trouble figuring out how to make the mappings work [10:52:07] Turns out the "subscribe to wikidata-tech == forbidden" is probably https://phabricator.wikimedia.org/T195750. I guess I shouldn't be surprised eduroam is blacklisted [13:47:01] Hi [13:47:19] I just want some help [13:48:09] Hi [13:48:24] Is there anyone here [13:48:43] !admin [13:48:43] Please visit https://www.wikidata.org/wiki/WD:AN [13:55:06] !admin [13:55:06] Please visit https://www.wikidata.org/wiki/WD:AN [13:55:11] Hi [13:55:13] P [13:55:14] M [13:55:15] M [13:55:15] M [13:55:15] M [13:55:16] M [13:55:16] M [13:55:16] M [13:55:29] M [13:55:30] M [13:55:30] M [13:55:30] M [13:55:31] M [13:55:31] M [13:55:31] M [13:55:32] M [13:55:32] M. [13:55:33] . [13:55:33] . [13:55:33] . [13:55:34] . [13:55:34] .d [13:55:45] S [13:55:45] S [13:55:46] ss [13:55:46] S [13:55:48] Hddty: stop now [13:55:50] I want to ask something [13:55:58] please ask [13:56:15] what is your question? [13:57:04] So an user do a mass addition into description [13:57:16] https://www.wikidata.org/w/index.php?title=Q15107581&diff=371957262&oldid=342426635 [13:57:37] That in Indonesian means "don't edit" [13:58:18] This of course against our spirit that anyone can edit [13:58:50] I'm sorry if that disturb, this is the first time I use IRC [13:59:26] sure [13:59:28] I don't know if that user use bot or whatever [14:00:17] this was done with quickstatements, so they did not a bot flag for that [14:01:41] How to remove all of that [14:02:09] Remove "(jangan diutak-atik)" [14:02:10] having a "don't edit" in these descriptions is unusual but I don't know the indonesian community - maybe there were issues due to the confusion between disambiguation items and content items [14:02:34] why don't you leave a message to the user who did it, first? [14:04:32] The user has not edit in long time [14:04:48] I already checked their global contribs [14:04:48] makes sense [14:05:34] maybe discussing that on wiki would be better? I'm sure adding descriptions to disambiguation pages must be coordinated somehow [14:07:32] The phrase "(jangan diutak-atik)" really discourage editor to editing [14:07:39] Especially new editor [14:08:12] well new editors really should not edit disambiguation items, I think [14:08:50] I mean the description is visible in mobile version [14:09:03] See https://id.m.wikipedia.org/wiki/Titik_(disambiguasi) [14:10:51] ah I see [14:11:31] I don't know why the description visible in mobile version [14:11:48] In English Wikipedia it not visible [14:12:35] yeah, that's a problem indeed - so definitely worth mentioning on Project Chat [14:13:36] So you don't know how to fix this? [14:14:12] well either remove the Wikidata descriptions from idwiki, or remove the "don't edit" from the descriptions [14:14:26] I think in any case it is important to discuss the issue first [14:15:14] as you can see there are only few active editors on IRC, so it is important that you discuss the issue in Wikidata itself [14:15:39] Ok then [17:55:16] Is there an API for deleting wikibase items? [17:55:52] I'm really impressed by the API and the documentation, and am starting to worry that undocumented things which I suspect should exists are undocumented because they actually don't exist. [17:56:12] benwbrum: https://www.wikidata.org/w/api.php?action=help&modules=delete ? [17:56:47] Would that work for items (i.e. Q2342352) as well? [17:56:53] (And thanks!) [17:57:38] yes I expect it should work [17:58:01] I'll try it and let you know. [17:58:02] (no idea what happens when the item is linked from others, though) [18:01:56] I'm also curious if it's possible to add a claim to an item that contains a URL. There are good examples for adding dates, strings, and items, but I'm not sure how to organize the SNAK values for a URL [18:03:26] you mean for properties like https://www.wikidata.org/wiki/Property:P973, with a URL datatype? [18:03:55] just do the same thing as for a "string" datatype [18:05:54] it's possible to delete items which are still in use, we have a report at https://www.wikidata.org/wiki/Wikidata:Database_reports/Deleted_Wikidata_entities_that_are_still_linked [18:06:08] you can see how it appears on the items there [18:06:51] er, by following the links in the count column and looking at the items linking to it [18:07:58] So just pretend it's a string? I'll give that a shot right now. [18:09:18] Hm. I'm getting wikibase-api-invalid-snak, so there must be more to it than that. [18:09:55] I'd think I'd need to pass in an entity-type there, like you do with "item" and "time". [18:11:43] I'm not sure what you have right now, but looking at the json for a url statement, the datatype is "url", datavalue type is still "string" [18:15:20] the api documentation could really do with more examples... [18:15:45] I'm going to add mine, where I find gaps. [18:16:19] datatype and datavalue are both JSON elements I see when I query an item in the API. [18:18:22] However, they are not (or don't seem to be) elements passed in to the wbcreateclaim API, which accepts elements like "value" with "entity-type" subelements. [18:23:21] hi, how can I exclude items that are a certain _instance of_? [18:37:21] benwbrum: it seems that urls do work like strings and in both cases you need quotes around the text [18:39:28] frickel: in sparql? minus { ?item wdt:P31 wd:Q12345 } is one way [18:42:50] who said I should use MINUS? [18:45:28] me [19:10:15] nikki: thank you! 😀 [19:25:49] Thanks very much for your help, nikki -- this got me poking around enough to discover a problem in my own code. [19:26:40] managed to get it working then? [19:30:04] Yes, and I've just clarified the docs to mention that URL claims use the same parameters as string claims. [19:32:00] If I get item deletion working, would it make sense to add that as documentation to the https://www.mediawiki.org/wiki/Wikibase/API docs in addition to the current description at https://www.wikidata.org/w/api.php?action=help&modules=delete ? That's certainly where I was looking for it. [19:45:31] good :) [19:46:00] no idea about the docs, I'm not one of the devs [21:24:35] Hi. If a resolve an interwiki conflict it should be moved to the other list? [21:28:45] *If I [22:40:14] Is there any way to find out all valid site name parameters (such as one passes to wbgetentities) for a wikibase installation? [22:43:02] Found it: action=query&meta=siteinfo