[06:23:28] are there properties (or planned) to do with battles ? [06:24:22] be back in a sec [06:27:11] back [07:57:38] Lydia_WMDE: hi, around herer? [07:57:41] *here? [08:05:49] when you'll be: I think https://gerrit.wikimedia.org/r/#/c/78229/ deserves to be deployed [08:06:04] without that non-js editing of sitelinks is broken [08:42:12] lazowik: looking [08:42:49] lazowik: this should be in the next deployment but i'll check to make usre [08:42:50] *sure [09:07:05] (03CR) 10Addshore: [C: 032] (bug 50933) pass bot flag to claim saver in wbsetclaim [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80068 (owner: 10Aude) [09:08:57] (03Merged) 10jenkins-bot: (bug 50933) pass bot flag to claim saver in wbsetclaim [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80068 (owner: 10Aude) [09:11:45] heh, aude i just made this https://bugzilla.wikimedia.org/show_bug.cgi?id=53147 then went back to the bug list and saw your https://bugzilla.wikimedia.org/show_bug.cgi?id=53106 [09:13:18] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#656 (master - 5f07324 : jenkins-bot): The build is still failing. [09:13:19] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/8ee1a784a529...5f07324ad422 [09:13:19] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/10443937 [09:13:30] O_o [09:24:12] addshore: ok :) [09:30:49] (03CR) 10Addshore: [C: 032] Improve autoloading and namespace consistency [extensions/DataTypes] - 10https://gerrit.wikimedia.org/r/80009 (owner: 10Jeroen De Dauw) [09:30:59] (03Merged) 10jenkins-bot: Improve autoloading and namespace consistency [extensions/DataTypes] - 10https://gerrit.wikimedia.org/r/80009 (owner: 10Jeroen De Dauw) [09:34:00] addshore: try merging this one to see if poking gh+travis again works: https://gerrit.wikimedia.org/r/#/c/80019/ [09:34:40] was already looking at it ;p [09:34:48] (03CR) 10Addshore: [C: 032] Get rid of manual autoloading and pointless test runner [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80019 (owner: 10Jeroen De Dauw) [09:36:35] well datavalues passed [09:36:43] [travis-ci] wikimedia/mediawiki-extensions-DataValues#199 (master - eea0d0e : jeroendedauw): The build was fixed. [09:36:43] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-DataValues/compare/02d6316560fc...eea0d0e194c8 [09:36:43] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-DataValues/builds/10444818 [09:40:36] addshore: the problem is comming from packagist [09:40:43] It just does not have the latest change for some reason [09:52:18] (03CR) 10Jeroen De Dauw: "(1 comment)" [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/80000 (owner: 10Michał Łazowik) [09:53:19] JeroenDeDauw: then how to store that? [09:54:08] is there another way to point to items? [09:55:16] (03CR) 10Michał Łazowik: "What are the options then?" [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/80000 (owner: 10Michał Łazowik) [09:56:30] (03CR) 10Jeroen De Dauw: [C: 04-1] "This has not really been discussed within the team yet AFAIK." [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/80000 (owner: 10Michał Łazowik) [09:56:32] (03CR) 10Michał Łazowik: "(1 comment)" [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/80000 (owner: 10Michał Łazowik) [09:57:46] JeroenDeDauw: it has been decided that badges are to point to items [09:58:02] so now you need to decide how to store that? [09:59:37] lazowik: you could just use the entity id string serialization I guess [09:59:48] That works at least if we stop making the prefixes configurable [09:59:54] Though we really need to fix EntityId [10:00:00] hmm [10:00:11] It is rediculous that one of our most core objects is also the highest risk [10:00:23] yep [10:00:49] but how to check if it's correct then? [10:01:25] or even assume that it's an item, leave the prefix and store a number? [10:02:25] lazowik: checking this in a nice way is not going to be easy [10:02:59] well now i have no idea what to check... [10:03:29] lazowik: we could just skip the extra check in the domain layer and have the peresntation layer (ie API modules) take care of it [10:03:37] This is what is happening for a bunch of things anyway [10:03:48] maybe you (the team) should discuss that and just let me know what to code? [10:03:52] For instance you can construct an Entity object that has non-string labels or whatever [10:04:12] That will run into some error somewhere probably [10:04:33] when viewing probably [10:04:35] lazowik: that is a reasonable approach [10:04:56] Denny_WMDE1: I want to discuss redesigning EntityId. Soonish [10:05:15] when can I expect the decision? [10:05:25] I have only time until the end of the month [10:05:58] JeroenDeDauw: adding it to today's weekly [10:06:05] then I'll just leave what I will have done [10:07:35] the query tool makes use of historic data .... how often is this refreshed ? [10:09:13] http://toolserver.org/~magnus/ts2/php/wd_query.php [10:11:01] and http://208.80.153.172/wdq/ [10:12:47] lazowik: if we can implement what I am thinking of, we will have an ItemId class that is guaranteed to represent a valid ItemId, is trivial and fully tested [10:13:05] that'd be great [10:19:44] (03PS1) 10Addshore: Fix test group [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80188 [10:21:16] (03CR) 10Aude: [C: 032] Fix test group [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80188 (owner: 10Addshore) [10:22:50] (03Merged) 10jenkins-bot: Fix test group [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80188 (owner: 10Addshore) [10:29:10] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#657 (master - a0e6384 : jenkins-bot): The build was fixed. [10:29:10] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/5f07324ad422...a0e638449782 [10:29:10] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/10446302 [10:36:15] (03PD1) 10Addshore: Throw exceptions instead of giving null data [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80190 [10:39:43] (03PS1) 10Henning Snater: Added basic listview QUnit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80191 [10:44:19] JeroenDeDauw: let me know please as soon as you've come up with a decision [10:45:41] (03PS1) 10Jeroen De Dauw: Split function with boolean flag into two [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80193 [10:53:51] (03CR) 10Jeroen De Dauw: [C: 032] Update readme file [extensions/DataTypes] - 10https://gerrit.wikimedia.org/r/80010 (owner: 10Jeroen De Dauw) [10:53:58] (03Merged) 10jenkins-bot: Update readme file [extensions/DataTypes] - 10https://gerrit.wikimedia.org/r/80010 (owner: 10Jeroen De Dauw) [10:55:20] lazowik: sure [10:57:19] (03PS1) 10Jeroen De Dauw: Remove INSTALL file, as this info is already in the README [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/80194 [10:59:07] (03PS1) 10Jeroen De Dauw: Have the entry point make sure the dependencies are loaded [extensions/WikibaseDataModel] - 10https://gerrit.wikimedia.org/r/80196 [11:02:43] Danwe_WMDE: https://gerrit.wikimedia.org/r/#/c/80193/ [11:05:14] (03CR) 10Daniel Werner: [C: 032] Split function with boolean flag into two [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80193 (owner: 10Jeroen De Dauw) [11:22:59] (03CR) 10Addshore: [C: 032] "This can easily be changed at a later date if and when a better idea comes to light.." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/77167 (owner: 10Daniel Werner) [11:24:33] (03CR) 10jenkins-bot: [V: 04-1] (bug 52412) dismissing copyright warning no longer bound to interface language [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/77167 (owner: 10Daniel Werner) [11:25:18] (03PS2) 10Daniel Werner: (bug 52412) dismissing copyright warning no longer bound to interface language [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/77167 [11:27:05] (03CR) 10jenkins-bot: [V: 04-1] (bug 52412) dismissing copyright warning no longer bound to interface language [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/77167 (owner: 10Daniel Werner) [11:37:08] demo and branching are moved to 14:30 [11:51:51] (03PS1) 10Jeroen De Dauw: Add compatibility test for GlobeCoordinateValue serialization [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80197 [11:53:02] (03PS2) 10Jeroen De Dauw: Add compatibility test for GlobeCoordinateValue serialization [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80197 [11:55:10] (03PS2) 10Daniel Werner: toolbarcontroller: Detach event handlers before re-attaching. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/79776 (owner: 10Henning Snater) [11:56:18] (03PS1) 10Jeroen De Dauw: Make methods that should be implemented abstract [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80199 [11:57:08] (03CR) 10jenkins-bot: [V: 04-1] toolbarcontroller: Detach event handlers before re-attaching. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/79776 (owner: 10Henning Snater) [11:57:17] (03PS3) 10Daniel Werner: (bug 52412) dismissing copyright warning no longer bound to interface language [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/77167 [11:57:42] (03CR) 10Addshore: [C: 032] Add compatibility test for GlobeCoordinateValue serialization [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80197 (owner: 10Jeroen De Dauw) [11:57:56] (03Merged) 10jenkins-bot: Add compatibility test for GlobeCoordinateValue serialization [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80197 (owner: 10Jeroen De Dauw) [11:59:10] (03CR) 10Addshore: [C: 032] (Bug 52412) dismissing copyright warning no longer bound to interface language [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/77167 (owner: 10Daniel Werner) [11:59:31] (03PS1) 10Henning Snater: Implemented "move" functionality in listview widget [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80200 [12:00:46] (03Merged) 10jenkins-bot: (Bug 52412) dismissing copyright warning no longer bound to interface language [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/77167 (owner: 10Daniel Werner) [12:03:11] (03PS2) 10Henning Snater: Added basic listview QUnit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80191 [12:05:20] (03PS1) 10Jeroen De Dauw: Added testSerializeCompatibility test [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80202 [12:06:24] (03PS2) 10Henning Snater: Implemented "move" functionality in listview widget [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80200 [12:08:15] hi, [12:08:34] is there a way to change the order of property values? [12:16:51] Schisma: atm only by deleting and readding - we're working on doing this properly [12:17:00] let me search for the bug [12:17:01] Schisma: https://bugzilla.wikimedia.org/show_bug.cgi?id=52391 https://bugzilla.wikimedia.org/show_bug.cgi?id=52392 https://bugzilla.wikimedia.org/show_bug.cgi?id=44678 [12:17:06] * Lydia_WMDE looks what can be marked as dupe [12:18:47] awesome! [12:18:47] thanks [12:23:00] aude: can you log into http://wikidata-dev-repo.wikimedia.de/w/index.php?title=Special:UserLogin&action=submitlogin&type=login&returnto=Wikidata-dev-repo:Main+Page ? [12:25:27] (03CR) 10Daniel Werner: [C: 04-1] "(2 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/79776 (owner: 10Henning Snater) [12:27:09] aude: Warning: Unknown: write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in Unknown on line 0 [12:28:22] (03PS1) 10Jeroen De Dauw: Added GlobeCoordinateFormatter [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80204 [12:28:32] oh, lovely [12:29:38] Danwe_WMDE: so this should fix it https://gerrit.wikimedia.org/r/#/c/80204/ [12:29:38] cant log in for demotime ;p [12:30:04] Bad addshore :p [12:30:25] * aude rebooting  [12:30:41] :> [12:35:59] (03PS1) 10Jeroen De Dauw: Remove verbose GPL headers [extensions/WikibaseQueryEngine] - 10https://gerrit.wikimedia.org/r/80206 [12:36:10] (03CR) 10Jeroen De Dauw: [C: 032 V: 032] Remove verbose GPL headers [extensions/WikibaseQueryEngine] - 10https://gerrit.wikimedia.org/r/80206 (owner: 10Jeroen De Dauw) [12:40:25] (03PS2) 10Jeroen De Dauw: Added GlobeCoordinateFormatter [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80204 [12:41:18] [travis-ci] wikimedia/mediawiki-extensions-WikibaseQueryEngine#73 (master - 9d2da3e : jeroendedauw): The build was fixed. [12:41:18] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-WikibaseQueryEngine/compare/6a1c95485fe5...9d2da3e6fb10 [12:41:18] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-WikibaseQueryEngine/builds/10450213 [12:41:48] (03CR) 10Daniel Werner: [C: 032] Added GlobeCoordinateFormatter [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80204 (owner: 10Jeroen De Dauw) [12:42:54] (03CR) 10Daniel Werner: [C: 032] Added GlobeCoordinateFormatter [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80204 (owner: 10Jeroen De Dauw) [12:44:08] (03CR) 10Daniel Werner: [C: 032] Added testSerializeCompatibility test [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80202 (owner: 10Jeroen De Dauw) [12:44:12] (03Merged) 10jenkins-bot: Added GlobeCoordinateFormatter [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/80204 (owner: 10Jeroen De Dauw) [12:45:00] ready for branching [12:45:05] aude: thx [12:57:56] (03PS1) 10Aude: handle local interwiki links as appropriate for site group [extensions/Wikibase] (mw1.22-wmf14) - 10https://gerrit.wikimedia.org/r/80210 [12:59:22] (03CR) 10Aude: [C: 032] handle local interwiki links as appropriate for site group [extensions/Wikibase] (mw1.22-wmf14) - 10https://gerrit.wikimedia.org/r/80210 (owner: 10Aude) [12:59:35] (03CR) 10jenkins-bot: [V: 04-1] handle local interwiki links as appropriate for site group [extensions/Wikibase] (mw1.22-wmf14) - 10https://gerrit.wikimedia.org/r/80210 (owner: 10Aude) [13:00:58] (03Merged) 10jenkins-bot: handle local interwiki links as appropriate for site group [extensions/Wikibase] (mw1.22-wmf14) - 10https://gerrit.wikimedia.org/r/80210 (owner: 10Aude) [13:03:22] Lydia_WMDE: can I use your text verbatim about the paper cuts ? [13:05:38] GerardM: for a blog? please give me a day or two for the proper announcement - then you also have a page where you can point people to to report them [13:05:57] then you can use it of course :) [13:06:52] no I can blog more often about things that I like [13:07:11] More new will follow :) [13:07:28] and as you know I blog more often [13:07:54] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#659 (mw1.22-wmf14 - 81e3089 : aude): The build passed. [13:07:54] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/544f85bcbf2a...81e3089dae7d [13:07:54] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/10450817 [14:26:58] (03CR) 10Addshore: [C: 032] Implement Serializer and Deserializer interfaces [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/80015 (owner: 10Jeroen De Dauw) [14:28:32] (03Merged) 10jenkins-bot: Implement Serializer and Deserializer interfaces [extensions/WikibaseQuery] - 10https://gerrit.wikimedia.org/r/80015 (owner: 10Jeroen De Dauw) [14:29:08] (03CR) 10Jeroen De Dauw: [C: 04-1] Throw exceptions instead of giving null data [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80190 (owner: 10Addshore) [14:29:45] (03CR) 10Jeroen De Dauw: "(3 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80190 (owner: 10Addshore) [14:41:50] (03PS2) 10Addshore: Throw exceptions instead of giving null data [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80190 [14:56:02] (03PS1) 10Jeroen De Dauw: Cleanup in some formatting related classes [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80218 [14:57:09] [travis-ci] wikimedia/mediawiki-extensions-WikibaseQuery#35 (master - 890dd40 : jeroendedauw): The build has errored. [14:57:09] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-WikibaseQuery/compare/5461cd91e1c5...890dd40da386 [14:57:09] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-WikibaseQuery/builds/10454394 [15:05:39] [03:07:35 AM] the query tool makes use of historic data .... how often is this refreshed ? <-- once a day i believe [15:07:30] hi, I think I have experiencing a weird bug, but maybe someone could double-check it? 1. go to any item, 2. add statement, 3. type "language", 4. select "language" property, 5. the value field loads unendlessly... [15:09:20] Micru: logged in? out? [15:09:31] aude: logged in [15:09:41] ok, me too and it works for me [15:10:10] (03PS3) 10Henning Snater: Added basic listview QUnit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80191 [15:10:21] which browser? [15:11:23] could possibly be related to https rollout although really not sure [15:12:25] (03PS3) 10Henning Snater: Implemented "move" functionality in listview widget [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80200 [15:12:30] it is firefox, I'll try on Chrome too. the weird thing is that it is just that property, all the others work fine [15:12:39] i'll try firefox [15:14:08] on chrome I get the same effect, I type "language" I clik on any property of the suggested list, and there it freezes [15:14:34] what about something other than language [15:14:44] if I type "par" and select any of the list, it works fine [15:15:23] if i type "lan" and select language, it also works fien [15:15:26] *fine [15:15:31] hmmm [15:15:41] it is only when i type "language" (with all the letters) and then select the property [15:16:06] when you type "language" you then select "official language"? [15:16:30] no, i select "language" (i think it is the 3rd or 4th on the list) [15:16:48] oh, ok [15:16:58] can reproduce the bug [15:17:28] great, at least it is not only my computer [15:17:46] strange [15:19:23] (03CR) 10Daniel Werner: [C: 04-1] Added basic listview QUnit tests [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80191 (owner: 10Henning Snater) [15:22:10] Micru: do you want to make a bug with exactly what you described? [15:22:16] or prefer me to make the bug report [15:22:44] aude: I'll try [15:22:49] ok, thanks [15:29:34] (03CR) 10Daniel Werner: "(3 comments)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80200 (owner: 10Henning Snater) [15:32:20] aude �� https://bugzilla.wikimedia.org/show_bug.cgi?id=53157 [15:32:25] thanks [15:32:28] addshore: ping [15:32:33] thanks to you! [15:32:38] pong! [15:32:40] i remember there being a bug about alias and label being the same [15:32:49] some issue? [15:33:05] hmmm, not sure [15:34:55] https://bugzilla.wikimedia.org/show_bug.cgi?id=53157 [15:35:29] it seems to call both http://www.wikidata.org/w/api.php?action=wbgetentities&format=json&ids=p37&languages=en [15:35:44] also calling http://www.wikidata.org/w/api.php?action=wbgetentities&format=json&ids=p407&languages=en [15:36:44] don't know if that is a reason for it to get stuck [15:38:37] i can reproduce on my test wiki once i add "language" as alias for another property [15:38:55] and also have another property "language" (in the label) [15:41:49] you can choose it directly via P407, as a workaround for now [15:41:56] but yeah, thanks for the bug report! [15:42:01] he's gone :/ [15:42:07] aw [15:42:08] ok :) [15:42:12] when he comes back we can say that or say in the bug report [15:50:50] Danwe: http://etherpad.wmflabs.org/pad/p/addshore [15:53:26] addshore: http://dpaste.com/1351970/ [15:54:25] * aude doesn't ignore anything but it skips any git repos that are "dirty" [15:57:18] looks like we need to setup new devrepo on a bigger labs instance [15:57:32] * aude having trouble finding enough stuff to delete [16:03:59] aude: request more resources? ;p [16:04:10] legoktm: Thanks :) [16:47:58] Fatal error: Call to a member function parse() on a non-object in /usr/local/apache/common-local/php-1.22wmf13/extensions/Wikibase/repo/includes/specials/SpecialModifyEntity.php on line 94 [16:48:25] wtf? [16:48:31] sounds familiar actually [16:48:42] Ditto [16:48:53] if it's rare enough, it can wait until monday to be fixed [16:49:16] https://bugzilla.wikimedia.org/show_bug.cgi?id=52614 [16:49:50] or can be cherry picked into the current branch [16:50:29] Yeah, was just one that I saw [16:50:35] ok [17:46:04] (03PS1) 10Jeroen De Dauw: Some cleanup in ReferencedUrlFinder related code [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80231 [17:46:45] (03PS2) 10Jeroen De Dauw: Some cleanup in ReferencedUrlFinder related code [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80231 [17:57:35] (03PS1) 10Jeroen De Dauw: Reduce NPath complexity in ReferencedUrlFinder [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80233 [18:04:50] (03PS3) 10Jeroen De Dauw: Some cleanup in ReferencedUrlFinder related code [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80231 [18:06:00] (03PS4) 10Jeroen De Dauw: Some cleanup in ReferencedUrlFinder related code [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80231 [18:06:17] (03PS2) 10Jeroen De Dauw: Reduce NPath complexity in ReferencedUrlFinder [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80233 [18:06:39] (03CR) 10Jeroen De Dauw: "(1 comment)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80231 (owner: 10Jeroen De Dauw) [18:07:31] Tobi_WMDE: Hey. :) If I need to create any extension with an API module, ApiBase is The class that I need to extend right? [18:11:07] nileshc: yes [18:11:19] aude: Thanks. :) [18:12:08] what Jeroen is doing in WikibaseQuery for the EntitiesByPropertyValue is a good example [18:19:41] aude: Found it. I'm also looking into wbsearchentities. This helps. [18:26:43] ok [18:39:55] http://test.wikidata.org/w/index.php?title=Special:Book&bookcmd=download&collection_id=3b4ee2ba9570bee4&writer=rl&return_to=Q12 [18:39:58] This is so awesome [18:40:36] Reedy: :D That is awesome [18:40:55] Indeed :D [18:41:22] I've disabled collection again. For anyone who wants a copy, it's at https://www.strongspace.com/shared/6vrn7lwl00 [18:42:30] lol [18:42:47] hah [18:42:57] amazed it works at all [18:43:29] <^d> Well, one could argue if that's actually "working" :) [18:43:45] aude: Well, it just takes the text (JSON) from the db and "parses" it... [18:43:56] heh [18:47:22] aude: Can I see WikibaseQuery in action somewhere? [18:48:05] nileshc: probably not [18:48:21] aude: oh, ok.. [18:48:27] aude: See pm please :P [18:48:32] i don't know if it's enabled on the test system yet but should be soon [18:48:59] I see. [18:49:33] well, if you import an item from e. g. testwd to Wikidata it looks exactly like the "book" [19:42:43] (03PS1) 10Jeroen De Dauw: Clean SpecialListDatatypes [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/80247 [20:38:04] Is there anything like docs.wikimedia.org/mediawiki-core for wikidata? [20:38:25] Central docs for Wikibase? Can't seem to find it. [20:38:31] aude: ^ ? [20:39:07] I don't think we have any :P [20:39:45] I'm using gnu grep all the time :P [20:40:03] hoo: Haha. Gee, so what's the method to find info on all these StoreFactory, Store, Utils, Item etc. and all that? [20:42:03] grep? Mmm. I wish we had those pretty pages with inheritance diagrams. They look so cool. :P [20:42:14] Well, read the sources... but I'm pretty sure it's at least possible to run doxygen for Wikibase [20:43:10] okay, I'll try running doxygen locally. Other than that, sources it is. [20:43:14] Thanks hoo. [20:43:29] https://github.com/Wikidata/Wikidata/tree/master/doc [20:43:49] Or use an IDE [20:43:50] I knew Anja was hacking on that but I'm not sure it's running anywhere atm [20:43:56] or you can use an IDE [20:44:13] Oh, hi Reedy. [20:44:23] http://xkcd.com/378/ [20:45:27] Reedy, legoktm: yes, will open this whole thing in netbeans. Best way. ctrl-click whenever wherever. [20:46:14] Lightweight IDEs like geany tend to fail on Wikibase as we have so many function names in multiple classes and stuff like that [20:46:51] oh. I hope netbeans will work like a butterfly. :P [20:47:03] That was a good one hoo. Hehe. [20:48:05] <3 phpstorm [20:48:23] I should try phpstorm at some point, I guess :P [20:48:30] Last I heard it wasn't free? Worth it? [20:48:51] nileshc: You might be able to get a license from WMDE, dunno [20:48:57] nileshc: it's highly outdated but we have http://wikidata-docs.wikimedia.de/ [20:48:59] I guess I could get one, if I wanted [20:48:59] nileshc: Reedy has open source licenses for any MediaWiki developer [20:49:33] yes, we can provice license for phpstorem [20:49:39] phpstorm [20:50:23] Maybe I should try it at some point, but geany is reasonable comfortable as well and I'm on the shell a lot anyway :P [20:50:25] Gee, that'd be pretty awesome! I've heard a lot of people recommend it. I guess it'd be great to try it out. [20:50:27] I asked about this last night (local time) but didn't get much of an answer, so I'll try again: [20:50:29] if there's a template in en.wiki that I'd like to see get sucked into wikidata, i need to clean up the data in the template first, right? [20:50:46] snail: er, what do you mean? [20:50:48] i want to get the info from http://en.wikipedia.org/wiki/Template:Gutenberg_author into wikidata, but the closer i look the bigger a mess the arguments are [20:50:52] ah [20:51:29] if you can find a bot runner who is willing to clean up the data as they import you don't have to [20:51:35] otherwise it would be nice [20:51:47] I need to switch links to http://www.gutenberg.org/ebooks/author/326 not http://www.gutenberg.org/author/Edward_Thomas [20:51:54] aude, Reedy: Please let me know about phpstorm then. :) Meantime, Netbeans it is. [20:52:10] nileshc: You don't need me to get going [20:52:14] There are free trials [20:52:16] Install it [20:52:25] See if you like it. If you do, I can pass on the license [20:52:45] Ah, free trials. Alrighty. [20:53:02] Reedy: Do they have an rpm repo so that I could use yum for it? :P [20:53:08] Not that I really plan to use it... [20:53:56] wget | tar [20:54:26] :D [20:54:28] legoktm: I'm actually thinking of doing a template that works properly for several text digitalisation sites, killing multiple birds with a single stone [20:54:56] wget -O /dev/stdout would be needed, no? :P [20:55:31] snail: im not sure of the scope but that will probably be easier to do once all the data is in wikidata [20:56:54] nileshc: http://wikidata-docs.wikimedia.de/wikibase/index.html [20:57:45] aude: Wow. Thanks so much!! [20:57:56] legoktm: in wikidata can i say "this property must be of the form 'http://www.gutenberg.org/ebooks/author/([0-9])+' ? [20:58:29] snail: yes and no. yes we can softly enforce it with constraints and abusefilter rules, but not in the actual software [20:58:58] snail: also usually we would have a property called "gutenberg author" and it would just be the ([0-9])+ part [20:59:46] is there an easy way to build a GUI that says "Here's all the obvious properties for an Author"? [21:00:14] no, though people have talked about something like that [21:00:20] its on our wishlist :P [21:01:37] nileshc: i'm adding the other extensions [21:02:16] aude: okay.. [21:03:07] legoktm: i'll stick to wikipedia, i think [21:03:24] legoktm: is what snail is talking about anything to do with properties for a wikidata item? Just curious. [21:03:42] nileshc: yes [21:03:54] snail: well, i dont mind helping import the data :) [21:04:45] legoktm: yes, but i need it to be normalised first [21:04:53] well, what format is it in now? [21:04:56] legoktm: Interesting. Probably this is what I'm working on? O.o suggesting properties and values for items. [21:05:10] nileshc: ooh. i think that is what snail is looking for :D [21:06:03] legoktm: http://en.wikipedia.org/wiki/Template:Gutenberg_author uses author name, which points into a search; it needs to be redone as a pointer to a unique item. [21:06:12] legoktm: That's so cool. :D I'm working on the entity suggester as a part of gsoc. [21:07:24] nileshc: cool, it's summer now in your hemisphere? [21:07:31] snail: hm. so i'm on https://en.wikipedia.org/wiki/Albert_Einstein and click the link to http://www.gutenberg.org/author/Albert_Einstein, which takes me to http://www.gutenberg.org/browse/authors/e#a1630. what is the proper url it should end up at? [21:08:01] snail: Yes it is. I'm in India. You're in the southern hemisphere? [21:08:32] legoktm: http://www.gutenberg.org/ebooks/author/1630, because the first link breaks as soon as there are two Albert_Einsteins [21:08:40] nileshc: .nz [21:09:04] snail: ah. :) [21:09:32] so.... [21:09:50] nileshc: do you have a demonstration ? [21:10:01] snail: can i assume that most of the links right now are sane and can be automatically generated from the redirection? [21:10:01] nileshc: http://wikidata-docs.wikimedia.de/ [21:10:12] ugly and does not have the query extensions yet [21:10:59] snail: I have a demo running on a month old wikidata dump. [21:11:07] legoktm: not sure, I'm planning on doing them by hand, starting from the http://www.gutenberg.org/ end for complete coverage [21:11:24] nileshc: what kind of entities are you working with? [21:12:07] snail: ok. well once you finish fixing them, it'll be very easy to import that data into wikidata [21:12:15] legoktm: nod [21:12:35] snail: I intend to suggest properties for an item and values for a particular property in a item. In general. [21:13:01] the first part is working, but the accuracy of the results probably won't look too impressive right now. [21:13:02] BTW: if anyone's interested in http://en.wikipedia.org/wiki/Template:Authority_control type data, I strongly recommend #code4lib, where there are people with deep understanding of it [21:14:00] snail: here's a link to it - http://208.80.153.180/wesTest.php - after about 3 weeks it should be somewhat usable. [21:14:34] aude: Thanks. Still helps. [21:15:36] nileshc: cool, good luck with that, [21:16:11] nileshc: sure [21:16:19] good to know it's useful [21:16:20] snail: Thanks. [21:16:31] aude: :) [21:29:58] (03PS30) 10Liangent: Include preferred labels / descriptions for entities in JS on EntityView [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/72226 [21:30:01] (03PS22) 10Liangent: Label and description serialization now accepts LanguageFallbackChain as the language option [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/72225 [21:32:57] (03PS12) 10Liangent: api.php?action=wbgetentities gets a new parameter 'languagefallback' [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/74954 [21:33:00] (03PS5) 10Liangent: Allow mw.wikibase.label( ) to find labels written in variants [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/72751 [21:36:51] (03CR) 10Liangent: "Hoo: that dependent change has already been merged." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/71996 (owner: 10Liangent) [21:37:53] (03CR) 10Liangent: "Can anyone have a look at this? This is blocking further development work (defining the interface for JavaScript)." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/74954 (owner: 10Liangent) [21:38:00] liangent: Well, my comment from back then says (untested)... you probably need to get someone else to merge it, I'm not currently working on Wikidata [21:40:37] hoo: didn't realize you got pinged here :p [21:42:13] liangent: can take a look at your patches again tomorrow [21:42:40] aude: thanks [21:42:46] especially would be good to get the serialization merged [21:42:47] what can be done for https://gerrit.wikimedia.org/r/72226 then? [21:43:09] once the dependency is merged then think that is ready [21:44:05] still serialization, right? [21:44:16] i think so [21:44:25] gerrit seems unavailable to me right now [21:44:44] yep [21:45:08] more tests for entity view would be great but think other things need to happen to allow that [21:45:09] <^d> well shit. [21:45:37] <^d> Hmm, maybe just slow? [21:45:39] <^d> That was weird. [21:46:00] ^d: its slow / unavailable, although i am tethering so my internet is also slowish [21:46:30] <^d> Yeah, it lagged a moment or two for me, but seems snappy now. [21:46:33] <^d> I'll have a look later. [21:47:39] if a project uses a variety of different urls for the same thing and i can only pick one, i should pick the one that they use in their RDF, yes? [21:52:20] snail: Hm? [21:55:29] JohnLewis: project gutenburg and their twisty maze of urls [21:56:33] snail: whatever will be the stable-est [21:59:30] legoktm: i am curious if you were aware of https://bugzilla.wikimedia.org/50933 ? [21:59:43] aware of the issue [22:00:05] nope [22:00:10] oh [22:00:11] ok [22:00:17] if you use setclaim you can add the reference at the same time? [22:00:21] yes [22:00:29] my bot is twice as efficient now [22:00:38] hmmmmm. [22:00:52] but before the bug was fixed, i accidentally spammed recent changes for a day [22:01:15] api.php?action=setclaim&claim={"id":"q2$5627445f-43cb-ed6d-3adb-760e85bd17ee","type":"claim","mainsnak":{"snaktype":"value","property":"p1","datavalue":{"value":"City","type":"string"}}} [22:01:26] so i just stick the reference inside the snak thingy? [22:01:32] it can include references [22:01:36] ok [22:01:47] i need to add an example and probably should send a mail about this [22:02:06] and if i dont set the "id", it'll create a new claim i assume [22:02:13] yes [22:02:21] ooh :D [22:02:33] it needs the item id then [22:02:50] er [22:02:56] how do you pass the id? [22:03:04] claim, token, baserevid, bot [22:03:21] http://dpaste.com/1352394/ [22:03:41] ok, i make a claim guid [22:04:16] entity id is part fo the claim guid [22:04:28] er, ok. [22:04:37] so the 'id' in the claim is really the entity id (q###)? [22:04:59] took me a while to figure it out [22:05:28] it's strtolower( $entityId ) . '$' . $guid; [22:05:45] i have a function to generate guid (stolen from wikibase) [22:05:48] but where do you get the $guid from? [22:05:54] oh, you have to create it yourself? [22:05:56] it has to be generated [22:05:58] yes [22:06:14] i'm sure you could port the code to pywikipedia [22:06:16] mind pastebinning that code? :) [22:06:22] sure [22:06:51] http://dpaste.com/1352401/ [22:07:34] ok [22:07:46] i believe the ui does things with setclaim [22:07:55] it does not use createclaim [22:08:12] so its theoretically possible to stumble on a claim id that already exists...? [22:08:12] although uses setreference i think [22:08:25] possible but very unlikely [22:08:48] not sure what happens in that case [22:08:56] *boom* [22:08:59] :P [22:09:08] :) [22:14:50] if a VIAF number is known, is there a bot that will find the links to other resources and adds them ? [22:16:34] GerardM: i believe so. you should talk with notconfusing about that (max klein) [22:29:41] aude: there? [22:34:17] hi [22:36:21] GerardM: the VIAF experts are in #code4lib [22:36:59] pragunbhutani: got your mail [22:37:15] still waiting for the gerrit repo to be created but github is fine for now [22:38:12] aude: yep I thought it'll be nice to maintain a repo [22:38:18] easier to share code as well [22:38:22] agree [22:38:30] I'm about to go to bed for now [22:38:35] me too! [22:38:40] but if you could take a look at this anytime later on [22:38:44] around tomorrow [22:38:45] I can pick up work from there tomorrow :) [22:38:48] ok [22:38:55] cool, see you! [22:39:04] see you [22:39:05] aude: Aren't you at wikimania? [22:39:19] nileshc: everyone is back [22:39:38] danielk is still on vacation but unrelated [22:39:51] aude: Oh! That threw me...I'm seeing everyone awake well past night...time zones. :P [22:39:57] aude: okay. [22:40:10] this is normal :) [22:40:21] heh. [22:40:39] if in asia, then it would be morning almost fo rme [22:40:42] for me [22:41:05] you mean the time you go to sleep? [22:41:07] ahead a few time zones from you [22:41:28] maybe :) [22:41:31] aude: do i need to add a hash for the reference? [22:41:34] in honk kong it's 2:30+ from my time I guess. [22:41:54] and can i see what getReferenceSnak looks like? :P [22:41:58] yeah, which didn't work out too well for being online at convenient times [22:42:22] aude: yeah. [22:42:26] erp, brb [22:42:45] legoktm: http://dpaste.com/1352448/ [22:42:58] it has a little hard coding specific to my bot [22:43:05] to be improved [23:10:20] ok, thanks [23:13:39] Does everyone with a wikimedia.de email ID here usually use their own clients, or do you use a web client? Part of the reason I'm asking is I'm wondering if it would show HTML stuff (formatting, bullets, hyperlinks) properly in the email. [23:47:06] wikidata people: https://meta.wikimedia.org/wiki/Talk:HTTPS#Unable_to_edit_Wikidata [23:47:15] this isn't an issue with HTTPS as we haven't done anything yet ;) [23:48:28] greg-g: Don't the Wikidata people ;) [23:48:40] *Don't blame [23:49:14] Oh actually... do blame the Wikidata people. Sorry greg-g :P