[07:15:27] Good morning everyone :) [09:06:06] hoo: so you finally encountered it? :) [09:07:02] sjoerddebruin: Yes… while actually trying to find another bug [09:07:17] Sometimes the UI doesn't seem to come up at all [09:07:22] but I have no idea when/ why [09:07:32] (meaning no statement edit buttons etc.) [09:09:09] My Javascript doesn't load at some moments, I've filled my finds in https://phabricator.wikimedia.org/T146069 [09:10:09] In other news (i've seen that you're not subscribed to this), this might interest you: https://phabricator.wikimedia.org/T102324#2702648 [09:13:57] oh well [09:15:24] hm… I don't get any JS error when this happens to me [09:15:28] *sigh* [09:15:57] Another example of a bug that happens at some moments. [09:28:54] aha mw.loader.getState( 'wikibase.parsers.getStore' ) [09:28:54] "error" [09:34:48] Hm? [09:36:01] That seems to be the cause for the UI to fail initializing [09:36:04] at least on my machine [09:36:16] It's something. :) [09:56:05] Lydia_WMDE: Thanks for sorting out the adaptor for me; it saved my being lost forever in Berlin once all my batteries ran out :P. I returned it to the bar area after my use. [09:56:21] tarrow: cool [09:56:23] :D [09:57:11] Did you find a ton of food left over for you to eat today? We were very well catered for. [10:11:01] hoo our ui ist not loading? [10:11:29] Jonas_WMDE: Sometimes [10:11:34] I'm poking at that [10:12:12] hoo ok, thanks if you find something poke me [10:12:18] Amir1: (sorry i couldn't speak due to my laptops mic being silly( per T145880 I'd say go ahead, as long as Lydia does not say "NOOOO". [10:12:19] T145880: Expose client entity usage via API in repos - https://phabricator.wikimedia.org/T145880 [10:12:52] Amir1: https://phabricator.wikimedia.org/T145880 seems fine if you know what to do [10:12:58] Amir1: it does not seem the most urgent thing but let's have it! [10:13:34] I want to do it because it seems it's the last part of entity usage [10:13:38] and i'll see if I can complain about something in your open patches (there looked mostly fine, maybe except the questions about tests) [10:13:47] other stuff are either done or in review [10:13:47] Amir1: are all the things in action=info live now on wikipedia and wikidata or is there something left to be merged/deployed? [10:13:49] yeah, it makes sense to me [10:13:57] (please tell if I'm missing anything) [10:14:12] Lydia_WMDE: the action info is deployed [10:14:16] but broken [10:14:22] ok cool [10:14:24] not cool [10:14:30] but the layout is fine? [10:14:32] https://www.wikidata.org/wiki/Q7251?action=info [10:14:35] yeah [10:14:38] i'd like Jan to have a look then [10:14:40] ok cool [10:15:15] Today I will backport the fix [10:15:19] thanks [10:15:46] It would be nice to get this merged [10:15:47] https://gerrit.wikimedia.org/r/313629 [10:15:52] (in action=edit) [10:16:12] Amir1: the breakage is the unlinked stuff in action=info? [10:16:18] or something else? [10:16:31] no, the link is to wikidata itself, instead of that [10:16:34] *that wiki [10:16:47] ah :D [10:17:01] and the link? [10:17:12] for broken links, it's another issue. probably bad interwiki structure [10:17:20] ok [10:18:35] Amir1: https://de.wikipedia.org/w/index.php?title=Barack_Obama&action=info <- in the transcluded template section there is an empty bullet point [10:18:41] is that breakage from us? [10:18:58] otherwise it looks good! :) [10:19:15] Lydia_WMDE: no, not us! [10:19:18] pheww :D [10:19:19] cool [10:19:20] :D [10:19:24] "
  • " [10:20:23] sjoerddebruin: yeah, I'm guessing it only gets the first 50 results [10:20:33] so, a core issue [10:20:50] Yeah, but the text should be inside the li element imo, maybe with a italic style. [10:21:11] This doesn't look like correct HTML to me. :) [10:21:18] leszek_wmde: Thanks for any code review! [10:22:41] sjoerddebruin: definitely, there are exactly fifty templates there and then we have this empty bullet. So there is an issue in continuation [10:22:53] file a phab card and I think it's easy to solve [10:24:10] Will do that then. [10:37:02] Amir1, Lydia_WMDE: https://phabricator.wikimedia.org/T147789 [10:37:05] good morning WikidataFacts :) [10:37:24] sjoerddebruin: good morning :D [10:37:39] ehm, afternoon already whoops [10:37:53] hey, I have an excuse this time, the debate was really funny to watch :) [10:38:16] :P [11:14:37] aude: Here? [13:16:30] Lydia_WMDE: I've been trying to join but I can't [14:03:21] Amir1: bah sorry [14:03:25] Amir1: what happened? [14:03:29] :( [14:03:31] stashbot: thanks [14:03:35] "Requesting to join" [14:03:42] and couldn't [14:03:47] narf [14:04:07] sjoerddebruin: thank you! [14:04:24] :) [14:04:41] sjoerddebruin: do we have somewhere where we can list bad property suggestions? I have a new case of country-specific properties being suggested for countries they don't apply to [14:04:54] Lydia_WMDE: nvm, I will read the minutes. [14:05:16] nikki: please list them on https://www.wikidata.org/wiki/User:Sjoerddebruin/Entity_suggester, including the property you think is to blame [14:05:22] (if you understand the system :)) [14:05:30] Amir1: ok :) and sorry again. if this happens again poke someone else in the room who might be watching irc and can help [14:05:37] i didn't see it :( [14:05:43] okay [14:05:45] thanks [14:07:07] If we have a decent list, we can give it to Lydia_WMDE and hoo. Works better than asking for every specific property every time. :) [14:07:48] Lydia_WMDE: please check again, this is about a specific gadget. https://phabricator.wikimedia.org/T147745 [14:08:09] sjoerddebruin: will do after meeting :) [14:08:15] Okay. :) [14:20:51] sjoerddebruin: hmmm it works for me. can you purge the gadget and try on a different diff for you? [14:20:55] strange [14:21:32] no difference for me [14:21:39] can someone else try? [14:21:59] nikki: do you see the copy reference button here? https://www.wikidata.org/w/index.php?title=Q14452779&type=revision&diff=331697704&oldid=323237802 [14:22:56] no, there aren't any references there [14:23:04] I don't have the item shown on the diff page though [14:23:38] ? [14:25:07] Am I the only one seeing https://www.dropbox.com/s/zd0qisxluhpbopn/Schermafdruk%202016-10-10%2016.24.44.png?dl=0? [14:25:44] (on a diff page) [14:31:39] Hoping hoo's idea will fix your things, nikki: https://phabricator.wikimedia.org/T132839#2699674 [14:33:31] I hope so too [14:35:49] but I'm not sure it will, since the main difference is the p17 value [14:36:14] imo P17 should be removed from the calculations too [14:36:29] same for P495 [14:37:47] about 20% of the properties have a p17 statement, that's more than I was expecting [14:38:10] And not only pure geographically items. [14:38:32] I've converted a lot of bands to P495 already, as they were founded in a country. [14:38:40] We should do the same for companies. [14:39:00] I mean the properties themselves are marked as being for a specific country [14:39:09] Oh [14:39:21] I want suggestions in the property namespace too :3 [14:39:33] that would be nice too [15:40:00] hi hoo [15:40:03] hi :) [15:40:11] <3 [15:40:17] My question from a couple hours back is no longer relevant, btw [15:40:31] ok :) [16:03:18] aude: Are you firm with resource loader? I'm running in circles with https://phabricator.wikimedia.org/T147798 [16:18:04] hoo: :/ [16:18:31] are you still at the office? [16:19:50] No, left on Friday [16:20:09] but will be back for Ladies that foss and the birthday [16:20:34] ah [16:22:11] i get no edit buttons for statements on https://www.wikidata.org/wiki/Q60 [16:22:20] could just be really slow [16:22:29] no error in the console [16:26:07] I've just set various break points in RL code to debug this further :( [16:26:26] :/ [16:26:35] Even when it happens, I have no idea how [16:26:39] ugh :( [16:26:43] I see modules being in the error state [16:26:55] but I have break points in all places where RL does that [16:26:58] none have fired [16:26:59] :/ [16:27:44] i have no problems in debug mode, except it taking a really long time to load so many javascript files [16:28:26] now that i have things cached in local storage, then maybe i don' thave the problem [16:31:40] when i clear local storage then can reproduce again [16:34:18] hm [16:45:16] Can someone update nlwiki? :) https://www.wikidata.org/wiki/Module:Statistical_data/by_project/classes [16:50:11] sjoerddebruin: we need a bot for this [16:50:29] kopiersperre: really, I think nlwiki wasn't updated once. [16:52:45] sjoerddebruin: i can do the update if you could help me with another thing [16:53:07] Sounds reasonable. [16:53:48] 2015-07-17, damn [16:53:58] i need to resolve many qids to their names in dewiki and enwiki [16:54:30] all which have claim[679] [16:59:07] Hm, I know it is possible but how... [16:59:38] now i can't reproduce the bug :( [17:03:11] please find a solution, i don't need it now [17:03:24] the updating anyhow has shown a flaw [17:03:34] aude: Poked Krinkle on the ticket [17:03:38] Our project is probably too large. [17:03:45] * hoo giving up on that for now [17:03:50] You might ask WikidataFacts for queries and stuff. [17:04:09] if it’s SPARQL, I’m happy to help :) [17:04:28] sjoerddebruin: we have now much more events (Q1190554) in the statistics, so that "other P31/P279" has got negative [17:04:41] ok [17:04:50] https://www.wikidata.org/wiki/Q76 seems to have the issue [17:05:15] Slow-ish but works for me :/ [17:05:25] hmmm [17:05:45] * aude is tethering so maybe everything is extra slow for me [17:05:46] WikidataFacts: May you please translate me all the items with ZVG number (P679) to their article names in dewiki and enwiki? [17:05:52] kopiersperre: that's... weird [17:06:00] and perhaps easier to reproduce this way [17:06:18] oh, nevernmidn :P [17:06:24] the item is protected [17:07:30] hm [17:07:42] Do you also have the same modules being in the error state? [17:07:50] I especially wonder about the repo api error one [17:07:51] no [17:07:57] grr :/ [17:08:11] no console errors [17:08:30] now that i am logged in , everything works :/ [17:09:26] kopiersperre: this? http://tinyurl.com/gt9fbhq [17:09:43] unfortunately, SPARQL doesn’t seem to have a function to reverse the URL encoding [17:11:17] you get more results if you make the sitelinks optional, not sure if that’s what you want or not: http://tinyurl.com/jzuqbyz [17:11:46] (oh, and I forgot to put the ?zvg variable in the SELECT, that might be useful too) [17:14:38] kopiersperre: you left before I could reply yesterday :/ [17:15:25] nikki: sorry, after suspending my laptop i have to reenter my password [17:15:35] nikki: and i'm too lazy for that [17:16:12] I see WikidataFacts already gave you an answer for the first thing you asked about, I wasn't able to get the other thing to work :( [17:17:11] nikki, WikidataFacts: I've got http://pastebin.com/QvqZt7Hz from beacon tool [17:17:40] because it's not sorted the same way i can't glue both outputs [17:20:22] WikidataFacts: thanks so far, but for e.g. Q3979428 it fails to show the english & german titles, which are present [17:20:36] kopiersperre: those are ordered by the ZVG number, aren’t they? shouldn’t be a problem: http://tinyurl.com/zke3esq [17:21:07] sitelinks != labels [17:21:27] kopiersperre: that item has only it and pl sitelinks. do you want sitelinks or labels? [17:21:46] I suppose labels would be better because they’re not URL escaped ;) [17:22:30] WikidataFacts: why get some labels completely missing? [17:22:48] here’s the query with labels instead of sitelinks: http://tinyurl.com/jfhpr7d [17:28:11] kopiersperre: ^ [17:30:08] WikidataFacts: I want to get the items without sitelinks filtered out [17:30:57] WikidataFacts: but this wil i do with excel, thanks a lot for all the queries [17:30:58] kopiersperre: sitelinks or labels? with sitelinks, that would be the very first query I sent you [17:31:26] kopiersperre: with non-optional labels: http://tinyurl.com/jeel5hy [17:32:32] Oh, just wanted to talk to him :( [17:33:34] nikki: you'll love these suggestions https://www.wikidata.org/wiki/Q27169843 [17:34:22] heh yeah, of course a shop in the netherlands should have a chinese admin division code! [17:40:43] WikidataFacts: Thanks, now I have exactly what I was looking for [17:43:05] yay! :) [18:00:04] Can someone help me reproduce T147798? [18:00:04] T147798: Wikibase repo UI is sometimes not properly starting up (on Firefox) - https://phabricator.wikimedia.org/T147798 [18:03:09] multichill: hm, https://www.wikidata.org/wiki/Property:P449 doesn't work well for our little country. How to indicate that https://www.wikidata.org/wiki/Q27169823 is in the airtime of NTR? [18:05:41] (And yes nikki, even that radio program should have a chinese admin division code according to the suggester) [18:05:55] https://www.wikidata.org/wiki/Property:P1448 is to blame for that [18:06:34] hm, maybe I should use https://www.wikidata.org/wiki/Property:P1476 though [18:07:34] (P1448 still needs to be removed from the calculations though, as it is suggesting properties for scientific articles at movies now. [18:08:08] Lydia_WMDE: I'm reading an awesome Wikidata article from our Royal Library. They have big plans [18:09:09] multichill: can you share? sounds exciting [18:09:26] How is your Dutch? ;-) [18:09:42] bad but i have the magic of google translate :P [18:10:34] :O [18:11:39] I only have some photos Sandra took because we couldn't find a digital version. [18:13:07] * sjoerddebruin feels ignored, though. [18:13:30] sjeorddebruin do you mean you are willing to translate it ... [18:14:20] sjoerddebruin: Seems to be a very American concept [18:14:32] I would say "publieke omroep" (?) [18:15:13] The constraint accepts more though. https://www.wikidata.org/wiki/Property_talk:P449 [18:15:17] Very confusing property. [18:18:29] https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violations/P650#.22Unique_value.22_violations <- sjoerddebruin, looks like it's merge o'clock :P [18:19:26] Oh, right. https://www.wikidata.org/wiki/Q6285642 showed up in the reports this morning. [18:19:46] RKD thinks he's a time traveler. [18:22:58] LOL! [18:23:16] I did some RKD importing so a lot of dupes showed up [18:23:46] I already merged quite a few of them [18:24:06] sjoerddebruin: Back in November 2015 someone created a load of new items. At least 100 dupes I think [18:24:12] First going to start a discussion about P449 [18:26:14] I'll drop the RKD an email and include our time traveler [18:26:23] Lydia_WMDE: The fix is backported and deployed now: https://www.wikidata.org/wiki/Q7251?action=info&debug= [18:26:33] I've already left a note at the entry, multichill. [18:26:37] Links are now to wikis instead [18:26:42] multichill: hey [18:26:48] How are you? [18:26:49] Right [18:29:40] Amir1: thanks :) [18:30:28] multichill: Weren't we the only in the world with member-based broadcasting associations? [18:39:49] sjoerddebruin: https://phabricator.wikimedia.org/T147789 [18:39:55] <3 [18:40:04] I receive e-mails, Amir1. But thanks. <3 [18:44:25] :) [19:04:28] Amir1: Hey. Good! How are you doing? [19:05:25] multichill: Working. I'm moved to Wikidata team, so wikidata stuff [19:05:44] Are you in Berlin now? [19:06:38] not yet [19:06:47] :D [19:06:53] Still remote [19:07:07] :O [19:07:11] Would this make it easier to come to Berlin though? [19:07:21] Why are some wikis not linked under "Wikis subscribed to this entity" ? [19:07:41] sjoerddebruin: I don't think so [19:07:45] https://www.wikidata.org/wiki/Q7251?action=info&debug= has no link to cawikiquote. But going to https://ca.wikiquote.org/wiki/Especial:EntityUsage/Q7251 does show an entry. [19:08:10] Krinkle: because interwiki lookup doesn't return a value for them [19:08:26] "Site links" [19:08:37] Is that not a value? [19:08:41] I should get that fixed or get this RFC done https://phabricator.wikimedia.org/T113034 [19:09:41] Krinkle: https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/repo/includes/Hooks/InfoActionHookHandler.php#L144 [19:10:25] We have the site object, we could either get site->getArticleURL (or something like that) or send the title object to link renderer, we did the latte [19:10:30] *latter. [19:10:41] I'm open to any suggestion to improve this [19:13:35] Amir1: Not sure I follow. Is the link absent because the relation to cawikiquote is only for "sitelink" and not for an in-content query of any other property value. Or because of the wiki that it is (cawikiquote) not having a direct interwiki link to it. [19:13:54] from wikidata. [19:14:10] "the wiki that it is (cawikiquote) not having a direct interwiki link to it." is a correct assessment [19:14:26] because the title obejct uses that interwiki [19:14:50] Ah, so all non-special non-wikipedia wikis are not linked because we only have language-code based interwikis and project based ones. [19:14:51] I see [19:15:22] yes [19:15:35] I was gonna say, how can it create a link to cawiki, since that's usually "w:ca" (2 links, not one), but that's not true. We add language-based interwikis to non-wikipedias for wikipedia, which is odd, but oh well. [19:15:58] Maybe it can interact with SiteMatrix or SiteConfiguration object directly? [19:16:06] We have them all in the site matrix. [19:16:25] there is a method in site object that returns the URL for given article [19:16:46] SiteConfig is available within a farm, regardless of whether an interwiki link exists. [19:18:01] we can have the proper site using SiteLookup [19:18:07] the site object is okay [19:18:44] But It's hard to get link pointing to a page in that site [19:18:50] Looks like GlobalUsage makes its links using WikiMap::makeForeignLink(). [19:18:54] https://github.com/wikimedia/mediawiki-extensions-GlobalUsage/blob/c0c02a360444910c92da894662dc5a6999d58410/SpecialGlobalUsage.php#L153 [19:19:10] SiteMatrix is a bit more hacky, it uses SiteConfiguration::getFromDb directly - https://github.com/wikimedia/mediawiki-extensions-SiteMatrix/blob/master/SiteMatrix_body.php#L161-L222 [19:21:09] Krinkle: What do you think of using https://github.com/wikimedia/mediawiki/blob/master/includes/site/Site.php#L372 [19:23:00] hmm, Wikimap sounds easy [19:23:06] Let me do some tests [19:35:12] Lydia_WMDE: https://phabricator.wikimedia.org/T147798 - I'd like to help out but not able to reproduce it in Firefox on (what I think are) large pages. Steps to reproduce would help. [19:35:17] hoo: ^ [19:35:57] hoo is gone though ;_: [19:48:01] Krinkle: thanks for trying. have you checked with some from https://www.wikidata.org/wiki/Special:LongPages ? [19:51:09] Amir1: Any idea how to get an entity url for an item without manually constructing it yourself using the api? [19:53:06] hmm, multichill: There is a special page that redirects to proper page. https://en.wikipedia.org/w/api.php?action=query&prop=wbentityusage&titles=Main%20Page&wbeuprop=url [19:53:15] https://www.wikidata.org/wiki/Special:EntityData/Q5296 [19:53:21] would this be useful for you? [19:55:26] Amir1: Just wondering how to expose this in a nice way in Pywikibot. [19:55:44] some api function -> site object -> ItemPage object [19:56:12] See https://phabricator.wikimedia.org/T143594 Amir1 [19:56:43] yeah, [19:56:54] I will take a deep look into this soon [19:57:09] but I'm guessing the Special:EntityData is our answer [19:57:37] What is the api equivalent of that? [19:59:33] IDK, hoo might know [20:00:57] Pywikibot really needs some Wikidata love.... [20:02:35] yeah [20:02:38] I did pywikibase [20:03:07] What's that? [22:36:34] hmmm.... my talk page is still broken :/