[00:33:22] gn8 folks [22:39:25] hello [22:40:51] anomie: ping? [22:41:01] hexasoft- pong! [22:41:08] hello [22:41:22] I saw that title and some other stuff are merged. cool [22:41:51] but an other point: mw.site contains local stuff? (I mean, depending on the local WP) [22:42:27] mw.site contains the values of various config variables and the information on local namespaces, yes. [22:42:42] if yes what do you think of adding some local preferences? [22:42:56] I think of time shift [22:43:08] time shift? maybe not the good term [22:43:22] the local time shift used [22:43:45] I wrote a module to get all the {{LOCALYEAR}}, {{LOCALTIME}}... [22:44:22] but of course I hardcoded our UTC+1 in it. it should be cleaner to user mw.site.localtime or so, no? [22:46:18] I mostly copied the list of non-page-specific variables from [[mw:Help:Variables]]. [22:46:53] I wouldn't be opposed to adding something else, if it would be useful. But for {{LOCALYEAR}}, can't you use something like mw.getContentLanguage():formatDate( 'Y', nil, true )? [22:48:43] anomie: oh? did I missed this part? :) [22:49:11] all this stuff is in the local time? cool! [22:51:34] anomie: ok, I checked the doc. I missed some recent updates in it. thanks [22:51:45] That's what the "true" is for, local time flag. The formatDate() function is roughly equivalent to the #time parser function with that false, and #timel with it true. [22:53:50] anomie: saw it. I will remove my "UTC+1" computation from my code, so :) [22:54:31] btw I also saw the localized formatnum, so an other module will be to be rewrited [22:55:47] only missing the incoming "#ifexist" and mostly all existing "special" stuff will be available in scribunto [22:56:10] (and pagetitle + namespace) [22:58:36] Title module handles #ifexist, the title object has an "exists" member field [22:59:28] Oh, I think I misread. "only missing the incoming" you meant it's missing in the deployed version but will be there when 1.21wmf11 is deployed [23:00:01] yes [23:00:30] I saw it is now "merged", but I guess it will be available this week, with the next deployement