Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Template link with magic

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Template link with magic)
Latest comment: 11 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