Jump to content

Module talk:Date table sorting

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Tsahee (talk | contribs) at 19:57, 19 January 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This is an initial attempt at translating Template:Dts and Template:Dtsa to Lua. This was a request made here: Wikipedia:Lua/To_do#Templates_to_be_converted

we had a hackaton, I wanted to learn Lua templates while perhaps being usefull, this proved to be fun enough to go back and improve bit by bit..

Any comment will be welcome.

A few questions for this module:

  1. dtsa - should the template mimic the dtsa template, or dts with abbr=true? The latter is both more consistent, and easier to program/
  2. The original request mensioned subpages of dts AFAIU there are just used to build dts. Meaning - once I "pass" dts - I don't need to try and understand/replace the subpages. Am I right?
  3. I assume template-"&nbsp" and " " are identical, and ignore other similar whitespace differences. I consider the current module to pass all tests even though these tests fail. Any comments on that?

Tsahee (talk)