[00:34:04] Steinsplitter: you have a pull request! https://bitbucket.org/Steinsplitter/rotatebot/pull-requests/2/read-cookies-from-set-cookie-headers-dont/diff :) [04:23:08] how would i get fr-FR / ru-RU / en-US string from mediawiki? either in php on js [04:25:37] Krinkle or Nikerabbit ? ^ [05:35:12] TimStarling, hi, is there a mediawiki parser function to normalize a title? I need to convert "Main Page/doc" to "Main_Page%2Fdoc" [05:35:39] you mean URL encode a title? [05:35:54] TimStarling, yes, but also normalize it according to title rules [05:35:59] the |WIKI does not work [05:36:08] because it does not encode slashes [05:36:57] slashes are not normally converted to %2F in URL paths [05:37:34] TimStarling, in that case they break url paths (not queries) [05:37:51] e.g. for restbase and page views api [05:38:15] so you are asking if there is a function to normalize a title for restbase? [05:39:26] for all resty apis [05:39:49] https://www.mediawiki.org/wiki/Help:Magic_words#URL_data shows that {{urlencode:string}} encodes slashes [05:39:50] no, there isn't [05:40:25] i wonder why |WIKI does not encode slashes if the default one does [05:40:47] because MW does not encode slashes, and it is part of MW [05:41:35] i mean if there was a function to normalize title, i could than use {{urlencode:string}} [05:41:38] https://en.wikipedia.org/wiki/Template:Graph:PageViews [05:41:47] i'm trying to make this template to work in every case [05:42:18] pageviews api is finiky - it requires pagetitle to be passed as normalized [05:42:28] no, you would have to use {{urlencode:...|path}} [05:42:42] without any option it will encode for a query string [05:42:52] I don't know why [05:43:14] pageviews requires underscores [05:43:15] figures :( [05:43:21] is there a search/replace? [05:43:59] i saw something of the sorts, but i think its not enabled [05:44:25] there is {{pagename:}}, I think it does what you want [05:44:57] i.e. {{urlencode:{{pagename:foo}}|path}} [05:45:38] not exactly - it trims the namespace [05:45:49] fullpagename [05:46:11] well yes, i use articlename, but that will work for default, not when users type something [05:47:12] i need something like this (ideally): "Namespace:Main Page/doc" -> "LocalizedNamespace:Main_Page%2Fdoc" [05:47:32] at least i suspect that's what pageviews api is expecting [05:48:08] correction: "Namespace:Main Page/doc" -> "LocalizedNamespace:Main_Page/doc" --> urlencode(..|PATH) [05:50:45] isn't that what {{urlencode:{{fullpagename:foo}}|path}} will give you? [05:50:56] I guess it will encode colons [05:51:26] but if you want to have your own special escaping function which corresponds to nothing in MW then I suppose you have to build it yourself [05:52:05] encoding colons is fine - its the underscore that seems to be the problem [05:52:07] let me check [05:52:34] I see [05:52:44] try {{urlencode:{{fullpagenamee:foo}}|path}} [05:52:49] with an extra "e" [05:53:18] sorry for the stupid conventions, this actually predated my involvement with the parser, I just grandfathered all these stupid functions in [05:55:21] hehe, no need to apologize :)) check out en.wikipedia.beta.wmflabs.org/wiki/Sparql [05:57:52] TimStarling, no, still a slash in there [05:58:35] urlencode:{{fullpagenamee:{{{2|{{ARTICLEPAGENAME}}}}}}}|path [05:58:41] this is what i'm using [06:01:34] for this: {{urlencode:{{FULLPAGENAMEE:{{ARTICLEPAGENAME}} }}|path}} [06:01:39] I get User%3ATim_Starling_%28WMF%29%2Fsandbox [06:02:08] which seems fine, right? [06:02:29] let me check [06:09:18] TimStarling, that's a double-encoded message, which you don't see because of your name is in latin [06:09:19] {{urlencode:{{FULLPAGENAMEE:Википедия:Форум/Технический}}|path}} [06:09:32] %25D0%2592%25D0%25B8%25D0%25BA%25D0%25B8%25D0%25BF%25D0%25B5%25D0%25B4%25D0%25B8%25D1%258F%3A%25D0%25A4%25D0%25BE%25D1%2580%25D1%2583%25D0%25BC%2F%25D0%25A2%25D0%25B5%25D1%2585%25D0%25BD%25D0%25B8%25D1%2587%25D0%25B5%25D1%2581%25D0%25BA%25D0%25B8%25D0%25B9 [06:10:05] figures [06:10:25] yeah, this is such a pain, i think it will be easier to get pageviews api to accept spaces :) [06:11:12] I think that's all we've got in CoreParserFunctions [06:11:12] funny enough, all this can be easily done in Lua, but i don't want to have a lua script for the graph, because than its not very portable [06:12:22] note that the only difference between the text form and the DB key form is translation of spaces to underscores [06:13:40] TimStarling, yes, but we don't have search/replace as a function :) [06:13:52] nope [06:14:02] in the olden days it was simulated with padleft/padright [06:14:52] oh boy [06:15:00] exciting [06:15:10] did you see the sparql stuff? [06:15:21] no [06:15:59] http://en.wikipedia.beta.wmflabs.org/wiki/Sparql [08:43:23] Hi...I think I need some help... [08:43:41] Why cna't I change user rights on beta-commons? [08:47:37] I am a Global_sysops on beta... [11:48:26] Steinsplitter: doesn't work? :( didn't the bot just make a few image rotation actions though? [11:50:44] MatmaRex: I hate myself because i haven't pushed the fixed to repo regulary. I pushed them now. I tested again a while, for some reason login fails (NotExist). It was initally written by luxo, and it hard to get how the code works because there are x-functions. [11:52:22] Steinsplitter: NotExists? that's weird… [11:52:45] i agree the code is messy, i haven't even tried looking anywhere outside of that one function ;) [11:53:17] are you sure it doesn't hardcode the wrong username somewhere? [11:53:56] nope [11:54:18] yes i am sure. nope [12:05:02] MatmaRex: i got working uploading again by changing curl stuff a bit *_*, now your fix works as well :) [12:05:13] yay :D [12:05:14] *huggle* [18:49:38] Reminder: Lightning Talks start in 10 minutes [18:57:42] hola [18:59:22] You can stream remotely here: http://www.youtube.com/watch?v=D3fyCgBWvFc [19:01:28] \o/ lightning talks yay [19:01:36] \o/ [19:02:33] are there folks here for the lightening talks? [19:03:40] EGalvez yep I can help relay any questions [19:04:15] Great :) I'm WMF staff and here to help answer questions too [19:04:31] about PC&L (one of the talks) [19:06:45] hi iḿ derek and iḿ watching the you tube channel [19:09:51] Thanks for the Arabic wikipedia shout out, Pine 😀 [19:09:57] :) [19:10:57] questions for Pine's talk - 50k views promised in 3 years [19:11:06] what is the source of this estimate? [19:11:12] this [19:11:13] https://www.youtube.com/user/WikimediaFoundation/videos [19:11:15] Not promised. It's a goal. :) [19:11:19] and this [19:11:20] https://www.youtube.com/channel/UCK_cUZLMpibyRiIdp0uF-lQ/videos [19:11:26] are ~50k [19:11:30] why that goal? [19:11:44] why have a goal of more than WMF has been able to accomplish? [19:12:18] I wanted to set the bar high. Also, it's about 1 months' worth of active editors on all projects. Spreading that over 3 years cumulatively sounded reasonable. It's an educated guess, nothing more. :) [19:12:19] - If we share these videos on WMF social media, we should be able to hit those goals [19:13:05] one of the innovations in the past year or so is that facebook has video [19:13:15] victor - if someone watches a video through Facebook or Twitter, does that up the YouTube counter? [19:13:18] Pine: where can we do the translations? I can do the Romanian one :) [19:13:21] no- [19:13:29] facebook has its own counter [19:13:37] I see [19:13:47] plus it’ll be on commons, and Vimeo [19:13:57] and anywhere else people may want to place it [19:14:11] to measure, we’ll have to add all the viewcounts up [19:14:16] milimetric: please indicate your interest on https://meta.wikimedia.org/wiki/Grants_talk:IEG/Motivational_and_educational_video_to_introduce_Wikimedia :) [19:14:45] Pine - will your other videos be like this one? [19:14:50] slides with your voice over? [19:15:12] Pine, that page is huge and I can't find where exactly to do it [19:15:23] is the script drafting happening on-wiki? [19:15:52] seems like CRAZY amount of time for budget [19:16:33] Im on irc [19:16:50] The time is for drafting a script [19:16:57] and refining that [19:18:20] Most of the budget is going to rendering and editing the video - that price is lower when the script and storyboards, etc are well -refined [19:19:15] For those asking about translation: https://meta.wikimedia.org/wiki/Grants_talk:IEG/Motivational_and_educational_video_to_introduce_Wikimedia#Offers_to_Translate [19:19:18] This is a great project Pine - thanks for working on it [19:19:25] (I just made a new section cc Pine) [19:19:35] +1 thanks! [19:19:47] Pine: just sent it to you. [19:19:53] yes [19:20:01] lzia: got it, thanks [19:20:18] milimetric: I see your note, I'll get back to you on meta [19:20:41] EGalvez: thanks! [19:20:47] victorgrigas: thanks for answering Q&A :) [19:21:30] :) [19:21:35] down with sham metrics! [19:21:39] how do i broadcast? [19:21:58] broadcast what yurik [19:22:02] :) [19:22:14] how do i present :) my lightinng talk is #2 [19:22:17] oops, 3 [19:23:15] yurik: I think you gotta join the hangout, who has the link? [19:24:02] today's lightning talk schedule: https://www.mediawiki.org/wiki/Lightning_Talks#February_2016 [19:24:35] brendan_campbell, yes, and i'm number 4 :) [19:24:53] kevinator: the hangout talk in the calendar is empty [19:25:37] milimetric: which calendar? [19:25:46] everyone should be on the youtube stream [19:25:50] except presenters [19:26:11] kevinator: the WMF ENgineering calendar, yurik is one of the presenters and the hangout link leads him to an empty hangout [19:26:14] and he wants to present [19:26:28] thanks milimetric :) [19:26:39] * yurik now has an official spokesperson [19:27:01] yurik: how long is your presentation? [19:27:09] kevinator, few minutes :) [19:27:13] as always :) [19:28:30] yurik: I'll let you present... sending the hangout link for you [19:28:39] thx :) [19:29:17] yurik: however next time, please give us more notice (a few days). [19:29:25] kevinator, sorry :( [19:29:42] * lzia is excited to have yurik's presentation in the queue. [19:30:01] thanks lzia ! [19:32:19] questions? [19:32:30] fyi, we used to track "uniques" based on comScore, which didn't count data from mobile devices, so it deviated very strongly from any sort of accuracy. We removed that graph from the reportcard and we'll replace it with these numbers that madhu's presenting, as soon as they're ready [19:32:47] yurik: if you have a pair of headphones on hand, that would be awesome if you could use them while you present (headset would be even better). thanks! [19:33:04] brendan_campbell, i always have a headset [19:33:05] All unqiue devices data will be public [19:33:18] yurik: awesome [19:35:03] madhuvishy: Great presentation and thank you for exploring ways non-invasive ways to count uniques! [19:35:17] awight: thank you! [19:35:21] a bit hard to hear Rosemary, can we get the mic adjusted? [19:35:32] madhuvishy: the slides looked really nice. good job, y'all. :-) [19:35:37] nice presentation, too, madhuvishy. [19:35:44] lzia: thanks! :) [19:35:53] the time was tight, I would ask some hard questions, otherwise. :D [19:36:19] lzia: aah :D you should! at the end if there's time may be [19:36:37] yurik has left no time for us. :D [19:36:51] lzia: aah i din't know there was another talk [19:37:03] ;p [19:38:23] I just noticed that "move the needle" is something I hear a lot these days. It's our new word. [19:38:57] yeah, what's up with thatL? [19:39:12] no idea, yurik. I think it's replacing innovation. [19:39:12] hmmm... https://en.wiktionary.org/wiki/move_the_needle [19:39:44] too bad these meetings are not transcribed, yurik. we could identify trends. ;p [19:40:00] lol [19:40:26] https://en.wikipedia.org/wiki/Buzzword_bingo [19:40:55] haha, EGalvez. :D [19:46:26] Any questions for Rosemary? [19:47:29] I think I'm missing some context, this information seems like a lot of stuff about a lot of things, can we frame this more clearly? [19:47:32] lzia - could be fun for a conference [19:47:39] :) [19:48:57] milimetric - what part are you referring to? The entire talk or a specific section? [19:49:22] the entire talk, yeah, like, this is an audit of everything that's broken at WMF? I'm just very confused :) [19:49:23] thanks, Mneisler. [19:49:54] I remember hearing "moving the needle" already in https://outreach.wikimedia.org/wiki/Account_Creation_Improvement_Project so it is not really new [19:50:47] milimetric - the talk was focused on sharing what the goals are for Program Capacity and Learning team. We have some big problems to tackle like developing leaders (via affcom and training) and improving the effectiveness of programs (GLAM, Education) [19:51:29] the frequency has increased, Ainali. I'm hearing it few times a week in my meetings, it didn't use to be like this. maybe it's just annual planning time. [19:51:50] those are the two core areas the team is focusing on. We are engaging with staff & communities on meta: https://meta.wikimedia.org/wiki/Program_Capacity_and_Learning [19:53:07] it's a yurik talking? [19:53:18] benestar: yes [19:53:37] EGalvez: I'm not even familiar with the team, so I'm missing all of the context :) I guess my comment can be reduced to: a really basic introduction would be useful in the future, for the probably many people that have zero context [19:53:44] sparql graphs <3 [19:54:11] Ah ok - thanks for that feedback - I can pass it on to Rosemary [19:54:19] questions for yurik? [19:54:37] Also - its a brand new team from the CE reorg [19:54:50] yurik: awesome! are there links to your examples? [19:55:29] EGalvez: ah, that makes sense, but it sounds like it's been around for years based on all the information in the talk, so maybe catching people up with the timeline would be useful too. [19:56:18] thanks everyone! [19:56:26] *clap clap* [19:56:28] thank you! [19:56:32] Thanks milimetric - helpful. [19:56:37] Thank you! [19:56:45] Ainali: http://en.wikipedia.beta.wmflabs.org/wiki/Sparql [19:57:01] that's the wikidata powered sparql graphs [19:57:33] benestar: Thanks! Wow, that is super cool! [19:57:46] it is :) but it still lacks proper caching and stuff [19:58:45] anyone know what was the url for that maps-editing demo on wmflabs? I can't read it from the video [20:00:03] yurik: ^ [20:01:16] YairRand, https://www.mediawiki.org/wiki/Lightning_Talks#February_2016 [20:01:24] i just updated the links [20:01:35] yurik: thanks [20:01:39] YairRand, its a work in progress ;) [20:01:52] thanks! [21:16:57] I'm trying to write a mediawiki extension for shibboleth. But I'm having a hard time and I was wondering. Is there an easy way for me to fully take control over the Special:UserLogin page? (so I can redirect it to IdP) [21:17:01] (I've googled it but I can only find people trying to edit the form, while I specifically can't even use the form)