[14:44:08] Hi. Well. After I unified my account after user rename my contributions returned to the old username (or at least some of them) - Can this be fixed? [14:44:23] triage in ~15min [14:44:41] mafk: ask in #wikimedia-operations ? [14:44:48] mafk: Yes. File a bug in Bugzilla with the details (wiki, new name, old name, etc) [14:45:16] RoanKattouw: merci bien. J'espere qu'on trouve un solution :) [14:48:17] Ce n'est pas la premi??re fois que les contributions d'un utilisateur r??nomm?? n'ont pas le nouveau nom, ce passe quand l'utilisateur a milles de contributions [14:49:42] J'avais +20.000 [14:54:11] Bug FIGHT: https://bugzilla.wikimedia.org/show_activity.cgi?id=12145 [14:54:26] triage in 5 min! [14:55:00] Present. [14:55:08] Present. [14:55:58] hexmode: on 12145: nah, just submitting a new attachment with L10n (or localization) updates over and over... [14:58:14] RoanKattouw: fait https://bugzilla.wikimedia.org/show_bug.cgi?id=30661 [14:58:38] siebrand: claudia found it was the one that went resolved->reopened the most [14:58:51] mafk: Parfait [14:59:02] :) [14:59:21] hexmode: *nod* Can be ignored, as this was misuse of the functionality. Each re-open was really new bug creation [14:59:31] Avec 'shell', tracking bug, tout est l??. Merci [14:59:48] CC "ariel" [15:00:01] 1min [15:00:10] *hexmode sends email to claudia [15:00:32] Etherpad for the bug triage: http://etherpad.wikimedia.org/BugTriage-2011-08 [15:00:41] hi santhosh [15:00:51] sumanah: Hi! [15:01:39] hello everyone [15:02:03] hi everyone. Thanks you for being here. [15:03:46] so, lets starat [15:03:48] start [15:04:19] Do we have a good idea how to break up #164? [15:04:24] !bug 164 [15:04:24] --elephant-- https://bugzilla.wikimedia.org/show_bug.cgi?id=164 [15:04:45] AryehGregor: ping [15:05:03] santhosh: aryeh is not available. Per e-mail he suggested: [15:05:19] Some things that have been brought up. These seem to be the major issues that people are discussing at this point in the bug: [15:05:20] Support the better sorting in places other than categories, like special pages. [15:05:21] Support locale-specific (tailored) sorting, different for different wikis and/or different categories, not just UCA default. [15:05:22] Support better client-side sorting. [15:05:47] If you tell me how to break it up, I'll file the separate bugs... but I want to make sure I get them all [15:05:50] santhosh brought up: Should we consider using allkeys_CLDR.txt - the CLDR tailored DUCET instead of allkeys.txt? [15:06:08] siebrand: we need a seperate bug for client side sorting. especially sortable tables [15:06:23] in #164 , there is a big discussion on that side in last comments [15:06:36] Yes, that is apparent to me, too. [15:06:40] apparently there is an attempt going on as well by the author of that comment [15:06:41] bug: support better sorting on special pages -- which onex? [15:06:58] santhosh: it sounds like its a long way off though [15:07:02] So Aryeh suggested 3 categories of issues. Are there any issues that need more fine grained split-ups? [15:07:08] Verdy tends to be mostly talk on most bugs [15:07:43] let's not be too distracted by the tl;dr. [15:08:01] "mostly talk" --- big big essayist [15:08:23] so close it and open 3 seperate bugs [15:08:25] ? [15:08:41] each would be a tracking bug, I think? [15:08:52] hexmode: how about one more bug for santhosh suggestion? [15:08:54] hexmode: that's not a bad idea, hexmode [15:09:11] Nikerabbit: 4 bugs then [15:09:17] Going once... [15:09:39] santhosh's suggestion is not tracking, right? [15:09:42] hexmod, As AryehGregor suggested, we need to figure out using tailored data than DUCET for more accurate sorting results [15:10:01] that should be a bug, mainly to investigate the options there [15:10:09] ok [15:10:18] Moving on [15:10:30] Trevor didn't show :( [15:10:41] secondly, a bug for client side sorting [15:10:47] jorm: have a little time? [15:11:07] Nikerabbit: what are the others? [15:11:07] jorm: https://bugzilla.wikimedia.org/24156 -- Messages of log entries should support GENDER [15:11:39] santhosh: They're on the etherpad, I think, right? [15:12:08] yes, fine . that will do [15:12:10] no jorm .... :( [15:12:38] mm [15:12:47] So #164 is split up in 3 tracking bugs: (1) improve sorting on other pages than category pages (2) Support locale-specific (tailored) sorting (3) Support better client-side sorting, and non-tracking bug, change request (4) Use allkeys_CLDR.txt - the CLDR tailored DUCET instead of allkeys.txt [15:13:43] Well, we mainly asked a UX designer, because we wanted to know if the list form of log and RC pages was the future, too. In Berlin during the hackathon, I think I heard talk about making these pages tables. [15:13:44] apart from gender, log entries should support variable word ordering [15:14:05] We can continue assuming the format does not change. Is that OK? [15:14:28] sounds fine to me [15:14:39] not in near future I'd guess [15:14:51] Krinkle: https://bugzilla.wikimedia.org/29000 -- Allow font selection by language [15:14:56] and in any case we should store the parameters (instead of the formatted message), which not all logs do IRCC [15:14:59] any thoughts? [15:15:05] *Krinkle is here :) [15:15:16] OK. The issue here is that we basically need the actor to be taken into account when creating the list lines. [15:15:38] Now a username is always given first, and then some log entry message follows. [15:16:02] "taken into account" -- clarify? [15:16:04] There is no difference in phrasing for gender of that user(name) [15:16:16] ah [15:16:30] * [15:16:34] Instead of: [15:16:52] * [15:17:15] is amir here? [15:17:17] Is that the essence of the issue? [15:17:36] siebrand: you're suggest we switch to "" ... right? [15:17:43] siebrand: from this point of yes [15:17:58] my biggest issue is that the code is mess and different logs are implemented differently [15:18:04] point of view* [15:18:11] code refactoring time [15:18:38] also another bug for "code quality issues" ;) [15:19:11] Do we agree this is needed for proper i18n, and is it doable, or will it be a big mess? [15:19:26] Can it be change gradually, or is it "big bang"? [15:19:31] change = changed [15:19:37] so... restructuring and making the code sane is very hard, while someone could with little effor make it more mess and hack the username parameter (fixing the word order issue is a bit trickier) [15:20:19] siebrand: it might be possible to do it in steps, because we need to keep BC to old log entries [15:20:21] *hexmode hates big bangs [15:20:30] What is the recommended action from here? Nikerabbit ? [15:20:52] siebrand: I think we all agree it needs to be done [15:20:56] Nikerabbit: could you outline what you think the steps should be? [15:21:51] Nikerabbit: if you can come up with several discrete, doable steps, maybe we can divvy up the work better [15:21:54] hexmode: I would design a proper structure, write the code to handle it and one by one convert all log types to use it [15:22:28] how hard is "design a proper structure"? [15:22:38] That sounds sane and manageable as steps. [15:22:48] hexmode: not very hard [15:23:09] Who could'should do it? Is it i18n team, or GenEng? [15:23:38] and, with a good structure, code is straight forward, I assume. [15:23:56] some effort is probably needed to understand the current code too [15:24:01] siebrand: I think i18n [15:24:41] I could even volunteer, if someone promises to help me :) [15:25:00] Proposed summary: Doable: (1) design and implement a proper structure, (2) convert logging/RC code over to the new design one by one. Can be done by the i18n team (Nikerabbit). Comments? [15:25:14] trevor will help you ;) [15:25:36] hexmode: that's a commitment you just got? [15:25:46] Nikerabbit: I dunno about you but I find mw devs to be very helpful [15:25:59] haha :) [15:26:06] hexmode: I also find them very busy [15:26:11] siebrand: no. I'm just saying he'll do it! [15:26:29] ok, we're done with 24156. [15:26:33] Nikerabbit: how much help do you thitnk you'll need? [15:26:35] hexmode: I'll take that. [15:26:44] :) [15:27:00] https://bugzilla.wikimedia.org/29000 -- Allow font selection by language [15:27:19] Next bug (repeating) https://bugzilla.wikimedia.org/29000 -- Allow font selection by language [15:27:26] hehe, was just about to :D [15:27:31] ok, Krinkle, do you have any thoughts on that? [15:27:33] hexmode: I'd imagine I want someone to review my design and first patches [15:27:53] just to get second opinion and green light [15:27:53] Yes. Although I'm no expert on WebFont specifically, for fonts in CSS in general I have a few thoughts [15:28:28] Krinkle: Today we just added a feature to load fonts if there is a font-family style defninition anywhere in the page [15:28:32] Nikerabbit: I'll look over them if you like [15:28:41] hexmode: it's a deal [15:28:47] Krinkle: this will be similar to that. [15:29:05] I think we can even do a lot of this in core. Specifically, I'd recommend MediaWIki ships with a collection of fonts. And depending on the content / user language either none, one or two are loaded on the page. Pure CSS. [15:29:41] No flash [15:29:56] flash as in a visual blink that the font 'is there' [15:30:02] Krinkle: that doesn't solve on a page problem [15:30:22] Krinkle: the existing webfonts extension is capable of addressing this, if we just get a list of languages [15:30:26] Krinkle: if we have MW shipping with fonts, then we'll *REALLY* want to have different tarballs [15:30:45] hexmode: they're hardly larger than 1 or two small images. [15:31:03] 44M total [15:31:14] Krinkle: not exactly, complex script fonts are big [15:31:17] all fonts of WebFonts, most of them in 4 different formats [15:31:18] anyway, shipping is not what I care about, let's talk i18n/develoment :) [15:31:20] I think keeping it in webfornts is good [15:31:26] fair enough [15:31:33] also, my typing sucks [15:31:42] quak [15:31:56] but what is the use case for text appearing on a wiki page that is not in the content language and not in the user language, that the user is supposed to have an additional font file for ? [15:32:16] Krinkle: Wiktionaries [15:32:21] (part of this may fit in a different discussion that is named "Extensions that are part of the core distribution", let's not have that :P) [15:32:24] or an article about page about Chinese script giving examples [15:32:45] Okay, great :) [15:32:57] or basically any article on anything that has foreign name :) [15:33:18] foreign name in a language that cannot be rendered by the default font, that is. [15:33:26] yes [15:33:38] santhosh: is 29000 something that should be done in webfonts then? [15:34:09] hexmode: yes [15:34:19] I'd say that WebFonts is at least part of the solution, because it has the fonts [15:34:23] So I'd recommend the WebFont's javascript API has a method mw.webFonts.fixLang( ['nl', 'en', 'he', 'ar'] ); that will then see if those langs need a certain font, and if not loaded already, load it. [15:34:43] And make one call to that by default when the page is ready. [15:34:46] Krinkle: yes, it has equivalent methods [15:34:49] alreay present [15:35:05] and additional calls can be made by scripts inserting ajax content. [15:35:15] santhosh: How does it determine which langs need to be 'fixed' ? [15:35:24] I think we actually have two alternatives: let the user load fonts manually using a GUI or try to load them automatically in way or another [15:35:36] does PHP scan content ? does JS scan content ? Or content lang + user lang ? [15:35:46] js scan the content [15:35:49] User shouldn't know about any of this. [15:35:55] aharoni: hey Amir. Great to have you. [15:36:09] shalom everyone [15:36:14] Krinkle: that is of course better, assuming we can do it good enough without user intervention, can we? [15:36:16] aharoni: see hterpad URL in the topic. [15:36:27] find out all the nodes having lang attribute, see if it differ from user lang or content lang. [15:36:38] the configuraiton alreay has default font each language [15:36:50] I realize many people who speak languages that are non-Latin, over the years, simply have come to know a thing about this, but that's an issue not a feature :) [15:37:10] do we run the risk of loading 100+ fonts for the sidebar, even though the user can already see most of the scripts fine? [15:37:24] santhosh: So how come bug 29000 exists ? [15:37:30] with sidebar I mean interlanguage links [15:37:59] well, there should be a difference made between a lang that requires a font or looks better in a font. [15:38:11] I think the 'better' part is only justifiable for content/user lang. [15:38:18] Krinkle: but different users require different number of fonts [15:38:19] Any page-specific lang just needs to not be broken. [15:38:35] Nikerabbit: Yes, even different pages need different fonts. [15:38:53] santhosh: should 29000 be closed "works for me with WebFonts"??? [15:39:06] it doesn't actually work yet [15:39:10] it's doable with webfonts [15:39:12] Krinkle: a template with font-family='fontname' works now. [15:39:14] oh [15:39:21] it loads the specific font [15:39:25] unless we accept that as a solution [15:39:55] santhosh: Why ? Templates should use lang="" not a font. That's so wrong. [15:40:18] but what is requested is lang attributes in the templates, nodes should load font without font-family [15:40:21] yes [15:40:23] ie. WebFonts could have a different name of that font, or perhaps use a different font for a language. [15:41:40] So what is the status right now in WebFonts with interlanguage-links in the sidebar ? Does it theoretically load a lot of fonts for that ? [15:41:52] Krinkle: no. [15:42:07] I'm not saying we should, but why isn't it doing that ? [15:42:26] It does not load any font other than the default font for uselang [15:42:45] ok [15:42:49] so, I'm still confused: what does 29000 need right now? some JS added to webfonts? [15:43:13] santhosh: is the mapping of userlang to font in JS or in PHP ? [15:43:43] (and I'd like to move on, also) [15:43:48] hexmode: webfonts can do this. the confusion is if we depend on lang attribute, will we end up loading too many fonts. [15:43:50] Krinkle: JS [15:43:52] Ie. is there a difference in WebFonts between lang-x needs font Y or lang-x is-better-with font Y ? [15:44:12] Krinkle: santhosh: could you add comments to etherpad [15:44:14] ? [15:44:24] hexmode: will do. [15:44:30] santhosh: We'll talk later :) [15:44:34] interesting topic. [15:44:45] anyway, that bug will be fixed with WebFonts when the plans are ready. [15:44:53] I think https://bugzilla.wikimedia.org/29005 -- Unnecessary unicode Char code change has enough comments right now one etherpad [15:45:18] https://bugzilla.wikimedia.org/4030 -- EasyTimeline reversed text in RTL languages [15:45:19] +1 Krinkle: the solution is there, it just needs a bit more discussion [15:45:31] is easytimeline going to live on? [15:46:06] hexmode: i spoke to Siebrand and Erik Zachte in Haifa about easytimeline. [15:46:18] and? [15:46:48] it is used quite a lot at least in some projects. it cannot just be retired. [15:46:49] aharoni: what was the result of that? [15:47:09] aharoni: so what is the story of rtl support for it? [15:47:26] in Hebrew we actually have to write the words in reverse. [15:47:33] hah [15:47:48] ugh... [15:48:00] it's useful enough for articles about History, that some people are ready to go through this, but it should be better. [15:48:06] so anyway, [15:48:10] and now tell me there is a tool server tool to facilitate that... [15:48:11] that's probably worse than driving on the wrong side of the road... [15:48:36] it's in Perl, which i actually know quite well and i plan to look at it very soon. [15:48:37] so, we need to find a perl dev [15:48:41] me, me! [15:48:42] but: [15:48:48] oo! [15:49:01] in fact, IIRC, i already assigned it to myself. [15:49:19] *drumrolls* [15:49:20] *hexmode loves aharoni even more now that he knows aharoni knows perl [15:49:42] Perl rules. [15:49:59] hehe :) [15:50:10] but, maybe this extension should be rewritten in PHP; maybe it should use an entirely different graphics library; and maybe it should output SVG and not PNG. [15:50:34] the problem is mostly in the graphics library that it uses. [15:50:48] maybe something similar already exists somewhere in the internets? [15:50:51] aharoni: one suggestion, if you have plans for rewrite, pang-cairo is the right choice [15:50:56] hmm, I think I've seen that suggested before, and the conclusion was: PHP sucks... [15:50:57] pango* [15:51:07] santhosh, thanks. [15:51:13] maybe JS tools are a better option? [15:51:26] siebrand, i'm always happy to use Perl. very, very happy. [15:51:37] is it ok if we go over time? still a few bugs to discuss... [15:51:49] hexmode: yes. [15:51:55] ok with me [15:52:07] (but we still have 8 mins. playtime left!) [15:52:26] santhosh: https://bugzilla.wikimedia.org/29495 -- Numbering system grouping for Indian languages [15:52:54] I think santhosh already has a good handle on that [15:53:04] do you have *time* for it? [15:53:37] hexmode: yes, I will take. But time is a question. A few days delay is acceptable I guess :) [15:53:50] isn't there some sort of PHP implementation of LC_NUMERIC already? [15:54:19] If we can find that it would be usable, right? [15:54:33] hexmode: yes, we can figure out it from localeconf. But that is platform dependent. [15:54:51] hmhm [15:54:59] would CLDR be of use? [15:55:28] Nikerabbit: yes. but we will end up with incomplete CLDR [15:55:35] hexmode: time in i18n team: will be part of sprints, so resolving a bunch of issues, and developing new functionality will be planned. [15:55:47] other than getting the patterns, it should be simple additions to Language::formatNum? [15:56:32] santhosh: yes CLDR is incomplete, and if we had enough time we would actually make it better with our data [15:57:13] well, Wikimedia is a Unicode member now, so maybe we can do something about that now. [15:57:26] aharoni: while you're here, and as our resident RTL expert, do you know anything about "https://bugzilla.wikimedia.org/21429 -- Arabic double diacritics presentation" [15:58:20] siebrand: can we consider what we can do about that in our sprints or somewhere? [15:58:53] Nikerabbit: define "that" [15:58:57] hexmode, i already looked at that one. if i understand correctly, it's not so much about RTL, as about normalization and proper font rendering. i can try to play with it, though. [15:59:18] aharoni: you know any arabic-native devs? [15:59:26] siebrand: to help make CLDR better with our (future) data [15:59:40] hexmode, i know some over email. [15:59:57] i know what Shadda and Kasra are, which is already a good start :) [16:00:08] Nikerabbit: we can consider everything, and I think this may actually be valid for a sprint in the coming months. The idea is that santhosh and gerardm will take over unicode contacts from kaldari [16:00:09] :) [16:00:30] aharoni: I'm sure I know some arabic devs over email :P [16:01:05] siebrand: k [16:01:50] ok, looks like we discussed all issues we had on our list. [16:01:58] hexmode: actually, WM-IL scheduled a real-life meeting with Arab devs next month, and i'll participate in it. [16:02:06] Is there anyone interested in having a discussion on Narayam? [16:02:33] i have time and interest in Narayam. [16:02:50] nobody has taken on the idea to make the UI like trevor's proposal? [16:03:25] Our highest priority at the moment is getting it re-enabled on Tamil Wikipedia, where it was enabled before. [16:03:31] Nikerabbit: UI for??? Narayam? [16:03:43] yes [16:03:52] Nikerabbit: we have the code with us for that UI [16:03:55] which proposal? [16:03:55] we just need to merge [16:04:06] oh! [16:04:18] siebrand: the Menu like UI. I had shared the patch with you people already [16:04:45] http://www.gossamer-threads.com/lists/wiki/wikitech/230797 [16:04:54] I also discussed it briefly with jorm at Wikimania; or at least that I'd be needing some of his time to get a proper UI worked out. I didn't know there already was one. [16:05:17] http://www.mediawiki.org/wiki/File:Narayam-proposal-annotated.pdf is direct link [16:05:53] Right. Something like that, but I was thinking a little more radical, based on some suggestions I got from some participants from India. [16:06:19] that's only a proposal, after all [16:06:27] and does not include virtual keyboard [16:06:36] we're making a real effort to not use any of the content area when putting elements in the sidebar, and I think that is a waste of great overlay space. [16:07:16] soo, who is able to do good interfaces with JS? [16:07:23] aharoni: I look forward to seeing your reports of that meeting between Arab & Israeli developers! [16:07:46] I'm expecting there will be a huge number of keyboard mappings in the future, and the UI should be smart, in that used mappings appear at the top of the selection list, and maybe users should even be able to hide whole mapping groups, and such. [16:07:59] Nikerabbit: you will be soon. Mark my words :) [16:08:19] The new UI as per Trevor suggestion is available http://thottingal.in/wiki/index.php?title=Main_Page&setlang=ta We already have bugs to change the grouping structure [16:08:34] With on-screen keyboards, the need for a proper UI will only grow. [16:09:04] Thinking of the on-screen keyboard selection on mobile devices gives me a slight headache... [16:09:17] siebrand: I can do lot of things but Js interfaces is not really among those [16:10:02] Nikerabbit: I'm 38 and learn new tricks every day. Surely at 22 (?) you, being smarter and all :P, are able to exceed that exponentially :) [16:10:23] sumanah: me too, we are very excited about it. [16:10:43] siebrand: :D [16:11:03] santhosh: do you know what's currently blocking re-enabling of Narayam at ta.wp? [16:11:19] santhosh: IMO it's getting trunk version tested. [16:11:58] siebrand: there is a keymaping issues, that is not serious. But there is an annoying webkit bug making it not working in chrome [16:12:15] umm [16:12:23] somebody reported IE crashed recently [16:12:33] https://bugzilla.wikimedia.org/show_bug.cgi?id=30130 [16:12:51] santhosh: not working at all, or disruptive? [16:13:04] [16:28:14] srikanthlogic> An SOS from ta.wikipedia [16:13:04] [16:28:27] srikanthlogic> we find browser crashes on page load on IE [16:13:04] [16:29:09] srikanthlogic> http://p.defau.lt/?Y9jGV7tCoILmR23hzdff7g is the crash report IE generates upon crashing [16:13:08] siebrand: not working at all [16:13:18] santhosh: because if not working in one browser is it, that's not a blocker for enabling it, is it? [16:13:21] means its useless [16:13:47] santhosh: I see you've added a link to https://bugs.webkit.org/show_bug.cgi?id=66630 in https://bugzilla.wikimedia.org/show_bug.cgi?id=30130 [16:13:58] siebrand: well, if we can ignore chrome and wait for webkit bug to be resolved [16:14:06] santhosh: is there any way we can influence the priority given to resolving that issue? [16:14:40] more voting to the issue in the webkit bugzilla [16:15:12] and adding a tracking bug in chromium bugzilla to get more attention(this I will do) [16:15:43] do we know anybody who could influence webkit devs to get that on their radar? :o [16:16:52] did we lose hexmode? [16:16:58] What worries me is the reference to https://bugs.webkit.org/show_bug.cgi?id=15256 [16:17:05] sorry about that [16:17:08] That issue is 4 years old. [16:17:17] computer froze :( [16:17:26] And if it's linked to a 4-year old issue that's not resolved, this may not get resolved any time soon. [16:18:09] siebrand: we have a workaround solution, but that will make edits on big text very slow, even making the browser crash [16:18:11] santhosh: you write that there is a work-around, but that is inefficient. Can you elaborate? [16:18:22] right, you beat me to that :) [16:19:01] could we implement that work-around only when webkit is being used? [16:19:17] siebrand: any other issues with Narayam on tamil can be addressed without any issues. I will check with tamil friends too. [16:19:55] santhosh: OK. I'd really like to get the extension re-enabled there; top level WMF people see this as a very high priority. [16:20:04] wb hexmode [16:20:18] siebrand: yes, we can do that, eventhough not a good idea. We also need to see how much change it will required to do that [16:20:22] computer froze... :P [16:20:51] santhosh: if that is what it takes, it is what it takes... [16:21:32] oh, in case you missed it when I pointed to it earlier, here is MS employee being interviewed on l10n: http://www.youtube.com/watch?v=emiHr4t_SyE [16:21:39] by a puppet! [16:21:40] Browser stats for July (http://www.w3schools.com/browsers/browsers_stats.asp) indicate this issue hits 30% of users. That is a lot. [16:22:12] (or is it chrome, safari and opera? -> 35%+) [16:22:17] I think there is one bug in etherpad we didn't go over yet [16:22:24] Nikerabbit: oh. Which? [16:22:45] https://bugzilla.wikimedia.org/29671 Use user-language names of Special pages in the URL [16:22:51] does everyone think it is a wontfix? [16:22:56] +1 [16:23:10] SPQRobin doesn't think so (yet) btw. [16:23:22] I agree with WONTFIX [16:23:28] ah, ok. [16:23:28] it was just an idea [16:24:07] ok, so are we done, hexmode? [16:24:08] alright. Are we done then? [16:24:17] I think so [16:24:17] santhosh: yep [16:24:35] thankyouverymuch [16:24:36] by the way, FYI, I sent an email to wikitech about including a list of ISO 639 language codes/names in MediaWiki [16:24:44] could be interesting [16:25:25] hexmode, aharoni, Nikerabbit, santhosh, sumanah, SPQRobin, AryehGregor, Krinkle: thank you! [16:25:49] SPQRobin: which ISO 639?;) [16:26:03] ISO 639-1/2/3 [16:26:14] hmm. That's 7k codes. [16:26:28] I'd like to support 7k languages [16:26:38] yes, but there are several use cases where we want that list [16:26:40] siebrand, you're welcome. are you here for a few minutes? i have a q about bug 30611. [16:26:44] thank you all [16:26:55] aharoni: shoot. Looking. [16:26:59] !bug 30611 [16:26:59] --elephant-- https://bugzilla.wikimedia.org/show_bug.cgi?id=30611 [16:27:21] hexmode: do you need any help to finalize the etherpad? [16:27:22] ? [16:27:31] Zack mentions in the last comment the dotted circle and gives Hebrew as an example. [16:27:34] siebrand: lemme check [16:27:35] aharoni: ah, the patch I applied. [16:27:50] aharoni: yes, I read that, but didn't understand. [16:27:52] yes, that patch, and Zack's further comment. [16:27:58] you don't really have to :) [16:28:10] good! [16:28:21] anyway, he gives Hebrew as an example. i looked at the code for Hebrew and actually it's wrong. [16:28:39] The current code for Hebrew says [ "\u05b0\u25cc", "\u05b0" ], where \u05b0 is a vowel diacritic ("niqqud") and \u25cc is the dotted circle. [16:28:46] *hexmode takes down the twn site notice [16:28:56] siebrand: I think I' [16:29:15] siebrand, the file is http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/WikiEditor/modules/jquery.wikiEditor.toolbar.config.js?view=markup [16:29:15] ve got the etherpad... now to get the report done [16:29:19] hexmode: maybe an IRC triage for fixme bugs could be useful? My fixme bugs are still marked fixme because I would like to have input from other people. [16:30:02] SPQRobin: sure.... but it won't be for a couple of weeks: http://www.mediawiki.org/wiki/Bug_management/Triage [16:30:02] so it should be [ "\u25cc\u05b0", "\u05b0" ] instead [16:30:08] that was pretty cute (the puppet interview) [16:30:22] apergos: glad you liked it [16:30:33] aharoni: line#? [16:30:50] 7674 [16:30:52] oops [16:30:56] hexmode: but it's high priority since a lot of fixmes are blocking 1.18 deployment [16:30:58] 764 [16:31:31] [ "\u05b0\u25cc", "\u05b0" ], [ "\u05b1\u25cc", "\u05b1" ], [ "\u05b2\u25cc", "\u05b2" ], [16:31:35] That should be...? [16:31:45] yep [16:31:54] notice that \u25cc is repeated in all of them. [16:32:02] nods. [16:32:19] and it's the same pattern in the following lines. [16:32:27] Replace them all with "\u25cc\u05b0"? [16:32:38] plus, it's useful for Arabic and probably more languages. [16:32:54] that dotted circle thingy (\u25cc) [16:33:03] so 1,$s/"\u05b0\u25cc"/"\u25cc\u05b0"/g? [16:33:12] yes, that will work. [16:33:26] (probably not because of the escaping, but thanks.) [16:33:30] Fixing and committing. [16:33:57] but maybe it can be turned into function that takes "\u05b0" and returns [ "\u25cc\u05b0", "\u05b0" ] [16:35:26] it's not just $s/"\u05b0\u25cc"/"\u25cc\u05b0"/g [16:35:37] right, just found that out. [16:35:58] it's more like s/"(.+)\u25cc"/"\u25cc1"/g [16:36:10] sorry - s/"(.+)\u25cc"/"\u25cc\1"/g [16:37:40] pattern not found [16:37:59] siebrand: what's up? [16:38:12] siebrand, what do you think about refactoring it to a function instead of repeating \u25cc all the time? [16:38:31] aharoni: my JS is more rusty than Nikerabbit 's [16:38:46] i see :) [16:38:46] aharoni: wanna create a patch for that? [16:39:07] i'll play with it right now. [16:42:34] siebrand: you were asking if I had some time? [16:42:47] jorm: we were looking for a UX designer https://bugzilla.wikimedia.org/24156 -- Messages of log entries should support GENDER [16:43:29] jorm: line 20 here: http://etherpad.wikimedia.org/BugTriage-2011-08 [16:43:41] jorm: we settled for: Unfortunately no UX developer was available. We continued on the assumption that the list format of RC and log like pages will not change in the nearby future. [16:44:54] jorm: let us know if that assumption is incorrect (!) [16:45:17] It is not going to change in the *near* future, no. [16:46:29] and if it does, I don't think logs would be affected in significant ways [16:46:52] siebrand: q on line 39 was answered wasn't it? [16:47:27] hexmode: hmm, Not sure. [16:47:50] hexmode: have to check scroll back. I think that was around the time I as spooning dinner on and off a plate. [16:48:09] heh [16:48:25] *hexmode checks his own logs [16:49:59] siebrand: santhosh: yes CLDR is incomplete, and if we had enough time we would actually make it better with our data [11:56] [16:50:12] so, is that the answer? [16:50:26] *hexmode is a little confused by the question [16:50:32] hexmode: Santhosh said: yes. but we will end up with incomplete CLDR. Then Nikerabbit said: it should be simple additions to Language::formatNum?, which was confirmed. [16:50:48] hexmode: so: own config [16:51:07] hexmode: which, I assume, could possibly be derived from CLDR. [16:51:28] *hexmode needs to understand CLDR [16:51:39] common locale data repository [16:53:05] right... was just reading wikipedia [16:53:23] that is, as I've said before, one very useful site ;) [16:56:31] hexmode: btw, I loved this triage! Brilliant. And I really liked we didn't get stuck in 164, it allowed us to cover everything we had prepared and more. [16:56:39] This is like, the 5th day in a row I've felt like crap. [16:57:57] *siebrand gives jorm a big hug. [17:02:55] jorm loves hugs. [17:03:08] yes. i'm very huggable. [17:03:44] i dunno what this is. some sort of malaise combined with a general nausea. [17:04:01] like i got bit by a tse-tse fly. [17:04:40] JeroenDeDauw: Alright, UploadWizard deployment. You ready? [17:05:49] jorm: one of my good friends got something nasty from a tick bite [17:06:12] i haven't been anywhere that would expose me to that, really. [17:06:22] unless you count israel. hurgh. [17:06:27] RoanKattouw: yeah [17:06:35] maybe i got malaria. [17:06:53] don't think they have that in israel [17:06:54] Just reviewing the last two commits you made while I was having dinner [17:08:00] JeroenDeDauw: Re r95880, what happens when the token doesn't match? What does the user see? [17:08:41] RoanKattouw: the page as you would see it w/o the deletion request [17:08:50] Oh Ok [17:16:57] JeroenDeDauw: OK, updated the code on testwiki, please test it there [17:19:31] RoanKattouw: I don't see the updated code at http://commons.prototype.wikimedia.org [17:19:36] Another test wiki? [17:20:06] test.wikipedia.org [17:22:16] RoanKattouw: can you make User:Jeroen De Dauw admin? [17:22:31] Sure [17:24:00] JeroenDeDauw: Done [17:25:35] RoanKattouw: you sure you updated the code there? I don't see any of the changes I made. [17:25:50] Are you using secure.wm.o? If so, don't [17:25:55] https://test.wikipedia.org works too [17:26:04] They are different wikis? [17:26:17] (For some crazy reason code deployed to test doesn't actually make it to secure but does make it to the normal site) [17:26:24] No, there's a dedicated machine for test.wp.o [17:26:33] But secure doesn't obey that rule and uses the general cluster anyway [17:26:56] death to secure.wikimedia.org [17:27:00] long live https://regular.url [17:27:04] *werdna chants [17:27:04] Right [17:27:08] death to secure.wikimedia.org [17:27:47] *JeroenDeDauw can haz https on regular.url? [17:28:07] DEATH TO SECURE! [17:28:15] it's coming along :) [17:28:17] Actually, we're deploying https to another wiki later today [17:28:29] which one? [17:28:41] death to secure! (sorry for the delay) [17:29:09] foundationwiki [17:31:14] ah well [17:31:17] nothing big [17:31:34] RoanKattouw: seems to work as it should [17:31:40] OK [17:31:46] I just deployed Raymond's i18n update to test too [17:31:52] But that's just adding colons I think [17:32:58] Alright, I'm gonna deploy this to Commons now [17:40:30] JeroenDeDauw: OK, it's live on Commons, could you test the bug fixes? [17:41:43] RoanKattouw: could you deploy r95605 & r95586 for Incubator when you have time (I wasn't on IRC yesterday, sorry) [17:42:01] I'm updating WMInc to trunk right nwo [17:42:31] RoanKattouw: trunk contains new code that doesn't work on 1.17wmf1 [17:42:41] robla: 1am-1:15am now? You keep making it worse [17:42:42] the code for ListUsers works only on trunk apparently [17:42:51] SPQRobin: Blaargh. OK I'll just do those two then [17:43:03] RoanKattouw: I know, sorry [17:43:03] have to find a solution for that :( [17:43:10] I think we'll have to have two [17:43:14] RoanKattouw: sure [17:43:23] *robla will catch up after this meeting if Roan is still available [17:43:28] Sure [17:47:12] TrevorParscal: Are you in the office at all today? [17:47:30] no, i'm at home [17:47:40] TrevorParscal: Do you mind taking a look at this: https://bugzilla.wikimedia.org/show_bug.cgi?id=30650 [17:48:13] RoanKattouw, looks like we have a SSL-url-related regression in production: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/95002#c21702 [17:48:21] Krinkle: did Alolita mention this to you? https://bugzilla.wikimedia.org/show_bug.cgi?id=30650 [17:48:21] TrevorParscal: Yair Rand submitted a patch for that script that doesn't use jQuery [17:48:31] confirmation emails sent from secure.wikimedia.org have wrong path [17:48:41] brion: I already replied to your comment ;) [17:48:48] \o/ [17:49:46] Krinkle: essentially, we need a jquery ninja to look over this patch and make sure it does what it should - also I think preilly has fixed the document fragment reading code, so that needs to be preserved [17:49:48] or *\o/* [17:49:57] brion: The hack I suggested in my comment works, I'll apply it [17:50:18] preilly: Is Ian in the office? [17:50:32] RoanKattouw: Ian Baker? [17:50:49] Yes [17:50:53] RoanKattouw: If that is who you mean then yes he is [17:51:44] Could you chastise him for not being on IRC while he's committing and while I'm deploying his code? :) [17:51:56] RoanKattouw: Sure thing [17:52:37] RoanKattouw: Message delivered [17:53:13] TrevorParscal: is Krinkle around? [17:53:27] raindrift: Do you need that i18n fix you committed just now deployed to the cluster too? [17:53:27] i don't really know... [17:53:34] RoanKattouw: where is timo? [17:53:45] At home? [17:53:51] He was around earlier today [17:53:54] k [17:54:00] Roan: that would be awesome. Right now Arabic UW is broken, and probably 3-4 other languages as well. [17:54:28] Also, sorry about the not being on irc??? neglected to restart the client after a reboot. [17:54:50] Hmm, r95889 probably also needs to be deployed [17:55:01] preilly: TrevorParscal : was afk, what's up ? [17:55:13] that'd be good, yeah. I have no idea what that typo might say, since I don't speak arabic. :) [17:55:40] Krinkle: did Alolita mention this to you? https://bugzilla.wikimedia.org/show_bug.cgi?id=30650 [17:56:04] No, nor am I up to date about Mobile in any way. But I can take a look, no problem. [17:56:06] Krinkle: hi [17:56:27] MobileFrontend* that is. [17:56:45] Krinkle: essentially, we need a jquery ninja to look over this patch and make sure it does what it should - also the fix for the document fragment showing code needs to be preserved [17:56:54] Roan: let me know if I can help with the deploy or testing at all. [17:57:00] In a second [17:57:25] Why no jQuery on mobile exactly ? [17:57:38] I mean, I get that there are issues. But I'm curious to the reason [17:57:40] Krinkle: it's pretty much like this - we need to make the 77 lines of JavaScript code that the mobile site uses ( http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/MobileFrontend/javascripts/application.js?view=markup ) to not use jquery [17:57:47] Krinkle: it's pretty much like this - we need to make the 77 lines of JavaScript code that the mobile site uses ( http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/MobileFrontend/javascripts/application.js?view=markup ) to not use jquery [17:57:51] OK [17:57:51] sorry [17:58:05] Krinkle: query adds too much data [17:58:09] we are hardly using it [17:58:17] Krinkle: Well, basically for the little bit that we even use it ??? it seems too large a download on mobile [17:58:23] Right, so the fact that jQuery is not 100% supporting mobile browsers is not the reason ? [17:58:26] so, if you could spare an hour or so, I think you are probably the best person for this job [17:58:31] The code works fine, but for speed we don't want jQuery. [17:58:40] correct ? [17:58:41] Krinkle: it barfs on opera mini, that's no good [17:58:45] but it's mostly for speed [17:58:54] Opera Mini does not support javascript afaik. [17:59:02] orly? [17:59:06] it makes a static dom-shot on dom ready [17:59:11] and sends to client [17:59:12] Krinkle: it does on the server [17:59:13] it's a proxy [17:59:16] right [17:59:34] Krinkle: but, every call requires a round trip to execute [17:59:34] i'm thinking of something else maybe... [17:59:36] so adding support for opera-mini events and making it re-render from the proxy is probably too slow. [17:59:50] ???for progresive enhancement. [17:59:53] But, Opera Mini isn't the issue in this case [17:59:54] RoanKattouw: seems to be ok [18:00:10] Krinkle: do you have time today to look at this? [18:00:40] preilly: Yes [18:01:00] Krinkle: \o/ [18:01:05] preilly: Does MobileFrontend works standalone on a trunk install ? [18:01:19] I'll want to test it in context ofcourse [18:01:22] Krinkle: It should [18:01:39] Krinkle: Or, you could use nomad for testing [18:01:51] nomad.tesla.usability.wikimedia.org [18:02:47] the code is in /var/www/extensions/MobileFrontend on that host [18:03:17] Unless *.tesla has shared login, I don't have access there. [18:03:25] only on ci2.tesla [18:03:31] ah [18:09:46] jorm: So, MoodBar deployment? [18:09:58] yes? [18:10:08] if the code has all been reviewed. [18:10:09] That's now, right [18:10:11] Yes [18:10:21] Make it so. [18:10:27] Well one rev isn't OKed but I looked at it and though I don't know enough about the CSS to mark it OK, it's not gonna break the cluster [18:10:30] So let's roll [18:11:55] Roan: did those i18n changes for UW end up going out? [18:11:58] Yes [18:12:11] raindrift: 17:58 logmsgbot: catrope synchronized php/extensions/UploadWizard/UploadWizard.i18n.php 'r95893' [18:14:58] Roan: still seems to be broken??? should I be waiting for something to finish? (sorry???don't actually know how long it takes to push code) [18:15:28] by the time the log message shows up here, the sync is done [18:15:28] Which msg was it again? [18:16:17] jorm: MoodBar fixes are on test.wp.o, please test [18:16:30] mwe-upwiz-feedback-prompt in Arabic ('ar'). It used to have a space in it, which was breaking the JS parser. change removes the space (and 11 others like it). [18:17:24] basically, if http://test.wikipedia.org/wiki/Special:UploadWizard?uselang=ar has a big "select files" button (but, y'know, in Arabic) then it's working. If no button and errors in the JS console, not working. [18:17:31] 'mwe-upwiz-feedback-prompt' => '[$1 ???????? ??????????????]', [18:17:36] Is what I see in the i18n file [18:17:40] looks right. [18:18:14] looks okay. [18:18:24] other than the fact that the character counter doesn't work. [18:20:44] Who wrote that counter? [18:21:05] hm. odd. the message you posted is correct, but it still seems to be broken when I load the page. all local caches cleared, tried different browser, etc, still doing it. [18:21:39] That's probably because the RL cache fails to refresh for UploadWizard, due to OOMs in the memcached client [18:21:43] i don't know. [18:21:59] makes sense. [18:22:15] I guess I'll wait a bit and try it again. [18:23:00] I'll touch the file and sync it, see what happens [18:25:35] OK WTF I can't see where wmerrors is enabled [18:27:30] jorm: OK so do I back out the code while you find someone to fix that counter, or do we go live with it anyway? Your call [18:29:59] we live with it. [18:30:03] it never worked. [18:30:13] OK [18:30:18] Will deploy site-wide in a second [18:30:30] that is something we'll want to fix. [18:31:08] *RoanKattouw types scap for like the fourth time in 90 minutes [18:32:05] brion: Since we want to deploy HTTPS to foundationwiki in a bit, could you review my fix for that HTTPS issue you raised? [18:32:19] jorm: MoodBar updates now deployed site-wide [18:32:26] sure sec [18:32:28] jorm: looking at the moodbar code, it seems the messages are present in i18n, but I can't find anyplace they're actually used. that is, character count is not implemented. messages were added by krinkle, though. [18:33:08] yeah. the text of the message as it sits (140 characters maximum) implies that it is not going to count down. [18:33:10] though it should. [18:34:05] raindrift: Grrr I don't know what's up with that message. I've scapped a few times and touched the i18n file etc and the space sticks [18:34:06] it seems some of the foundation's been laid for doing that ('moodbar-form-note-dynamic' => '$1 characters remaining',) but it's unused. [18:34:08] Oh! Maybe it's LU [18:34:26] right. [18:39:46] RoanKattouw, looks like it should be fine :D the maketitle hack is a bit scary but works same as all our title cleanup stuff so should be legit-ish ;) [18:40:07] It's about as scary as what we had before [18:40:49] raindrift: I added that message too [18:41:35] Not used because the jquery module for character limit count down in text areas is not in 1.17wmf1 or even close to stable for non-English languages. [18:42:08] Because a character is not 1 byte in RTL languages. The database field uses 255 bytes as limit. But 140 characters is not 255 bytes. Not in English, nor in RTl langauges. [18:42:17] jorm: Does MB look good on enwiki now? [18:42:22] for multi-byte languages 140 characters can be bigger than 255 bytes. [18:42:33] krinkle: makes sense. that sounds nontrivial, actually. [18:42:34] rather, will most likely be bigger than 255 bytes. [18:42:57] english is a multi-byte language if you use proper punctuation :) [18:43:07] indeed, $ is 2 bytes iirc [18:43:15] or ??? [18:43:19] one of the two was mb, (or both) [18:43:28] US gets $ grandfathered in thanks to ascii ;) [18:43:36] newfangled euro's stuck in multibyte land [18:43:42] hehe [18:44:14] anyway, if a mood bar uses submits 140 euros, something will go wrong horribly [18:44:20] user* [18:44:30] although it's a welcome donation :P [18:44:44] since that's 280 bytes > 255 db limit [18:45:46] brion: would it be problematic to use a char limit rather than a byte limit in mood bar's db ? [18:46:21] raindrift: I'm running a script that should fix your ar issue but it's very slow [18:46:54] roan: thanks! [18:46:54] RoanKattouw jorm: Does MB look good on enwiki now? [18:47:10] difficult for me to test on enwiki. [18:47:11] sec. [18:48:28] yup. just tested it. works great. [18:49:18] RoanKattouw: Regarding TablePager css class usage. I'm trying to fix that in trunk by separating that class in two parts. A general mw-datatable class and a few rules very specific to a 'pager'. That will allow others to use that class, which is quite popular on wikis already. (several wikis reproduce this style inline etc.) the blue hover-thing etc. [18:49:33] krinkle: mysql varchars were expanded to 64kb after 5.0.3, but I'm not sure if sqlite and pgsql also support big varchars. Generally, i'd say it would be best to make a column that's big enough, and implement the limit in code instead of the db since that makes for better UI anyway (but, as you were saying, is nontrivial). You could keep the message in a TEXT column regardless of length, but you lose some features, like b-tree indexing. Mayb [18:49:50] RoanKattouw: problem I'm facing is that when I change TablePager's getStartBody() method, I'm stuck. Because some implementations of TablePager overwrite this method. [18:50:10] and thus don't get this change to , and would thus look broken. [18:50:44] Same issue with getTableClass(), often reimplemented. For example SpecialAllmessages [18:51:15] Krinkle, to do a char limit you'd need to define the field using utf8 ... which may still be a crap shoot as far as whether it actually works correctly. i'd recommend against trying it right now [18:51:36] course you can just use a 'text' field and not enforce a limit at the db level ;) [18:52:23] Right, and simply allow 140 characters there. Which might mean 150 bytes for English, and 300+ bytes for RTL. Not a problem ? [18:52:55] not likely a problem at all [18:53:01] assume you don't need to index on that field? [18:54:46] yeah??? utf-8 varchars should count characters (not bytes) in mysql 5. if you assume this you're likely to break compatibility with other DBs, though. [19:00:54] actually, looking around it seems that mysql/pgsql/sqlite all support utf-8 varchars in approximately the same way. it may be necessary to write different CREATE TABLE statements for each, but the queries will probably all be the same. If you removed the 'binary' keyword from mbf_comment, it might just work, depending on the default character set setting on the cluster. You may have to add a 'CHARACTER SET 'UTF-8'' to the column definition. [21:48:45] Awesome!!! http://chrome.angrybirds.com [21:49:03] HTML5 rocking the boat. LocalStorage, WebGL [21:49:16] , animations, etc. [21:51:13] this is awesome [21:53:00] I love that swiping action work :) [21:54:18] yeah, you can also pan around the level. I remember this being demo'ed at Google I/O this year. [21:54:49] The manager basically said "We considered this last year, but we dropped it. We wanted everything and be able to go all the way, or not at all. Now we can" [21:55:04] sweet [21:55:15] ie. re-open tab and your levels are saved. [21:56:09] In chrome I can see in there Web Inspector, under Resources, is now "Local Storage" in which I see some entries [21:56:25] yeah. this is pretty great [21:57:49] Google has also started to use this, also theirs requires installing a Chrome App. It's Google Calendar Offline. Basically it stores all js/css in local storage and your entire calendar as well. Then whenever you make changes it'll store locally and, If connected to internet, push up to google.com as well, if not it'll just try again later. So you can actually visit calendar.google.com without internet. [21:58:49] Oh I see angry birds has done that trick as well. You can install it as an App which downloads it in LocalStorage. [22:23:59] Ryan_Lane: I'm not sure if it was you or someone else, but when I was in the office at some point it was brought up how triple equals is better, and I added that "it's also faster, in javascript atteast because in PHP it's slightly slower" [22:24:22] hmm. don't think it was me [22:24:29] I couldn't find the StackOverflow thing about it where I posted the results of my tests to proof that in PHP from last year. [22:24:36] Anyway, I got my old login back at SO [22:24:36] http://stackoverflow.com/questions/1129081/php-string-versus-boolean-speed-test/2658894#2658894 [22:24:38] found it [22:24:39] performance quirks aren't my expertise :) [22:25:11] it's probably a bug in my test though. My php skills have improved a lot since last year. A terrible lot. Didn't even know for example about abstract classes. [22:27:11] anyway, it's total non sense. difference is unmeasurable almost [22:27:23] heh [22:27:31] diff is less than 1/3000000 ms [22:28:02] when doing the test 3000000 times, the difference is 1 or 2 ms