47,726
edits
![]() | We're back! Sorry, bad combo of sickness, funeral and a month-long trip abroad. The site is back now. ![]() |
No edit summary |
No edit summary |
||
Line 575: | Line 575: | ||
end | end | ||
if mw.ustring.match("%-%s%-") then table.insert(data.categories, data.lang:getCanonicalName() .. " circumfixed with " .. pagename) | if mw.ustring.match(pagename, "%-%s%-") then | ||
table.insert(data.categories, data.lang:getCanonicalName() .. " circumfixed with " .. pagename) | |||
elseif mw.ustring.match(pagename, "%-$") then | |||
table.insert(data.categories, data.lang:getCanonicalName() .. " prefixed with " .. pagename) | |||
elseif mw.ustring.match(pagename, "^%-") then | |||
table.insert(data.categories, data.lang:getCanonicalName() .. " suffixed with " .. pagename) | |||
end | |||
-- This may add more categories (e.g. gender categories), so make sure it gets | -- This may add more categories (e.g. gender categories), so make sure it gets |