290
edits
m (Fix template) Tags: Reverted Mobile edit Mobile web edit |
Tags: Rollback Mobile edit Mobile web edit |
||
Line 156: | Line 156: | ||
-- Give helpful error to thirdparties who try and copy this module. | -- Give helpful error to thirdparties who try and copy this module. | ||
if not mw.ext or not mw.ext.data or not mw.ext.data.get then | if not mw.ext or not mw.ext.data or not mw.ext.data.get then | ||
error('Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:' .. dataset) | |||
end | end | ||