Last modified: 2014-05-05 12:57:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66746, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64746 - Script errors display "chunk" instead of the function name specified in #invoke
Script errors display "chunk" instead of the function name specified in #invoke
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Scribunto (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-02 15:54 UTC by Jackmcbarn
Modified: 2014-05-05 12:57 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jackmcbarn 2014-05-02 15:54:53 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links