Module:WikidataIB/nolinks: Difference between revisions

Content deleted Content added
create module to define some common terms which should not be linked.
 
add abbreviations UK and USA
 
(6 intermediate revisions by 4 users not shown)
Line 3:
--[[
The values here are the English sitelinks for items that should not be linked.
These 36 are not defininitivedefinitive and may be altered to suit.
--]]
p.items = {
Line 40:
"Turkey",
"United Kingdom",
"UK",
"United States",
"USA",
"Wales",
}
Line 48 ⟶ 50:
--]]
p.itemsindex = {}
for i, v in ipairs(p.items) do
p.itemsindex[v] = true
end