This is a private module sandbox of Wyang, for their own experimentation. Items in this module may be added and removed at Wyang's discretion; do not rely on this module's stability.
local export = {}
function export.filter(frame)
local output_text = {}
local m_data = mw.loadData("Module:User:Wyang/filter-ja-no-zh/data").list
for _, word in ipairs(m_data) do
local content = mw.title.new(word):getContent()
if content then
if not mw.ustring.match(content, "==Chinese==") and not mw.ustring.match(content, "{{also|") then
table.insert(output_text, "#]")
end
end
end
return table.concat(output_text, "\n")
end
return export