Module:category tree/topic/data: Difference between revisions

Created page with "local labels = {} local handlers = {} local top_level_data_module = "Module:category tree/topic/data" local data_module_prefix = "Module:category tree/topic/" local subpages = { "Body", "Buildings and structures", "Communication", "Culture", "Religion", "Food and drink", "Games", "History", "Human", "People", "Lifeforms", "Animals", "Plants", "Miscellaneous", "Music", "Names", "Places", "Nature", "Numbers", "Philosophy", "Sciences", "Mathema..."
m top: clean up
 
(One intermediate revision by the same user not shown)
Line 81: Line 81:
-- topic code.
-- topic code.
if should_throw_error() then
if should_throw_error() 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