https://bugzilla.wikimedia.org/show_bug.cgi?id=64746
Bug ID: 64746
Summary: Script errors display "chunk" instead of the function
name specified in #invoke
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Scribunto
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
Create the following as Module:Foo:
local p = {}
function p.bar(frame)
error('This is an error')
end
return p
Add {{#invoke:foo|bar}} to a page. The script error generated will include:
Module:Foo:3: in function "chunk"
However, it's actually in function "bar" here.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l