Template talk:Tlm

(Redirected from Module talk:Tlm)
Latest comment: 9 years ago by Jackmcbarn in topic Hardcoded tables

Hardcoded tables edit

Hardcoding the 3 giant tables of magic words and parser functions is a really bad idea. I'm going to write a Scribunto patch that will make that unnecessary. @Kephir: ping. Jackmcbarn (talk) 17:50, 6 September 2014 (UTC)Reply

User:Jackmcbarn: and how is it supposed to work? Keφr 18:08, 6 September 2014 (UTC)Reply
@Kephir: I plan to create mw.site.variables.caseInsensitive, mw.site.variables.caseSensitive, mw.site.functions.caseInsensitive, and mw.site.functions.caseSensitive, all of which will be taken straight from the parser so they'll always match reality. Jackmcbarn (talk) 18:33, 6 September 2014 (UTC)Reply
All with documentation links? I think these are not readily available anywhere. I searched hard for these (and the ones I found are not perfect either). Keφr 18:56, 6 September 2014 (UTC)Reply
Hmm, indeed, that could be a problem. Even if we can't use it directly, at least it would be available to automatically cross-check the manual list against, so any mistakes or omissions could be discovered immediately. — Preceding unsigned comment added by Jackmcbarn (talkcontribs) 19:09, 6 September 2014 (UTC)Reply