[05:42:06] PROBLEM - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is CRITICAL: HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 1972 bytes in 0.093 second response time [06:12:36] RECOVERY - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is OK: HTTP OK: HTTP/1.1 200 OK - 1948 bytes in 0.066 second response time [06:29:54] PROBLEM - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is CRITICAL: HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 1972 bytes in 0.068 second response time [07:50:26] RECOVERY - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is OK: HTTP OK: HTTP/1.1 200 OK - 1956 bytes in 0.092 second response time [08:07:47] PROBLEM - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is CRITICAL: HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 1967 bytes in 0.082 second response time [08:12:47] RECOVERY - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is OK: HTTP OK: HTTP/1.1 200 OK - 1948 bytes in 0.078 second response time [08:17:01] leszek_wmde: seems Legoktm has fixed the composer/autoloading issue WikibaseLexeme encountered ( https://phabricator.wikimedia.org/T195823 ) [08:17:19] hashar: yes! He's the man! [08:17:48] hashar: we need to do some minor fixups, but other than that Jenkins should be green again soon [08:18:12] hashar: thanks for helping yesterday! I will close the ticket as soon we're green (an hour or so) [08:18:12] though now PropertySuggester is failling for me (dummy change https://gerrit.wikimedia.org/r/#/c/376692/ Autoloader test failling: https://integration.wikimedia.org/ci/job/mwext-testextension-hhvm-composer-jessie/14122/console ) [08:18:36] hashar: yup, that's the bit we need to adjust in some wikibase extensions [08:18:48] renaming classes etc [08:20:01] is that because the filename does not match the class name? [08:20:29] hashar: yes. this. or sometimes namespace and the directory don't match [09:34:41] leszek_wmde: unrelated to PSR4, any reason you are using vue.js when mediawiki is using oojs oojsui? I wondering whether other frontend developers are aware of vue.js being added :] [09:43:16] hashar: decision to use vue.js was not really like "we don't want to use oojs". Wikibase has its own jquery ui-based frontend 'framework" [09:43:28] hashar: which is difficult to extend, so call it nicely [09:43:42] so we've decided to go with some modern framework [09:44:11] whether, or maybe rather, how to adopt oojs with it, is another question, and we still need to tackle it [09:44:51] re whether any other frontend devs at wmf etc are aware of what we're doing: we've been in touch with many of them since last year, yes! [09:47:38] leszek_wmde: ahh good. At least folks are in touch :] I just dont want to have other developers groups to suddenly jump and start saying that vue.js is not the mediawiki way :]]] [09:48:43] I will read the frontend meeting that mentions vue/wmde experiment ( https://www.mediawiki.org/wiki/Front-end_standards_group/2017-06-28 ) [09:48:47] leszek_wmde: Danke! [14:12:42] !ops [14:12:50] Hmm? [14:12:58] hi hi [14:12:59] O_o [14:13:27] ... [14:13:28] Is it about Alex still being opped? [14:13:37] I just wanted to ask channel ops to add `Use !admin to get the attention of an admin (block, delete, protect)` [14:13:38] no [14:13:44] () is the addition [14:14:08] all the people use (!)admin for their business irrelevant to admin business [14:14:25] thanks :D [14:14:29] less pings, hopefully [14:14:42] :| [14:26:57] PROBLEM - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is CRITICAL: HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 1968 bytes in 0.072 second response time [14:30:46] Technical Advice IRC meeting starting in 30 minutes in channel #wikimedia-tech, hosts: @chiborg & @leszek_wmde - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [14:36:58] RECOVERY - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is OK: HTTP OK: HTTP/1.1 200 OK - 1966 bytes in 0.075 second response time [16:06:30] Sad to see that some editors don't understand the abilities of Wikidata https://www.wikidata.org/w/index.php?title=Q671985&action=history [16:13:52] :( [16:14:29] there were no references for the statements anyway [16:20:27] and it doesn't really surprise me when the ui doesn't make any distinction between ranks [16:20:31] Help me [16:20:46] !admin I need help [16:20:46] Attention requested  HakanIST sjoerddebruin revi [16:20:59] what help do you need [16:21:05] (I'm not counting a small triangle being grey instead of a small oval, it's hard to see and even harder to know what it means) [16:21:16] Where is the page Q6 [16:21:21] not an admin help [16:21:27] Q5 is human [16:21:55] admin help is for "(block, delete, protect)", or task only performed by [[WD:A]] [16:21:56] 10[1] 1010https://www.wikidata.org/wiki/Wikidata:Administrators - Redirección desde 10https://www.wikidata.org/wiki/WD:A?redirect=no [16:22:18] But then how can I get help [16:22:22] just ask [16:22:24] which you did [16:22:25] Finding page Q6 [16:22:33] so someone who knows will give you an answer. [16:22:53] Thank you. Who do inask [16:22:56] I ask [16:23:39] Wikidata: change the URL in your browser. or type Q6 into the search box [16:23:59] It leads me to 404 pahe [16:24:02] Page [16:24:27] https://www.wikidata.org/wiki/Q6 [16:24:32] so, Q6 does not exist [16:24:34] that happens [16:25:00] some IDs get "burned" [16:25:25] What was it [16:25:37] it never existed [16:25:42] Nothing was created under the name of Q6 [16:25:43] Oh [16:25:47] i don't mean it got deleted [16:26:00] It's like it never existed at the first time [16:26:06] when an ID gets burned, it is never possible to create an item with that ID. the reasons are technical. [16:26:23] basically, the ID is reserved for a new item, but something goes wrong during creation. then that ID is lost. burned. [16:26:41] Oh [16:27:02] it's a not-so-nice side effect of how we manage the ID conter internally. [16:27:07] *counter [16:27:33] Is there a page for every burned ID if so post it's link [16:27:43] no, there is not [16:27:51] BTW question from loooooong ago era: we used to delete items under the name of "merged", did we undelete them? [16:27:53] what would that be useful for? [16:28:09] revi: addshore fixed a bunch of them, but couldn't do them all [16:28:20] good to hear (at least some of them were undeleted) [16:28:21] revi: afaik many were undeleted by bot. probably not all. [16:28:31] I want to know every burned id [16:28:49] why? [16:28:50] you need to find them manually [16:29:07] Oh [16:29:19] there's no automated way to find it, nobody is interested in finding some skipped number in 50 million numbers [16:29:20] (joking) [16:29:26] that's like wanting to know every phone number that was never assigned. [16:29:29] (except you, I guess) [16:29:40] Did SkyBahamas used to be Q7 [16:29:58] I'm not aware of any tool doing that. I guess you can write a script that checks all the 48 million items [16:30:11] Wikidata: it still is Q7 [16:30:21] orr, no, sorry [16:30:29] it has the *alias* Q7. not the ID. [16:30:42] Oh [16:30:42] "IATA airline designator": "Q7" [16:30:48] Q7 seems to ne another of the burned IDs [16:30:48] Wikidata: Q7 is "IATA airline code" of them [16:31:09] Q7 was also bruned [16:31:20] Q8 happily exists [16:31:22] Oh [16:31:41] Is there any specific order of the IDs [16:31:42] I see what you did there, DanielK_WMDE :P [16:31:52] Wikidata: order of creation. it's just a counter [16:31:56] the ids mean nothing [16:32:01] Like most important to least important [16:32:08] Last item's Q no +1 = new item's QID [16:32:15] Hahaha [16:32:26] Oh [16:32:28] Wikidata: well, "obvious" things tend to get created first. so in a way, you could assume that lower numbers are "more important". [16:32:29] Wikidata: you may be interested by this page https://www.wikidata.org/wiki/Wikidata:Humour [16:32:46] but it's really just a counter. [16:33:24] Wikidata: in the early days, people wrote boths that would import e.g. all countries from wikipedia. so all countries have pretty low IDs. [16:33:42] russia is Q159 [16:34:00] Omg Q404 [16:35:13] I love Q12345 [16:35:32] Haha [16:35:38] Count [16:36:49] Thank you [16:38:17] Canada is the lowest ID [16:39:29] Guys [16:39:49] * DanielK_WMDE just decided that it's ok to reveal the meaning of Q23 after 5 years, and is disappointed that nobody got it for that long. [16:40:24] What is it [16:40:54] George Washington [16:41:18] yea, but why ;) [16:41:27] Oh I just read it [16:41:41] i just put that there [16:41:45] https://www.wikidata.org/w/index.php?title=Wikidata%3AHumour&type=revision&diff=687462109&oldid=686276509 [16:42:17] I saw [16:42:29] Also I made a mistake in the englis h Wikipedia [16:43:11] Want to know [16:43:41] What i did [16:44:31] hah, L2 [16:45:25] I can't view the Ls [16:45:53] L8 is spelled "l8" in en-x-Q1337 [16:45:58] isn't that lovely? [16:46:19] Wikidata: https://www.wikidata.org/wiki/Lexeme:L8 [16:46:23] Wikidata: you need the namespace prefix [16:46:36] How do you do it [16:47:05] Oh I figured it out [16:47:15] * reosarevok wonders if 1st is a form of first or a separate lexeme [16:47:26] I made a wikidata page [16:47:39] reosarevok: i'd argue that it's actually a spelling, not a form [16:47:50] Do we have a way to store those? [16:47:57] reosarevok: "1st" is a *form* of the numeral "1" [16:48:18] reosarevok: spellings? sure. click edit next to the lemma. [16:48:31] But it's not a spelling of the lemma, right? [16:48:38] It's a spelling of L2-F3 [16:48:43] same thing [16:48:49] click edit there [16:49:03] Uuuuh [16:49:04] Nice [16:49:27] reosarevok: we need that for "colors" vs "colours", etc [16:49:46] I just thought those would be different forms with the same grammatical properties [16:49:47] The mistake of Wikipedia J made [16:49:58] But I guess this works too [16:50:03] reosarevok: that would be annoying [16:50:06] The mistake of Wikipedia J made is a vandalized it [16:50:17] But I was trying to be humorous [16:50:26] reosarevok: i fought hard for this when we speced out the data model :) [16:50:37] DanielK_WMDE: Hmm, where would you set the limit? [16:50:37] Wikidata is way more humour [16:50:51] reosarevok: limit of what? [16:50:57] Different spelling, same form. Different derivations for the same grammatical properties? [16:51:08] Daniel, Reso [16:51:28] (Estonian has a short and long version of some inflected forms, IMO those are separate forms, but) [16:51:42] Please listen [16:52:14] reosarevok: i'd just be pragmatic. best practice will have to be established for each language. [16:52:24] I vandalized Wikipedia because I thought it would be humorous but it wasn't. This place is way more humorous [16:52:43] Hope that doesn't mean you want to vandalize it more, Wikidata ;p [16:52:49] DanielK_WMDE: sounds good to me [16:52:53] Definitely not [16:52:57] reosarevok: e.g. some words (mostly occupations) in german have a separate female form. but those could also be separate lexemes. i'm not sure which modeling is better. [16:53:07] But I got banned from Wikipedia [16:53:12] I wanted unbanned [16:53:26] give it a while [16:53:38] MEe [16:53:40] Me [16:54:01] * DanielK_WMDE goes back to work [16:54:19] Daniel [16:54:27] I want unbanned from Wikipedia [16:54:55] I'm not a Wikipedia admin. [16:55:01] I'm not even an admin on Wikidata. [16:55:06] Oh [16:55:08] Also [16:55:14] I want to be a holidays admin [16:55:18] This place is fun [16:55:21] Wikidata [16:56:02] start by fixing and improving things in a small way. make people know you for being helpful and doing useful things. [16:56:08] Ok [16:57:52] Look at the page I made [16:58:02] Dog bed [16:58:45] Daniel isn’t a Wikidata admin? Surprising. [16:59:25] Am I doing good so far [16:59:33] Art my dog bed page [16:59:36] At [17:02:29] This shouldn't be so hard [17:03:31] Can you help me with my page [17:05:37] !admin can you help me with my page [17:05:37] Attention requested  HakanIST sjoerddebruin revi [17:05:51] what page, and what help? [17:05:55] DanielK_WMDE: but one and first have different parts of speech, how can they be the same lexeme? [17:06:49] Never mind [17:06:57] How do you add an image to wikidata [17:07:08] To use for your page [17:08:07] !admin how do I ad an image [17:08:07] Attention requested  HakanIST sjoerddebruin revi [17:08:10] pls [17:08:12] To wok [17:08:16] Wikidata [17:08:23] you don't need to ask for admin about all the question you have [17:08:41] But I can't find anyone else [17:08:46] only use it when you need help with deleting the page, blocking someone, protecting a page [17:08:55] that is not an excuse for poking unrelated people. [17:09:27] The answer: use a property like https://www.wikidata.org/wiki/Property:P18 [17:10:58] nikki: "one" and "first" are not the same English lexeme. I was thinking that perhaps "1" and "1st" are. But we run into a problem here: "1" is cross-lingual, "1st" is not. [17:12:15] Wikidata: try https://www.wikidata.org/wiki/Wikidata:Tours [17:13:23] well, you said "1st" is a *form* of the numeral "1" and that "1st" is a spelling of "first" [17:13:44] I missed some quotation marks there [17:15:34] I messed up [17:15:39] I plagiarized a name [17:15:41] nikki: yes... my thinking was that the numeral "1" is a lexeme. it's separate from English "first". [17:15:53] DanielK_WMDE: also, when you told reosarevok to edit the form, did you mean a second spelling should be added for it by clicking the "+"? it doesn't seem to allow that [17:16:09] nikki: I added it, so it seems to work? :p [17:16:23] you changed "first" to "1st", so now "first" isn't there [17:16:29] ... huh [17:16:31] I saw two at first [17:16:35] huh [17:16:46] But I guess if both have just language "en" it just replaces them [17:16:51] And it was a display "feature" [17:16:59] Sigh. To the phabricators I guess? [17:17:03] reosarevok: you replaced it. ah, this is a bug. [17:17:15] DanielK_WMDE: could you add the ticket? :) [17:17:17] the spellings need to have different codes. you should get an error if you repeat a code [17:17:19] (if not I guess I can) [17:17:20] this is known. sorry. [17:17:32] But what happens if both spellings do *not* have different codes? [17:17:37] I mean, both first and 1st are standard en [17:17:43] you can add "1st" as a form with code en-x-Q.... [17:17:46] but not sure which Q [17:18:24] That sounds a bit confusing :) [17:18:40] Can we get tutorials for this stuff? [17:19:07] in time :) [17:19:15] "1st" is a very confusing case [17:19:30] if you think about "colors" vs "colours" ist's much clearer [17:19:42] I can't imagine what item we would use when there are two entirely equivalent spellings :/ [17:19:45] one is en-us, the other is en-uk. [17:19:57] Sure, I definitely get that use case :) [17:19:59] (though i'm not sure we have en-us, since mediawiki thinks en is the same as en-us) [17:20:48] nikki: do you have an example of such a case? sometimes, the distinction may be a bit artificial, but i think it's always possible to make such a distinction [17:20:53] Bye [17:21:03] (if this turns out to be a problem, we'll need to make a breaking change to the data model spec) [17:21:59] Heh. I'm wondering how this works for "vulgar" forms [17:22:07] joghurt, jogurt, portmonee, portemonnaie are the first things that come to mind [17:22:17] The Spanish academy accepts "almóndiga" as a vulgarism variation of "albóndiga" (meat ball, basically) [17:22:37] It's basically "way some people in the countryside write it / say it" [17:22:45] It's unclear to me whether that's one or two lexemes [17:23:45] Also wondering how it works with archaic forms where the spelling has changed, also new lexemes? [17:25:02] reosarevok: if it has the same morphology and the same set of meanings, i'd say it's the same lexeme. you could use es-x-Q1036511 or something like that for the "vulgar" form. [17:25:10] (sadly, we don't have a good UI for this yet) [17:25:51] reosarevok: for archaic forms, you'd use the Q-item for the respective spelling reform, or the respective period or region to make the distinction [17:25:55] What happens if there are *several* vernacular forms? [17:26:00] From different regions or something [17:26:20] (trying to generate edge cases here) [17:26:28] I'd just use the Q for the region for now. [17:26:40] but we may end up having to allow the codes to be extended by multiple codes. [17:27:04] the reason to force the distinction is to avoid that people just dump in all variants with no way to distinguish what is what [17:27:34] (also, this means variants work the same as label languages, that makes things easier software-wise) [17:27:48] if this ends up being a serious problem, we'll have to reconsider. [17:28:05] we did have this debate internally before. it's my fault that is is the way it is :) [17:28:23] I mean, a different way would still have similar issues, this is tricky either way [17:28:47] semantic modeling always is :) [17:29:06] Can we have preferred / deprecated in form variants? :p [17:29:31] we may have to add this. the current hack for "preferred variant" is "use the one with the shortest code" :D [17:33:14] Did someone revert my 1st thingy or should I anyway? [17:34:08] Ok, you did. Thanks :) [17:34:35] reosarevok: i did, yea... if you can think of a good q-id to use for the distinction, we can put it back! [17:34:40] maybe we should just make one [17:34:57] https://www.wikidata.org/wiki/Q102786 ? [17:35:41] hm. that would also fit "frst". but sure, why not :) [17:36:45] thinking about edge cases is such a lot of fun. is "iff" a lexeme? or a form or spelling of the phrase "if and only if"? [17:38:10] So like https://www.wikidata.org/wiki/Lexeme:L2? [17:38:35] Oh, no, we're going to have N lexemes for each possible combination of unicode characters until a certain length and language D: [17:39:13] help me find the GND of an item [17:39:46] It is really hard for me and I need it [17:39:55] I don t speak german [17:40:03] reosarevok: \o/ [17:40:26] Please help me [17:40:59] hello WiseWoman [17:41:09] * DanielK_WMDE should be doing code reviews, not playing with lexemes [17:41:13] Hallo DanielK_WMDE [17:41:16] :) [17:41:27] But it is fun playing with lexemes [17:41:51] Please Daniel help me [17:41:58] This i need help [17:42:16] Adminshelpme: if you're on the page of an item, look at the bottom of the page, in the list of external identifiers [17:42:25] or just Ctrl+F and type GND [17:42:36] I am making a page [17:42:40] if you find nothing, well, maybe this item has no GND ID, or it's not present [17:42:45] And I need the end of this item [17:42:54] The GND [17:42:58] what is it about? [17:43:03] Dog Bed [17:43:20] Auregann_WMDE: i think he's trying to *add* the GND [17:43:29] Yes [17:43:35] ...but doesn't have it [17:43:50] I highly doubt GND has a record about dog beds [17:44:01] Wait it doesn't have a GND [17:44:10] :) [17:44:17] How would I find it [17:44:35] If it does have one [17:45:00] well if it doesn't have a GND ID, there's not much you can do about it [17:45:24] How would I try to find it if it does have one though [17:45:28] Theoretically [17:46:33] Mostly just search via VIAF or https://portal.dnb.de/opac.htm?method=newSearch¤tView=simple&selectedCategory=any [17:47:45] I don't speak german [17:48:36] But ok I think I got it bye [17:52:50] I am [17:52:56] Wikidata [17:53:00] Remember md [17:53:02] Me [17:57:48] I made a few edits [17:57:58] I want you to check if they are ok [17:58:15] View my co contributions [17:58:29] Contributions [17:58:55] To make sure they are not counted as vandalism [17:59:43] Please guys view my contributions [18:00:43] not vandalism [18:01:06] Thank you also did you see what I said on my talk page on commons [18:01:11] Stryn [18:02:11] I found vandalism [18:02:15] On a pahe [18:02:17] Page [18:03:10] I fixed it [18:03:54] it was 12 days there [18:04:13] This https://www.wikidata.org/w/index.php?title=Q38076&oldid=681168477 [18:04:29] Yes it was [18:04:40] May 18 [18:06:55] I want to be an admin [18:10:39] !admin I want to be an admin [18:10:39] Attention requested  HakanIST sjoerddebruin revi [18:10:48] [[WD:A]] [18:10:48] 10[2] 1010https://www.wikidata.org/wiki/Wikidata:Administrators - Redirección desde 10https://www.wikidata.org/wiki/WD:A?redirect=no [18:11:11] Adminshelpme: read [[Wikidata:Requests for permissions/Administrator]] [18:11:11] 10[3] 10https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Administrator [18:11:12] Knowing where to apply is the first step to become an admin. :) [18:12:16] and again, please do not abuse ((!))admin [18:17:01] How do I vote [18:17:06] For myself [18:18:40] Adminshelpme: Being an admin shouldn't be a goal [18:18:53] If that's the case, you'll probably don't achieve it [18:19:12] Wait my admin thing I made is not where it is supposed to be [18:19:16] Please help me [18:19:38] Tell me how I can help you :) [18:20:00] Get it to this link [18:20:09] https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Administrator [18:20:20] It is not there but it is in my contributions [18:21:31] Found... https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Administrator/Cookingmonster123 [18:21:45] Yes [18:21:55] Why is it my in the TOX [18:21:58] TOC [18:22:47] Wh [18:22:49] Why [18:23:45] Please get it there [18:23:56] It's not possible that your request is successful, Adminshelpme, people will vote considering your previous contributions, but they're almost zero [18:24:09] So I recommend you to wait :) [18:24:27] +his IP is blocked on enwiki for vandalism [18:24:39] Get it on the Voting TOC Please [18:24:45] Yeah, I know [18:25:00] Adminshelpme: you add it by yourself or we delete your voting page [18:25:09] IDK HOW [18:26:01] then you can't be an admin, try to learn first how to edit [18:26:58] Help me [18:27:02] Please [18:27:09] (Or not to edit if that's not what you really like) :) [18:27:12] PROBLEM - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is CRITICAL: HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 1970 bytes in 0.082 second response time [18:30:19] I just want the blue background [18:31:04] Please give me the blue background [18:31:05] don't worry, it will get archived.. [18:31:09] Like everyone else [18:31:42] Stryn give me that background [18:31:47] no [18:32:05] Adminshelpme: We're saying this for you, Adminshelpme, the page will be deleted at some point, sorry [18:32:24] I know [18:32:31] But I want the background [18:32:33] Please [18:32:38] Stop wasting our time. [18:32:45] Go in and give me that blue background [18:33:39] STRYN DO IT NOW [18:33:42] PLEASE [18:33:50] I WANT THAT BLUE BACKGROUND [18:33:55] !ops [18:34:18] done [18:34:22] Thx u [18:34:27] Thanks [18:34:31] np [18:34:57] You removed it [18:35:02] yep [18:35:09] Oh [18:35:11] Bye [18:35:12] I [18:35:17] Won't do that again [18:52:32] RECOVERY - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is OK: HTTP OK: HTTP/1.1 200 OK - 1974 bytes in 0.073 second response time [18:56:59] Auregann_WMDE: this was the article I mentioned yesterday in the office hour that I couldn’t find (the tab was still open at home): http://journal.code4lib.org/articles/13424 [19:03:35] Now that I read "LOD"... do you expect good news, WikidataFacts? [19:05:02] yes, next version should be out soon and should contain wikidata [19:05:11] <3 [19:06:03] Hurrah! :D [19:11:55] oh wow, that's fantastic news! [19:26:46] WikidataFacts: ah great, thanks! [19:35:22] PROBLEM - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is CRITICAL: HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 1962 bytes in 0.069 second response time [19:44:13] https://www.wikidata.org/wiki/Lexeme:L8 [19:44:15] * CatQuest is amused [19:46:02] CatQuest, we were talking about that ages ago!!! [19:46:12] You're so Lexeme:L8 [19:46:17] * reosarevok hides [19:46:19] well i was away playing i na river! [19:46:26] ಠ_ಠ [19:47:02] Yay rivers. [19:47:31] RIP River Phoenix [19:55:33] wat [19:55:36] :( [19:55:41] anyway. yay rivers [20:26:02] RECOVERY - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is OK: HTTP OK: HTTP/1.1 200 OK - 1972 bytes in 0.134 second response time [21:18:52] PROBLEM - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is CRITICAL: HTTP CRITICAL: HTTP/1.1 200 OK - pattern not found - 1970 bytes in 0.069 second response time [21:39:08] → https://wordpress.org/plugins/references-for-wikidata/ ← [21:39:44] This should be tested and, after that, widely used :) [21:55:53] abian oh hi :) [21:59:32] RECOVERY - wikidata.org dispatch lag is higher than 300s on www.wikidata.org is OK: HTTP OK: HTTP/1.1 200 OK - 1977 bytes in 0.166 second response time [22:04:07] Hi :) [22:05:13] is it possible to specify a range in a query? [22:08:01] Well, you can use FILTER with ?x > lowerbound && ?z < upperbound [22:08:12] Oops, ?x [22:09:29] does that also apply to the Q numbers themselves? :D [22:10:29] If you want to write a list of values (not sure if you want), you can use VALUES ?x { wd:Q1 wd:Q2 ... wd:Qn } [22:10:34] for example if i only want to search up to Q100000 [22:11:30] Hmm... you'll probably have to convert the ID to a string, then remove the first character, then convert it to an integer, and use it [22:12:15] so a manual check if the ID is in the range i want? [22:17:23] xsd:integer(REPLACE(STR(?yourq), '^http://www.wikidata.org/entity/Q', '')) [22:18:02] You can use this value, which will be an integer, to compare the number [22:19:18] (Sorry, talking on another channel...) [22:20:30] Now WikidataFacts will come and say there are four more efficient ways, but anyway, that should work :P [22:21:35] ... if efficient enough O:) [22:24:50] hehe, we'll see [22:39:33] you can make the regex shorter by using .*Q, I don't know which is faster but I always use that because I'm too lazy to type the whole thing :P [22:40:06] And I shouldn't have used . either, but \. [22:40:18] But meh :) [22:41:37] there are other ways to do it (I seem to recall something where you replace wd: instead but I can never remember what it was) but as far as I know they're all similar in that you're manipulating a string into an integer [22:41:47] \\. in fact [22:41:53] Okay [22:44:02] well, let's see what WikidataFacts has to say about this, it is not an urgent matter (: [22:44:31] SUBSTR(STR(?item), STRLEN(STR(wd:)) + 2) would be my preferred way [22:44:48] ah, one way is xsd:integer(strafter(str(?item),"Q")) [22:44:49] could be slightly more efficient than regexes [22:45:56] Ah, cool :) [22:46:57] also found xsd:integer(substr(str(?item),strlen("http://www.wikidata.org/entity/Q")+1)) [22:47:21] which I guess is quite similar to the one WikidataFacts just did, except longer [22:48:07] the wd: version will also continue to work if we ever change the namespace to HTTPS :) [22:48:10] that’s my favorite part of it [22:48:16] though your STRAFTER is also very nice [22:48:29] another variant :P xsd:integer(strafter(str(?item), str(wd:Q))) [22:48:36] not mine, just searching to see what other people have used [22:48:53] yeah wd:Q is a very nice trick :) [22:48:54] "say there are four more efficient ways" :) [22:49:11] the only way I'll stop using the regex version is when someone gives me a nice short easily memorable function that does it :P [22:50:01] (hot take: the numeric value of item IDs is meaningless and queries shouldn’t use it at all ;) ) [22:50:26] it has its uses [22:51:51] WikidataFacts: then tell me how i can only search for items up to ID X :p [22:52:25] SothoTalKer: well that’s the point, you shouldn’t do that :D [22:52:31] or rather, I don’t see why you want to do that [22:52:33] enlighten me :) [22:52:45] i have WORK to do. [22:54:05] let's say i use a query to find a list of things that have a missing property, but some can have it added while for others it does not exist [22:55:42] BTW, WikidataFacts, is there a trick to get https://phabricator.wikimedia.org/T194884 currently, randomize the order of retrieval? [22:56:23] so the list becomes from NONE to partial YES, partial NEVER. Since I am a human, i am forgetful :) [22:57:06] abian: “directly generating random integers and addressing HTTP requests to the corresponding URIs” sounds like what I would do right now, I guess [22:57:14] it seems some of the uses I'm finding are listeria tables... you want the list to be in a consistent order so that it only updates when something actually changes and since labels are language dependent, the next most obvious thing to sort by is the age of the item [22:57:25] or perhaps use Quarry, might be more efficient (if you’re okay with JSON format) [22:57:43] nikki: good point [23:00:30] it's also useful if you want to search within a range of ids, e.g. someone did a batch of wrong things and you want to check all the instances between Qxxxx and Qyyyy [23:08:03] WikidataFacts: then there's things like https://www.wikidata.org/wiki/Wikidata:WikiProject_Names/lists#Number_of_persons_by_QID_using_P735 :P [23:08:09] not that I understand why you'd want to do that [23:11:04] Really interesting :) [23:11:28] And shows we need what I say about the random stuff [23:11:37] Instances aren't evenly distributed at all