[08:58:15] * hoo got 4 client changes awaiting review... that only allows one conclusion: The candy bowl must be empty :O [09:14:05] hoo: hehe.. no, our current problem is the internet connection at the new office [09:14:20] some services are still not working properly [09:14:31] one amongst them is git [09:14:33] ;) [09:15:48] Heh... remote working also has its upsides :D [10:23:23] (03CR) 10Aude: [C: 032] Fix RepoLinker for Repos with Items outside of NS 0 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97653 (owner: 10Hoo man) [10:27:01] (03Merged) 10jenkins-bot: Fix RepoLinker for Repos with Items outside of NS 0 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97653 (owner: 10Hoo man) [10:31:44] * Lydia_WMDE puts a kitten in the channel for general entertainment and awwwws [10:34:57] awwws [10:36:36] hoi notconfusing how do you like the "Concept cloud" [10:36:56] anybody knows why this page has "edit links" at the bottom-left http://en.wikipedia.beta.wmflabs.org/wiki/Main_Page [10:36:57] http://blog.wikimedia.org/2013/11/25/wikidata-concept-cloud/ [10:37:23] but this page does not http://en.wikipedia.beta.wmflabs.org/wiki/Boleyn_family [10:37:30] GerardM-, will look at that in a minute. [10:37:35] Tobi_WMDE: ^ [10:37:58] zeljkof: main page probably has {{noexternallanglinks}} [10:38:09] errr, looking [10:39:00] zeljkof: Boleyn family is not connected to a wikidata repo [10:39:05] main page is [10:39:08] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#1263 (master - ba8f84b : Marius Hoch): The build has errored. [10:39:08] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/29de07d126f2...ba8f84b51796 [10:39:08] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/14537459 [10:39:27] if it's not connected to the repo, there will be "add links" but only for logged-in users currently [10:40:00] aude: thanks, I have asked hashar to take a look [10:40:15] I have no idea how wikidata works really [10:40:32] hi aude [10:40:42] zeljkof: it's working as expected [10:40:55] hashar: your reply reminds me of this http://devopsreactions.tumblr.com/post/67455374987/newly-hired-sysadmin-following-sops :) [10:41:01] hi aharoni :) [10:41:12] zeljkof: exactly :-] [10:41:18] :D [10:41:20] but shouldn't a patch that is not connected to a repo have "Add links"? [10:41:39] s/patch/page/ [10:41:41] aude: (i'm in zeljkof in a pait-programming session) [10:41:43] [any my spelling is very bad today] [10:41:44] aharoni: the widget only works for logged in users [10:41:48] aharoni: :) [10:41:49] aha! [10:41:51] got it. [10:42:06] trying it now. [10:42:09] to add it for logged out users (just a link to wikidata), we considered [10:42:10] it [10:42:23] but think it would be too confusing without the widget [10:42:30] could use more thought [10:43:03] I am logged in, but this is the element [10:43:05] [10:43:13] it is empty [10:43:28] * aude looks [10:43:42] aude: ^ I'd expect it to say "Add links". [10:44:07] * aude struggles to remember my beta password [10:44:49] aharoni: currently the javascript handles it [10:45:09] i suppose we could omit it completely [10:45:17] aude: so I'm afraid that something is not quite right there. I'll report a bug. [10:45:29] ok [10:45:43] it should also not be an
  • element [10:45:52] * aude sure that would work better [10:46:24] oh, absolutely, there's already at least one bug report about that. [10:46:37] grrrr.... too many login attempts [10:47:24] alright, aude2 is in :) [10:49:45] aharoni: so it's either a bug or possibly/more likely an issue with configuration on beta [10:49:51] e.g. cors [10:50:08] works on my test wiki [11:02:33] (03PS5) 10Daniel Kinzler: Allow ItemContent to represent a redirect. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89810 [11:03:24] (03CR) 10Daniel Kinzler: [C: 04-1] "missing tests" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89810 (owner: 10Daniel Kinzler) [11:07:24] for anyone at the wmde office having problems pushing stuff using git-review: you can use a direct push, like this: [11:07:49] git push ssh://@gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase.git HEAD:refs/for/master/ [11:08:12] hm, i'll cross-post this to #wikimedia-de-tech [11:08:29] if you cloned from the ssh url, you can just do git push origin HEAD:refs/for/master [11:08:35] * aude wonders why it worked for me :) [11:08:44] also if you had used git review in the past on the same repo, it sets up a remote called 'gerri't [11:08:51] so you can use git push gerrit HEAD:refs/for/master [11:09:05] * yuvipanda has stopped using git review for a long time, thus improving his mental health [11:11:35] yuvipanda: ah, right, thanks yuvipanda [11:11:49] DanielK_WMDE: :D [11:12:06] you can also do git remote add gerrit once and then use git push gerrit HEAD:refs/for/master [11:12:21] and you can just copy paste the commandline for checkout from the gerrit page instead of git review -d [11:12:21] i have put more info on #wikimedia-de-tech, since it affects others at the office, but probably nobody outside the office [11:12:28] oh [11:12:36] that's... a weird issue, network limited like that [11:13:03] well, not so weird: the office moved over the weekend. the network is quite wonky. [11:13:28] curiously, *some* tcp connections don't work [11:13:31] still, affecting *only* git review and not direct push? [11:13:34] yah [11:13:42] since git review also does the push internally [11:13:54] git itself works fine over ssh, but git-review/python seems to have problems. [11:14:02] i can load google and wikipedia, but amazon times out [11:14:06] weird shit like that :) [11:14:14] and wors = [11:14:17] works for some people [11:14:25] and/or sometimes [11:14:33] yeah [11:14:44] or is slow but works [11:14:46] heh [11:14:48] i suspect some issue with packet fragementation or frame size [11:15:01] * yuvipanda whispers 'NSA!' [11:15:08] :) [11:15:19] which may or may not be triggered depending on the configuration and version of various software packages, switches, firewalls, etc along the way [13:15:41] (03PS2) 10Tobias Gritschacher: Extended browser tests for statements UI [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96671 [13:15:42] (03PS5) 10Tobias Gritschacher: Basic cucumber tests for statements [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/94915 [13:25:55] (03PS1) 10Addshore: Make sure ApiResult is ready before using it [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97736 [13:26:59] (03PS1) 10Addshore: Make sure ApiResult is ready before using it [extensions/Wikibase] (mw1.23-wmf5) - 10https://gerrit.wikimedia.org/r/97738 [13:37:23] (03CR) 10Zfilipin: [C: 031] Basic cucumber tests for statements [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/94915 (owner: 10Tobias Gritschacher) [13:41:12] (03PS6) 10Daniel Kinzler: Allow ItemContent to represent a redirect. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89810 [13:45:04] (03PS6) 10Addshore: (bug 54320) Include datatype in snak serialization. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96258 (owner: 10Daniel Kinzler) [13:50:55] (03PS7) 10Daniel Kinzler: Allow ItemContent to represent a redirect. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89810 [13:53:01] (03CR) 10Daniel Kinzler: [C: 04-1] "missing tests. several fixmes." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/89810 (owner: 10Daniel Kinzler) [13:55:51] (03CR) 10Zfilipin: [C: 031] Extended browser tests for statements UI [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96671 (owner: 10Tobias Gritschacher) [14:41:44] (03PS9) 10Jens Ohlig: (Bug 54324) [DON'T MERGE] Sequences in Lua should start with 1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96232 [14:44:30] (03CR) 10jenkins-bot: [V: 04-1] (Bug 54324) [DON'T MERGE] Sequences in Lua should start with 1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96232 (owner: 10Jens Ohlig) [15:22:01] (03PS6) 10Tobias Gritschacher: Basic cucumber tests for statements [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/94915 [15:23:32] (03CR) 10Tobias Gritschacher: [C: 032] Basic cucumber tests for statements [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/94915 (owner: 10Tobias Gritschacher) [15:23:39] (03CR) 10Tobias Gritschacher: [V: 032] Basic cucumber tests for statements [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/94915 (owner: 10Tobias Gritschacher) [15:27:29] (03PS3) 10Tobias Gritschacher: Extended browser tests for statements UI [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96671 [15:50:25] Lydia_WMDE: the closest bug we have currently is https://bugzilla.wikimedia.org/show_bug.cgi?id=45224 [15:51:44] addshore: thx [16:08:12] (03CR) 10Addshore: [C: 04-1] "small nit picks" (032 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97510 (owner: 10Daniel Kinzler) [16:09:36] (03CR) 10Tobias Gritschacher: [C: 032 V: 032] Extended browser tests for statements UI [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96671 (owner: 10Tobias Gritschacher) [16:13:32] (03PS7) 10Lydia Pintscher: (bug 57214) use DispatchingEntitySerializer for JSON [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96259 (owner: 10Daniel Kinzler) [16:13:38] woah! [16:14:00] Lydia_WMDE: merge it! [16:17:52] (03PS10) 10Jens Ohlig: (Bug 54324) [DON'T MERGE] Sequences in Lua should start with 1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96232 [16:20:36] (03CR) 10jenkins-bot: [V: 04-1] (Bug 54324) [DON'T MERGE] Sequences in Lua should start with 1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96232 (owner: 10Jens Ohlig) [16:30:02] (03PS11) 10Jens Ohlig: (Bug 54324) [DON'T MERGE] Sequences in Lua should start with 1 [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96232 [16:30:28] (03CR) 10Jens Ohlig: "Fixed tests." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96232 (owner: 10Jens Ohlig) [16:33:24] aude: review it :) [16:41:23] Jens isn't in this channel :/ [16:42:00] hoo: hey. i'll poke him [16:42:39] DanielK_WMDE: I also need to answer emails... big misunderstanding there :P [16:42:55] i guess. [16:42:57] hi johl [16:52:47] johl: shall we discuss the capiunto stuff now, or wait for hoo to reply to my email? [16:53:46] now would be okay. [16:54:10] we could clear the misunderstandings here. [16:54:39] (03PS5) 10Addshore: Move Getting sitelink targets to its own class [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95357 [16:54:47] (03PS6) 10Addshore: Move Getting sitelink targets to its own class [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95357 [16:56:44] (03CR) 10jenkins-bot: [V: 04-1] Move Getting sitelink targets to its own class [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95357 (owner: 10Addshore) [17:01:47] (03PS7) 10Addshore: Move Getting sitelink targets to its own class [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95357 [17:08:01] zeljkof: is there a selenium user which can log in on the instances on beta.wmflabs? [17:08:15] yes [17:08:38] does that user has special permissions? [17:08:48] I am in a meeting, could you please send me e-mail [17:08:53] ok [17:08:55] will do [17:08:57] thx! [17:09:12] thanks, I am in a meeting and already in a couple of chats :) [17:09:23] slightly overwhelmed [17:14:38] (03PS1) 10Tobias Gritschacher: Don't run statement tests on beta until they are fixed [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97755 [17:14:51] (03CR) 10Tobias Gritschacher: [C: 032 V: 032] Don't run statement tests on beta until they are fixed [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97755 (owner: 10Tobias Gritschacher) [17:15:56] (03CR) 10Addshore: Further refactor GetEntitiesOutput (032 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95374 (owner: 10Addshore) [17:16:35] (03PS9) 10Addshore: Further refactor GetEntitiesOutput [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95374 [17:17:52] (03PS6) 10Addshore: Allow id and type params in wbeditentity data! [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/94775 [17:20:57] (03PS7) 10Addshore: Allow id and type params in wbeditentity data! [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/94775 [17:21:11] (03CR) 10Addshore: Allow id and type params in wbeditentity data! (033 comments) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/94775 (owner: 10Addshore) [17:21:23] (03PS5) 10Addshore: Add ungrouped list api parameter [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96268 [17:31:01] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#1266 (master - 82849c3 : Tobias Gritschacher): The build has errored. [17:31:01] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/082e5274f4d6...82849c3de1dd [17:31:01] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/14556051 [18:04:41] (03PS2) 10Daniel Kinzler: (bug #57014) Introducing FormatSnakValue API module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97510 [18:06:14] addshore: --^ [18:06:43] (03PS7) 10Daniel Kinzler: (bug 54320) Include datatype in snak serialization. [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96258 [18:06:56] (03CR) 10Daniel Werner: [C: 04-2] "This should not be wikibase specific. Should just be a separate extension on top of ValueFormatters and MediaWiki." [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97510 (owner: 10Daniel Kinzler) [18:06:57] (03PS8) 10Daniel Kinzler: (bug 57214) use DispatchingEntitySerializer for JSON [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/96259 [18:08:40] (03CR) 10Daniel Werner: [C: 04-2] (bug #57014) Introducing FormatSnakValue API module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97510 (owner: 10Daniel Kinzler) [18:09:20] yay, another extension :) [18:10:17] haha, dennyvrandecic good one on the list! [18:11:01] hah! [18:15:07] (03CR) 10Daniel Kinzler: [C: 032] Move Getting sitelink targets to its own class [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95357 (owner: 10Addshore) [18:15:31] lazowik: sometimes it helps to open their eyes [18:16:08] but i hope poor lydia doesn't have to handle subscriptions manually now :P [18:16:16] :D [18:16:21] and spam [18:16:59] Which property should I use to indicate if someone is freemason ? [18:17:22] (03CR) 10Daniel Kinzler: [C: 04-1] "See PS8" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95374 (owner: 10Addshore) [18:18:36] DanielK_WMDE: Lydia_WMDE: the mail router: http://www.youtube.com/watch?v=xIuBmOufbls&t=03m25s :p [18:18:56] "this one here, oh sorry, here, ah, this one there and another one" [18:19:30] (03CR) 10Daniel Kinzler: [C: 04-1] "just a few more characters to fix, and i'll merge it :)" (031 comment) [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/94775 (owner: 10Addshore) [18:19:34] addshore: ---^ [18:19:51] (03Merged) 10jenkins-bot: Move Getting sitelink targets to its own class [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95357 (owner: 10Addshore) [18:25:59] * Pyb found the solution : it's P463 [18:29:31] Pyb how do I add the qualifier "in exile" [18:30:06] http://tools.wmflabs.org/reasonator/?q=Q152274 was also president during the war [18:31:17] [travis-ci] wikimedia/mediawiki-extensions-Wikibase#1267 (master - 5140254 : jenkins-bot): The build passed. [18:31:17] [travis-ci] Change view : https://github.com/wikimedia/mediawiki-extensions-Wikibase/compare/82849c3de1dd...5140254e64c3 [18:31:17] [travis-ci] Build details : http://travis-ci.org/wikimedia/mediawiki-extensions-Wikibase/builds/14559166 [18:31:46] GerardM-: [[Property:P766]] and [[Q678116]] ? [18:39:43] pyb happy with Q678116 [18:39:53] the p766 does not work for me [18:45:00] (03CR) 10Daniel Werner: "Daniel K convinced me to remove -2 since everything this API module depends upon is in Wikibase already (which is equally bad and should b" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97510 (owner: 10Daniel Kinzler) [18:46:48] Pyb P992 is what I prefer [19:02:13] (03PS1) 10Daniel Kinzler: (bug 57589) option to force "+" in decimal values. [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/97768 [19:40:34] (03CR) 10Addshore: [C: 032] (bug 57589) option to force "+" in decimal values. [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/97768 (owner: 10Daniel Kinzler) [19:42:25] (03Merged) 10jenkins-bot: (bug 57589) option to force "+" in decimal values. [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/97768 (owner: 10Daniel Kinzler) [19:45:01] Fatal error: Class 'Wikibase\Repo\Specials\UserBlockedError' not found in /usr/local/apache/common-local/php-1.23wmf5/extensions/Wikibase/repo/includes/specials/SpecialModifyEntity.php on line 295 [19:45:03] aude: ^^ [19:45:13] ack [19:45:17] ok..... [19:45:17] :d [19:46:33] (03CR) 10Addshore: [C: 032] (bug #57014) Introducing FormatSnakValue API module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97510 (owner: 10Daniel Kinzler) [19:47:01] (03PS1) 10Daniel Kinzler: (bug #56685) allow localized output of decimal values. [extensions/DataValues] - 10https://gerrit.wikimedia.org/r/97778 [19:47:22] (03CR) 10Addshore: "See my comments on PS8 :)" [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95374 (owner: 10Addshore) [19:47:24] (03PS1) 10Aude: Fix fatal error in SpecialModifyEntity [extensions/Wikibase] (mw1.23-wmf5) - 10https://gerrit.wikimedia.org/r/97779 [19:48:11] (03PS1) 10Aude: Fix fatal error in SpecialModifyEntity [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97780 [19:48:37] (03CR) 10jenkins-bot: [V: 04-1] (bug #57014) Introducing FormatSnakValue API module [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97510 (owner: 10Daniel Kinzler) [19:51:19] (03CR) 10Addshore: [C: 032] Fix fatal error in SpecialModifyEntity [extensions/Wikibase] (mw1.23-wmf5) - 10https://gerrit.wikimedia.org/r/97779 (owner: 10Aude) [19:51:21] (03CR) 10Addshore: [C: 032] Fix fatal error in SpecialModifyEntity [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97780 (owner: 10Aude) [19:58:21] (03Merged) 10jenkins-bot: Fix fatal error in SpecialModifyEntity [extensions/Wikibase] (mw1.23-wmf5) - 10https://gerrit.wikimedia.org/r/97779 (owner: 10Aude) [20:00:50] (03Merged) 10jenkins-bot: Fix fatal error in SpecialModifyEntity [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97780 (owner: 10Aude) [20:05:09] Reedy: i expect the error is rare (blocked user using special page on test.wikidata), but https://gerrit.wikimedia.org/r/#/c/97784/ [20:05:22] so we don't forget :) [20:11:10] ok, i see it might have been a blocked user on wikidata :P [20:13:04] For a user to be blocked on testwikidata they must have been doing pretty bad :p [20:13:11] yeah [20:13:47] reedy temporarily deployed the new stuff to wikidata, but it's no new stuff this week due to holidays [20:14:15] not quanities though [20:14:27] reedy beings a new definition to the meaning of lightning deploy [20:14:40] *brings [20:14:50] quantities* [20:16:18] (03PS1) 10Daniel Kinzler: (bug #56685) localize quantities when formatting [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97789 [20:16:47] addshore: Now if only we gave lightning shell access... It could bring a literal meaning to lightning deploys ;) [20:20:36] (03CR) 10jenkins-bot: [V: 04-1] (bug #56685) localize quantities when formatting [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97789 (owner: 10Daniel Kinzler) [20:32:26] (03PS10) 10Addshore: Further refactor GetEntitiesOutput [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95374 [20:36:55] aude: https://gerrit.wikimedia.org/r/97321 easy merge (/me wants to cut down his bug list) [20:37:23] oh, yes :) [20:37:29] (03CR) 10Aude: [C: 032] Load CSS for Special:Movepage before rendering [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97321 (owner: 10Hoo man) [20:38:12] aude: This also: https://gerrit.wikimedia.org/r/97489 I came across that while building the Capiunto Lua-Interface... not important know, but could break our neck one day [20:38:59] hmmm, engine can be something else? [20:39:21] aude: In theory it might be something else one day... Scribunto is flexible [20:39:41] but I doubt that anything else then Lua was ever really implemented [20:40:02] ick, whitespace in scribunto [20:40:11] aude: finally, I got you while you're still here [20:40:16] hi Sven_Manguard [20:40:26] Hi. I've been trying to reach you for three days. [20:40:30] :D JavaScript might be more likely... but whitespace sounds more fun :D [20:40:34] wrong timezones [20:40:55] I know, PMing you [20:41:02] k [20:46:11] (03CR) 10Aude: [C: 032] Make sure Scribunto is using Lua before adding our Lua scripts [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97489 (owner: 10Hoo man) [20:46:35] :) [20:48:23] it's sane, after looking at scribunto [20:48:45] * aude turns blind eye to whitespace [20:48:51] :D [20:51:29] (03CR) 10jenkins-bot: [V: 04-1] Further refactor GetEntitiesOutput [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/95374 (owner: 10Addshore) [20:54:27] * aude needs bitcoins :) [20:55:48] Don’t we all. [20:58:25] (03Merged) 10jenkins-bot: Load CSS for Special:Movepage before rendering [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97321 (owner: 10Hoo man) [21:03:29] (03Merged) 10jenkins-bot: Make sure Scribunto is using Lua before adding our Lua scripts [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97489 (owner: 10Hoo man) [21:22:17] (03PS1) 10Mayankmadan: Prefer double-quoted strings in Ruby code [extensions/Wikibase] - 10https://gerrit.wikimedia.org/r/97842 [21:24:00] really we rather have \" than ' ... mh [21:24:06] (in Ruby at least) [21:53:21] So, I'm trying to write something that uses the API to check interwiki links for a given Wikipedia page.... the user provides a pagename and a target language, and the script tells the user whether the page exists in the target language. What actions & properties etc. should I be poking at? [21:53:38] I figure I will be hitting either wikidata.org or the user's Wikipedia [21:56:40] hi brainwane [21:56:44] hi yuvipanda! [21:56:49] brainwane: https://en.wikipedia.org/wiki/Special:ApiSandbox#action=parse&format=json&page=India&prop=langlinks query gives you all the links for a specific page [21:57:04] I am using [[India]] as an example [21:57:14] let me look for a way to see if you can speciy a target language and get just that [21:58:45] dennyvrandecic: :D [21:58:53] you win one internet today [21:59:12] * Lydia_WMDE waves @ brainwane [21:59:36] It's a (hidden) Sumana :) [22:00:42] Hi! :D [22:00:55] Lydia_WMDE: hey [22:00:56] Lydia_WMDE: oooh, why does Denny win a net? [22:01:14] brainwane: email to wikidata-l [22:01:51] wohoo! [22:02:31] (nice.) [22:03:06] yuvipanda: I am okay with doing that filtering on the client side, but sure, it would be nice to specify it in the API call [22:03:09] brainwane: okay, action=query prop=langlinks should theoretically give you exactly what you want, but for some reason is buggy and not working [22:03:15] I'm investigating now [22:03:22] thank you! [22:04:28] * Lydia_WMDE wonders why spammers are sending so much "you should get our amazing germ-free mop"-spam to wikidata-l -.- [22:04:59] our code has no bugs so we clearly don't need them :P [22:05:09] Lydia_WMDE: Meh. accounts-enwiki-l gets Chinese writing, pornography offers etc. [22:05:18] JohnLewis: lol [22:05:36] also chinese pornographic writing? ;-) [22:08:54] Lydia_WMDE: I don't know :P zh(-whatever)-0 ;) [22:09:00] haha [22:09:02] i see [22:11:50] Lydia_WMDE: Looking at the spam atm, it is - 'Find email marketing solutions!' - 'Compare bank savings!' - 'Programs to earn your Doctorate degree online!!' [22:11:54] xD [22:12:01] xD [22:12:33] DanielK_WMDE: woah - you're on a roll it seems :D [22:13:31] yuvipanda: just 'normal'? [22:13:35] JohnLewis: When I am in OTRS I am continuously amazed that people send Wikipedia offers to increase their SEO [22:13:37] yuvipanda: also, that's intended iirc. [22:13:41] legoktm: what is? [22:13:44] legoktm: i filed https://bugzilla.wikimedia.org/show_bug.cgi?id=57623 [22:14:00] yuvipanda: http://lists.wikimedia.org/pipermail/mediawiki-api-announce/2013-April/000040.html [22:14:05] > * prop=langlinks will only list in-page langlinks. [22:14:10] legoktm: ooh [22:14:11] you have to use wbgetentities [22:14:13] legoktm: i... didn't know [22:14:24] legoktm: wbgetentities doesn't let me specify just a language, does it [22:14:30] it should [22:14:36] didn't last time I checked [22:14:38] Reedy: has anyone ever told you that your email address looks sketchy as hell? [22:14:44] languages - By default the internationalized values are returned in all available languages. [22:14:44] This parameter allows filtering these down to one or more languages by providing one or more language codes. [22:15:24] Sven_Manguard: reedy@wikimedia.org ? [22:15:39] legoktm: the other one [22:16:01] legoktm: ahem, nope :P https://www.wikidata.org/wiki/Special:ApiSandbox#action=wbgetentities&format=json&sites=enwiki&titles=India&props=sitelinks&languages=en [22:16:11] file a bug then :P [22:16:16] legoktm: will do [22:16:35] Sven_Manguard: what, sreed@wikimedia.org? [22:16:50] brainwane: legoktm just pointed out to me that prop=langlinks is intentionally disabled. There is no way right now to speciy the language to the API and get just that back :( [22:16:57] brainwane: I'll file a bug! [22:16:58] the now WMF one [22:17:04] non* [22:17:19] thank you yuvipanda! [22:17:21] Sven_Manguard: I know, I was just messing with you :P [22:17:27] hey brainwane! [22:17:34] brainwane: you can just filter clientside for now howver [22:17:45] legoktm: the one at http://5z8.info/freeporn_d5s6mx_hateminorities [22:18:18] I thought the seedyurl fad had passed :) [22:19:15] hi legoktm! :) [22:20:31] legoktm: can you do me a favor and file the bug? :D Have a short meeting in 10 mins but need to prep a bit [22:20:57] okay [22:23:00] [02:22:51 PM] (NEW) Only get specified sites' sitelinks with wbgetentities - https://bugzilla.wikimedia.org/57625 normal; MediaWiki extensions: WikidataRepo; () [22:23:21] legoktm: ty [22:28:31] we proudly present you our newest breakthourgh in irc bots technology - legoktm: the manual bot! [22:28:45] very intelligent AI! [22:29:30] Thanks all! [22:29:31] :D [22:29:40] brainwane: I'm not sure if "whether the page exists in the target language" is what you want [22:29:45] whether wikidata is a way to go [22:30:04] it's then more like "is there a sitelink to a page" [22:30:27] lazowik: good point, I'll think about that [23:01:45] aude: and all: [23:01:52] http://www.wikidata.org/entity/ * 303 See Other https://www.wikidata.org/wiki/Special:EntityData/ [23:01:56] http://www.wikidata.org/entity/foo * 303 See Other https://www.wikidata.org/wiki/Special:EntityData/foo [23:09:24] deployed https://gerrit.wikimedia.org/r/#/c/92925/ you got 303's [23:33:11] mutante: thanks! :)