Module:category tree/poscatboiler: Difference between revisions

m 1 revision imported
m top: clean up
 
(2 intermediate revisions by the same user not shown)
Line 52: Line 52:
local originating_info = ""
local originating_info = ""
if self._info.originating_label then
if self._info.originating_label then
originating_info = " (originating from label \"" .. self._info.originating_label .. "\" in module [[" .. self._info.originating_module .. "]])"
originating_info = " (originating from label \"" .. self._info.originating_label .. "\" in module [[wikt:" .. self._info.originating_module .. "|" .. self._info.originating_module .. "]])"
end
end
return originating_info
return originating_info
Line 280: Line 280:
end
end
end
end
if not self._data and not self._lang then
if not self._lang then
-- Check family-specific labels for umbrella handler.
-- Check family-specific labels for umbrella handler.
local families_with_modules = require(family_specific_module)
local families_with_modules = require(family_specific_module)
Line 310: Line 310:


if not args_handled and self._data and self._info.args and next(self._info.args) then
if not args_handled and self._data and self._info.args and next(self._info.args) then
local module_text = " (handled in [[" .. (self._data.module or "UNKNOWN").. "]])"
local module_text = " (handled in [[wikt:" .. (self._data.module or "UNKNOWN").. "|" .. (self._data.module or "UNKNOWN").. "]])"
local args_text = {}
local args_text = {}
for k, v in pairs(self._info.args) do
for k, v in pairs(self._info.args) do
Line 947: Line 947:
return nil
return nil
end
end
local appendix = make_title(100, lang:getCanonicalName() .. " " .. label)
--local appendix = make_title(100, lang:getCanonicalName() .. " " .. label)
return appendix.exists and appendix.fullText or nil
return nil --appendix.exists and appendix.fullText or nil
end
end