[05:20:35] Yo, legoktm, you around? [05:20:40] * legoktm is [05:20:51] do you know if notmarkallread works? [05:21:03] never tried it [05:21:04] doesn't seem to be doing anything [05:21:53] thats possible :P [05:22:00] maybe file a bug? [05:22:13] yeah... [05:22:17] actually, do a file abug :) [05:22:22] that means i have to figure out what my bugzilla password is [05:22:28] heh [05:22:53] anyway, my current idea is: [05:23:08] make an API call to get the count of notifications [05:23:25] use that to make an API call to get the list of unread notifications [05:23:34] see if any of those are talk page posts [05:23:43] if so, display banner and remember what the ids were [05:24:10] and once you go to the talk page, make an API request to mark those read [05:24:37] thoughts? [05:24:46] sounds like a good plan :D [05:25:22] the issue is: what if a person goes straight to teh talk page with notifications? [05:25:55] like, they open their browser and their home page is their talk page [05:26:12] then, I don't have the ids stored to mark them read [05:26:12] if wgPageName == 'User talk':+wgUsername: get notifications, mark all that are user-talk as read [05:26:32] yeah... [05:26:36] i guess. [05:27:07] maybe i'm just being too stingy with API calls [05:27:15] I guess that's still only 3 a page load tops [05:29:19] yeah :/ [05:32:55] ah, okay, notmarkallread does work [05:32:59] thgat's good [05:37:07] awesome [07:26:40] I see [edit] section link on the left in last section here, known? https://meta.wikimedia.org/wiki/User_talk:Johnlong [12:34:18] Nemo_bis: Would you be in for some MW installer testing/triaging in 2 1/2 hours? https://www.mediawiki.org/wiki/Bug_management/Triage/20130503 [12:34:59] no [12:36:35] haha [12:37:36] Nemo_bis, pity. [12:39:38] I'll be doing my own bug triage on TWN today, if all goes well [12:58:44] it seems every edit on arzwiki gets a wikimedia error? [12:59:30] no, just that talk page [13:11:01] ? [13:13:12] https://arz.wikipedia.org/w/index.php?title=%D9%86%D9%82%D8%A7%D8%B4_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:Ghaly/1 [13:13:57] When saving? [13:15:49] 502 Bad Gateway nginx/1.1.19 [13:16:14] (different [private] wiki) [13:16:24] user talk subpage [13:16:26] also getting nginx for dewp [13:16:52] WP is slow for me sometimes [13:17:27] my browser seems to hang when setting up a HTTPS connection [13:17:33] https services - wikipedia [13:17:33] Performance issues [13:17:33] 4016 ms 100.0% [13:53:21] I don't know to what extent it's true that we're UP for logged in users... [13:53:34] Nemo_bis: read my thoughts [13:55:39] still pretty slow, though [14:03:12] very very slow [14:04:10] any known reason for this? [14:04:19] If you're in the EU it's likely due to ongoing work in Amsterdam [14:04:59] any official message somewhere? [14:05:11] Don't think so [14:06:01] matanya's in the middle of the east not EU [14:06:10] but i guess maybe still uses esams [14:06:36] still routed to Amsterdam [14:07:57] matanya: not so far from turkey i guess... and they are EU! [14:08:09] yeah they wish [14:08:12] DarTar: maybe you have an answer on RT? [14:08:14] closer than the distance to DC ;) [14:08:35] need to brush up their human rights record [14:08:37] Reedy: the internet sometimes has funny distortions [14:08:51] jeremyb_: sure, give me a sec [14:09:49] DarTar: anyway, perf issues abound (i'm still catching up on what exactly they are) so I guess not getting merged immediately [14:11:15] jeremyb_: I can come back to you later on this, I need to check on division of roles/resp re: his privs [14:11:46] DarTar: well just comment on either ticket or gerrit :) [14:12:23] sure will do [14:15:25] jeremyb_: not EU but CoE [14:15:32] ? [14:16:04] Turkey is not in EU, it's in Europe defined as Council of Europe members (human rights declaration and so on) [14:16:07] Council of Europe [14:16:37] Nemo_bis: well EU was in progress then? [14:16:42] there are a few problems about Turkey getting in the EU... it's got a bigger population than any of the individual states i think [14:17:27] additionally there were some human rights stipulations that were not met, and there are objections about letting a mostly islamic country in etc etc [14:17:43] not happening any time soon i don't think [14:17:56] huh. i thought it progressed more than that [14:17:59] they stopped being interested, EU is no longer a dream [14:18:02] otoh, i ain't in europe [14:18:12] hah [14:18:18] i hear you got a new PM [14:18:28] * Nemo_bis hides [14:18:33] haha yeah get rid of your crappy old lira and have some EUROS [14:18:38] they're great! [14:20:03] moogsi, EURO's suck as long as it's tied to Greece. [14:20:21] At least I can go to Amsterdam without changing currency :P [14:20:29] True. [14:20:42] But unified Currency just sucks in general. [14:21:11] Cyberpower678: it can work. See the US [14:21:20] Darkdadaah: where art thou? [14:21:21] You have individual economies depending on each other and one collapse, the EUROs go to hell. [14:21:27] unified currency is a good idea if the states have anything economically in common [14:22:17] If you have individual currencies, if one economy collapses, at least the other economy's currency won't go with it. [14:22:21] jeremyb_: France [14:22:25] You retain value. [14:22:43] And the US is one economy. [14:22:50] Cyberpower678: The same was true as Bavaria, Pruesia, Hessen, Saxionia and many other decided to end their curency and use a common one instead… [14:23:17] but pretending e.g. Greece and France have enough in common economically [14:23:27] DaBPunkt, I just think it has more disadvantages than advantages. [14:23:30] when only 60 years ago they were *completely* differenyt [14:23:40] some would argue they're still completely different [14:24:14] Pages are very slow loading for me [14:24:18] i think it's a fine idea, it was just a step too far too fast [14:25:10] Doug_Weller: you and loads of people apparently [14:25:36] That's what I assumed, didn't see anything here so I wondered [14:26:38] "Status: Performance issues" - that's all the announcement you should need apparently :P [14:37:24] AzaToth: s/waffles/waffle iron/ ? [14:38:02] huh, brion's not even there (#-operations) [14:38:20] {{fixed}} :) [14:38:23] :D [14:38:24] jeremyb_: just the old joke [14:38:36] always blame brion [14:38:58] i usually blame RobH [14:39:02] ok, ok :) [14:39:03] heh [14:39:29] so, wtf is up wit the servers? [14:39:29] brion: you don't even have to leave the house for that! [14:39:42] i know, it's convenient [14:39:48] http://status.wikimedia.org/ starts to look like christmas tree [14:40:51] back in my day we only knew something was down cause #wikipedia got flooded [14:41:08] hehe [14:41:34] hehe [14:41:48] who wants to do the honors on wikitech-static? [14:44:23] jeremyb_: seems you will have to do it [14:44:54] AzaToth: i hasn't access to it [14:45:03] k [14:47:49] AzaToth: are you europe? i.e. do you hit esams? [14:47:55] yes [14:47:59] ahh :) [14:48:17] can't fnucking load anything really [14:48:32] Yurp [14:48:34] getting parts of watchlist, like first 4 rows [14:48:52] if you want 10 seconds you might get another 4 rows [14:49:03] it stops loading after that [14:49:08] :-P [14:50:57] my guess - a few memcache servers went bad [14:51:21] No [14:51:31] ottomata: morebots is dead or broken or in an alternate reality and needs a kick. (@ host wikitech-static.wm.o, creds doc'd in fenari's docs i think) you seem to be the default person to ask :-) [14:52:31] in your spare time Reedy enlighten me [14:52:40] See #wikimedia-operations [14:52:43] No memcached issues [14:53:04] yes, i see now [14:53:07] bad guess [14:57:37] k one sec, will check it out in a sec jeremyb_ [14:57:45] danke :) [15:02:40] long sec ツ [15:04:27] jeremyb_, hmm, not sure how to log into wikitech-static [15:04:46] i see what I need to do there in wikitech docs [15:04:52] but not sure how to log in, and my root key isn't working [15:05:07] ottomata: fenari? [15:05:18] what about fenari? [15:05:22] /home/w/doc or something [15:05:25] has passwords in it [15:05:29] maybe [15:05:31] hmm [15:05:41] or try ~root/ [15:05:58] in [15:06:23] hi morebots! [15:06:33] welcome back! [15:06:54] is that fixed? [15:07:06] well you could !log to be sure :) [15:07:09] but very likely [15:07:13] it had a netsplit [15:07:30] but of course you should !log that you booted it :) [15:08:03] well, one understands it from the flood of /lastlog !log 's by you [15:09:17] you? [15:42:42] any Echo people around? [15:42:55] Writ_Keeper: try #wikimedia-ee [15:43:24] oh, btw, lego, I'm cutting out one of the api calls so now it's only 1-2 per page [15:43:28] Writ_Keeper? [15:43:29] :D [15:43:31] which one? [15:43:42] by getting the count from the notification thingy in the dom [15:43:47] and then using that for the lsit [15:43:52] rather than getting it from an API call [15:44:29] but the problem is that the notification thing's style seems to change [15:44:49] right now, the number seems to be in "3" [15:45:10] so I do a $(".mw-badge-content").html(); to get it [15:45:22] (I have 3 notifications at the moment) [15:45:33] that works fine just from the console [15:45:36] That could break if additional badges were introduced [15:46:08] well, I don't suppose you would put an ID in it then? [15:46:09] :) [15:46:41] anyway, the thing is that when I put a breakpoint in my script as it's calling from the page load, the html is different [15:46:59] instead it's (1) [15:47:18] what's the deal with that? [15:48:09] Writ_Keeper: designers writing code :/ [15:48:41] so they put it in as that, and then javascript changes it to be the other thing after the page is loaded? [15:48:44] or something? [15:48:54] that's kinda a goofy design, innit? [15:49:03] Why can't you just use mw.echo.overlay.notificationCount? [15:49:17] simple: nobody *tells* me these things [15:49:21] ... [15:49:33] (that is, thanks, I'll start using that instead) [15:49:46] It's completely obvious if you take a look at the code [15:50:05] mw.echo.overlay.notificationCount = mw.echo.overlay.configuration['notification-count']; [15:50:10] mw.echo.overlay.notificationCount = newCount; [15:50:11] etc. [15:52:03] that also seems to be undefined at the breakpoint [15:52:07] so guess that's out [15:52:58] you are doing this when the document is ready right? [15:53:03] yeah [15:56:56] yeah, I'm getting TypeError: mw.echo is undefined [16:01:27] Writ_Keeper, try "mw.loader.using( 'ext.echo.overlay', function() { console.log( mw.echo.overlay.notificationCount ); } );" [16:01:32] I'm not sure if it's correct but it's worth a try [16:15:53] Hi. I am trying to merge my account at wikimania2007 wiki before it gets renamed in the SUL finalization, but I seem to have used a different email address than my current one. Can someone with access to the servers verify what's the address (if that raises potential privacy issues, just the email username is enough, without the domain) [16:15:57] background: https://meta.wikimedia.org/wiki/Steward_requests/Username_changes#Waldir.40wm2007.wikimedia [16:17:22] s/before it gets renamed/to prevent it from getting renamed/ [16:26:24] waldir: and you don't remember the password? [16:26:41] Nemo_bis, I've tried several combinations to no avail :( [16:27:30] to double check, revision id's are unique across mediawiki/ [16:27:36] lfaraone: ^ [16:27:38] no [16:27:45] unique per title? [16:27:48] ebernhardson: within a single wiki? [16:27:54] jeremyb_: yes within a single wiki [16:27:56] ebernhardson: or for all WMF? [16:28:00] jeremyb_: hmm? [16:28:02] ebernhardson: yes, unique across the wiki [16:28:08] lfaraone: waldir :) [16:28:24] ebernhardson: (only 96% sure, maybe get a second opinion) [16:28:25] waldir: and you have so many email addresses that you can't find where the reset was sent? -.- [16:28:29] jeremyb_: :) [16:29:14] ebernhardson: but be careful: curid is not a revision ID. iirc [16:29:23] oldid is a revision id [16:29:25] Nemo_bis, I have about a dozen email addresses I don't use anymore, but hopefully can recover access to if I need [16:30:02] jeremyb_: i'm thinking about ways to prevent duplicate notifications. Currently you can get duplicate echo notifications from the same update (say, a revert on your talk page you will get a talk page updated notice and a revert notice) so i was thinking about what uniquely identifies that [16:30:55] s/revert/undo/ [16:31:22] ebernhardson: oldid is a pretty good choice i think [16:32:04] jeremyb_: ok i will check that out as well, thanks! [16:32:30] ebernhardson: err, oldid is the same thing you were already looking at i think? [16:32:45] jeremyb_: possibly, i havn't looked that close still thinking at a higher level [16:32:55] jeremyb_: only been working with this codebase for about aweek now :) [16:33:22] ebernhardson: right. and you had to clone everything from scratch too! [16:34:42] damn wifi... [16:45:53] Krenair: (was afk) that seems to work, thanks! [17:41:55] yay, no more cookies! [17:42:02] thanks lego, et al. [17:42:08] :D [20:26:26] Susan/legoktm, is the echo_event table for enwiki replicated to the TS? [20:33:14] Krenair: lemme check [20:33:54] Krenair: nope, I don't see it [20:39:57] aren't notifications considered private [20:42:11] so are other things that ts users can see [20:44:39] Nemo_bis, this is echo_event not echo_notification [20:44:41] yes, just saying that maybe someone thought "let's double check whether to replicate", although most likely they were just forgotten [20:44:52] Anyway I found the information I was looking for [20:44:58] ok [21:08:14] greg-g: If possible E2 would like to reserve part of the lightning deployment window on Monday [21:29:27] i recommend deploying via deplyment scripts instead of lightning [21:29:33] it causes much less damage to the servers [21:30:21] kaldari: cool, go ahead and make a note of it on the wikipage and it's reserved :) [21:30:34] thanks [21:34:46] Krenair, legoktm: Replicated? Probably. Is there a view set up? Almost certainly not. [21:55:35] LeslieCarr: have you tried both methods? [21:56:52] if i had, there would be a few melted servers in tampa [21:57:18] you mean our servers are not lightning resiliant? guh, what do we have ops for anyways? [21:58:03] dude you have to leave at least one weakness for when the machines rise up [21:58:18] if not, humanity is doomed [21:58:30] so do you have lightning in a can? [21:58:42] how do you deploy it when you need it? [21:58:53] There's a specail hat [21:59:10] it's a little unpredictable [21:59:32] and we have a van de graaf generator [22:06:06] gn8 folks [22:53:28] Anyone know how to interpret the bitfield values for rev_deleted? [22:53:55] https://www.mediawiki.org/wiki/Bitfields_for_rev_deleted#Bitfield_values_for_rev_deleted says "This section is largely, if not wholly, inaccurate." :( [22:54:14] if not, I just go dig in the code [22:54:25] .... and update that wiki page ;) [22:56:42] kaldari, you probably shouldn't be interacting with that field directly. Use the methods [22:57:50] good idea :) [22:58:58] looks like the methods don't have much useful documentation either [23:00:22] OK, looks like I just have to utilize the Revision deletion constants [23:10:25] Kaldari, why would code involving bitfields need documentation? Bitfields are pretty human readable and self documenting :) [23:10:40] of course!