Lua error in package.lua at line 80: module 'strict' not found. Lua error in package.lua at line 80: module 'strict' not found. Lua error in package.lua at line 80: module 'strict' not found. Lua error in package.lua at line 80: module 'strict' not found.
Test cases, 12 June 2013
Confirming example in description |
{{Expand section|{{subst:DATE}}}}
|
Current: Lua error in package.lua at line 80: module 'strict' not found. |
Sandbox: Lua error in package.lua at line 80: module 'strict' not found. |
Expanded code |
Current: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-4">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
Sandbox: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-5">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
|
But is it really working: Trying an earlier date |
{{Expand section|1 January 2010}}
|
Current: Lua error in package.lua at line 80: module 'strict' not found. |
Sandbox: Lua error in package.lua at line 80: module 'strict' not found. |
Expanded code |
Current: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-6">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
Sandbox: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-7">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
|
OK, so there's special code in {{Ambox}} that checks for {{subst:Date}}.
Once I look at this saved page, I see {{subst:DATE}} has actually been changed to "date=June 2013". (C.f. {{subst:CURRENTDATE}}:"03:01, Wednesday June 12, 2013 (UTC)") Note also {{DATE}}:"date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", which will be identical when I save, but the difference is it isn't substed in the preview until the template page is used (transcribed).
Test cases, 2011-12-22
Parameter |with= equivalent to |1= |
{{Expand section/sandbox|with=Foo bar baz quux|{{subst:DATE}}}}
|
Old {{{1}}}: Lua error in package.lua at line 80: module 'strict' not found. |
New {{{with}}}: Lua error in package.lua at line 80: module 'strict' not found. |
Expanded code |
Old {{{1}}}: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-8">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
New {{{with}}}: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-9">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
|
Line break in code fixes start-of-line display errors (lists, indents, etc.) |
{{Expand section/sandbox|1=
*Foo bar
*Baz quux
|{{subst:DATE}}
|
Old:
Lua error in package.lua at line 80: module 'strict' not found.
|
New:
Lua error in package.lua at line 80: module 'strict' not found.
|
Expanded code |
Old: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-10">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
New: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-11">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
|
Line break in code -- current workaround |
{{Expand section/sandbox|1=<nowiki />
*Foo bar
*Baz quux
|{{subst:DATE}}
|
Old:
Lua error in package.lua at line 80: module 'strict' not found.
|
New:
Lua error in package.lua at line 80: module 'strict' not found.
|
Expanded code |
Old: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-12">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
New: <strong class="error"><span class="scribunto-error" id="mw-scribunto-error-13">Lua error in package.lua at line 80: module 'strict' not found.</span></strong> |
|
OLD Testing
|
|
Current |
Sandbox |
{{expand section}} |
Lua error in package.lua at line 80: module 'strict' not found. |
Lua error in package.lua at line 80: module 'strict' not found. |
{{expand section|category=}} |
Lua error in package.lua at line 80: module 'strict' not found. |
Lua error in package.lua at line 80: module 'strict' not found. |
{{expand section|examples and additional citations}} |
Lua error in package.lua at line 80: module 'strict' not found. |
Lua error in package.lua at line 80: module 'strict' not found. |
{{expand section|talksection=Example}} |
Lua error in package.lua at line 80: module 'strict' not found. |
Lua error in package.lua at line 80: module 'strict' not found. |
{{expand section|talksection=Example|small=no}} |
Lua error in package.lua at line 80: module 'strict' not found. |
Lua error in package.lua at line 80: module 'strict' not found. |
{{expand section|examples and additional citations|talksection=Example}} |
Lua error in package.lua at line 80: module 'strict' not found. |
Lua error in package.lua at line 80: module 'strict' not found. |
{{expand section|catanyway=|date=March 2009}} |
Lua error in package.lua at line 80: module 'strict' not found. |
Lua error in package.lua at line 80: module 'strict' not found. |
|