Module:headword: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 789: | Line 789: | ||
-- that. | -- that. | ||
if tbl == true then | if tbl == true then | ||
return | return | ||
end | end | ||
| Line 801: | Line 798: | ||
different = true | different = true | ||
end | end | ||
end | end | ||
return sortkey | return sortkey | ||
| Line 816: | Line 807: | ||
local canonical = lang:getCanonicalName() | local canonical = lang:getCanonicalName() | ||
local tbl, sortkey = page.wikitext_topic_cat[lang:getCode()] | local tbl, sortkey = page.wikitext_topic_cat[lang:getCode()] | ||
tbl = page.wikitext_langname_cat[canonical] | tbl = page.wikitext_langname_cat[canonical] | ||
if tbl then | if tbl then | ||
handle_raw_sortkeys(tbl, sortkey, page, lang, lang_cats) | handle_raw_sortkeys(tbl, sortkey, page, lang, lang_cats) | ||
insert(lang_cats, canonical .. " entries with language name categories using raw markup") | insert(lang_cats, canonical .. " entries with language name categories using raw markup") | ||
end | end | ||
end | end | ||