[12:49:09] Hoi, there are several languages who are doing really well on their localisation of the Usability Initiative. [12:49:25] I know that some have asked for the UI software to go live for them [12:49:32] is that much of an imposition ? [12:50:16] I would personally love to see Yoruba going life with the UI [17:22:32] I'm adding missing things to InitialiseSettings.php and CommonSettings.php on prototype. Pulled them from noc. Let me know if anyone sees any issues. [17:41:55] thedj: what does the global javascript variable in wikibits called "ta" for? [17:45:50] TrevorParscal: it was for tooltips and accesskeys (before those were configurable tru MediaWiki: [17:46:04] is it STILL needed? [17:46:24] i recently removed them, but so many scripts still have that, that we left the variable names. [17:46:44] k [17:46:47] just wonderinf [17:46:47] otherwise one script breaks and possibly many others break to :( [17:47:06] well, we are going to start doing massive cleanup in the javascript space [17:47:24] TrevorParscal: i noticed you guys were working on legacy scripts in the branch [17:47:29] and most of the current javascript is going to be isolated, depricated and removed over time [17:47:35] yes [17:47:41] good stuff. [17:48:14] on that note, /me advises incorperating a jquery collapsible and sortable tables code [17:48:42] there already is a collapsible gpl jquery module i believe. [17:48:48] eh sortable i meant. [17:56:35] link to plugin? [18:06:02] TrevorParscal: http://tablesorter.com/docs/ [18:06:37] cool beans [21:59:40] thedj, the guy which created the tablesorter we currently use also suggested using that tablesorter [22:05:25] it's much more complete than anything we could rewrite. [22:05:47] it might be overly complete, but i guess we could do conditional loading.... [22:09:07] there may be problems with localised stuff in the wikis [22:09:36] data localisation, or string localisation ? [22:10:21] of the code, I guess [22:10:36] the wiki overrides one function of the table sorter for getting some local stuff, like their local money sorted correctly :P [22:11:05] Platonides: you can define you own filters. [22:11:42] I don't remember exactly [22:11:51] you could do some scary stuff with it [22:12:05] which will be tied to the implementation... [22:12:38] [22:12:54] yikes, would that pass trough our class sanitizer ? [22:13:31] (translated, sort by column 0 and column 4, ascending.) [22:15:01] it even has a "in progress" indicator if you want. http://tablesorter.com/docs/example-triggers.html [22:15:24] thedj, I'm not saying that it is bad [22:15:37] I'm only noting backwards compatibility problems we may have [22:16:15] yeah, it's something to consider. but perhaps we can make some small changes to simplify that. [22:16:44] here: http://tablesorter.com/docs/example-parsers.html addParser() [22:16:54] very nice.... [22:17:21] omg what is it? class="tablesorter {sortlist: [[0,0],[4,0]]}" ??? [22:18:11] Danny_B: it means this table is sortable and should initially be sorted by the first column in ascending order, and then by the 5 column in ascending order [22:18:31] you can also specify, which sorter you want to use [22:19:12] it also works with col and rowspans i believe. [22:21:41] i wonder how does that work on dates [22:22:31] Parsers for sorting text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats), time. [22:23:28] yeah, iso. i thought that - that's trivial [22:23:43] That's nasty code. [22:23:53] [[0,0],[4,0]]} [22:24:02] Columns should be counted starting with 1. [22:24:12] however, sorting via local date format, that's what we need [22:24:12] And 0 doesn't mean ascending or descending. It should use keywords or something. [22:24:30] to get rid of that bad bad bad and ugly {{dts}} [22:26:24] http://tablesorter.com/jquery.tablesorter.js [22:27:12] hmm so if i wanted to use it for localized dates / times i'd need to write my own parser [22:27:18] yup [22:27:38] but not that hard to do. [22:27:40] that means for nearly every language we will need separated parser [22:28:02] thedj: we have several forms of how to write date [22:28:14] Danny_B: yeah, there is no universal parser of course. [22:28:53] so definitely not "not that hard to do" ;-) [22:29:22] well, perhaps not simple, but at least it's possible. The current code isn't extensible at all. [22:29:42] right [22:31:56] we should have start to use jquery ages ago. i proposed it like in 2008 or maybe even earlier. lots of things would have gone much more smoothly [22:32:41] hmm, i don't know. I have to say that i wasn't so big a fan of these jscript libs 2 years ago. they still had a lot of problems. [22:32:45] i can't believe, it's still not included in all skins [22:32:49] there much better developed and more compatible now. [22:32:56] they're [22:33:31] 2 yrs ago jq was already pretty stable and enough cross compatible [22:34:07] and still - if there were issues, such isssues could have been solved by separate script [22:34:32] but imagine how many gadgets and userscripts could have been made if jq was there [22:43:50] the jquery tablesorter plugin probably needs some accesibility cleanup as well i just realized... [22:49:20] what exactly?