[01:38:43] New patchset: Pragunbhutani; "Adds a link to corresponding Wikibase Item to action=info" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64644 [02:20:24] New review: Hoo man; "(Untested) The code looks good, just some nitpicks" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64644 [02:27:58] New patchset: Pragunbhutani; "Adds a link to corresponding Wikibase Item to action=info" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64644 [02:30:09] o.O Portal reference! :) [02:31:01] TCN7JM: yes. Are you an admin yet? [02:31:12] Tomorrow. [02:31:37] TCN7JM: then tomorrow I will give you the logs where the context for the nick change is [02:32:13] Okay. [02:32:19] I'll remember to ask you about that if you forget. [02:32:36] which I will, since I'm terrible about things like that [02:57:31] *ding* Ladies and gentlemen: There are currently a large number of open entries at https://www.wikidata.org/wiki/Wikidata:Properties_for_deletion , many of which have low levels of participation. Your participation would be appreciated. [02:58:34] I'm concerned about P131. [02:58:50] Is there a way, if it is deleted, to quickly switch to the correct properties in its place? [02:59:15] TCN7JM: kinda. It's called "the closer fixes it by hand" [02:59:37] Considering that I close many of them... grumble grumble [02:59:46] Well...uh...P131 is used in thousands of items, I would think. [03:00:10] ...grumble grumble [03:00:18] lol [03:00:18] I will ask legoktm to make me a tool [03:00:34] Why don't we just have AWB on Wikidata or something? [03:03:03] well I don't know how to use AWB... [03:03:29] Really? I would think you have the rights to it on enwiki. [03:03:36] also, AWB would need a major rewrite to work for WD [03:04:32] Which is why I said "or something", realizing it wouldn't work in its current form. [03:04:43] AWB is also windows-only [03:05:37] Windows is also awesome. [03:05:54] :) [03:06:15] rschen7754: I use Windows. I close RfD/Properties [03:06:25] but I don't know how to use AWB [03:07:10] How do you set up an edit notice [03:07:28] I was wondering the same thing. [03:07:33] err /Editnotice work? [03:07:35] Sven_Manguard: for RfD? [03:07:40] it's per-namespace [03:07:44] Jasper_Deng: Yes. [03:07:52] * Jasper_Deng was the one who set it up for the User and User talk namespaces [03:07:59] check my MediaWiki: namespace edits [03:08:31] Jasper_Deng: That's what I was wondering about. /Editnotice works for User and User talk namespaces? [03:08:44] yes [03:08:49] Okay, thanks. [03:09:44] * Hazard-SJ wonders what he is missing, but then decides he can't bother to read everything [03:11:36] Jasper_Deng: will /Editnotice work on the Wikidata namespace or not? [03:11:54] no [03:12:01] unless someone set it up in the meantime [03:12:03] what will it take to make it work? [03:12:09] * Sven_Manguard pushes Jasper_Deng to do it [03:12:43] * Jasper_Deng pushes Sven to learn how instead [03:13:17] Jasper_Deng: that'd take much longer [03:14:27] Well [03:14:37] I was working on a Python AWB for Wikidata [03:14:57] But like a bunch of other wikidata projects it got neglected :( [03:15:05] my other* [03:15:17] Jasper_Deng: {{#ifexist:{{FULLPAGENAME}}/Editnotice|{{{{FULLPAGENAME}}/Editnotice}}}} [03:15:19] [2] 04https://www.wikidata.org/wiki/Template:FULLPAGENAME [03:15:29] I don't get it [03:15:33] [07:58:50 PM] Is there a way, if it is deleted, to quickly switch to the correct properties in its place? <-- Oh, thats easy to whip up a script for. [03:15:50] Sven: if the editnotice exists, then transclude it, otherwise, no [03:15:53] ^^ [03:16:55] lego: what I don't understand is how account creators can create edit notices on enwiki.... how does MediaWiki do that? [03:17:48] Sven_Manguard: You want edit notices for project pages based on /Editnotice? [03:17:53] yes Hazard-SJ [03:18:07] * Hazard-SJ goes to do it slowly [03:18:29] * Sven_Manguard thanks Hazard-SJ slowly [03:18:54] Jasper_Deng: because editnotices are protected by a titleblacklist rule [03:19:03] accountcreators have the tboverride right [03:19:14] a dirty hack IMO [03:19:20] indeed! [03:20:13] * legoktm goes afk [03:25:22] Sven_Manguard: Try it now [03:38:34] Hazard-SJ: I'm going to be out for the next 20 mins [03:39:21] OK [03:55:05] back [03:55:07] let me try [03:56:18] Sven_Manguard: I tried for the sandbox before you left initially, and I g2g soon :P [03:58:53] Hazard-SJ: it works [03:58:57] thank you [03:59:53] You're welcome :) [04:00:30] Sven_Manguard: Might be useful if you categori[sz]e whatever edit notice you're making ;) [04:00:36] * Hazard-SJ says bye [04:00:44] bye [04:11:20] Jasper_Deng: will langswitch work in /Editnotice? [04:11:39] which use? [04:12:02] * Jasper_Deng would leave it up to each individual user [04:12:34] Jasper_Deng: my question is whether or not anything would stop that tempate from working [04:47:12] * TCN7JM cues Queen music. [04:47:26] *bass guitar* Another one gets the mop! [04:47:33] * TCN7JM cuts Queen music. [05:47:35] New patchset: Aude; "(bug 48224) Format site link already used message with correct link" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64881 [05:48:57] New patchset: Aude; "(bug 48224) Format site link already used message with correct link" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64881 [05:49:47] New review: Aude; "see https://gerrit.wikimedia.org/r/#/c/64881/ which fixes the site link already used error message" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64083 [07:38:10] New patchset: Aude; "(bug 48473) validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [07:39:16] New patchset: Aude; "(bug 48473) validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [07:42:34] New patchset: Aude; "(bug 48473) validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [08:32:48] Silke_WMDE: http://noc.wikimedia.org/conf/ [08:33:01] scroll down to see db lists [08:34:53] New review: Aude; "I have installed squid on some of my test wikis, but still cannot reproduce the issue we had during ..." [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64274 [08:41:25] New review: Tobias Gritschacher; "(1 comment)" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [08:51:42] New patchset: Daniel Kinzler; "Don't use flush(), it interferes with output buffers" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64274 [08:52:47] DanielK_WMDE: i think you are running out of excuses to check this one and have it merged :) it passes the tests now [08:53:57] New review: Daniel Kinzler; "@aude: the current code is broken, this change *probably* fixes it, and is unlikely to cause harm. I..." [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64274 [08:54:42] Denny_WMDE: "this ohne" being? perhaps i should un-ignore gerrit :) [08:54:58] * aude wants a second opinion on https://gerrit.wikimedia.org/r/#/c/64274/ [08:55:00] i suppose it's you patch from yesterday. [08:55:03] will look at it in a minute [08:55:12] looks sensible though [08:55:17] didn't get around to reviews yesterday much, so i'll start with that today. [08:55:38] we need this or something in the branch today (what's on master is broken) [08:55:49] DanielK_WMDE: my fault, didnt add the link https://gerrit.wikimedia.org/r/#/c/64538/ [08:55:51] aude: as i said, i don't see a reason not to merge it even if it turns out that this isn't sufficient to fix the original problem [08:56:01] not flushing there is the right thing, regardless [08:56:28] someone want chocolate :) [08:56:57] aude: can you just grab tobi or someone and get a second oippinion out of them? [08:57:08] * DanielK_WMDE joins the hangout now [08:57:41] (oh god i need a hair cut) [08:57:43] Tobi_WMDE: ^ [08:59:04] https://gerrit.wikimedia.org/r/#/c/64794/ please merge [09:01:00] Change merged: Tobias Gritschacher; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64794 [09:18:07] New patchset: Tobias Gritschacher; "Removed word 'proleptic' from message" [mediawiki/extensions/DataValues] (master) - https://gerrit.wikimedia.org/r/64915 [09:19:03] Denny_WMDE: please chack: https://gerrit.wikimedia.org/r/#/c/64915/ [09:22:08] Change merged: Denny Vrandecic; [mediawiki/extensions/DataValues] (master) - https://gerrit.wikimedia.org/r/64915 [09:22:35] DanielK_WMDE: the thing with the haircut should be realized by a mirror, not by a hangout :) [09:22:43] Tobi_WMDE: thanks! [09:24:18] New patchset: Daniel Kinzler; "changed namespaces a bit, added license" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64538 [09:25:06] Denny_WMDE: what does redundant web storage have to do with my hair cut? [09:26:07] DanielK_WMDE: :D [09:26:29] Denny_WMDE: btw - when generating a dump of many/all entities, perhaps the "meta data" section should be skipped (or rather, there should be only wone for the entire dump) [09:26:44] no need to skip it [09:26:54] it just describes the individual dataset [09:26:57] *sets [09:27:03] which are available at the given URI [09:27:07] so i think that's fine [09:27:17] it's quite redundant [09:27:21] oh, well [09:27:33] doesn't hurt [09:28:15] actually, i think we really need (meta)info about two document URIs: the canonical uri (latest), and the perma-uri (specific revision) [09:28:41] i havn't come up with a way to express their relationship nicely, but perhaps you got an idea... [09:29:00] New review: Tobias Gritschacher; "I don't see any harms here. But I'm not able to test it close to the production setup. So, we should..." [mediawiki/extensions/Wikibase] (master) C: 1; - https://gerrit.wikimedia.org/r/64274 [09:29:48] New review: Tobias Gritschacher; "btw. is there no bug for that?" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64274 [09:30:45] approved, jenkins should merge [09:31:41] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64538 [09:32:23] New review: Tobias Gritschacher; "@hoo: this is not an issue of this changeset. see aude's patch for the backend" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64083 [09:37:25] DanielK_WMDE: thanks [09:38:46] DanielK_WMDE: I do have an idea, but I am unconvinced of the need :) [09:39:32] any idea why www.wikidata.org/w/extensions/Wikibase/docs/ontology.owl is not visible? [09:39:47] but www.wikidata.org/w/extensions/Wikibase/docs/summaries.txt is? [09:40:02] filter on the file-extension? [09:41:36] probably [09:41:39] ask ops [09:41:47] k [10:11:55] New patchset: Aude; "(bug 48473) validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [10:13:08] New review: Aude; "if https://gerrit.wikimedia.org/r/#/c/64881/ can be merged along with this, then okay." [mediawiki/extensions/Wikibase] (master) C: 1; - https://gerrit.wikimedia.org/r/64083 [10:25:35] New patchset: Daniel Kinzler; "Config setting for cache duration of entity data." [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64281 [10:29:02] DanielK_WMDE: Tobi_WMDE poke [10:29:23] can you please take a look at https://gerrit.wikimedia.org/r/#/c/64037/ and give me your opinion on how i'm injecting the settings there? [10:30:39] aude: seems fine [10:30:43] will do more reviews later [10:30:45] hmmm [10:30:46] lunch first [10:30:56] similar issue i'm having with the claim guid validation thing [10:31:03] the api needs to know a setting [10:31:25] * aude would like a consistent way of doing that [10:32:11] aude: since we don't control initialization, we can't use real injection. initializing in the constructor using the singleton is fine, i think [10:32:19] hmmm, ok [10:32:46] alternatively, set the field to null, provide a setter, and use a getter to access it. when the getter is called while the field is still null, it initializes it using the default instance [10:33:13] that's a bit more work, but may help to defer and avoid initialization [10:33:14] ok [10:33:27] New review: Tobias Gritschacher; "ClaimGuidValidator is now depending on repo." [mediawiki/extensions/Wikibase] (master) C: -1; - https://gerrit.wikimedia.org/r/63787 [10:33:29] i'll do the way i did in the client api thing for claim guid validation [10:33:37] sure [10:33:39] we can always adjust later if we decide a better way [10:34:16] one thing though: it's usually preferrable to inject individual settings instead of the settings array. but that's not a big deal, i think [10:34:33] and in some cases, the initiator can't know all settings used internally, so it has to be a Settings object65 [10:34:34] that's what jeroen prefers [10:34:51] yea... i see the point, but not always [10:37:55] New patchset: Daniel Kinzler; "Purging of cached output from Special:EntityData." [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64289 [10:49:46] New patchset: Aude; "(bug 48473) Validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [10:50:52] New review: Aude; "recheck" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [10:52:38] New patchset: Aude; "(bug 48473) Validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [10:57:30] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64274 [11:13:29] New patchset: Tobias Gritschacher; "(bug 48473) Validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [11:14:08] New review: Tobias Gritschacher; "PS 13: added more testcases and removed ALL OF THE WHITESPACES" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [11:17:05] legoktm: ping [11:18:54] anyone want to review https://gerrit.wikimedia.org/r/#/c/64472/ ? :) [11:19:03] * aude prefer it not get stale [11:22:51] New patchset: Aude; "(bug 47726) Adds a link to corresponding Wikibase Item to action=info" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64644 [11:29:37] aude: q999$b90d9fd1-4df9-dc97-9b56-7947848a0e43 [11:41:43] New patchset: Aude; "(bug 48473) Validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [11:55:03] aude, Denny_WMDE: i would really have liked to get https://gerrit.wikimedia.org/r/#/c/64281/ and https://gerrit.wikimedia.org/r/#/c/64289/ into wmf5 [11:55:30] aude, Denny_WMDE: without these, entity data will be cached in squids for 31 days with no way of purging it [11:55:33] * aude needs https://gerrit.wikimedia.org/r/#/c/64881/ [11:55:39] DanielK_WMDE: look in a sec [11:55:56] we'll have to tag for demo, but can branch after [11:56:10] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64083 [11:56:46] aude: looking at your patch [11:57:00] k [11:57:23] * aude reviewing multichill's patch first [11:57:51] Change merged: Denny Vrandecic; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64289 [11:59:33] Change merged: Denny Vrandecic; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64281 [12:00:04] meh, always this revision stuff. seriously, i am very much doubting this will be used anywhere [12:02:40] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64477 [12:03:50] Tobi_WMDE, aude: the error message looks much better, but i suggest to not hide it under "details". [12:04:04] true [12:04:12] it seems like whatever is in details is the message we really want to show. the generic "edit failed" stuff is just distracting and useless [12:04:12] can we have a bug for that [12:04:20] or do we? [12:04:35] we talked about it before... i thought we did [12:04:37] ask the ui folks :) [12:04:42] ok [12:05:03] * aude tagging datavalues and diff [12:05:12] merged your patch [12:05:16] k [12:06:07] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64881 [12:11:01] aude: how do i call the clientinfo module? action=query&meta=wbclientinfo doesn't seem to work... [12:11:47] ah, meta=wikibase [12:11:54] k [12:11:59] * aude tryign to tag [12:13:11] aude: there's something wrong with the clientinfo: [12:13:14] [12:13:31] i should be able to append the scriptpath to the base URL to get the full URL. [12:13:43] that doesn't work here, because both contain the /daniel/ part [12:14:28] i guess this is how we currently have this info in the settings.... [12:14:34] huh [12:14:35] but it feels inconsistent, like asking for trouble [12:15:09] i think the confusing bit is the repoUrl setting: that's not the base of the pathes [12:17:10] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64037 [12:23:18] hey, newbie here, is there any api python sdk for wikidata? [12:27:59] yupbank: the pywikipediabot framework has some wikidata support, but i don't know how well developed that is [12:29:11] yupbank: best ask on https://www.wikidata.org/wiki/Wikidata_talk:Bots, or someone who's active there [12:29:49] Abraham_WMDE, aude: demo time now? or do i have time to get myself a coffe? [12:30:23] hi johl [12:30:23] not much toay [12:30:25] today [12:30:28] hey. [12:30:33] time is the main thing [12:30:36] aude: not much time to get a coffe? [12:30:40] no [12:30:48] good :) [12:30:57] Have you had a look at this? http://matthewmueller.github.io/date/ [12:30:58] afk for 5 [12:31:02] demo time is over DanielK_WMDE [12:31:08] started 14:00 [12:31:12] didn't miss much [12:31:18] ah, right, sprint start [12:31:19] unless you have something to show [12:31:25] sorry i missed the demo, confused the times [12:31:43] no, rdf stuff is still incomplete [12:31:49] i'll branch little bit later [12:32:01] see if the claim guid validation thing can go in, though not essential [12:32:02] Abraham_WMDE: so, sprint start now? [12:32:14] not yet [12:36:40] DanielK_WMDE: thx :) [12:36:43] DanielK_WMDE: are you around? [12:39:46] Abraham_WMDE: now [12:41:41] aude: you were actually undoing all my changes of ps 13 in https://gerrit.wikimedia.org/r/#/c/63787/ [12:41:50] huh [12:41:54] ok [12:42:21] * aude try again [12:47:07] DanielK_WMDE: Denny will poke you about sprint planning [12:47:14] ok [12:53:31] DanielK_WMDE: any idea http://wikidata-dev-repo.wikimedia.de/wiki/Special:EntityData/Q1.nt why this is unsupported? [12:53:32] it used to work last week [12:54:47] Denny_WMDE: because i implemented a whitelist of formats; some were just too messy, i didn't really want people to request svg from easyrdf [12:55:04] Denny_WMDE: n3 and ttl will work. we can easily add nt [12:55:17] nt would be great [12:55:22] one sec [12:55:26] thx [12:55:57] the whitelist is a good idea, thx for that [13:02:10] New patchset: Daniel Kinzler; "Allow ntriples in Special:EntityData" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64924 [13:02:33] Denny_WMDE: there you go [13:06:42] Change merged: Denny Vrandecic; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64924 [13:06:51] DanielK_WMDE: very much obliged, thank you [13:07:15] DanielK_WMDE: what you want to do for the next sprint? you already know, or need suggestions? :) [13:08:32] suggestions are welcome [13:08:51] the sprint will be a bit short with the hackathon and my free day on monday though [13:09:07] merge/redirect is something i would like to at least discuss [13:09:14] yea, a discussion item for that would be good [13:11:57] New patchset: Aude; "(bug 48473) Validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [13:12:08] Tobi_WMDE: https://gerrit.wikimedia.org/r/#/c/63787/ [13:12:10] Denny_WMDE: job-queue based dispatch and coalescing via diff-merge are also still pending [13:12:32] made it more lenient about getting and removing claims [13:12:51] kept stricter validation for setting [13:13:12] is the diff merge usable already? [13:13:25] i would prefer "serializing claims in rdf export"? [13:14:37] dont know if the diff merge is ready. last i looked, it wadnt [13:14:50] claims i9n rdf would be good, yes. [13:15:05] i already have a draft for that [13:15:24] and some stuff stashed locally [13:15:40] let's get your stash empty then [13:15:56] and there are a few smaller random stuff that could need some love [13:16:02] #48260 [13:16:02] New patchset: Jeroen De Dauw; "Updated depenedencies in composer.json" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64810 [13:18:06] Denny_WMDE: oh, and i want to finish the content negotiation, of course [13:18:39] for the hackathon, i might need your assistance to work with ops to get the url redirects implemented [13:18:47] including for the entity data stuff [13:18:53] DanielK_WMDE: ^ [13:23:19] aude: sure [13:24:00] if i got it right, it's only one single redirect, from http://www.wikidata.org/entitiy/Q123 to http://www.wikidata.org/wiki/Special:EntityData/Q123 [13:24:09] code should be 303, i think [13:24:17] Denny_WMDE: --^ [13:24:38] http://www.wikidata.org/wiki/Special:EntityData/Q123 will then trigger another 303 to http://www.wikidata.org/wiki/Special:EntityData/Q123.rdf or whatever the Accept header likes [13:25:00] no http://www.wikidata.org/entity/Q60.rdf ? [13:25:02] hmm, that wouldnt be correct [13:25:16] * aude reads the specs again [13:25:39] entity/q123 should conneg with 303 to either Special:EntityData/Q123.rdf or wiki/Q123 [13:25:42] also goes to sepc [13:25:44] spec [13:25:48] correcting if necessary [13:25:48] aude: http://www.wikidata.org/entity/Q60.rdf isn't really valid, since the ".rdf" thing refers to the document, not the concept. but the redirect would/should work anyway. [13:26:02] DanielK_WMDE: sure [13:26:31] Denny_WMDE: "either"? when would it go to wiki/Q123? [13:26:40] it html is preferred? [13:26:51] Denny_WMDE: in any case, it's much easier to implement with two redirects. [13:27:13] the first one *might* be a rewrite and thus hidden. that's less robust, though [13:27:30] it's en.wikidata.org/wiki/New_York_City that goes to www.wikidata.org/wiki/Q60 (easy part) [13:28:00] New patchset: Tobias Gritschacher; "(hotfix) Fixed diff of claims with a time property" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64927 [13:28:06] Denny_WMDE: btw - should S:ED?id=Q123 redirect to S:ED?id=Q123&format=rdf or to S:ED/Q123.rdf? [13:28:11] it goes to wiki/Q123 when html is asked [13:28:17] isnt that the point of connegin? [13:28:19] Denny_WMDE: the difference being that S:ED/Q123.rdf is cached by squids, and may be stale [13:29:46] Denny_WMDE: to me, wiki/S:ED/Q123.html wouldn't be the same thing as wiki/Q123, because the latter has all the UI crap. It's not just an html representation of the data, but a *user* interface to the data [13:29:58] so i think a redirect would be inappropriate [13:37:08] i never know exactly waht redirect and rewrite etc mean [13:37:28] html is a user interface [13:37:51] if i ask for a representation of Q123 in HTML, then wiki/Q123 is absolutely fine [13:38:42] if i ask for the representation in rdf/xml, then wiki/S:ED/Q123.rdf is perfect [13:39:31] so I ask for entity/Q123 and accept HTML, a 303 to wiki/Q123 is the correct thing to do [13:39:50] needs a special case, but is easy enough to do [13:40:51] any request to entity/Q123 should be answered by a 303 (or 404), never by a 200 [13:40:58] but... what should happen if someone asks for wiki/S:ED/Q123.html directly? should it redirect to wiki/Q123 then? [13:41:29] undefined. I am fine with it not returning anything, or wiki/Q123 [13:41:49] i don't care - whatever is simpler [13:42:07] Denny_WMDE: rewrite vs redirect: a redirect is sent to the browser, the document's url changes. a rewrite is internal to the web server, the client doesn't notice. this can get tricky with relative pathes. [13:42:34] so any request to entity/Q123 should be redirects [13:42:38] we need entity/Q123 -> wiki/Special:EntitiyData/Q123 --> wiki/Special:EntitiyData/Q123.rdf [13:42:52] the step in the middle is needed because that's where the content neg happens [13:43:12] but the first arrow could be a rewrite, as long as we are sure to *always* reply to it with a redirect [13:43:33] it's simpler to just use two 303 redirects, though [13:44:03] but it sounds wrong [13:44:07] why? [13:44:27] also, the question how an id=Q123 should be treated is still open. [13:44:49] id=Q123 in what ase? [13:44:53] *case [13:45:09] Request for entity/Q123 , accept: RDF [13:45:11] wiki/Special:EntitiyData?id=Q123 [13:45:24] this should trigger a redirect [13:45:28] but to which url exactly? [13:45:29] answer should be: 303 See Other -> SED/Q123.rdf [13:45:44] ah, but then you go from an uncached URL to aq cached (and possibly stale) URL [13:46:05] (URLs with parameters are not cached by squid/varnish) [13:46:38] Denny_WMDE: https://gerrit.wikimedia.org/r/#/c/64927/ [13:47:11] Change merged: Denny Vrandecic; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64927 [13:47:35] do we cache Special pages content? [13:47:41] New patchset: Aude; "(bug 48473) Validate claim guid in api and return error" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [13:47:44] via squid? [13:47:49] yes and no i think [13:47:51] aude: so, whats with the guid validator? [13:48:05] nevertheless, this is a very different issue [13:48:09] Tobi_WMDE: it does only basic checks for get / remove claims [13:48:20] aude: ok [13:48:20] in case there are invalid guids in the db [13:48:26] aude: good [13:48:28] for saving, it's full check [13:48:48] and I don't see how the two step redirect would improve on that [13:48:53] but accepts lower case letters like for references, as the ui does [13:49:07] aude: waiting for the selenium tests to finish.. [13:49:11] k [13:49:22] the Special:EntityID?id=Q123 can return whatever format you want, I would default to JSON, but that does not matter for the rest either [13:50:23] aude: and what's with the namespace thingy in the article-links of the error tooltip? [13:50:37] i think demo was not fully updated [13:50:45] works for me now [13:50:56] can't reproduce, etc [13:51:23] * aude has one tiny follow up for the tooltip [13:52:16] ok [13:52:23] just checking tests [13:53:59] ok, so we can branch now? [13:54:05] DanielK_WMDE: that fine with you? [13:56:26] Change merged: Tobias Gritschacher; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/63787 [13:56:51] going to branch now [13:57:03] k [13:57:09] my minor fix is not critical [13:57:20] aude, Denny_WMDE: squid/varnish caches anything from the /wiki/ path with no parameters if it sends the right headers [13:57:26] whcih Special:EntityData does [13:57:34] we could prevent caching, but i don't think we want that [13:57:55] it will just say * in the bubble though the bubble shows duplicate messages for that anyway [13:58:07] aude, Denny_WMDE: remember that Q60 stayewd empty even after we fixed the flush bug? it was stuck in varnish. [13:58:43] we could either have a short cache on it or none [13:58:43] the single item export is not expensive [13:59:01] (compared to a normal wiki page) [13:59:03] even stuff like recent changes gets cached [13:59:06] as we dont have tempaltes etc. [13:59:09] New patchset: Jeroen De Dauw; "Add @throws to QueryInterface interface" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64929 [13:59:12] Denny_WMDE: aude merged the patch that controls the cache duration a few hours ago. [13:59:20] yes, that's fine [13:59:21] i'd suggest 1 hour or so [13:59:23] someone merged it [13:59:26] i did [13:59:31] oh, sorry :) [13:59:34] np [13:59:59] but this doesn't relate to the URL discussion [14:00:13] i want us to be on the same boat for this one [14:01:38] Denny_WMDE: ok, so never mind the id=Q123 form. about the double redirect: [14:01:57] it's easier to debug, and less prone to failure in cases something goes wrong [14:02:11] but there is no need for it [14:02:41] entity/Q123 rewrites to SED/Q123 redirects to (whatever, like SED/Q123.rdf or wiki/Q123) [14:03:03] e.g. if mediawiki catches an exception and wants to showq an error page (somethign that can always happen), serving that from /entity/Q123 (because of the rewrite) could look strange if the html uses any relative pathes [14:03:12] but then, mediawiki generally uses absolute pathes [14:03:23] so we can try the rewrite, until it breaks :) [14:03:35] New patchset: Aude; "Change EditEntity status failure from session-failure to sessionfailure" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64930 [14:03:41] i don't see any issue with the double redirect. it's semantically sound. just a little bit of overhead [14:03:57] it's three HTTP requests until you get the data [14:04:00] ok, new branches should be there.. [14:04:04] people complain about having to do a second one [14:04:05] yay! [14:04:13] Tobi_WMDE: yay! [14:04:15] Denny_WMDE: *shrug* [14:04:18] someone else already created tags I noticed [14:04:20] cinqo di wikidata [14:04:23] * aude tagged [14:04:28] when? [14:04:34] during demo time [14:04:38] Denny_WMDE: if they know exactly what they want, the can address it directly [14:04:50] we could delete and retag [14:05:13] the tags should be ok [14:05:31] just the demo system didn't update yet when the error bubble was broken [14:05:33] aude, Tobi_WMDE: the branch doesn't *have* to be based on the demo tag [14:05:41] DanielK_WMDE: yes [14:05:43] i think tagging what has been demoed is the right thing [14:06:11] that's what i thought [14:06:22] aude: DanielK_WMDEthats fine [14:06:23] then we can update the test system [14:08:33] DanielK_WMDE: i don't see the advantage of two redirects [14:08:40] only additional overhead [14:09:44] aude: in wikibase.RepoApiError.js we map the "session-failure" error code to a message called "wikibase-error-ui-session-failure" [14:10:02] are you sure this will still work after you changed session-failure to sessionfailure? [14:10:12] the status is different from the error code [14:10:17] apparently there are two [14:10:21] oh.. ok [14:10:40] one from wikibase, one from core, with a big fat todo in EditEntity to decide which to use [14:10:49] haha, nice [14:10:58] up to you to fix :) [14:11:07] I like TODOs [14:11:11] not [14:11:16] heh [14:11:54] right now it uses both in the bubble.... entirely redundant but i'm not taking on bigger fixing now [14:12:14] New review: Daniel Kinzler; "(1 comment)" [mediawiki/extensions/Wikibase] (master) C: -1; - https://gerrit.wikimedia.org/r/64486 [14:13:44] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64930 [14:13:59] * aude updating the test repo and client [14:13:59] Tobi_WMDE: 7bc6bdfedfe47995386b038ced695e53027e42cb [14:16:02] New review: Daniel Kinzler; "-1 for confusing comments. Seems fine otherwise." [mediawiki/extensions/Wikibase] (master) C: -1; - https://gerrit.wikimedia.org/r/64490 [14:16:35] New patchset: Jeroen De Dauw; "Added UpdateFailedException" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64933 [14:16:35] New patchset: Jeroen De Dauw; "Added DeleteFailedException" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64934 [14:16:36] New patchset: Jeroen De Dauw; "update and delete methods in QueryInterface now throw exceptions rather then retruning a boolean" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64935 [14:17:03] New patchset: Tobias Gritschacher; "Stopgap to avoid excessively long string values (backport)" [mediawiki/extensions/DataValues] (mw1.22-wmf5) - https://gerrit.wikimedia.org/r/64936 [14:17:26] http://dpaste.com/1195230/ [14:17:28] Abraham_WMDE: [14:17:44] Denny_WMDE: https://gerrit.wikimedia.org/r/#/q/owner:%22Jeroen+De+Dauw%22+status:open,n,z [14:17:47] Latest 3 commits [14:18:45] Change merged: Denny Vrandecic; [mediawiki/extensions/DataValues] (mw1.22-wmf5) - https://gerrit.wikimedia.org/r/64936 [14:19:42] Change merged: Denny Vrandecic; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64933 [14:20:18] New patchset: Tobias Gritschacher; "trim incoming string values" [mediawiki/extensions/DataValues] (mw1.22-wmf5) - https://gerrit.wikimedia.org/r/64937 [14:20:32] https://gerrit.wikimedia.org/r/64936 <- evil Denny is still evil :) [14:20:49] Same goes for evil Tobi_WMDE [14:21:10] Denny_WMDE: more evilness: https://gerrit.wikimedia.org/r/#/c/64937/ [14:21:14] JeroenDeDauw: ^^^ [14:21:49] JeroenDeDauw: it's not Tobi_WMDE's fault. it is mine. [14:22:04] and danwe and yours, because we still can't do it the right way [14:22:15] but that's my fault because i am prioritizing other stuff first [14:22:25] so in the end, it's my evilness [14:22:48] Change merged: Denny Vrandecic; [mediawiki/extensions/DataValues] (mw1.22-wmf5) - https://gerrit.wikimedia.org/r/64937 [14:22:58] New review: Daniel Kinzler; "This implementation is incomplete. That's fine, but it should be clearly indicated in the code, usin..." [mediawiki/extensions/Diff] (master) C: -1; - https://gerrit.wikimedia.org/r/63690 [14:28:40] New review: Denny Vrandecic; "(1 comment)" [mediawiki/extensions/Wikibase] (master) C: 2; - https://gerrit.wikimedia.org/r/64934 [14:28:41] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64935 [14:28:41] Change merged: Denny Vrandecic; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64934 [14:29:05] Change merged: Denny Vrandecic; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64929 [14:30:47] Change merged: Denny Vrandecic; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64810 [14:30:50] New patchset: Jeroen De Dauw; "Deprecated and removed some getPrefixedId usage in the DataModel component" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64490 [14:32:34] New review: Daniel Kinzler; "The tests don't seem to be registered. Or am I missing something?" [mediawiki/extensions/Diff] (master) C: -1; - https://gerrit.wikimedia.org/r/63713 [14:34:42] New patchset: Jeroen De Dauw; "Add credits and i18n file to MW file of DataModel component" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64486 [14:35:50] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64490 [14:37:59] New review: Daniel Kinzler; "(1 comment)" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64486 [14:43:38] New patchset: Jeroen De Dauw; "Added InsertFailedException" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64939 [14:43:39] New patchset: Jeroen De Dauw; "Have insert in QueryInterface throw an exception rather then returning a boolean" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64940 [14:44:12] Denny_WMDE: two new ones https://gerrit.wikimedia.org/r/#/q/owner:%22Jeroen+De+Dauw%22+status:open,n,z [14:48:49] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64940 [14:48:49] Change merged: Denny Vrandecic; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64939 [14:53:26] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64494 [14:53:51] DanielK_WMDE: aude: are there any questions left re http://meta.wikimedia.org/wiki/Wikidata/Notes/URI_scheme#Machine-readable_access_.28planned.29 [14:54:59] no, think i got it [14:55:03] Denny_WMDE: no, i think we are fine. maybe we should have a ticket for redirecting to wiki/Q123 in the text/html case, though [14:55:08] just so we don't forget [14:56:04] test repo is broken [14:56:08] * aude trying to fix [14:56:40] aude: i suggest rewriting http://www.wikidata.org/entity/(.*) to http://www.wikidata.org/wiki/Special:EntityData/$1 with QSA [14:56:51] ok [14:57:02] what's QSA? [14:57:08] query string [14:57:18] ok [14:57:57] Denny_WMDE: https://wiki.apache.org/httpd/RewriteFlags/QSA [15:00:56] apache is pretty much like finnish for me [15:01:03] i recognize the characters... [15:13:35] hi anjeve [15:19:34] New patchset: Jeroen De Dauw; "Y U NO DECENT LOAD MEACHANISM? [DO NOT MERGE]" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64943 [15:20:09] New patchset: Jeroen De Dauw; "Added ArrayComparer interface" [mediawiki/extensions/Diff] (master) - https://gerrit.wikimedia.org/r/63713 [15:23:15] New patchset: Jeroen De Dauw; "Added ArrayComparer interface" [mediawiki/extensions/Diff] (master) - https://gerrit.wikimedia.org/r/63713 [15:30:41] New patchset: Jeroen De Dauw; "Added preliminary diff merger functionality" [mediawiki/extensions/Diff] (master) - https://gerrit.wikimedia.org/r/63690 [15:38:01] New patchset: Jeroen De Dauw; "Added preliminary diff merger functionality" [mediawiki/extensions/Diff] (master) - https://gerrit.wikimedia.org/r/63690 [15:38:53] New review: Jeroen De Dauw; "> Also, the documentation is rather sparse." [mediawiki/extensions/Diff] (master) - https://gerrit.wikimedia.org/r/63690 [15:39:36] New review: Jeroen De Dauw; "> Or am I missing something?" [mediawiki/extensions/Diff] (master) - https://gerrit.wikimedia.org/r/63713 [15:48:25] New patchset: Jeroen De Dauw; "Take care of TableBuilder TODO in QueryEngine component" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64944 [16:04:25] test repo is back but could break at anytime when puppet runs again [16:04:47] the puppet scripts are broken and out of sync with other stuff in puppet that has changed [16:05:01] * aude update test client later and fix puppet  [16:08:42] New review: Daniel Kinzler; "(1 comment)" [mediawiki/extensions/Diff] (master) - https://gerrit.wikimedia.org/r/63690 [16:11:34] New patchset: Jeroen De Dauw; "Rename EntityIdTransformer and implementation for clarity" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64948 [16:11:34] New patchset: Jeroen De Dauw; "getInternalIdForEntity now takes an EntityId rather then its components" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64949 [16:15:04] New patchset: Jeroen De Dauw; "Rename EntityIdTransformer and implementation for clarity" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64948 [16:15:08] New patchset: Jeroen De Dauw; "getInternalIdForEntity now takes an EntityId rather then its components" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64949 [16:17:10] New patchset: Jeroen De Dauw; "Y U NO DECENT LOAD MEACHANISM? [DO NOT MERGE]" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64943 [17:10:10] It is not possible to create two claim with one token? [17:13:52] New patchset: Jeroen De Dauw; "Added evilMediaWikiBootstrap.php so the WikibaseDatabase test runner can also run the MW dependent tests" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64943 [17:17:06] New review: Jeroen De Dauw; "(1 comment)" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64486 [18:25:56] hello, whatever I do, I cannot save the "Main language first" gadget… [18:26:10] hsarrazin: it will be fixed in a few minutes [18:26:20] it's a wikipedia-wide bug [18:26:23] aude: thanx :) [18:26:41] fix deployed already, give it a few minutes [18:29:34] aude it's OK now :) - I just decided to transfer it from js to gadget, and then… ;) [18:29:49] yay! [18:44:20] New patchset: Aude; "(bug 48679) hide the view source tab for item and property pages" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64967 [18:53:09] we have property (parser function) by label now on all languages :) [18:53:16] works nicely in arwiki [18:54:18] Denny_WMDE: i think you could review https://gerrit.wikimedia.org/r/#/c/64967/ [18:54:24] super simple [18:56:14] indeed [18:56:34] aude: thx re deploy [18:56:59] aude: why aint jenkins verifying? [18:57:37] gerrit is sort of down [18:57:44] or slow at the moment [19:00:09] for https://bugzilla.wikimedia.org/47415 i think we need to consider a few options [19:00:41] 1) make the disable autopatrol configurable by namespace [19:00:44] or content type [19:00:55] probably namespace [19:01:06] 2) have the logs purged after x time (configurable) [19:01:44] 3) disable autopatrol logging entirely, though some folks don't like it [19:05:51] Change merged: jenkins-bot; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64967 [19:23:28] statement - A GUID identifying the statement for which a reference is being set [19:23:29] This parameter is required [19:23:29] is this means i must create a new guid for a new reference? http://www.mediawiki.org/wiki/Extension:Wikibase/API#wbsetreference is empty [19:23:46] ebraminio: no [19:23:58] it's the statement (claim) that you are attaching the reference to [19:24:47] aude: so it is not a GUID? [19:25:21] it is a guid [19:25:51] you wouldn't create it though [19:26:17] get it from getclaims or such [19:26:18] aude: but it is required? [19:26:22] hmm [19:26:23] yes [19:26:37] aude: thanks [19:26:52] https://www.wikidata.org/w/api.php?action=wbgetentities&ids=q60&props=claims&format=jsonfm [19:26:55] it's one of these [19:27:00] q60$5083E43C-228B-4E3E-B82A-4CB20A22A3FB [19:27:18] i'd use that if i want to add a reference to that claim [19:27:22] aude: I must pass all of it or from $ to last? [19:27:28] all of it [19:27:34] oh, thanks [19:27:42] we need to do a better job at the documention [19:29:00] aude: I hope future development won't broke api i used on merge.js [19:29:28] don't know but certainly try to avoid and make backwards compatible [19:30:42] aude: why it is called "set" and not "add"? [19:31:06] only one reference can be set for a claim? [19:33:11] http://www.wikidata.org/w/index.php?title=User%3AEbraminio%2Fmerge.js&diff=45070308&oldid=45059343 [19:33:20] ebraminio: in this case not sure, but maybe it allows updating a reference [19:33:37] for aliases, etc. that is true [19:35:29] New patchset: Umherirrender; "Use dbKey in query of Special:UnconnectedPage" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64974 [19:36:07] New review: Umherirrender; "Untested" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/64974 [19:38:09] aude: still not working :( [19:39:51] aude: i think problem is on "snaks: JSON.stringify(claim.references[0].snaks)," [19:40:06] aude: documentation doesn't say what is needed format of it [19:40:37] let's see.... [19:41:16] i can get an example [19:44:25] http://www.mediawiki.org/wiki/Extension:Wikibase/API#wbsetreference [19:44:53] i would get the statement guid from wbgetentities [19:45:03] with prop=claims (including claims there) [19:45:23] https://www.wikidata.org/w/api.php?action=wbgetentities&ids=q60&props=claims [19:48:18] https://www.wikidata.org/w/api.php?action=wbgetentities&ids=q76&props=claims this one has references [20:04:58] reosarevok: pong [20:05:03] \o/ [20:05:06] nikki ^ [20:05:21] hi [20:05:23] (hope you enjoyed legoland :) ) [20:05:28] :D [20:05:38] whats up? [20:08:10] So [20:08:14] We want to do two things [20:08:20] thing a is reasonably simple [20:08:34] We have a full mapping of ISO 3166-2 codes to wikidata entities [20:08:39] and want to send it to you :) [20:08:42] (you as in wikidata) [20:09:21] What are the requisites? [20:09:34] Is this an "Import bot" since it imports data? [20:09:41] or a "Statement adding bot"? [20:10:07] nice! [20:10:10] well probably both [20:10:29] oh wait [20:10:34] (thing b is somehow extract city info from wikipedia infoboxes and link cities to subdivisions they're in in wikidata) [20:10:37] import bots in that sense refer to ones that manage links [20:10:49] so just "statement adding bot" [20:11:44] Good. So I imagine for that one we can pretty much reuse the structure of MineoBot (the one that adds MBIDs to things) [20:12:01] Since the idea is pretty much the same [20:12:25] sure [20:12:50] So, we need to go here https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot and add an entry then? [20:12:55] yup [20:13:42] ok. nikki, feel like adding AreaBot there? (I guess AreaBot makes sense :) ) [20:14:49] legoktm: how does the test edit thingy go? [20:14:56] presumably I would have to make the account first [20:15:03] nikki: yes [20:15:36] reosarevok: well once you create the page, ill leave a comment saying to make ~100 test edits, and then once you do that i can give it a bot flag [20:15:43] ok [20:15:44] :) [20:17:56] heh, which of is the operator? :P [20:18:35] Given you have a place to run it and I don't, that'd be you :p [20:20:03] oh cheers :P [20:22:58] * legoktm will be afk for a bit [20:22:58] any admin to help solve an issue? [20:23:07] * matanya thought about legoktm  [20:23:19] matanya: rschen7754 is here! [20:23:20] matanya: Yes? [20:23:27] * legoktm huggles JohnLewis  [20:23:30] thanks JohnLewis [20:23:38] there is a mess in Q12174963 [20:23:38] aude: How long do you think it takes before https://gerrit.wikimedia.org/r/#/c/64477/ is live? [20:23:39] legoktm: Nice to see you back. [20:23:53] and https://www.wikidata.org/wiki/Q12257149 [20:24:11] and https://www.wikidata.org/wiki/Q12403193 [20:24:36] matanya: Dups basically? [20:24:50] multichill: next week [20:25:18] we usually update on wednesdays [20:25:32] JohnLewis: yes [20:25:32] (every other wednesday for wikidata) [20:25:39] but three of them [20:25:47] I will get that solved now. [20:25:58] ok [20:26:34] hi multichill [20:26:43] hello matanya [20:26:49] long time no see [20:28:27] I've been a bit busy organizing a hackathon ;-) [20:28:48] was it well? [20:28:51] Solved. [20:29:07] JohnLewis: not quite [20:29:10] see https://www.wikidata.org/wiki/Q219152 [20:29:22] some links went there from some reason [20:29:34] Great. [20:29:46] Do I transfer links or properties :/ [20:29:58] matanya: https://www.mediawiki.org/wiki/Amsterdam_Hackathon_2013 , we start tomorrow [20:30:13] links JohnLewis [20:30:24] matanya: Huh? [20:30:25] I wish you best of luck multichill [20:30:48] How do you deal with those cases? I'm curious now [20:30:57] there is one hackathon in tel aviv tommorw as well (net not bug as yours) [20:31:02] Wait. No. That is a different item. [20:31:09] (there dewiki has a page for two models of the helicopter, while enwiki has one for each) [20:31:21] Thank you [20:31:24] yes, this is a mess [20:31:36] what do you suggest JohnLewis ? [20:31:51] You'll end up with three items. One for the set, and two for the models :P [20:32:01] * (yet not big as yours) [20:32:38] the classic wiki way: it doesn't fit, lets split it! [20:32:39] I don't really know. legoktm your thoughts? [20:32:56] matanya: Dups basically? [20:33:03] ^ kinda [20:33:09] :P [20:33:24] matanya: They were. I merged and deleted. But now it gets to the 'Why dewiki. Why?' [20:33:31] hahaha [20:33:35] LOL [20:33:49] de.wiki as a whole other world [20:35:41] I had the same doubt before because I see you have one entry for my home region https://www.wikidata.org/wiki/Q3934 [20:35:58] But it includes the ISO codes for the "autonomous community" level and the "province" level [20:36:19] JohnLewis: please note also ko.wiki has the same model [20:36:27] (which are legally different, but they cover exactly the same area since that community has only one province) [20:37:03] So what decides when two things are separate enough to get different entries? Is there a guideline? :) [20:52:44] Question! https://www.wikidata.org/wiki/Q483100 uses P131 instead of P17 to link to Turkey [20:52:48] Is that wrong? [20:53:16] (it's at least inconsistent) [20:53:36] (but I'm unsure if I should *just* add P17 too, or also remove P131) [20:55:02] * reosarevok adds P17 for now [21:10:11] Yet another question! :) https://www.wikidata.org/wiki/Q12360638 is the same band as https://www.wikidata.org/wiki/Q1475625 after a name change, see https://en.wikipedia.org/wiki/Ruffus [21:10:22] Should the two be merged? [21:11:19] yes [21:12:09] How? :) [21:13:16] * reosarevok is checking and fixing stuff on https://www.wikidata.org/wiki/Wikidata:Database_reports/Constraint_violations/P434 now [21:16:29] just remove the sitelink from https://www.wikidata.org/wiki/Q12360638 and add it to the other one [21:16:57] then add a request to [[WD:RFD]] to get it deleted [21:16:58] [3] 10https://www.wikidata.org/wiki/WD:RFD [21:17:27] Done! [21:17:31] (the first bit) [21:18:11] great [21:18:15] deleted it already ;) [21:19:07] Thanks :) [21:19:14] Did you see my previous question? [21:19:19] (about P17 vs P131) [21:20:21] ah [21:20:22] hm [21:21:38] https://www.wikidata.org/wiki/Wikidata:PFD#Property:P131 [21:21:46] so i'm not sure. [21:22:39] aude Denny_WMDE what's the status? :) [21:23:07] I am anti-deleting P131. [21:23:08] heh [21:23:17] It just seems like stuff would be too confusing otherwise. [21:24:57] Is something that occupies the full area of Administrative Unit A "part of" it? [21:25:21] (back to my example with my home region, although right now they're the same entity anyway in wikidata: https://www.wikidata.org/wiki/Q3934 [21:25:22] ) [21:25:35] Lydia_WMDE: as far as i know, deployed without issues [21:25:56] Denny_WMDE: ok [21:26:23] reosarevok: If each occupies the same area, wouldn't they just be the same thing? [21:26:33] TCN7JM: depends on how you analyse it [21:26:35] Currently, yes [21:26:40] (in wp/wd) [21:27:44] But it's actually one autonomous community with only one province inside (we have a few of those) [21:27:59] That makes it sound like two things that occupy the same area to me :/ [21:28:07] What in particular are you talking about? [21:28:23] https://www.wikidata.org/wiki/Q3934 [21:29:32] * TCN7JM shrugs. [21:30:03] Yeah, that's kinda my view too [21:30:11] It's a weird thingy [21:30:46] (they have two separate ISO codes, one for each level - but indeed are the same area) [21:30:48] Lydia_WMDE: checked, yep, deployed [21:31:12] cool - will post stuff in a bit [21:32:12] reosarevok: So which one is within the other, then? [21:32:40] the province is inside the community (ES-O is inside ES-AS) [21:32:58] But mostly by analogy to other communities, which *do* have several provinces [21:33:49] Anyway, the original question was about https://www.wikidata.org/wiki/Q483100 [21:34:09] Which right now has both P17 and P131, since I added P17 because that's a constraint of https://www.wikidata.org/wiki/Property_talk:P300 [21:34:33] And I didn't know whether to remove P131 since it seems it's also true - it's in a country and the country is an administrative unit [21:35:12] You can keep P131 for Spain. [21:35:18] Or so it seems. [21:35:55] Turkey, in this case :) [21:36:07] But OK [21:38:31] I saw "is in the administrative unit" - Spain, but I may have hallucinated. [21:39:06] heh [21:39:18] yeah, just saw the *other* link I pasted has both too :) [21:39:26] (and is indeed in Spain) [21:39:58] Ok then! [21:43:23] New review: Jeroen De Dauw; "(1 comment)" [mediawiki/extensions/Diff] (master) - https://gerrit.wikimedia.org/r/63690 [22:03:19] legoktm: heh, I used the form at the top, and it got added in https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot/MBAreaBot instead of https://www.wikidata.org/wiki/Wikidata:Requests_for_permissions/Bot - should I just move it? [22:03:35] no thats right [22:03:43] you just transclude the request [22:03:55] add {{Wikidata:Requests for permissions/Bot/MBAreaBot}} to the bottom of the main /Bot page [22:03:57] [4] 04https://www.wikidata.org/wiki/Template:Wikidata:Requests_for_permissions/Bot/MBAreaBot [22:04:02] * legoktm slaps AsimovBot  [22:04:24] Ok :) [22:07:50] legoktm: done! :) [22:08:00] :D [22:08:06] will look in a few minutes [22:08:20] nikki won't be around to run the test run until a few hours from now anyway [22:08:22] So no hurry :) [23:39:54] Is there a certain property I can use to portray that X City is a capital of something? I mean, I know about the "capital" property, but the other way around? [23:43:38] https://www.wikidata.org/wiki/Wikidata:List_of_properties/Geographical_feature certainly suggests there isn't [23:43:55] "Target items of "capital (P36)" are required claim to have a claim to "instance of (P31)" with value "capital (Q5119)": " [23:43:57] https://www.wikidata.org/wiki/Property_talk:P36 [23:44:16] But that seems to be all? :/ [23:44:30] Oh well. [23:45:00] Thanks for pointing me to that page, though. I now remember a bunch of other properties I should be using in upgrading items. [23:47:32] That makes no sense. I'm not so sure about proposing a new "is the capital of" property, but using "instance of"-->"capital" seems a bit cryptic. [23:47:50] I mean, "capital" could be used for anything. Including minor stuff like county seats. [23:49:07] It's almost like we need an "of" qualifier [23:49:09] lol [23:49:16] instance of capital of N [23:49:25] Was just going to say something like that. [23:49:36] though, in almost every place, there's only going to be one instance of it. [23:50:00] * Sky2042 wonders. [23:50:22] Yeah, but what about cities that are the capital of two different administrative bodies? [23:50:31] Or even without that [23:50:37] Pierre, South Dakota, is the county seat of Hughes County and the capital of South Dakota. [23:50:51] Pierre, South Dakota is probably marked as in country US [23:50:59] Yet it's certainly not its capital! :) [23:51:04] Exactly. [23:53:18] So...any other thoughts? [23:55:29] Pierre shouldn't be marked as in the country US though... [23:55:36] Apart from "implement inheritance so that adding X has capital Y automatically entails Y is capital of X", no [23:55:57] Pierre should too be marked as in the country US. Why shouldn't it? [23:56:17] Because that's inferred from South Dakota [23:58:02] I agree that you can infer that, but I don't think we should remove United States of America from all the items. [23:58:25] what's the ID for country? [23:58:35] P17 [23:58:53] I'm checking and it doesn't seem to be clear about it [23:59:35] https://www.wikidata.org/wiki/Property_talk:P131 claims "Item: items with this property should also have country (P17)" [23:59:40] So it seems it's intended to have both? [23:59:50] Or am I reading it wrong? [23:59:54] Lemme check.