Re: [Mediawiki-l] New Extension: AllTimeZones

2012-04-12 Thread nischay nahata
I have made necessary changes to this extension as per the MW coding guidelines and Jeroen's advise. It is now in a stable state, if someone wants to use it (till the time element is not supported in WikiText). However, I still haven't got the space in WM's Git installation to host it. Hope to get

Re: [Mediawiki-l] New Extension: AllTimeZones

2012-04-05 Thread nischay nahata
On Thu, Apr 5, 2012 at 1:05 AM, Daniel Friesen li...@nadir-seen-fire.comwrote: We actually already have some plans on how to handle this case: The intent is to support the html5 time element. - time will be allowed in WikiText. - When a certain attribute is specified time will automatically

Re: [Mediawiki-l] New Extension: AllTimeZones

2012-04-04 Thread Jeroen De Dauw
Hey, I had a quick look at this extension and have some suggestions: * Escape ALL variables in HTML you are building. You can use htmlspecialchars, the methods of MediaWikis HTML class, and in this case probably want to just construct the whole thing with XmlSelect. * You are not fully

Re: [Mediawiki-l] New Extension: AllTimeZones

2012-04-04 Thread Jeroen De Dauw
There already is such unit conversion code. In parserFunctions extension IIRC :) Sent from my Android phone. ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-l] New Extension: AllTimeZones

2012-04-04 Thread nischay nahata
On Wed, Apr 4, 2012 at 11:55 PM, Jeroen De Dauw jeroended...@gmail.comwrote: There already is such unit conversion code. In parserFunctions extension IIRC :) Thanks for pointing that out. I wonder if such unit conversion should also be displayed with an option to convert by the user who is

Re: [Mediawiki-l] New Extension: AllTimeZones

2012-04-04 Thread Daniel Friesen
On Tue, 03 Apr 2012 20:12:57 -0700, nischay nahata nischay...@gmail.com wrote: Hi, I have made an extension called AllTimeZones [1] that lets anyone put up dates in a page in all Timezone formats. I think it will be especially useful for admins when announcing a meeting rather than the

[Mediawiki-l] New Extension: AllTimeZones

2012-04-03 Thread nischay nahata
Hi, I have made an extension called AllTimeZones [1] that lets anyone put up dates in a page in all Timezone formats. I think it will be especially useful for admins when announcing a meeting rather than the current usage I saw at http://meta.wikimedia.org/wiki/Wikidata/Events (using the

Re: [Mediawiki-l] New Extension: AllTimeZones

2012-04-03 Thread Gregory Varnum
Interesting idea - I've seen something similar done with templates. Any interest in hosting this on WM's Git installation rather than github? -greg aka varnent On Apr 3, 2012, at 11:12 PM, nischay nahata nischay...@gmail.com wrote: Hi, I have made an extension called AllTimeZones [1] that

Re: [Mediawiki-l] New Extension: AllTimeZones

2012-04-03 Thread John Vandenberg
This is a really useful solution. Thanks Nischay! On Wed, Apr 4, 2012 at 1:12 PM, nischay nahata nischay...@gmail.com wrote: Hi, I have made an extension called AllTimeZones [1] that lets anyone put up dates in a page in all Timezone formats. I think it will be especially useful for admins