[00:28:17] the talk page. [07:19:29] [13Diff] 15cordoval opened pull request #27: minor typo (06master...06minor-corrections) 02http://git.io/x90Fpw [07:27:37] [13Diff] 15mariushoch closed pull request #27: minor typo (06master...06minor-corrections) 02http://git.io/x90Fpw [09:08:44] (03PS1) 10Gerrit Patch Uploader: Remove not allowed attributes from edit link [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182655 [09:08:46] (03CR) 10Gerrit Patch Uploader: "This commit was uploaded using the Gerrit Patch Uploader [1]." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182655 (owner: 10Gerrit Patch Uploader) [09:10:51] (03CR) 10Hoo man: "https://gerrit.wikimedia.org/r/168632 also does this" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182655 (owner: 10Gerrit Patch Uploader) [09:49:50] aude: Around? [10:03:17] hoo: ? [10:03:55] aude: Can we safely change all urls in the sites table to https? [10:04:03] Needed to fix https://www.wikidata.org/wiki/Wikidata:Project_chat#Bug_when_adding_links_to_Wikinews [10:05:14] they should all be https [10:06:00] aude: No, they're not [10:06:05] they're protocol relative [10:06:11] and MediaWiki http stuffs defautls to get [10:06:11] ah, yes [10:06:17] I played that through on terbium [10:06:21] they should be realtive [10:06:45] aude: I'm currently working on a patch for the maint. script to change stuff to https [10:06:52] so that we could update the sites table [10:06:54] hm [10:07:16] i am not sure enough if there would be unintended side effects [10:07:24] seems a good idea though [10:07:48] it works [10:07:52] I tested that :P [10:11:22] you tested for side effects? [10:11:41] i can't think of any but there might be [10:11:42] No, I tested that Http::get works with https [10:11:50] ok [10:12:05] That's what the MediaWikiSite class uses [10:12:08] not sure there are other users [10:12:15] ok [10:13:08] SitesModule makes them protocol relative per hand anyway [10:13:12] so that also wont break [10:13:23] (although that would be more of a problem if we forced http and not https) [10:13:57] i don't object but we should look more into any possible side effects [10:14:11] if this fixes the bug, then good :) [10:14:39] It does [10:14:49] right now the api queries get a 301 (or 302) [10:14:52] and don't follow [10:20:30] aude: Maybe we should also make the http request follow redirects? [10:20:59] Although for WMF we probably want to have the proper fix as following redirects makes stuff slow (when we could just go to the right URL) [10:23:03] Given we might once have external stuff in the sites table it's probably better to not follow redirects (as they could lead as anywhere and cause harm) [10:23:58] * aude likes proper fix [10:24:17] yeah [10:24:23] My fix is ready [10:24:34] but I still need to test it a bit [10:24:48] and, well, figure where/ how the bug should look [10:28:30] (03Draft1) 10Aude: Batch page id lookups for addLinks to ParserOutput [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182660 [10:31:49] So many empty pages that need to be deleted [10:32:08] Wouldn't it be better to make Hoo Bot request deletions in a subpage? [10:32:22] GeorgeEdwardC: :S [10:32:26] I can go through them [10:32:32] Didn't do that in a while now [10:33:27] https://www.wikidata.org/wiki/User:Pasleim/Items_for_deletion/Hoo_Bot [10:33:47] Yeah, I know [10:39:23] (03PS1) 10Hoo man: Add --force-protocol to the populateSitesTable.php maintenance script [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182661 [10:40:05] Matej: I know about that, but I would have thought it would be easier [10:40:10] Maybe not [10:41:54] Hey Harmonia_Amanda :-) [10:41:59] I like how I can screw around with strings in tests :) [10:42:00] hello [10:42:32] hoo: :P [10:43:52] GeorgeEdwardC: It's the protocol of the future ;) [10:49:12] later [10:49:30] aude: Ok [10:49:34] * aude off to the beach :P [10:49:38] what [10:49:43] yeah [10:49:56] What happened to the east coast? :D [11:39:12] first kernel panic this year... yay? [11:59:51] if I have a Q number and the title of a wikisource article, what's the easiest way to associate them in wikidata? [12:00:00] I want something like a bot script. [12:00:11] [13Diff] 15mariushoch 04deleted 06split at 14e7f84e8: 02http://git.io/rDyqSw [12:00:19] Bogdan: QuickStatement [12:00:26] http://tools.wmflabs.org/wikidata-todo/quick_statements.php [12:01:34] thanks :) [12:04:24] Bogdan: so in a spreadsheet you need several colums, the first for the Qid the second for Senwikisource the third for the wikisource article (between "") [12:04:44] Bogdan: then you copy that to QuickStatement, and hop you go [12:05:04] sounds easier than writing a bot :) [12:05:08] yes [12:35:43] Bogdan: how do you know that? https://www.wikidata.org/w/index.php?title=Q18582028&curid=20114517&diff=185940331&oldid=183047944 [12:37:29] Harmonia_Amanda, I was playing that Wikidata game: http://tools.wmflabs.org/wikidata-game/# [12:37:38] Harmonia_Amanda, how do I know it's a male? I googled :) [12:37:59] Bogdan: yes, but which source did you use? [12:38:43] I work on mushers, I'll would be very interested if there is somewhere a good database with their gender [12:39:03] do we need to source their gender? [12:39:44] http://www.susanstevenson.com/Journal/2010/February/2188SamDeltourP.jpg -- this is the photo I've seen [12:40:07] and it's from this site: http://susanstevenson.com/blog/2010/02/yukon-quest-2010/ [12:40:19] I don't think so, I just have no idea for many of them what thair gender is (and there is many both-gender given names) [12:40:34] so if Bogdan had an interesting source I could complete many of them [12:40:50] but it's an individual search for this item, i see [12:40:54] thanks Bogdan! [12:51:33] sorry Bogdan there is probably many mushers in the Wikidata Game ^^' [13:00:19] thank you matej_suchanek :) [13:04:21] Why is Wikidata so slow? [13:07:30] Let me check ^ [13:11:47] sjoerddebruin: Fine for me [13:11:57] fine for me too [13:11:59] Yeah. sometimes is good. [13:17:38] I think I've found the longest username [13:18:21] GeorgeEdwardC: do you mean the German one? [13:18:41] I think so [13:18:42] User:MeldeDichAnUmEineAndereMenüspracheAuszuwählen [13:18:47] yes this [13:19:12] I'm suprised that it didn't get caught by a charater limit [13:19:23] But damn isn't that a mouthful [13:45:42] hmm, someone know why QuickStatement is very slow when it's about adding qualifiers to an existing property-value ? [13:47:30] I think that doesn't work at all [13:48:18] but it has worked before [13:49:36] so if we want to add qualifiers we need to delete the properties first? [13:50:08] this is the only possibility I know, but it is also what I don't want to do [13:50:47] well it discourage to add informations as soon as we have it... [13:51:29] I have also prepared a set of expressions for QS but I cannot run it until it is fixed, so I have saved it in .txt file and am waiting for a fix [13:55:10] I have 87 .csv prepared for QS [13:55:22] d'oh! [13:55:28] but mostly I add qualifiers and references to existing properties [13:55:35] so none of that will work [13:56:37] I will poke Magnus to look at this [13:57:01] thank you [13:57:20] I'll work to merge my .csv into one big file:) [16:56:54] Dag [16:59:43] Hi Noa [17:01:44] Ben nog een leek hierin. [17:03:53] Spreek geen Nederlands... [17:04:01] ^ had to Google Translate XD [17:05:01] Wb Noa [17:06:15] Hallo Noa [17:10:10] Even een voorstel rondje? [17:17:24] Hoe kom ik weer terug? Zonder op opnieuw in te loggen? [20:14:25] [13Diff] 15JeroenDeDauw 04force-pushed 06cs from 14c6bf101 to 148a31d5d: 02http://git.io/AOYMWw [20:14:25] 13Diff/06cs 14acd15a0 15jeroendedauw: Add PHPCS rules and have the CI run them... [20:14:25] 13Diff/06cs 1424e202d 15jeroendedauw: Report CS checking progress [20:14:25] 13Diff/06cs 148a31d5d 15jeroendedauw: Add additional CS rules [20:17:22] hoo: the highest cyclomatic method complexity in Diff is now 8 \o/ [20:17:44] Nice :) [20:18:33] hoo: merge merge merge https://github.com/wmde/Diff/pull/25 [20:20:19] JeroenDeDauw: mh... no idea about the phpcs xml stuff... that's a 1:1 copy from someone who knows that stuff, right? [20:21:23] The original is based on https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/MediaWiki/ruleset.xml [20:21:44] I added a bunch of additional rules though [20:22:19] They make sense to me, as far as I understand them [20:23:04] merged [20:23:15] [13Diff] 15mariushoch pushed 1 new commit to 06master: 02http://git.io/7mxJBg [20:23:15] 13Diff/06master 1425b880a 15Marius Hoch: Merge pull request #25 from wmde/cs... [20:23:17] <16WAAT1Z8> [13Diff] 15mariushoch closed pull request #25: Add PHPCS rules and have the CI run them (06master...06cs) 02http://git.io/W3orYw [20:23:22] [13Diff] 15mariushoch 04deleted 06cs at 148a31d5d: 02http://git.io/5XQN9A [20:23:35] Going to refine the stuff some more before introducing this elsewhere [20:23:46] Might also want to use PHPMD [20:23:58] hoo: \o/ [20:56:37] aude: ping [21:13:25] jzerebecki: Around? [21:14:07] hoo: pong [21:14:11] * aude eating [21:14:26] aude: Another thing we should probably fix tomorrow: https://phabricator.wikimedia.org/T76458 [21:14:30] error log flooded by that today [21:14:34] no diea why [21:14:49] not new [21:14:53] probably one bot/ script going bad [21:14:57] but yes should fix [21:14:59] but we have several per second now [21:15:06] :( [21:16:31] We could have an own HttpError that extends core's [21:16:39] which makes isLoggable false [21:16:46] ok as an approach? [21:17:16] Or we could make a core patch that adds a $shouldLog flag to HttpError (slightly ugly and hard to backport, though) [21:17:20] Or... ? [21:17:28] Input appreciated [21:17:48] i did not think of obvious, nice solution yet [21:17:59] otherwise would have fixed already [21:18:50] aude: I have an idea, not sure it will work, though [21:19:38] why do all problems alway come at once? [21:43:44] (03PS1) 10Hoo man: Don't log HttpErrors targeted at SpecialEntityData [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182750 [21:43:57] aude: Would be super-awesome if you could take a look at the two patches today. [21:44:03] Both are rather trivial [21:44:58] * hoo hoo|away [21:45:03] Need a break/ food for now [21:45:14] -.- [21:45:17] really need a break [21:49:51] (03CR) 10Aude: "at a glance, looks ok. not verified yet" (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182661 (owner: 10Hoo man) [22:51:29] (03CR) 10Hoo man: Add --force-protocol to the populateSitesTable.php maintenance script (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182661 (owner: 10Hoo man) [22:52:44] (03PS2) 10Hoo man: Add --force-protocol to the populateSitesTable.php maintenance script [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182661 [22:53:36] (03CR) 10Hoo man: "Addressed Katie's comment about a typo :D" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/182661 (owner: 10Hoo man)