Module:Listbox: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(respect 'exclude' extra property, and put the json error tooltip on the right property) |
m (add result to json error message, hopefully it's helpful) |
||
Line 33: | Line 33: | ||
else | else | ||
page.extra = { | page.extra = { | ||
name = page.text .. mw.getCurrentFrame():expandTemplate{ title = 'Tt', args = { 'PARSING ERROR: Please ensure the argument to \'extra\' in this page\'s invocation of \'Cat\' is valid JSON' } } | name = page.text .. mw.getCurrentFrame():expandTemplate{ title = 'Tt', args = { 'PARSING ERROR: Please ensure the argument to \'extra\' in this page\'s invocation of \'Cat\' is valid JSON. Error: ' .. result } } | ||
} | } | ||
end | end |