[12:27:00] Does anyone know how to get rid of these two errors? https://bs.wikipedia.org/wiki/Posebno:LintErrors/pwrap-bug-workaround I can't seem to figure it out. [14:05:58] i have been receiving welcome messages on wikis i didnt even contribute from past one day [14:08:29] some wikis will welcome you if you visit them [14:08:47] no need to edit, just visiting is enough [14:09:15] i havent even visited those wikis [14:09:45] made any links to them? [14:09:52] no [14:10:05] renamed your account? [14:10:21] two weeks ago [14:11:17] I am stumped, no idea why that would be happening but "maybe" your rename has triggered it a you are renamed on wikis you never visited [14:14:01] in past had contributed or visited less than 80 wikis now its showing 478 wikis https://en.wikipedia.org/w/index.php?title=Special%3ACentralAuth&target=Anoop+Rao [14:15:14] you account, before you renamed, was it a SUL login? [14:16:29] yes it was unified login [14:16:39] hmm [15:01:48] Technical Advice IRC meeting starting in 60 minutes in channel #wikimedia-tech, hosts: @addshore & @Thiemo_WMDE - all questions welcome, more infos: https://www.mediawiki.org/wiki/Technical_Advice_IRC_Meeting [15:01:50] This is the last Technical Advice IRC meeting for 2017! [15:02:44] oh exciting [15:02:55] can i talk about refs? [15:20:03] sure [15:58:10] 0/ [15:58:16] It's the finalll one!!! [15:58:28] addshore: o/ [15:58:31] :) [15:58:59] o/ [16:00:50] So, welcome to the final technical advice session! [16:00:55] Ask away! [16:01:35] Is it possible to have a look at this: https://gerrit.wikimedia.org/r/#/c/397595/ (it's GCI related) and waiting specially for your comments :) [16:01:57] addshore: That's for you [16:02:08] Yes! [16:02:20] Thanks [16:03:19] Could I get some advice on lint errors? [16:03:53] srdjan_m: what in particular? [16:04:17] I don't understand what I'm supposed to fix in these two articles. https://bs.wikipedia.org/wiki/Posebno:LintErrors/pwrap-bug-workaround [16:04:41] It had a bunch of pages, and I've narrowed it down to just the two of those. [16:06:00] d3r1ck: replied [16:07:19] hmmm srdjan_m I dont know much about the linting stuff but will take a look [16:07:36] thanks [16:08:26] srdjan_m: have you looked at https://www.mediawiki.org/wiki/Help:Extension:Linter/pwrap-bug-workaround ? [16:09:09] addshore: I have, that's how I've been fixing the rest of the pages, but I can't see how that applies to the remaining two. [16:09:34] addshore, so looking at your comments, i'll wish we stay within the scope of GCI. Will returning a null do? Or just leave the message hardcoded (and accept the task if there are no more strings to internationalise)? [16:10:08] I think switch that stirng back and accept the task if we cant find any more strings [16:10:24] Okay! [16:11:34] hmm srdjan_m sorry I dont know [16:11:56] welp. thanks for trying. [16:12:15] srdjan_m: you could try posting on https://www.mediawiki.org/wiki/Help_talk:Extension:Linter [16:12:29] addshore: will do, thanks! [16:13:54] Is this frequently updated? https://doc.wikimedia.org/, I assume it's the center of docs related to codes in MW etc. [16:14:27] That's where I look how classes are defined and methods etc, hope I'm not usually looking at the wrong place [16:15:43] d3r1ck: yes, I believe most of it is updated when the docs in the code changes [16:15:48] The updates are automatic [16:16:06] addshore: Perfect! Thanks for the reaffirmation :) [16:16:40] Don't know if Volker_E is around but there is a patch pending (https://gerrit.wikimedia.org/r/#/c/394847/ - GCI related) [16:16:55] addshore: Any ideas if he is around? [16:18:12] No, sorry :/ [16:19:02] Thiemo is not here but the last time I spoke with him about this, https://gerrit.wikimedia.org/r/#/c/367320/, he said he will put on his Wikidata todo list [16:19:11] addshore: Any idea if he spoke about it to you? [16:19:24] d3r1ck: it's pretty early for Volker and he is already subscribed on that Gerrit patch anyway? [16:19:41] ah, I see you pinged a week ago. Sorry [16:20:09] andre__: Okay! Just that it's been pending for a while now and maybe the student could be waiting. Volker has +2 rights [16:20:25] I don't so he is the only one to merge (or maybe someone could help out?) [16:21:12] andre__: Maybe he could be busy! [16:29:44] Have looked at this for sometime: https://phabricator.wikimedia.org/T106924 (it's pretty confusing to me) [16:29:59] Maybe andre__ can through more lights? Is the feature mostly used? [16:30:33] Cc addshore [16:31:42] Not sure I have seen twmhatbone before [16:32:24] Oh wait, yes I have! [16:33:52] I have a question, but I feel like there’s a slight possibility it points to a security issue [16:33:56] addshore: can I PM you about it? [16:34:19] Lucas_WMDE: sure! [16:42:56] Woo! [16:43:10] :) [16:43:33] addshore, andre__, still waiting... [16:44:19] d3r1ck: what's confusing about that feature to you? [16:44:48] Okay! What I don't understand is how and why the badges get assigned [16:44:59] And is the feature frequently used? [16:45:14] (Wikimedia movement in particular) not generally [16:46:42] So there are couple of different groups of people that have badges [16:47:22] https://phabricator.wikimedia.org/badges/ [16:48:24] addshore: I love this one :) https://phabricator.wikimedia.org/badges/view/3/ [16:52:33] 8 mins left! [16:53:14] addshore: Thanks for the hints. Appreciated :) [16:53:21] addshore: What's that in unixtime? [16:53:28] No problem :) [16:53:41] Reedy: shh [16:54:14] What about in ms? ;) [16:57:37] Right! I hope everyone has a lovely end to the year!!!!! [16:57:44] Until next time! [16:58:25] good by from me too! [16:58:42] see you on 3. January 2018! [16:58:48] hi all - visiting today after a giant bag of announcements last week at KubeCon. [16:59:05] can anyone say what version of Kubernetes is running here ? [16:59:25] auth is still changing, it seems.. I do not know the details [17:11:59] addshore: Thanks addshore! Nudin_WMDE, see ya! [17:13:30] ohhh no, bawolff missed the party :( [17:13:46] The technical irc advice meeting party? [17:13:52] Yeah! [17:14:09] I've been to some of them [17:14:13] There was an end-of-year party :) [17:14:48] bawolff: Ohh, nice! Then no need for me to worry :) But this one was special as it has an "end-of-year" tag to it [17:15:06] Hasn't the year already ended for WM-DE? [17:15:17] bawolff: No idea! [17:16:10] Oh, well I actually did miss Lucas_WMDE 's question where I could have been useful :s [17:16:58] Yeah, the security part [17:17:02] dbb: Try asking at #wikimedia-cloud [17:17:10] He filed a bug, so I know what the concern is [17:17:14] But he PM'd addshore, so you can relate to him [17:17:29] Okay! great [17:42:29] d3r1ck: what is your question? [17:42:33] (as you pinged me) [17:42:37] waiting on what? [17:43:07] It was related to phab badges [17:43:11] andre__: i think it was figured out [17:43:24] How and why it's been used and if it's been used frequently [17:43:35] Zppix, what? [17:43:46] then I also made mentioned of the "Volunteer" badge, if you can assign to me and Zppix :D [17:43:53] He was talking about phab badges [17:44:04] andre__: So basically asking about the feature "badges" [17:44:04] assign what? [17:44:15] see https://phabricator.wikimedia.org/T106924#3124669 for a link [17:44:21] see #wikimedia-devtools for questions about Phabricator [17:44:50] Wonderful andre__. Thanks :) [19:07:34] Hello [19:07:47] Onix: Hello! [19:07:55] bad timing for me i guess i missed the conference [19:08:53] Yes saddly [19:11:03] Ok. then hope i'll not miss friday :) [19:14:42] Onix: If you're looking for the technical advice irc meeting, we are happy to answer questions even though the meeting is over [19:18:14] thanks bawolff. was just invited to today's conference but bad timing. Wanted to share and exchange as dev in the meeting [19:19:28] but will be around for any sharing ;) [20:37:51] Hello I am working on a demo of some features for Wikipedia. I am currently using a Chrome extension to inject my code into the Wikipedia mobile site but this is not easy to share or link to because it requires others to install the extension. Can anyone recommend a better method for customising the site which I can link to? [20:38:44] What kind of customizations? [21:00:56] Zppix I am injecting jquery, using ajax and adding to the DOM [21:03:19] Hmm [21:08:05] david0288: you can use MediaWiki's user scripting functionality to modify pages https://www.mediawiki.org/wiki/Manual:Interface/JavaScript [21:08:19] and that also makes it convenient for other people to try it out without needing to use Chrome specifically [21:08:50] also jQuery is already available, but I suppose you were using an extension that doesn't have access to the same JavaScript environment [21:08:51] Doesn't mobile disable/not use jquery? [21:15:02] Thanks legoktm. I wonder if this can be used on Wikipedia or Wikipedia mobile? Is there a way to host or mirror my custom version of wikipedia pages without having to host all the databases [21:21:25] david0288: Er, You can create User:/mobile.js and all of that JavaScript will be run for you on the mobile site [21:21:45] david0288: and others can re-use your customizations by adding importScript('User:/mobile.js'); [21:27:52] ok - I publicy declared to my colleagues that MediaWiki:Common.js exists.. and, I can edit it :-) [21:29:20] I have ghostery installed in my browser, and I can see that many many user sites now launch 2,4,10 or 60 tracking services on load [21:29:51] of course our wiki has zero at the moment.. I an not tempted to add a tracking service, since it bugs me personally.. [21:30:28] but.. we do have a new topic about how to guide new users to one of the site projects.. and some current info on clicking habits would guide that effort with data [21:31:06] in other words, the vast majority of traffic to wiki.osgeo.org goes to the main page only.. probably a high percentage robots [21:31:45] but real people.. how they find things.. that might be useful.. and by not building profiles on individuals, would satisfy my own ethical considerations [21:34:03] dbb: if you want just view counts, there is Extension:HitCounter [21:34:50] otherwise, you can do something like piwik [21:35:23] which I suppose does build profiles of people somewhat but at least you are not giving the data away [21:35:37] yeah - thats how it starts :-/ [21:36:14] I mean it's opensource and self-hosted so it's up to you [21:36:38] number one would be seperating robots from everything else.. I would think robots are a high percentage of visitors.. and I am not going to work on robot-to-robot things [21:36:41] how to defend against future you is an interesting philosophical question [21:36:48] (or future bosses of you) [21:36:49] hehe [21:37:46] landing page, first three links followed.. maybe binned by some IP range.. for people.. [21:37:49] but then in an office setting most of the data collected by piwik could be collected in secret on the server side anyway so users will have to trust you anyway [21:38:12] I am avoiding the security talks, and they are avoiding me as they generally do [21:38:19] so.. no secret things [21:39:15] piwik can bucket IPs by last byte, but IP collection happens on the server side anyway so you can't prove that to the user [21:39:20] if that is the concern [21:39:46] hm well this is all new to me.. I am just dreaming a bit [21:41:16] I suppose most robots would declare themselves in the http request user-agent or whatever.. I havent looked at that in ages [21:41:59] yeah, piwiki (and most other stats tools) filter out robots by default [21:43:40] it's the way to go if you need nontrivial data (pathways, conversion etc) and don't want to sell your users to Google [21:43:42] ok - quickly looking at src.. wfLoadExtension( 'Piwik' ); [21:44:10] yeah - I am often the one complaining about things like that, so probably bad team politics to suggest it :p [21:44:42] piwik is full php, so you would have all headers and response yada-yada [21:45:02] that different than the javscript hook I just found out about [21:45:19] anyway, no rush.. just new to me now [21:56:13] dbb: what would you do with the javascript hook? [21:56:40] I mean, you have to move the data to the server side somehow [21:56:53] and that will include sending headers and whatnot :) [21:58:00] dbb: many robots won't declare that [21:58:49] there are many heuristics, like (if it fetched robots.txt, treat next requests as a robot) [21:59:55] but you would start to add exceptions quite fast [22:00:00] I did some good javascript programming 'ajax style' long ago, but I have not looked at any cross-site rules lately.. I know enough now to load ghostery, but I do not know the legal or otehrwise things to do at the js level, in this day and age [22:00:25] the dot-js is some kind of hook, but I have no suggestion on what exactly to put there [22:01:16] if robots are hiding themselves, thats past the level of inquiry I would want to do anytime soon [22:02:00] really, it is just this week that we were talking about how to structure a few links off of the main page (LOTS of hits) to enable users to find the docs for our live project [22:10:31] looks like we have v1.25.3 [22:52:20] regarding visits, I would like to have a good project where I could simply feed the web server logs and it would tell apart the bots and give a reasonable number :P