Module:category tree/topic cat/data: Difference between revisions
Created page with "local labels = {} local handlers = {} local subpages = { "Body", "Buildings and structures", "Communication", "Culture", "Earth", "Food and drink", "History", "Human"..." |
m →top: clean up |
||
| Line 65: | Line 65: | ||
for label, data in pairs(retval["LABELS"]) do | for label, data in pairs(retval["LABELS"]) do | ||
if labels[label] and not retval["IGNOREDUP"] then | if labels[label] and not retval["IGNOREDUP"] then | ||
error("Label " .. label .. " defined in both [[" | error("Label " .. label .. " defined in both [[wikt:" | ||
.. datamodule .. "|" | |||
.. datamodule .. "]] and [[" .. labels[label].module .. "]].") | .. datamodule .. "]] and [[" .. labels[label].module .. "]].") | ||
end | end | ||