[00:01:32] Go forth fhocutt [00:01:40] in your usual, decisive, diligent, intelligent way [00:02:10] * fhocutt exits in a dignified manner, followed by cats, no bear in sight [00:02:16] * sumanah laughs aloud [00:02:38] sumanah: where/when is wiki conference USA? [00:03:26] i only go to conferences that lilatretikov attends. ;-p [00:03:50] cscott: NYC, May 30-June 1 [00:04:12] https://meta.wikimedia.org/wiki/WikiConference_USA [00:04:18] that's soon! [00:05:47] I wish I could go [00:06:04] it's just too much of a busy week for me to make it [00:06:13] Meiko: even for one half-day? [00:06:28] yeah, I'm in Virginia so I'd have to take the train which would consume more time [00:06:41] * bawolff contemplating going [00:06:58] Is it going to be in NYC every year? If so I'll make it in 2015 unless some urgent matter comes up [00:07:00] hotels in new york are appearently quite expensive if you don't plan far in advanced [00:07:18] bawolff: Yeah, they're extremely expensive [00:07:42] Meiko: well, this is the first year they are doing it, so I do not know whether it will be annual [00:07:48] bawolff: At least all the ones I've stayed at, all of which were at Times Square, so that could have had something to do with it [00:07:50] maybe it will only be in years when Wikimania is not in North America [00:07:53] hostels work [00:08:07] Does NYC even have hostels? [00:08:15] yes [00:08:16] I've honestly never seen a hostel in the US. :o [00:08:23] hostels exist in nearly every city in the US [00:08:27] I've never stayed at a hostel before [00:08:37] I stayed at a hostel in Zurich and it was nice [00:08:39] I've seen them in Germany [00:08:50] guillom stayed at one in Los Angeles [00:08:56] I guess motels are kind of the equivalent of a hostel [00:09:25] https://en.wikivoyage.org/wiki/New_york_city#Sleep mentions hostels [00:09:29] I can't believe I wasn't involved in Wikimedia a few years ago because I missed Wikimania in DC. [00:09:40] "There are several hostels in Manhattan including two Jazz Hostels (located at 36 West 106th Street and 184 Eleventh Avenue) and one official Hostelling International hostel (located at 891 Amsterdam Avenue--between 102nd and 103rd Streets--in Manhattan)" [00:09:44] I'm like an hour out of DC so i'd have gone [00:09:51] that is where they are putting up the scholarship attendees [00:09:55] Hi! I can answer questions about WikiConference USA [00:10:11] harej: Is it going to be in NYC in 2015? [00:10:27] WikiConference USA will be in NYC this year (i.e., next weekend). I don't know where it will be next year. [00:10:43] Technically if it's anywhere on the east coast I can go [00:10:52] As far as hostels go, our main choice Hostelling International has filled up but Jazz (mentioned by Sumanah above) is our alternate that I've booked some people in. [00:11:14] https://en.wikipedia.org/wiki/NASFIC is a scifi convention that happens in North America "scheduled only during years where the Worldcon is being held outside of the North American continent." I would suggest that Wikimedia NYC & Wikimedia DC consider this idea :) [00:14:58] Meiko: As far as hostels go, our main choice Hostelling International has filled up but Jazz (mentioned by Sumanah above) is our alternate that I've booked some people in. [00:15:09] I saw that :P [00:15:45] sorry [00:15:50] I saw you disconnected, wasn't sure. [00:16:02] it's fine mate [00:16:47] I have parallel monitors so sometimes when I press Ctrl+W it'll close an IRC connection instead of a chrome tab, since I never check which window I have focused :P [00:16:52] harej: what is the situation with registration? is WCA full? [00:17:51] Situation with registration is that there's a waitlist but Richard just sent an email blast to people not attending to drop their registrations to clear some room on the registration list. [00:18:00] ok [00:20:42] harej: do you know how many people are on the waitlist now? [00:20:55] I'm trying to get a feel for whether I should tell people "go ahead sign up on the waitlist" etc [00:27:05] sumanah: A not insignificant number, I believe, but we're making plans to up attendance. People can register with the hopes of getting in! [00:28:09] cool [00:29:36] harej: "We have plans to record the major sessions for the conference. More details soon. " - so, just the keynotes? [00:29:48] Probably. (Of which you're one!) [00:29:53] Yes! [00:30:13] Forgive me if I'm not more conversant on the conference logistics—I'm a good 200 miles away, running the scholarship program! [00:32:07] harej: http://lists.wikimedia.org/pipermail/wikitech-l/2014-May/076635.html I've posted about WCA to the wikitech-l list [00:32:36] * harej wonders how WikiConference USA gets abbreviated "WCA," the abbreviation of the defunct Wikimedia Chapters Association. [00:32:51] sorry [00:33:05] "WCU" to me sounds like a Marvel superteam of crimefighters [00:33:08] World Cube Association [00:34:05] sumanah: bug me about wikiconference USA next week. i'm still in SFO, i need to get back home and see how the household is doing before i decide whether i can abandon them the weekend after next. [00:34:21] cscott: I cannot promise to bug you [00:34:26] you may wish to set a cron job [00:35:29] sumanah: my wife has some cloud-based cron service she uses. i should figure out what it is. [00:35:46] she also has a much better brain-hosted cron than i do. [00:36:12] ha [02:13:10] heya guys.... i was wondering if it's safe to install Extension:CentralAuth on my wiki... [02:13:55] the server i help run has a few wikis on it and i like the new Extension:GettingStarted but it lists CentralAuth as one of its dependencies [02:15:13] It should be "safe", but it would change the way the wiki integration works [02:15:32] What are you currently using? $wgSharedDB? [02:24:14] ahh, no, each one has a different account and a different database [02:24:49] i just want something that tells newcomers or those with accounts that are not logged in to have a sign when they click edit that says "hey! you gotta log in first! no account? make one and join the fun!" [02:25:50] You could edit MediaWiki:Anoneditwarning [02:26:00] Are you sure GettingStarted requires CentralAuth? [02:26:07] hm [02:26:14] It does [02:26:54] GettingStarted requires CentralAuth since that is how it redirects users back to the page they were on [02:27:31] You might be able to get rid of the CentralAuth dependency if you can add code to GettingStarted to redirect users to their returnto parameter [02:28:05] RingtailedFox: for that use case, most of GettingStarted is probably unnecessary [02:28:21] I think GettingStarted is mostly for WMF [02:28:43] Yeah the code is in a bit of state of flux [02:28:58] If you want the part that prompts users to log in if they're anonymous [02:29:16] what I would do is install GuidedTour, and move the tours related to that from GettingStarted into GuidedTour [02:29:26] You shouldn't need GettingStarted if you do that [02:30:20] GuidedTour? ok [02:30:52] Yeah the part that prompts users to log in is dependent on GuidedTour. We just hosted it in GettingStarted extension since that is what was easiest for us. [02:31:07] You shouldn't need the rest of GettingStarted if that is what you want. [02:31:56] yes [02:31:57] thanks [02:32:33] i'll talk with the wiki admins on our server and see if that's what they need, or if they meant to just alter LocalSettings.php to disallow anonymous editing [02:39:43] Hey RingtailedFox, I work on GuidedTour if you want to talk. [02:39:47] Looking through the scrollback now. [02:40:54] Yeah, we should probably make CentralAuth an optional dependency. [02:41:03] In the meantime, there are a couple things you could do: [02:41:39] One of: [02:41:43] ok [02:42:02] 1. Just install it anyway. I think it will work, except you won't get the GettingStarted modal that shows up on signup (but you haven't mentioend that feature anyway). [02:42:15] 2. Move the tour to another extension (e.g. GuidedTour). [02:42:30] 1 means install GettingStarted without CentralAuth. [02:42:54] well, let me see how it works out on the test wiki we also set up for just this type of thing [02:42:56] 3. Move the tour to a wiki page. See https://www.mediawiki.org/wiki/Extension:GuidedTour/Write_an_on-wiki_tour . [02:43:09] ooh, a wiki page would work nicely [02:47:53] thanks for the help [02:48:07] Yeah, the downside is copy and paste, but if you want to customize the flow (e.g. add/remove a step), having your own on-wiki copy will allow that. However, now that I think about it you will still need some additional setup code, either in an extension or Common.js or something. [02:48:11] what function is responsible for producing interlanguage-link interwiki-xx links [02:48:36] Withoutaname: it's in the skin files [02:48:57] RingtailedFox, due to that issue (the code that sets up the click listeners, launches the tour, etc.), you may want to try #1 first instead. [02:49:39] Withoutaname: SkinTemplate.php getLanguages function [02:50:57] ok [02:51:29] RingtailedFox, and we'll look at making CentralAuth officially optional (https://bugzilla.wikimedia.org/show_bug.cgi?id=65619) [06:34:57] This is getting weird https://gerrit.wikimedia.org/r/#/q/owner:%22Deepali%22,n,z [07:16:57] pray tell why would it be weird [08:08:22] hello, i noticed that webp images are not supported in MediaWiki. More precisely I can't see their thumbnails. What can be done? [08:16:59] gleki: just taking a quick look: imagemagick, which handles thumbnail creation for mediawiki, does support webp. I also see that in the mediawiki codebase, under includes/media, there is a handler class for each image type that is currently supported [08:17:12] so my guess: take one of them as an example, make one for webp, and go from there [08:22:23] i see. then i guess i need to start from installing imagemagick [08:22:26] thank you [08:23:55] if you already have a working installation, then imagemagick is installed [08:51:40] I want to "include" a text file in a wiki page... the text file is available as a url. Optimally it would work like and update automatically when the source file changes... like a frame. I found http://www.mediawiki.org/wiki/Extension:Include but it's kinda old, is there another way? [09:33:43] Widgets rock. found the Iframe widget, works perfect [14:32:31] hi - I'm using the MediaWiki API to grab extracts using the query action and the extracts prop. Is there a way to grab a different language variant extract on say the serbian or chinese wikipedias? [14:32:57] say, pull a zh-tw extract rather than zh-hans (which I get as default). [14:33:36] (my apologies if this is the incorrect place to ask such a question - pointers to the correct place appreciated) [14:37:24] for example - compare http://sr.wikipedia.org/wiki/Биг_Бен and http://sr.wikipedia.org/wiki/Биг_Бен?variant=sr-el If i use 'variant' as on the api query action, I get a 'unknown parameter: variant' :/ [17:46:10] Hi everyone, I want to host a server side redirect of my client side app for wikimedia login, please tell me where, if WMFLabs, then how to apply for one? [17:49:17] Sounds kind of like a tool labs type thing. wmf labs also has their own irc channel at #wikimedia-labs [17:50:25] Thanks, maybe I should ask there. [19:00:07] fhocutt: Ready to talk about JS API libraries? [19:00:58] yes! [19:02:09] anomie: I don't have any experience in JS and it's pretty different from languages I do know, so telling me the sorts of things that you're looking for when you look at one will be helpful. [19:02:30] fhocutt: Well, to start with I'd say that jQuery.ajax and Reactive Extensions for JavaScript aren't really in-scope, as they're just libraries for making generic web requests. If they're included, Perl's LWP::UserAgent could be considered an API library. [19:03:08] (and I say this having used LWP::UserAgent for writing my own bot) [19:03:27] ah, so more or less equivalent to Python's requests library? [19:03:42] Yes, I believe so [19:03:49] * anomie isn't too familiar with Python [19:04:28] ok, so those are out. [19:06:07] I'm making notes as we talk on https://www.mediawiki.org/wiki/API_talk:Client_code#JavaScript [19:07:34] fhocutt: As far as the code criteria, at this early stage of evaluation there isn't too much to look at. When I looked at the code, I mainly did a search for "continue" to see if there was any support for continuation. It turns out that macbre/nodemw tries to extract the continuation parameter but doesn't otherwise handle it, mediawiki.api doesn't seem to do it at all, nor does the "ultra light wrapper". rompetoto/wiki does have a method to handle it, [19:07:35] but it's not in the documentation and I'm not sure whether it's externally visible or used for implementing the high-level methods. [19:08:13] how do you tell if something's written for node.JS or standard JS? [19:08:19] fhocutt: Recent updates, documentation, and presence of tests you should be able to evaluate without digging into the code [19:08:24] (if they don't flat out say) [19:08:31] how about cookies? [19:08:47] fhocutt: You've got me there, I really don't know beyond whether they offer themselves as an npm package [19:08:58] ok. [19:09:20] it doesn't look like mw.Api does [19:09:30] fhocutt: Cookies tend to be automatically handled in JS code by the underlying browser or the underlying request library. [19:09:51] fhocutt: mw.Api, for example, runs in the browser and the browser handles the cookies. [19:10:38] anomie: what about for node.js? Would that use the request library then? [19:11:47] fhocutt: Truth is I'm not too familiar with node.js. But given that one of the touted "benefits" of node is that the code can be shared between browsers and backend, I'd find it odd if it didn't handle cookies for you. [19:12:13] anomie: hm, ok. [19:13:05] fhocutt: One other thing I note about the libraries is that rompetoto/wiki at first glance doesn't appear to support anything except action=query: its basic request method forces that action. [19:13:33] anomie: ok--that is good to know. [19:14:40] * anomie notes that his familiarity with JS originally comes from the mid 90s and he's not fully up to date on all the newer stuff like node. [19:14:51] * fhocutt nods [19:15:02] still more than I currently have! [19:20:13] anomie: am I reading this right that it just sends your API requests for you? https://github.com/brettz9/mediawiki-js [19:21:04] and as you said, probably doesn't need to handle cookies, but certainly doesn't do logins [19:21:17] fhocutt: Yes; it does some minimal protocol handling (e.g. format=json and basic response parsing (sort of)). One interesting thing there is that it uses jsonp (signified by the use of the "callback" parameter) which means it cannot be used for logged-in requests. [19:21:38] anomie: why's that? [19:23:42] fhocutt: Security. The way that jsonp works is that instead of just returning data, it returns actual javascript code that calls a function with the data as a parameter. It's mainly from before the days when browsers had XMLHTTPRequest so people had to do calls to apis by inserting