[00:47:27] Change on 12mediawiki a page Extension:Wikibase Client was modified, changed by Mange01 link https://www.mediawiki.org/w/index.php?diff=655357 edit summary: [+0] [00:48:04] Change on 12mediawiki a page Extension:Wikibase Client was modified, changed by Mange01 link https://www.mediawiki.org/w/index.php?diff=655358 edit summary: [+11] [11:18:38] Jasper_Deng_away: at five in the morning it is not very likely I'm awake, .. ;) [11:34:34] Change merged: Aude; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/52178 [11:48:33] Change merged: Aude; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/52051 [11:50:51] Tobi_WMDE: poke [13:12:47] hello all [13:13:23] Lydia_WMDE: http://www.quora.com/Wikipedia/How-will-the-Wikidata-1-project-impact-Wikipedia [13:13:42] looking [13:13:45] hi rebepoi [13:14:15] any one knows tutorial/instructions how to use wikidata for example to implement pictures from artist to your site? [13:15:06] or implement any thing? just need some link to instructions [13:15:08] * aude can't see the link :/ [13:17:55] is there any code samples or something? [13:18:45] rebepoi: what do you want to do? [13:18:53] rebepoi: not that i know. you might try pywikipediabot. it has some parts using wikidata [13:20:16] Lydia_WMDE, I'm building site about music artists, and would like to get one picture for each if possible [13:21:50] rebepoi: hmm not sure but you could ask the author of http://toolserver.org/~magnus/ts2/reasonator/?q=Q1339 for example [13:23:52] Lydia_WMDE, Interesting, I'll try that. So there is no info anywhere yet, how to link data from wikidata on your own site [13:24:11] no proper documentation, no [13:24:16] there is the api docs [13:24:19] one sec [13:24:28] http://www.mediawiki.org/wiki/Extension:Wikibase/API [13:26:10] aude: ping [13:26:56] Lydia_WMDE, thanks [13:27:05] np [13:32:49] Tobi_WMDE: https://gerrit.wikimedia.org/r/#/c/52051/ and https://gerrit.wikimedia.org/r/#/c/48449/ are essential for deployment [13:33:27] other stuff is nice to have but not essential and perhaps can wait for next deployment [13:34:12] aude: ok [13:34:31] Tobi_WMDE: thanks :) [13:35:16] aude: would require some setup work to review the namespace exclusion stuff [13:35:23] right? [13:35:34] Lydia_WMDE and rebepoi: The api doc is hopelessly outdated [13:37:13] Jeblad_WMDE: any chance we can get that updated? i need something to point people to [13:37:17] rebepoi: yes, that API doc is outdated. the current version is the automatic documentation here: http://www.wikidata.org/w/api.php [13:37:29] Tobi_WMDE: probably [13:37:30] Jeblad_WMDE, nice :) [13:37:40] rebepoi: basically, you need to use the identifier for the artis [13:37:42] there are tests for it, but what we do for deployment... [13:37:44] Jeblad_WMDE: Denny_WMDE: can we then kill the api page and replace it with a link there? [13:37:51] remove 'namespace" setting [13:37:58] Denny_WMDE, Thankd, I'll check that out [13:37:59] Lydia_WMDE: put a "historic" tag on it, and point to it [13:38:01] not kill it [13:38:09] k [13:38:12] The api page is linked to as the examples are there [13:38:20] * aude checks the tests [13:38:33] It is links created by the automatic documentation [13:38:44] rebepoi: get the identifier for the artist, use the wbgetentity module to get the info, and then find therein the statement connecting to the image [13:39:09] It is outdated on everything related to claims, references, qualifiers and rank [13:39:20] the first test case covers what we'll do in deployment for settings [13:39:51] I guess I'm the only one that tries to update that doc [13:40:06] aude: I see the advantages for exclusion over inclusion settings for namespaces, but did we discuss the descision to already have it in wmf11? [13:40:23] Denny_WMDE says yes [13:40:32] * Jeblad_WMDE needs a lot of choclate to fix the api doc [13:40:34] Denny_WMDE : never says yes.. :-P [13:40:53] otherwise the settings for deployment tomorrow are extremely cumbersome or hacky [13:41:03] I see [13:41:07] * aude not want to do settings [13:41:11] hehe [13:41:17] if you want to prepare them ... :) [13:41:37] having setting to include namespaces was a bad idea and the other way is much better [13:41:51] i know i know [13:42:02] and henning's patch is important too though a minor change [13:42:08] i agree with aude here, but i avoid saying the y.. word for the benefit of Tobi_WMDE [13:42:14] heh [13:42:17] ok, i'm going to review, aude will you then take care of backporting it and document the backports in the google doc? [13:42:24] ok, i can do [13:42:49] fine [13:43:21] thanks [13:59:36] New patchset: Tobias Gritschacher; "(bug 44873) Add setting to exclude namespaces" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/48449 [14:02:48] aude: how does the namespace setting currently look like? [14:03:04] and how would we exclude namespaces in the future? [14:03:17] can u give me a quick example? [14:04:36] Tobi_WMDE: we have $wgWBClientSettings['namespaces'] = array( NS_MAIN ); [14:04:52] NS_MAIN being a constant and integer value [14:04:59] integers fine also to put in the array [14:05:04] ok [14:05:12] with my change, say we want to exclude user talk pages, then [14:05:24] but it was $wgWBSettings? [14:05:33] $wgWBClientSettings['excludeNamespaces'] = array( NS_USER_TALK' ); [14:05:36] not $wgWBClientSettings [14:05:49] Tobi_WMDE: both are fine for now, but it's been / being changed [14:06:05] ok, thx [14:06:21] * aude probably needs to update deployment settings to use the new variables, in case support for the old one disappears some time when i'm not watching :o [14:06:40] there's also $wgWBRepoSettings and I think $wgWBSettings still for lib [14:07:49] * aude thinks having a setting called "namespaces" is ambiguous anyway and shall be deprecated and maybe removed sometime [14:11:19] how do I connect to wikidata? [14:11:45] aude: if the settings do not exist, if breaks [14:11:50] anyone here editing in hrebrew? [14:11:53] *it breaks [14:12:05] thats bad [14:12:15] hmmm [14:12:21] aude: Catchable fatal error: Argument 2 passed to Wikibase\LangLinkHandler::__construct() must be of the type array, boolean given, called in C:\xampp\htdocs\wikidata-client\extensions\Wikibase\client\WikibaseClient.hooks.php on line 544 and defined in C:\xampp\htdocs\wikidata-client\extensions\Wikibase\client\includes\LangLinkHandler.php on line 61 [14:12:27] it uses the default [14:12:29] rebepoi: like you connect to wikipedia as well - you'll likely find examples for that [14:12:41] then we have no defaults [14:12:50] we do..... [14:12:51] Lydia_WMDE, aah, ok [14:12:54] * aude checks [14:12:55] hm [14:13:52] but the default for "namespaces" is false which is not an array [14:14:13] should be an empty array, right? [14:14:38] i suppose we could do that.... it's odd though [14:14:46] * aude like it to be 'all'; [14:15:34] empty array is as odd as false [14:15:37] * aude changing it to be array [14:15:44] it's at least like our new setting [14:20:41] New patchset: John Erling Blad; "(Bug 41631) Removed Status objects as dieUsage throws exceptions" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/52238 [14:23:53] New patchset: Aude; "(bug 44873) Add setting to exclude namespaces" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/48449 [14:26:36] " Certain types of searches, such as those that include certain diacritical characters, may fail (including searches that arrive via Wikipedia's "Edit links" link)." -- is this still true? [14:27:09] especially the "Edit links" part [14:28:17] The searches fails in mysterious ways only God knows about [14:28:31] * Jeblad_WMDE goes sanctified [14:28:54] whym: yes, non ascii characters fail in search..... [14:29:04] * aude not sure how soon it will be fixed but is high priority [14:29:37] edit links part should be improved, though [14:29:37] Actually its only some chars with diacritics.. [14:29:48] e.g. from hebrew wikipedia [14:30:06] Jeblad_WMDE: like all of arabic :/ [14:30:10] Wonder if some locale is turned on and stuck on the server.. [14:30:14] but have no idea [14:30:16] the "Edit links" corresponds to Special:ItemByTitle, right? [14:30:47] whym: it does now... we are changing it either this deployment or next one to link directly to the Q### pages [14:30:47] 10[1] 10https://www.wikidata.org/wiki/ [14:31:01] either way the special page should work better [14:31:19] The bug isn't in the special page [14:31:28] It is in the link generated on the client [14:31:43] * aude nodes [14:31:45] nods [14:32:12] That doesn't imply there is no bugs in the special page, it is crwling with bug [14:32:14] It's interesting Japanese doesn't seem to be suffered by the problem [14:32:22] hmmm [14:32:26] Special:Antfarm [14:32:26] whym: in search [14:32:28] * aude tries  [14:32:58] but poke me if anythings needs review,.. [14:32:59] http://www.wikidata.org/w/index.php?search=%E3%83%93%E3%83%BC%E3%83%AB&title=Special%3ASearch&fulltext=1 [14:33:01] aude: no, in Special:ItemByTitle [14:33:09] * Jeblad_WMDE goes back to cloning bugs [14:33:13] no luck for me [14:33:18] whym: ah, ok [14:33:29] that works for me with arabic, japanese etc [14:33:39] search is totally broken for me in Japanese [14:33:44] whym: me too [14:34:35] it's unfortunately like a black box and not a lot of people have the ability to work on search stuff to fix, so it's taking a while (too long) to get it fixed [14:36:32] I can imagine it would be complicated, Lucene doesn't seem made for multi-language search [14:36:45] seems to be [14:37:20] and wikidata is not exactly the perfect use case. lucene (and how we use it) is better for more text-based content like wikipedia [14:37:37] but you would have to attach as many analyser modules as the number of languages? [14:37:54] * aude has no idea but sounds right [14:38:27] aude: patch seems fine to me [14:38:32] Lucene is actually quite good on structured documents [14:38:35] Tobi_WMDE: good :) [14:38:44] aude: anytging against merging? [14:38:45] :-) [14:38:49] Tobi_WMDE: no [14:38:54] go ahead [14:38:59] * aude can do the backports [14:39:23] Change merged: Tobias Gritschacher; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/48449 [14:39:52] aude: done. poke me when backports are done, I'll rerun the tests then [14:40:00] Tobi_WMDE: ok [14:48:43] there is one more thing i need to see developed and backported before deploy tomorrow [14:48:51] ? [14:48:58] i hoped for jereon to show up, but maybe someone else can help with that [14:49:04] the license thing/ [14:49:05] ? [14:49:11] strings should be restricted in length, if they are not yet [14:49:29] hmmm [14:50:29] ahh, that one too [14:50:33] the evil evil license thing [14:51:10] i can look at the license one but think it would take jeroen much less time to handle string length [14:51:41] so, we're enabling strings tomorrow? [14:53:07] yes, that's the plan [14:53:13] thanks, license would be super helpful [14:53:32] otherwise i will do it, and you know what that means *evil* [14:53:36] New review: Aude; "this turns links that have spaces into something like:" [mediawiki/extensions/Wikibase] (master) C: -1; - https://gerrit.wikimedia.org/r/51956 [14:53:46] Denny_WMDE: ok [14:54:39] thx [15:03:22] New patchset: John Erling Blad; "(Bug 41631) Removed Status objects as dieUsage throws exceptions" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/52238 [15:10:32] New review: Aude; "(2 comments)" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/51956 [15:14:47] New patchset: Aude; "(bug 44873) Add setting to exclude namespaces" [mediawiki/extensions/Wikibase] (mw1.21-wmf11) - https://gerrit.wikimedia.org/r/52239 [15:14:47] New patchset: Aude; "Fix for no-JS anonymous edit warning messages" [mediawiki/extensions/Wikibase] (mw1.21-wmf11) - https://gerrit.wikimedia.org/r/52240 [15:14:47] New patchset: Aude; "(bug 44710) Don't display (none) in case we don't have langlinks" [mediawiki/extensions/Wikibase] (mw1.21-wmf11) - https://gerrit.wikimedia.org/r/52241 [15:15:16] Change merged: Aude; [mediawiki/extensions/Wikibase] (mw1.21-wmf11) - https://gerrit.wikimedia.org/r/52239 [15:15:30] Change merged: Aude; [mediawiki/extensions/Wikibase] (mw1.21-wmf11) - https://gerrit.wikimedia.org/r/52240 [15:15:53] Change merged: Aude; [mediawiki/extensions/Wikibase] (mw1.21-wmf11) - https://gerrit.wikimedia.org/r/52241 [15:16:33] Change abandoned: Aude; "obsolete" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/49482 [15:19:27] Tobi_WMDE: done with backporting for now [15:19:51] denny needs a couple more things... limit string length and something for the license message [15:20:48] aude: yes, just noticed that.. :-( [15:21:46] * aude poking at https://gerrit.wikimedia.org/r/#/c/51179 again and license text [15:22:17] aude: \o/ [15:22:39] for license text, worst case is to repeat the evil evil hack we did for wmf10 [15:23:09] whats wrong with the licence text? [15:23:35] Tobi_WMDE: we're using a wikimedia specific message key that comes from another wikimedia specific extension [15:23:43] with copyright text [15:23:47] well, that is not the evil hack [15:23:47] ah.. ok [15:24:02] the evil hack is that we do it hardcoded and only in the deployment branch [15:24:10] Denny_WMDE: right [16:10:36] now that it's day (for some of you), I repeat [16:10:43] 05 03:38:34 < jeremyb_> hey people, say something: https://bugzilla.wikimedia.org/41586#c23 [16:11:15] heh [16:18:25] wikidata is used in the article namespace as well as templates cats and wikipedia: right? :P [16:18:33] addshore: yes [16:18:36] :) [16:18:56] there's an issue with the edit link for "wikipedia:" links, though [16:19:14] but they otherwise work fine with interwiki links [16:45:42] New patchset: John Erling Blad; "(Bug 45223) URL-escape title before it is used in URL" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/51956 [16:49:27] aude seems like it works [16:55:24] Jeblad_WMDE: shall look in a min [16:56:21] I checked both a title with question mark and a category [16:57:03] There are some weirdness on when the link is visible, but I thin a fix is in a patchset from hoo [16:57:44] yes, we've backported that one [17:08:36] New patchset: Aude; "(bug 45037) show edit link only if we have repo links" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/51179 [17:16:35] New patchset: Aude; "(bug 45037) show edit link only if we have repo links" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/51179 [17:16:55] New review: Aude; "rebased" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/51179 [17:17:55] aude: this is extremelly important. As Jeblad_WMDE (or was it Jeroen?) yesterday told me, you must not, under any circumstances, refer to them as langlinks. They are sitelinks!!! Otherwise the world will end. [17:22:35] yurik: :D [17:52:54] Change merged: Aude; [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/51956 [17:53:01] the log link doesn't work [17:53:10] ? [17:53:19] channel topic [17:53:40] oh, no idea. [17:54:34] i'd ask petan in #wikimedia-labs [18:08:12] yurik: its not a joke, the world will shurly end [18:09:10] don't call me shurly ("airplane" (c)) [18:09:20] :D [18:12:52] btw, aude, for some reason i thought you lived in NYC :))) [18:13:01] heh [18:13:13] but i always come to wiki conference nyc anyway [18:22:41] aude: but you are not coming to SMW, are you? [18:22:48] in two+ weeks [18:23:27] yurik: only jeroen [18:23:56] * aude went to smwcon in DC a few years ago and it's pretty small and focused [18:24:13] it's nice to attend but not worth travel again [18:24:24] in a way SMF has identical goals with wikidata [18:24:38] somewhat.... [19:06:26] New patchset: Aude; "(bug 45037) show edit link only if we have repo links" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/51179 [19:10:13] New patchset: Aude; "(bug 45037) show edit link only if we have repo links" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/51179 [19:10:21] New review: Aude; "rebased" [mediawiki/extensions/Wikibase] (master) - https://gerrit.wikimedia.org/r/51179 [21:16:10] so tomorrow's the big day! [21:20:36] yes :) [22:54:37] * Jeblad_WMDE yawn..