[08:43:40] lazowik: I'm the mouse, ok? [09:00:16] hoo: :DDD [09:00:45] mh? [09:00:51] benestar: sure [09:00:56] if you want to [09:01:02] (hey everyone) [09:01:19] hoo: what is still missing in my Wikidata.org pull request on github? [09:01:41] lazowik: hey :) what did you wanna know yesterday? [09:03:50] why get site by it's interwikiId ? [09:04:16] lazowik: because badges are applied to *interwiki*links [09:04:18] benestar: Address the nitpicks and we're good to go [09:04:23] ok [09:04:24] well ... and the actual content is missing [09:04:45] hoo: "Add some basic files" [09:04:52] benestar: why not by global id or sth [09:04:57] the actual content still has to be created [09:05:03] these interwikiIds are added by wikibase [09:05:10] I still don't know why [09:06:14] lazowik: well, that's all a bit tricky because we use parts of the old interwiki link system to add the links in Wikibase Client [09:06:30] and the old system relied on those interwikiIds, not on global ids [09:06:42] we used to write [[en:Foo bar]] not [[enwiki:Foo bar]] [09:06:49] yeah [09:07:01] benestar: why can't you use global ids there? [09:07:04] so the interwikiIds aren't added by wikibase, are they? [09:07:05] (to get site) [09:07:57] benestar: actually, they are [09:08:13] but they existed before [09:08:50] when I stumbled on that problem (class not being added in client) [09:09:17] the only things I've found in core were functions to add to retrieve them from Site [09:09:30] and search Site by them [09:09:34] lazowik: this line might explain it https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/client/includes/LangLinkHandler.php#L396 [09:09:41] but they were not used anywhere [09:10:30] argh [09:10:40] * benestar just sees that we use language codes there <- even worse [09:11:43] that looks messy [09:12:30] benestar: https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/master/lib/includes/sites/SitesBuilder.php#L44 [09:12:30] that [09:12:47] interwikiIds are only added to groups [09:13:17] aude: ping [09:23:21] hoo: I added some questions to your comments [09:24:02] looking [09:27:28] replied [09:28:08] hoo: to all of them? [09:29:14] no [09:29:21] only what was worth replying [09:29:27] don't care enough for the rest [09:29:38] also don't want to get into super bike shedding mode [09:30:57] will there be a new json-dump today? [09:31:50] yes [09:35:26] It will probably be finished in about 4-5 hours [09:47:41] Thiemo_WMDE: the logo is WIKI in morse code not DATA :P [09:50:00] DanielK_WMDE_: hangout for the daily if you can join.. [09:50:03] we're ready [09:52:15] multichill: ping [10:01:20] (03PS1) 10WikidataBuilder: New Wikidata Build - 28/07/2014 10:00 [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/149821 [10:04:33] (03CR) 10jenkins-bot: [V: 04-1] New Wikidata Build - 28/07/2014 10:00 [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/149821 (owner: 10WikidataBuilder) [10:10:23] sjoerddebruin: Pong? [10:10:47] I have a bot run for you, I think multichill. [10:10:52] uh oh [10:11:23] A lot of the Indonesia-items still need this: https://www.wikidata.org/w/index.php?title=Q14747527&diff=147962217&oldid=120459191 [10:12:34] Did you find a category/template for those items? [10:13:00] https://nl.wikipedia.org/wiki/Categorie:Plaats_in_Indonesië maybe? [10:13:14] Or you can use https://nl.wikipedia.org/wiki/Sjabloon:Infobox_plaats_in_Indonesië [10:13:43] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikidata] - 10https://gerrit.wikimedia.org/r/149821 (owner: 10WikidataBuilder) [10:15:54] (03CR) 10Daniel Kinzler: "I'm still not convinced, but ready to merge this to get us unstuck. There are two minor issues remaining though, see inline comments." (032 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148113 (owner: 10Thiemo Mättig (WMDE)) [10:30:06] (03PS1) 10Thiemo Mättig (WMDE): Add support for numeric months in MwTimeIsoFormatter [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149823 [10:32:37] (03Draft2) 10Daniel Kinzler: Simpified MonthNameUnlocalizer [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149386 [10:35:20] hoo: so are you ok now with the # used to draw the logo? [10:37:53] (03PS6) 10Thiemo Mättig (WMDE): Make MonthNameUnlocalizer aware of genitive month names [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148113 [10:38:02] (03CR) 10Thiemo Mättig (WMDE): Make MonthNameUnlocalizer aware of genitive month names (032 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148113 (owner: 10Thiemo Mättig (WMDE)) [10:39:39] benestar: Not a fan... but if there's no better option [10:40:29] hoo: I did not find a better way to represent the logo [10:40:42] we really need colours in there^^ [10:41:47] looks like my LAN decided to die a little [10:44:32] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149823 (owner: 10Thiemo Mättig (WMDE)) [10:45:08] "70% packet loss" /0\ [10:50:02] oh noez [10:51:02] (03CR) 10Daniel Kinzler: Refactor MonthNameUnlocalizer (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148122 (owner: 10Thiemo Mättig (WMDE)) [10:52:28] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149386 (owner: 10Daniel Kinzler) [10:56:34] hoo: are you back again? [10:56:59] never been away [10:57:20] (03CR) 10Daniel Kinzler: [C: 032] "Approving this now, even though I don't like the details. Let's move on." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148113 (owner: 10Thiemo Mättig (WMDE)) [10:57:29] only having strong problems with my system right now... writes on network filesystems and high packet loss don't play well together [10:57:29] (03Merged) 10jenkins-bot: Make MonthNameUnlocalizer aware of genitive month names [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148113 (owner: 10Thiemo Mättig (WMDE)) [10:57:39] (03CR) 10WikidataJenkins: "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148113 (owner: 10Thiemo Mättig (WMDE)) [11:00:34] will have to restart... this is hung up beyond repair [11:00:54] [13WikibaseDataModelSerialization] 15JeroenDeDauw pushed 1 new commit to 06master: 02http://git.io/0UGdXA [11:00:54] 13WikibaseDataModelSerialization/06master 147c92f25 15Jeroen De Dauw: Update README.md [11:02:04] [13WikibaseDataModelSerialization] 15JeroenDeDauw tagged 061.0.3 at 06master: 02http://git.io/Y43ZYA [11:04:47] [travis-ci] wmde/WikibaseDataModelSerialization/1.0.3/7c92f25 : Jeroen De Dauw The build passed. http://travis-ci.org/wmde/WikibaseDataModelSerialization/builds/31030868 [11:07:22] http://wikidata.beta.wmflabs.org/wiki/Q11246 :S [11:14:18] [13WikibaseQuery] 15JeroenDeDauw created 06testexclude (+1 new commit): 02http://git.io/AAXx7A [11:14:18] 13WikibaseQuery/06testexclude 14708555d 15jeroendedauw: Stop exclusing test [11:14:38] [13WikibaseQuery] 15JeroenDeDauw opened pull request #43: Stop exclusing test (06master...06testexclude) 02http://git.io/ERceQw [11:17:22] [travis-ci] wmde/WikibaseQuery/testexclude/708555d : jeroendedauw The build failed. http://travis-ci.org/wmde/WikibaseQuery/builds/31031482 [11:22:57] Thiemo_WMDE: I can't find a script to import this [11:28:03] Just letting you know I wrote some scripts to harvest badges from Wikipedia and add it to Wikdata (also script for houskepping like removing when the featured article is delisted) and I wrote another script to remove Link FA and Link GA from Wikipedia [11:28:14] :) [11:28:47] Amir1: that's greaqt [11:28:52] -q [11:32:57] wtf is going on with my network [11:32:57] * hoo rages [11:33:00] can't do anything today -.- [11:33:18] (03CR) 10Daniel Kinzler: [C: 04-1] "needs manual rebase." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148114 (owner: 10Thiemo Mättig (WMDE)) [11:33:48] (03PS4) 10Daniel Kinzler: Reuse existing date formats in MwTimeIsoFormatter [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148641 (owner: 10Thiemo Mättig (WMDE)) [11:34:24] (03CR) 10Daniel Kinzler: "this is ready to be merged, just waiting for jenkins." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148641 (owner: 10Thiemo Mättig (WMDE)) [11:34:30] (03PS3) 10Daniel Kinzler: Only use date formats that can roundtrip [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149294 (owner: 10Thiemo Mättig (WMDE)) [11:34:38] (03CR) 10Daniel Kinzler: "this is ready to be merged, just waiting for jenkins." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149294 (owner: 10Thiemo Mättig (WMDE)) [11:37:40] hoo: maybe one of NSA's spying tools is broken? [11:37:47] and is eating peackets :p [11:37:51] *packtes [11:44:44] benestar: Thank you :) [11:45:23] Tobi_WMDE_SWE, Thiemo_WMDE: From looking at ReferenceListDeserializer, it seems it doesn't look at the keys in the input array at all, so changing the hash value isn't a problem. [11:47:12] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/148641 (owner: 10Thiemo Mättig (WMDE)) [11:53:17] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149294 (owner: 10Thiemo Mättig (WMDE)) [11:54:36] DanielK_WMDE_: ok! thx for looking into that [11:57:39] (03Abandoned) 10Daniel Kinzler: (bug 57744) Allow ItemContent to represent a redirect. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89810 (owner: 10Daniel Kinzler) [12:00:11] Amir1: do you have a global bot flag for this task? [12:01:48] benestar: Merged your PR now [12:01:57] now go and add some content etc. [12:02:10] :) [12:02:20] hoo: that's hard as I have no content yet :P [12:02:35] Thiemo_WMDE: Do you have the icons for badges? :P [12:02:36] Lydia_WMDE: do you already have the icons for all the different kinds of badges? [12:02:43] I think Thiemo has them [12:02:59] My connection seems stable now, btw... so I might do some real work later on [12:03:12] think my powerlan overheated which worries me a bit [12:03:19] :/ [12:03:27] all icons ie for stub articles etc :) [12:04:24] we don't need that now [12:04:28] only our two stars [12:04:37] or whatever [12:04:39] if not stars [12:05:52] benestar: No I don't :( It's against global bot policy [12:06:03] Yep... [12:06:23] but I doubt this will be a problem... we can just kill of the scripts [12:06:46] and the templates will then disappear rather fast (there are many who can do such simple template removals) [12:08:56] argh, I see [12:09:13] but that's weird... [12:10:44] well, we usually call it Wikipedia [12:17:25] I can run it and just hope no one block the bot [12:22:49] DanielK_WMDE_: ok, I just checked the behavior of the UI when handling redirects a bit.. [12:23:04] I made a redirect Q1 -> Q2 [12:23:55] and Q1 was used in some other item, let's call it Q30 as a value and as a qualifier value and in a reference as well [12:24:42] after creating the redirect and purging Q30 everything looked fine. the (new) label of Q2 was shown everywhere [12:25:31] but before doing the purge for some reason the new label was only shown in the qualifier.. [12:26:15] also when editing the statement, the new label appeared in the input box but after cancelling the old label returned.. [12:26:30] DanielK_WMDE_: not sure what exactly the correct behavior should be here [12:52:55] Lydia_WMDE: New json dump is there: Scheme looks good :) [12:53:07] And it's almost exactly 1% larger than the last [12:53:23] 1.005% to be precise [12:54:32] hoo: nice! [13:05:49] [13WikibaseQuery] 15JeroenDeDauw created 06commandoptions (+1 new commit): 02http://git.io/7Tcf2Q [13:05:49] 13WikibaseQuery/06commandoptions 14f5f1840 15jeroendedauw: Match changes in Wikibase QueryEngine [13:06:05] [13WikibaseQuery] 15JeroenDeDauw opened pull request #44: Match changes in Wikibase QueryEngine (06master...06commandoptions) 02http://git.io/Gs-SxA [13:11:05] hoo: And when can we see some stats again? http://tools.wmflabs.org/wikidata-todo/stats.php seems broken. [13:12:24] sjoerddebruin: Whenever someone decides to recreated them... the data is available to do so [13:12:41] Ok. :( [13:12:43] [travis-ci] wmde/WikibaseQuery/commandoptions/f5f1840 : jeroendedauw The build failed. http://travis-ci.org/wmde/WikibaseQuery/builds/31039226 [13:13:01] a question: When the badges will go live? [13:13:11] Lydia_WMDE: ^ [13:13:45] I mean do you have a certain date or something? [13:14:03] Some stuff will happen on August 19th, not sure badges will be belong that [13:14:37] Amir1: hopefully on 19th but not 100% certain [13:14:55] Lydia_WMDE: thank you :) [13:18:33] Lydia_WMDE: when will we have custom icons for all badges? [13:19:03] benestar: what exactly do you mean? [13:19:05] Amir1: I was looking for you [13:19:23] multichill: Hi, I was sleep I just woke up [13:19:30] Lydia_WMDE: we decided to display custom icons for each badge on wikidata [13:19:44] Amir1: Take a look at https://www.wikidata.org/wiki/User:JanitorBot . Do you want to help out with that? [13:19:45] and we decided to put these icons into the Wikidata.org extension [13:20:03] Central bot with multiple operators to do scheduled work that never stops [13:20:05] so the extension is set up now but the icons are still missing ;) [13:20:37] benestar: yeah. need to talk to thiemo when he is back [13:20:58] k [13:21:14] Lydia_WMDE: should we create an Extension:Wikidata.org page on mediawiki.org? [13:21:17] we're only going to have two badges to start with [13:21:17] multichill: sounds really good, Do you want me to send you my codes for interwiki? [13:21:23] benestar: Not needed, no [13:21:27] k [13:21:40] Lydia_WMDE: Only remaining blockers are: Icons and show badges by label, right? [13:21:46] Code wise i would like to run as much normal pywikibot as possible [13:21:52] sorry guy i need to take care of some other urgent stuff right now [13:22:06] *guys [13:22:26] k [13:22:34] So first step would just be query + newitem.py running on a bunch of wiki's [13:22:34] ok [13:23:09] hoo: and deciding what badges we allow [13:23:59] benestar: Good and featured article [13:24:05] hoo: for now, ok [13:24:22] everything else really is far less important now [13:24:25] let me create a patch to enable these badges on wikidata [13:24:37] to early [13:24:39] multichill: sure, okay. [13:24:52] multichill: what else I can do? [13:25:07] hoo: it is the only thing I can do right now because everything else is blocked [13:25:13] not true [13:25:13] I already created an account on labs [13:25:20] you can enable the label lookups [13:25:35] is the lookup already merged? [13:25:42] I think DanielK_WMDE_ worked on it still? [13:25:43] no, just use an EntityLookup for now [13:25:50] we're talking about to items here [13:25:55] that's not an issue [13:26:05] it's (mem)cached also [13:26:13] Amir1: I'll see if I can properly setup the account with Pywikibot, logging etc and add you to the group [13:26:18] Than we can start setting up jobs [13:26:28] multichill: okay :) [13:27:23] I might still have some outstanding changes to be merged.... [13:27:46] let me check [13:28:01] And I wonder if array jobs are worth the trouble here [13:28:12] well, someone opposed to use EntityLookup for efficience reasons [13:28:24] I don't care for two entities [13:28:35] we do it for several hundred in the client [13:28:48] (sometimes) [13:29:06] multichill: https://gerrit.wikimedia.org/r/138453 [13:29:23] this is the only onw [13:29:25] *one [13:29:46] Might still be staged locally. I have to check [13:34:28] it's about images AFAIK [13:36:00] hoo: are you working on https://bugzilla.wikimedia.org/show_bug.cgi?id=66419? moving the WikibaseAPI JS code? [13:38:57] Tobi_WMDE_SWE: Not right now, but I think I can start over again [13:39:09] apparently the latest change got merged, but I didn't notice [13:39:26] do we yet have a repo for that? [13:39:43] Well, I can create it myself it seems, so nevermind [13:55:13] hoo, benestar : I think the best solution for the approval is mentioning this in announcements: "If you want to get your featured/good templates removed, add your name in this page and give User:Dexbot permission to do so" [13:57:57] who I need to ask for help with adding new article on wikipedia ? the cms and interface of wiki is totally crap - I had add article but I just received an email that admin from Wiki treat it like spam.. Do you have any ideas how can I add my company wiki page ? [13:58:40] Amir1: might be a good idea [13:58:49] just try it and see how many people like it [14:00:34] benestar: you should add it to your announcement for badges in wikitech-l, wikitech-ambassadors [14:00:59] Xtbpolska: "polska" is a coincidence? [14:01:09] jeśli nie -> #wikipedia-pl [14:01:09] Amir1: I think Lydia_WMDE manages the announcements [14:01:43] Xtbpolska: keep in mind wikipedia is not a place to promote companies [14:02:16] she told me she will tell if don't forget :) [14:05:47] I know - but we like microsoft or google - if you are talking about forex in Poland. We want only to add info about company not to promote anything. [14:29:11] What's the item with the longest label btw? [14:30:12] there's an upper limit for labels... [14:30:23] Oh? [14:30:28] hoo: but somehow we get over it and then can't edit the item :) [14:31:00] it used to be possible to add indefinite long labels (more than a year back AFAIR) [14:31:09] but now we have that covered [14:31:26] probably then then :p [14:35:33] (03PS1) 10Bene: Get label of badge in SiteLinksView [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149865 (https://bugzilla.wikimedia.org/68183) [14:36:59] hoo: we agreed to create new items for the badges and not use the template items, right? [14:37:31] Lydia_WMDE: ^ [14:37:34] but I think so, yes [14:38:19] yeah [14:44:33] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149865 (https://bugzilla.wikimedia.org/68183) (owner: 10Bene) [14:57:37] (03PS1) 10Bene: Show label of badges in Special:SetSiteLink [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149870 (https://bugzilla.wikimedia.org/67923) [14:57:57] and two new patches on gerrit for badges :D [14:58:38] Lydia_WMDE: should the badge items have special item ids or can I just go and create two items for them? [15:03:58] benestar: i'd say just go ahead [15:04:35] benestar: just a simple (and maybe stupid) question: Do you there are three types of status: featured, good and featured list (FL)? I think you can work it out when there i instance of list [15:05:02] some wikis like Persian have different badge for FL [15:05:35] Amir1: yes, something similar also exists on dewiki [15:05:51] however, in a first step we only want to import good and featured articles [15:05:58] okay :) [15:06:10] later on it will be possible to add something like good lists and stubs etc [15:06:12] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149870 (https://bugzilla.wikimedia.org/67923) (owner: 10Bene) [15:06:45] Amir1: your task basically is to go through all Wikipedias all the time and import all good and featured articles to Wikidata [15:07:27] yes, I can do it for lists though and stubs too. I was just curious [15:07:41] your bot has therefore to run all the time, also when migration has finished because the templates are only added to Wikipedia atm [15:07:58] Amir1: do you have the source code of your bot anywhere? [15:08:10] then I can do a quick review if you want :) [15:08:12] yes, I wrote it in a way to keep cleaning for new featured/good articles too [15:08:20] nice :) [15:08:34] benestar: It's based on featured.py in pywikibot [15:08:56] I just removed two functions and replaced with Wikidata version of it [15:09:13] so only adjusted to edit Wikidata instead of Wikipedia [15:09:13] benestar: I can send it to you if you like [15:09:37] I wrote another code for removing template link FA and GA [15:09:38] however, the featured.py does not support stubs or lists, right? [15:09:50] Amir1: no github? :( [15:10:09] featured.py supports featured list but not stubs [15:10:12] Amir1: the second script can sleep a while ;) [15:10:28] we have to finish migration to Wikidata and only run it when everything works fine [15:10:36] and all the data is imported [15:10:38] benestar: I usually don't publish my scripts for some reasons, long story [15:10:55] but if anyone wants I send it to him/her [15:10:55] Amir1: btw where do you run your bots? [15:11:01] labs [15:11:09] then you have to make it open source :P [15:11:40] but don't mind [15:11:51] I suppose it works correctly :) [15:12:43] benestar: Don't get me wrong, I'm not a bad guy that keeps it codes for himself, lots of my codes are published but an incident happened a rather long time ago [15:13:00] a cross-wiki abuse of my code [15:13:17] hmm, that's a problem indeed [15:13:26] so I decided not publish my codes unless necessary [15:13:33] and don't worry, I did not get you wrong :) [15:14:03] :) [15:21:34] a question about the new json-dump: is it one entity per line ? [15:21:44] lbenedix1: yes [15:21:51] nice [15:22:07] is there a date for the next dump with history? [15:22:20] no clue about the xml dumps, sorry [15:22:26] ok [15:22:29] thx [15:23:52] if there are country-specific articles in one wikipedia, but only a single article in another, should be interwiki-links point to the disambiguation page? [15:24:26] lbenedix1: It will be in the next week [15:24:40] xml dumps are usually updated every 25 days [15:25:25] e.g. https://de.wikipedia.org/wiki/Gesellschaft_mit_beschr%C3%A4nkter_Haftung and https://de.wikipedia.org/wiki/Gesellschaft_mit_beschr%C3%A4nkter_Haftung_(Deutschland) both have links, which is kind of stupid [15:27:45] hoo: I want to implement json dump support in pywikibot but it's almost impossible: the issue is xml dump reader are using a generator named iterparse so it won't be a issue for big dumps [15:27:59] but json files doesn't have any library like that [15:28:05] mh [15:28:14] You can parse them line by line [15:28:24] there is a library for that [15:28:30] not sure [15:28:32] named fileinput, it's [15:28:37] I know there is [15:28:39] Daniel mentioned something along these lines [15:28:46] like a deferred json parser or so [15:28:58] but just reading the file line by line will already work [15:29:21] in python there is a famous line-by-line generator named fileinput [15:29:31] it's a built-in library [15:30:11] but the issue is unicode support of the library is shitty. I wanted to use for fa.wp once, It's a utter disaster [15:30:31] (03PS2) 10Bene: Show label of badges in Special:SetSiteLink [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149870 (https://bugzilla.wikimedia.org/67923) [15:31:22] Amir1: Reading line by line with proper unicode support is doable [15:31:30] I've did it before (in Python 3, though) [15:31:44] in which library? [15:32:43] Amir1: Splitlines? Isn't that unicode? [15:33:02] Amir1: No library :P [15:33:26] multichill: it's unicode, but I need a generator, since dumps are really big [15:33:39] you can set just file.read() or file.readlines() [15:34:21] hoo: Can I see your code? [15:34:44] *can't [15:34:53] Amir1: Nothing wiki related [15:34:53] Oh right, but for line in file contains garbage for you? [15:34:57] also I can't find it right now [15:35:09] one of these messy one-of scripts I wrote some time [15:36:30] (03PS1) 10JanZerebecki: Add title by item special page. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149877 (https://bugzilla.wikimedia.org/64776) [15:37:28] hoo: can you tell me how did you do that? [15:37:39] Amir1: Sadly no, I can't find it :S [15:37:55] multichill: it doesn't contain garbage [15:38:18] hoo: okay, let me search a little more maybe I could find something [15:43:54] (03CR) 10WikidataJenkins: [V: 04-1] "Build Failed" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149870 (https://bugzilla.wikimedia.org/67923) (owner: 10Bene) [15:44:38] hoo: do you know why phpunit does not accept when I set 'content' => 'Featured article'? [15:44:43] for assertTag [15:45:09] not offhand [15:45:15] but according to aude (who is away) [15:45:20] assertTag is deprecated [15:45:23] anyway [15:45:31] so you might be better of using a regexp [15:45:49] argh [15:46:10] the last thing one should do is parsing html with a regex [15:46:33] you're not parsing, just asserting certain things [15:47:00] well, I will just skip testing that case and maybe when I have much time rewrite the tests using regex [15:49:48] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149877 (https://bugzilla.wikimedia.org/64776) (owner: 10JanZerebecki) [16:09:41] Just adding a short alias... https://www.wikidata.org/w/index.php?title=Q1983867&diff=148008547&oldid=2698512 [16:10:15] (03PS2) 10JanZerebecki: Add title by item special page. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149877 (https://bugzilla.wikimedia.org/64776) [16:14:15] Lydia_WMDE are you around ? [16:18:40] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149877 (https://bugzilla.wikimedia.org/64776) (owner: 10JanZerebecki) [16:19:27] does anybody know if she is currently there ... ? [16:21:43] (03PS3) 10Bene: Show label of badges in Special:SetSiteLink [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149870 (https://bugzilla.wikimedia.org/67923) [16:21:52] * hoo not in the office this week [16:21:56] so no [16:23:18] ... anybody who can speak in her stead ? [16:23:43] don't think so... maybe you should just ask your question [16:23:54] maybe someone can [16:24:13] it is something on a strategy level [16:25:03] about lexical data [16:25:11] and future stuff [16:26:31] hoo: can you please rename the wikidata.org repository to Wikidata.org (capitalized)? [16:26:47] all other mediawiki extension also start with a capital letter [16:26:47] uh [16:27:07] I can't [16:27:13] * hoo looks for a Tobi [16:27:18] well, so I have to ask Lydia_WMDE? [16:27:18] no Tobi, so :S [16:27:35] well, doesn't matter, just a nitpick [16:27:40] benestar, hoo: for more complicated assertions one could replace assertTag with assertEqualXMLStructure(), some dom parsing/manipulation and assertXmlStringEqualsXmlString() [16:28:09] benestar: Only Jeroen, Tobi and Abraham can actually change that [16:28:11] not even Lydia [16:28:19] oh, ok [16:28:33] jzerebec1i: Assuming these aren't going to be removed, yes [16:28:34] so I will ping one of them if they are here [16:29:24] yeah [16:30:05] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149870 (https://bugzilla.wikimedia.org/67923) (owner: 10Bene) [16:33:21] hoo: just realized it isn't a good idea to make wikibase a dependency of wikidata.org [16:33:33] composer will load the whole extension again to the vendor of wikidata.org [16:33:36] hahaha [16:33:40] :P [16:34:03] hoo: I don't think so. the rationale for removal of asserTag seems not to apply to the xml ones: https://github.com/sebastianbergmann/phpunit/issues/1292 [16:34:19] hoo: just remove the dependency from composer? [16:35:50] benestar: It should also work if you keep it in there, and the install it with the build [16:35:53] not sure, though [17:13:02] (03CR) 10JanZerebecki: "Looks good. Perhaps add a test case where hasTermForLanguage() will be false?" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149870 (https://bugzilla.wikimedia.org/67923) (owner: 10Bene) [17:42:30] hoo: pls merge my pull request [17:42:41] some silly and some not so silly additions [17:43:07] link? [17:46:50] (03PS4) 10Hoo man: Inject RepoApi into AbstractedRepoApi [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [17:47:04] (03CR) 10Hoo man: "Rebased" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [17:50:24] benestar: Just noticed something: We require the bootstrap to be loaded after the one of Wikibase [17:50:29] if ( !defined( 'WB_VERSION' ) ) { [17:50:29] throw new Exception( 'The Wikidata.org extension requires Wikibase to be installed.' ); [17:50:35] don't think we should do that [17:50:52] (03CR) 10Siebrand: [C: 04-1] "i18n/L10n reviewed." (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149877 (https://bugzilla.wikimedia.org/64776) (owner: 10JanZerebecki) [17:51:17] github.com/wmde/wikidata.org/pull/2 [17:51:25] https://github.com/wmde/wikidata.org/pull/2 [17:52:01] yeah, just merged [17:52:07] got that by mail [17:52:07] thx :) [17:52:18] but we should solve what I said above [17:52:26] yes, I see the issue [17:52:35] that not exactly sure how, but stuff might fall apart in production [17:52:49] probably only register the hooks in a extension function or so [17:52:52] that sounds sane [17:52:57] hoo: but how is it done eg in Datamodel extension? [17:53:11] sorry, meant WikibaseQuer [17:53:13] y [17:53:16] benestar: DataModel is dependency of Wikibase [17:53:21] it also depends on Wikibase [17:53:21] oh, no idea [17:53:31] but WikibaseQuery is kind of a mess still anyway [17:53:34] and not in production [17:53:40] ok, so no good example [17:53:42] just use an extension fucntion [17:54:22] hoo: extension function? [17:54:46] $wgExtensionFunctions[] = function() { [17:54:49] // ... [17:54:51] } [17:55:00] ah, thx :) [17:55:17] that's going to only be run after everything else has been initiated, so you can then switch on if defined WB_Version [17:55:18] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [17:59:31] hmm hmm [17:59:38] moving wmf stuff out of wikibase? [18:00:00] or what? [18:00:03] nope, not introducing new WMF specific stuff rather [18:00:20] ah [18:04:09] hoo: https://github.com/wmde/wikidata.org/pull/3 this way? [18:04:44] benestar: GitHub has '404 issues' with that page ;) [18:05:08] gnah, forgot to create the request xD [18:05:16] :D [18:05:28] * hoo just wanted to git review without committing [18:05:42] (03PS5) 10Hoo man: Inject RepoApi into AbstractedRepoApi [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [18:05:49] hoo: JohnLewis: done [18:06:56] benestar: mh... maybe we should just bail out and not fail hard? [18:06:57] Not sure [18:07:20] Sadly Katie isn't around to give further opinions [18:07:25] so I'm going to take it as is [18:14:14] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [18:19:21] (03CR) 10Hoo man: "Addressed Henning's comment" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [18:20:18] (03PS6) 10Hoo man: Inject RepoApi into AbstractedRepoApi [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [18:20:48] (03CR) 10Hoo man: "Fixed Qunit tests" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [18:25:51] (03CR) 10Hoo man: [C: 032] "Only did marginally changes myself, trivial change, manually verified." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [18:26:02] (03Merged) 10jenkins-bot: Inject RepoApi into AbstractedRepoApi [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [18:27:12] so badges are cominh? [18:27:14] *coming [18:27:27] rschen7754: Yes [18:27:35] :D [18:27:37] on the 19th, hopefully [18:27:39] yay! [18:27:48] * hoo not going to be around then [18:28:10] is that the same day as wikinews? [18:28:14] yeah [18:28:23] there's even more stuff going to come that day [18:28:27] minor things [18:28:35] (03CR) 10WikidataJenkins: "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145280 (owner: 10Adrian Lang) [18:29:01] * hoo rages [18:29:09] why on earth is linkItem awry again [18:29:32] hoo: ya know, peeps usually rage on Jenkins failing [18:29:40] apparently you do on it succesing :p [18:29:57] lazowik: :P It looks very ugly on master... [18:30:05] Wonder how that broke [18:38:26] (03PS3) 10JanZerebecki: Add title by item special page. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149877 (https://bugzilla.wikimedia.org/64776) [18:43:49] (03CR) 10JanZerebecki: "PS3: Add i18n documentation (qqq)." (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149877 (https://bugzilla.wikimedia.org/64776) (owner: 10JanZerebecki) [18:47:01] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149877 (https://bugzilla.wikimedia.org/64776) (owner: 10JanZerebecki) [18:49:27] GerardM-: hey. i'm here now [18:49:38] sorry it's been a super busy day [18:50:10] rschen7754: excited about badges? ;-) [18:50:19] yep! :) [18:50:22] \o/ [18:50:38] rschen7754: how about redirects? they're hopefully coming in the next month as well [18:50:43] ok [18:50:53] :) [18:51:12] simple queries is waiting on foundation's review [18:51:15] which reminds me [18:51:15] there's a lag now for the bots to add LinkFA and LinkGA... hopefully this will resolve that [18:51:29] JeroenDeDauw: did you see the comment on the simple query review bug? [18:51:39] rschen7754: yes! [18:51:39] I can't wait to see badges stored on Wikidata :) [18:51:46] :) [18:52:17] * Lydia_WMDE doesn't quite get why everyone is so hyped about it but that's fine [18:52:22] i'm glad we can make you happy [18:52:23] ;-) [18:52:44] i mean i understand it's a pain to maintain locally just like interwiki links [18:53:06] Lydia_WMDE: We know you really just want to implement kittens into Wikibase and not all these badges and stuff [18:53:15] haha [18:53:18] JohnLewis: yes! :P [18:53:21] but! [18:53:29] don't reveal my secret plan [18:53:33] that's not cool [18:53:46] i only told you with the promise of keeping it secret! [18:53:59] <3 kittens [18:54:07] \o/ [18:54:39] ok here's the deal: if anyone comes up with an awesome easter egg involving kittens i'm likely to have it done [18:54:45] :D [18:54:45] Lydia_WMDE: I never keep things secret >:D [18:54:54] JohnLewis: ohnoes! all the stuff i told you!!! [18:55:03] xD [18:55:04] :p [18:55:06] * Lydia_WMDE makes note not to tell JohnLewis anything anymore [18:55:29] Lydia_WMDE: you should totally announce a contest [18:55:31] Lydia_WMDE: I already know all the amazing development stuff your planning before other know >:D [18:55:36] for kitten easter egg [18:55:46] hmm [18:55:54] then it won't be an easter egg… [18:55:54] lazowik: but but but then it is no longer a secret easter egg [18:55:55] damn [18:56:01] JohnLewis: :P [18:57:00] well, there are almost 1000 GAs and FAs at the US road project on enwiki [18:57:24] rschen7754: Amir1 has a script to import them [18:57:30] ok [18:57:42] only when all badges are imported we will turn off the old system and enable our badges [18:57:50] Lydia_WMDE: is everything still planned for tomorrow? [18:58:06] benestar: when I can start? July 19th? [18:58:17] how about other badges than GA and FA? [18:58:22] oh, so it won't be like the phase 1 launch then [18:58:36] ah, it will [18:58:38] nvm [18:58:42] JohnLewis: Planned for tomorrow? [18:58:43] Stryn: who cares about 'other' stuff :p [18:58:46] Stryn: they'll be enabled on a case-by-case basis on request [18:58:48] so july 19th is only when it can be entered into wikidata [18:59:01] JohnLewis: did I ask your opinion? ;) [18:59:02] rschen7754: yeah and then the old system can be removed [18:59:03] hoo: special sitelink group [18:59:08] Amir1: basically when https://gerrit.wikimedia.org/r/#/c/149918/1 is merged and deployed :) [18:59:15] Stryn: No but you got it :p [18:59:21] * hoo was away for a few minutes to help his neighbor with browser toolbars and stuff :D [18:59:32] JohnLewis: It's going to go live for testwikidata [18:59:36] JohnLewis: for test.wikidata.org yeah if hoo is fine with it still [18:59:42] not for the "real" one [18:59:45] kk [19:00:00] If stuff turns out fine, aud.e will deploy that for the real Wikidata in August [19:00:03] Lydia_WMDE: see this comment https://gerrit.wikimedia.org/r/#/c/149918/1/wmf-config/Wikibase.php [19:00:15] rschen7754: my hope is that the import goes rather quickly and we can switch very soon after that [19:00:21] benestar: looking [19:00:30] oh noes, more bikeshedding [19:00:30] Lydia_WMDE: be more clear on the calendar then :p [19:00:37] JohnLewis: :P [19:00:42] I'm not sure if we want other icons for featured lists and portals [19:00:45] it just said 'Wikidata' so :p [19:01:09] benestar: they'll have other badges, no? [19:01:16] Wikidata will get it together with badges [19:01:21] Lydia_WMDE: I think so, yes [19:01:22] for parser cache purging reasons [19:01:22] benestar: featured list would be a different badge imho [19:01:32] *nod* [19:01:37] will reply to helder.wiki [19:01:40] cool [19:02:27] Lydia_WMDE, benestar: Can you inform me when you add another badge like featured list or featured portal? [19:02:50] Amir1: Something like that wont happen from one day to another [19:03:02] Amir1: just stay tuned ;) [19:03:06] Amir1: ok. i think we'll have a bigger round of new badges relatively soon and then not many more for a while [19:03:10] at least not on my shift *puts sunglasses on* [19:03:13] I think it will anounced quite loudly by Lydia_WMDE :D [19:03:17] (I really wanted to use that line once) [19:03:31] haha [19:03:34] ^^ [19:03:52] * Amir1 laughs out loud [19:04:47] Lydia_WMDE: are there already badge items on testwikidata? [19:04:53] no [19:05:02] badges stuff is still experimental [19:05:05] that's why [19:05:21] time to take that out of experimental mode now? [19:05:23] * hoo eyes Lydia_WMDE [19:05:32] world wont explode until we set the setting [19:05:36] and even then hopefully not [19:06:06] If we take it out of exp. we can get that live with the next deploy, which is weeks away [19:06:06] hoo: i think that's fine yeah [19:06:11] so enough time for staging [19:06:20] benestar: you fine with that too? [19:06:42] Lydia_WMDE: [19:06:45] yes [19:06:55] just preparing a patch to enable the setting on testwikidata, too [19:06:59] do you have a moment ? [19:07:11] yes [19:08:45] * hoo kills the suggester [19:08:49] I mean really, wtf [19:08:53] ? [19:08:56] noooooooo :D [19:09:01] wasup with it? [19:09:09] Lydia_WMDE: Input is dissapearing for no reason on client [19:09:11] (master) [19:09:20] -.- [19:09:33] that's kind of unintuitive [19:12:51] (03CR) 10JanZerebecki: [C: 031] DM 1.0 compat: do not use Entity::toArray [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149497 (owner: 10Jeroen De Dauw) [19:19:02] ah [19:19:12] one thing I noticed with all kinds of suggesters [19:19:22] when you start typing it shows suggestions [19:19:35] when the field looses focus it hides [19:19:55] but when it gets the focus back suggestions do not appear [19:20:06] sounds lovely [19:20:08] (I think they do when you start typing/removing) [19:20:12] is that desirable? [19:20:26] I'd make them pop again [19:20:29] just on focus [19:20:36] Lydia_WMDE: "good" news... this is broken on testwikipedia right now [19:20:44] lazowik: tbh i think the popping up right away needs to be rethought [19:20:52] hoo: -.- [19:21:14] lazowik: so i am hesitant to spend time on this part before we've rethought it [19:21:19] So I'll need to find a fix today and backport that [19:21:21] tomorrow [19:21:25] lazowik: it is a bit weird at that it pops up like this right away [19:21:30] or it will hit the fan... [19:21:31] hoo: ok thanks! [19:21:34] yeah [19:22:39] I still need to click 5 times on "Load" to get more results... [19:23:04] sjoerddebruin: That's an API issues :/ [19:23:09] Not that this is better... [19:23:16] Yeah, annoying because I need to get more results. [19:23:44] Because the right item for men doesn't show up in het first list. [19:23:59] Lydia_WMDE: for me it's like going away for while (on lost focus) and then going back [19:24:08] on going back I expect things to be the same [19:24:37] open a bug, that's not critical [19:24:54] linkItem is totally nonfunctional on master and wmf14 [19:25:39] hoo: wtf? we didn't even change anything there, no? [19:26:01] Lydia_WMDE: Well, not that I know of [19:26:04] and that is confusing me [19:26:11] but try it yourself: https://test.wikipedia.org/wiki/Page552?debug=true [19:26:20] enter a language, some page and then click *anywhere* [19:26:21] i believe you [19:26:33] input will disappear... and I don't know why [19:26:55] thought we had browser tests for that :S [19:27:04] hoo: argh for me it never works anyway because i need to be logged in on the central repository [19:27:05] which i am [19:27:06] -.- [19:27:13] oh, that's also a "neat" bug [19:27:33] especially because fixing it is anything but trivial [19:27:57] :/ [19:28:19] we talked about that with WMF, but I'm not sure they understood the problem [19:28:28] will bring that up again, maybe [19:29:31] hoo select language where? [19:29:32] uls? [19:29:48] lazowik: No, "Add links" dialog on client ;) [19:29:50] mhm [19:30:41] I also get "you must be logged in" [19:30:55] any way around that [19:30:55] ? [19:31:38] Urgh, these time-outs are getting anoying [19:35:24] (03CR) 10WikidataJenkins: "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149995 (owner: 10L10n-bot) [19:36:03] Lydia_WMDE: https://www.wikidata.org/wiki/Category:Badge_items :D [19:36:48] :) [19:37:17] Lydia_WMDE: perhaps https://www.wikidata.org/w/index.php?title=Help:Badges&redirect=no needs also a bit more love than I could give [19:37:42] yeah indeed [19:37:48] we can look over it at the hackathon [19:37:52] Added the Dutch translations. :D [19:38:05] :D [19:38:17] Lydia_WMDE: so next step is: take the badges code out of experimental mode [19:38:26] yeah [19:38:27] patches to enable the config are already on gerrit [19:38:34] and put it into 'binned' :p [19:38:35] cool [19:38:36] patches to display the labels, too [19:38:45] will review the stuff later on [19:38:49] * benestar was working hard today :) [19:38:50] configuration changes are a bit early [19:38:56] but that's ok for discussion [19:39:19] hoo: but it doesn't hurt to have them already there [19:39:27] and what is done is done [19:39:34] (03CR) 10Hoo man: [C: 032] DM 1.0 compat: do not use Entity::toArray [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149497 (owner: 10Jeroen De Dauw) [19:39:48] (03Merged) 10jenkins-bot: DM 1.0 compat: do not use Entity::toArray [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/149497 (owner: 10Jeroen De Dauw) [19:40:08] "done" :D [19:44:59] the portable chromium thing I used to use on my netbook is broken as well now -.- [19:45:08] * hoo|away needs a break [19:45:12] damn google [19:50:14] hmm hmm [19:50:21] Lydia_WMDE: do you have ipv6 [19:50:43] lazowik: yes [19:50:45] why? [19:51:15] I think that could be the problem with "not logged in" showing in client link adding dialog [19:51:30] oh? [19:52:17] yyy [19:52:19] eeee [19:52:28] ppppp [19:52:31] ah [20:33:37] badges!!! https://commons.wikimedia.org/wiki/File:Badges_in_action.png [20:35:16] \o/ [20:38:39] benestar: why dewiki? why not cywiki :( [20:39:04] JohnLewis: because I'm German ;) [20:39:12] :'( [20:39:30] * benestar will upload one with cywiki for JohnLewis when he has time [20:39:42] :D [20:40:09] JohnLewis: what page is Test on cywiki? [20:40:38] sandbox or so? :p [20:41:04] oh a page named test :p [20:42:08] (03PS1) 10Bene: Take badges out of experimental mode [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/150026 [20:43:02] There is one apparently. [20:43:07] There is https://cy.wikipedia.org/wiki/Prawf_meddygol :p [20:43:15] pff [20:43:25] benestar: real badges!!! http://repo.data.d610.pl/wiki/Item:Q2 [20:43:33] or https://cy.wikipedia.org/wiki/Prawf_rhagdybiaeth :D [20:43:33] wtf https://www.wikidata.org/wiki/Q1003030 [20:43:39] "anus" o.O [20:43:51] xD [20:43:52] how can vandalism survive this way at Wikidata? :O [20:44:42] gaaaahhhh [20:48:52] hoo: when can we deploy badges on testwikidata? [20:49:54] never! [20:50:44] benestar: Well, once the three blockers are resolved and stuff is out of exp. mode [20:50:49] mid August [20:50:51] or so [20:50:53] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/150026 (owner: 10Bene) [20:50:54] after Wikimania [20:50:58] hoo: not before wikidata itself? [20:52:13] well, that is before Wikidata itself [20:52:24] we can't deploy it until it's finished, that's baseline [20:52:32] and right now it's experimental [20:52:41] and we're not going to change that before making a new build [20:52:54] so that's not something we can have super fast, unfortunately [20:57:27] * hoo goes totally crazy [20:58:36] hoo: at least I have a bunch of patches on gerrit now which hopefully solve most of the issues [20:59:38] I'll review them once I'm done wtfing at JS [21:00:17] thanks :) [21:01:30] hoo: can I wtf with you? [21:01:37] is this also on master? [21:04:45] lazowik: Yeah [21:05:53] how does one enable that widget anyways? [21:06:26] mh? [21:06:29] Which exactly? [21:06:37] The suggester or the link item thing? [21:06:42] link item [21:06:57] you're wtfing about link item, right? [21:07:22] yeah [21:10:18] hoo: in mine install edit links goes to repo [21:11:32] it only appears if there aren't any sitelinks yet and you're logged in [21:12:07] ah [21:17:15] Lydia_WMDE: unfortunately these statistics do not say much :/ https://www.wikidata.org/wiki/User:Bene*/Guided_tours_statistics [21:19:36] benestar: what do those numbers represent? my brain is too melted right now to dig into the sql query [21:20:24] rev_count is the number how often the tour has been made on that day [21:20:46] so basically walks through the tour per day [21:21:38] ok [21:21:40] looking [21:22:04] benestar: well then the numbers say different things: [21:22:08] * guided tours are used [21:22:18] * there is obviously a demand for them [21:22:55] * those are much higher numbers than i expected tbh [21:23:20] so you can already say that in your post [21:23:28] and then write about how it was developed [21:23:39] maybe even do that part together with helen if you want [21:23:48] write about why you did it [21:23:53] why it is so important for wikidata [21:24:26] and about how we need more people to help develop more tours (and which exactly) [21:24:42] add a few pictures [21:24:46] and you're done :D [21:24:56] sounds good :) [21:25:03] benestar: and then the world will belong to you [21:25:04] really [21:25:10] Lydia_WMDE guarantees [21:25:18] :D [21:25:22] indeed [21:25:23] \o/ [21:26:16] Lydia_WMDE: but in the wmde blog I should write German, right? [21:26:38] benestar: english is fine too - or both. i personally prefer to have at least english so we can share it [21:26:53] well, I also thought that ;) [21:27:02] we've done english posts before [21:27:07] but there is no wikidata blog so far? [21:27:25] only as part of the wmde blog [21:28:14] "only" [21:28:31] Nemo_bis: ;-) [21:28:32] Categories are wonderful! :) [21:28:35] indeed! [21:28:46] well [21:28:51] tags > categories [21:28:52] but yeah [21:28:54] On Wordpress, that is ;) [21:29:04] right [21:29:05] And the English is also included in en.planet.wikimedia.org [21:29:15] oh right [21:29:24] benestar: so your post will also show up there [21:29:33] which is good :D [21:29:45] we also have an interview with magnus in the pipeline still [21:29:55] need to poke people into getting that published [21:30:13] if people have more ideas for posts or want to do guest posts let me know [21:34:23] Not that en.planet lacks Wikidata posts :P [21:35:45] lol [21:35:53] impossible, Nemo_bis! [21:51:27] hoo: mpfh [21:51:44] from debuggers behviour looks like this is not js… [21:52:07] *behavior [21:55:23] hoo: ok, that deosn't happen with id of the input removed [22:01:11] lazowik: I'm getting closer now [22:01:24] hoo: https://github.com/wikimedia/mediawiki-extensions-Wikibase/blob/28b65d2f0a14035de4087e20a547fa620bca4b79/client/resources/jquery.wikibase/jquery.wikibase.linkitem.js#L281 [22:01:25] that? [22:01:25] (made a break in between... but still this is nasty to debug) [22:03:16] might be [22:04:11] yup [22:04:12] that [22:04:45] this is on [22:04:45] siteselectoropen siteselectorclose siteselectorautocomplete blur [22:04:50] I know [22:04:55] * hoo hard kills firefox [22:08:17] I now have a fix within ValueView [22:08:21] but I'm not sure it's sane [22:10:31] Ok, this doesn't make any sense anymore [22:13:03] I know have two fixes... and both seem insane [22:17:21] * now [22:17:30] hoo: when whas the jquery update? [22:17:39] to 1.9? [22:17:42] June? [22:17:45] early June [22:17:50] hmm hmm [22:17:55] don't you think [22:18:24] can you quickly try with 1.8? [22:18:35] no [22:18:38] Is this allowed? https://www.wikidata.org/w/index.php?title=Q6683&diff=148054008&oldid=148053815 [22:18:39] and that's not a solution [22:18:49] root cause is different [22:19:17] not as solution [22:19:25] maybe that's a jquery ui bug [22:19:34] or some change of behavior [22:26:23] hoo: when this bug appeared? [22:26:34] that's a good question [22:28:33] $page.val( '' ); is from 2013-11-11 [22:28:34] that [22:28:39] yep [22:28:45] but the suggester is rather new [22:30:10] but has also worked at some point [22:30:22] everything we have here has worked together at some point it seems to me [22:30:27] which makes this a very weird bug [22:30:59] that's why I'm still suspecting jquery [22:31:45] wat [22:31:54] hoo: try typing in site inout [22:31:55] *input [22:32:08] and then change click on language [22:32:12] mh [22:32:16] naming issue [22:32:18] s [22:32:20] mh [22:32:22] switching to english [22:32:33] I have the fixed version running now [22:32:42] Still trying to understand this a little better [22:35:20] soo [22:35:25] that doesn't happen on blur [22:35:29] nope [22:37:58] sjoerddebruin: wow, fast retweet :) [22:38:20] Yeah, I'm pretty fast on Twitter. [22:38:52] But I have a few more followers. ;) [22:40:31] [13ValueView] 15mariushoch created 06suggesterCloseValue (+1 new commit): 02http://git.io/V4g66Q [22:40:31] 13ValueView/06suggesterCloseValue 145ae33fb 15Marius Hoch: Set the value of the suggester target element before closing... [22:41:41] [13ValueView] 15mariushoch opened pull request #92: Set the value of the suggester target element before closing (06master...06suggesterCloseValue) 02http://git.io/PSET-A [22:42:32] lazowik: ^ in case you're still interested [22:43:17] mhm [22:45:44] gn8 :) [22:45:51] :O [22:56:38] Lydia_WMDE: fixed that one now :P So much backports/ changes tomorrow [23:00:37] hmm [23:00:46] hoo: that happens on siteselectorclose [23:00:59] and with that removed suggester works ok [23:01:40] I've all played it through... any other fixes I could come up with seemed worse [23:01:57] If you have something handy, tell me [23:02:27] I also thought about destroying the siteselector, but that would mean we would need to reconstruct it at other points(?) [23:02:32] also that seems ugly [23:04:33] but that bug must have been introduced somewhere [23:05:45] yeah [23:05:56] but all components I've checked didn't ahve relevant changes [23:06:05] including jquery.ui shipped by core [23:06:18] and jquery.ui.dialog I think [23:06:31] hmm [23:06:37] it looks somewhat inverse [23:06:39] I have a rather sane fix now (at least no regressions) so I'm happy for now [23:06:45] siteselectorclose [23:06:51] and when you click site selector [23:06:54] it's not fired [23:06:59] hmm [23:07:36] how is siteselectorclose fired? [23:07:52] look into _attachWindowEventHandlers: [23:07:57] in our suggester [23:09:41] this._trigger( 'close' ); [23:09:47] commenting that out also fixes the bug, btw [23:09:54] and no, I'm not sure why *both* fixes the bug [23:12:35] https://github.com/wikimedia/mediawiki-extensions-Wikidata/blame/deb70175d59bf6746e10cd0474988897c77c3e0e/extensions/ValueView/lib/jquery.ui/jquery.ui.suggester.js#L313 [23:13:08] hoo: if clicked anywhere anytime outside the site (language) suggester [23:13:13] it's close is fired [23:13:37] yeah [23:14:21] so I think the proper solution would be [23:14:29] could also change that, but seemed to much for a small backport fix [23:14:39] if( !this.options.menu.element.is( ':visible' ) ) { [23:14:40] [23:14:44] just add that to _close [23:14:55] return in that case, ofc [23:15:32] if you like that much better, I can update the PR [23:15:39] if you give a virtual +1 [23:15:49] just need to get Thiemo to approve *some* fix tomorrow [23:15:51] move things that need to be done to page when closing site out of _onSiteSelectorChangeHandler [23:15:52] don't care which [23:16:08] what? [23:16:20] uhm [23:16:29] I should go and get some sleep :p [23:18:07] lazowik: What about I do both? Set the value and not do stuff in _close if not needed? [23:18:50] hoo: with the fix in that pull req. you just put the first suggestion into the field? [23:19:13] lazowik: No, I put into the field what the suggester considers selected [23:19:22] yep [23:19:27] that's what I mean [23:19:28] t [23:19:45] so what happens if you type something [23:19:55] that suggester won't have any suggestions? [23:20:15] it will stay in there [23:20:36] don't think suggester should remove it [23:20:51] have you checked? [23:21:04] damn, I'm working on yet another version [23:21:12] it's broken with what is currently my PR [23:21:17] but not with what I ahve locally [23:21:19] *sigh* [23:22:37] [13ValueView] 15mariushoch 04force-pushed 06suggesterCloseValue from 145ae33fb to 142a5a47e: 02http://git.io/yGU3pA [23:22:37] 13ValueView/06suggesterCloseValue 142a5a47e 15Marius Hoch: Only close a suggester if it's open... [23:23:07] are you ok with that version [23:23:15] or shall I completely remove the _term [23:23:21] although I doubt that makes sense [23:23:57] that one looks sane [23:24:01] :) [23:24:11] Would you mind posting a +1 on github? [23:24:19] and works sane [23:25:32] done [23:25:37] \o/ [23:26:07] ah [23:26:08] wait [23:26:16] * hoo hides [23:26:17] don't do this.element.val( this._term ); then [23:26:24] does it harm? [23:26:33] otherwise changing language won't erase site [23:26:51] let me test that [23:27:03] hmm [23:27:07] it does erase [23:27:08] works for me [23:27:25] but it sometimes comes back [23:27:36] just drop it [23:27:37] * hoo goes to try without [23:27:44] it doesn't help with anything [23:28:12] [13ValueView] 15mariushoch 04force-pushed 06suggesterCloseValue from 142a5a47e to 140f55f3b: 02http://git.io/yGU3pA [23:28:12] 13ValueView/06suggesterCloseValue 140f55f3b 15Marius Hoch: Only close a suggester if it's open... [23:28:16] hmm, it will probably come back if there are articles of the same title in two langauages [23:28:44] meh, whatever [23:29:38] mh? [23:29:53] I think I'm becoming to tired for this stuffs :P [23:30:04] ah [23:30:21] I played around with it a bit now and it looks ok [23:30:25] mhm [23:30:33] I say {{done}} [23:30:47] \o/ [23:31:05] let's just hope Thiemo agrees [23:31:17] or us after sleep [23:31:21] :p [23:31:41] us? [23:32:14] damn [23:32:15] we [23:32:27] too much Pink Floyd [23:32:37] after getting some sleep I'm a totally new person... so I guess I can code review that [23:32:45] haha [23:32:46] Lydia will love that idea [23:33:22] yaawn [23:33:27] good night, hoo [23:33:43] good night, lazowik :) [23:33:45] and everyone in ~GMT [23:37:18] (03PS4) 10Hoo man: Inject config into RepoApi into AbstractedRepoApi [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145281 (owner: 10Adrian Lang) [23:45:40] (03CR) 10WikidataJenkins: [V: 032] "Build Successful" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145281 (owner: 10Adrian Lang) [23:52:19] (03PS5) 10Hoo man: Inject config into RepoApi into AbstractedRepoApi [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145281 (owner: 10Adrian Lang) [23:53:15] (03CR) 10Hoo man: [C: 031] "Looks good, but a few gadgets (probably) rely on the old behavior:" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/145281 (owner: 10Adrian Lang)