local p = {}
function p.wikidatacheck(frame)
local pframe = frame:getParent()
local config = frame.args
local args = pframe.args
local property = config.property
local value = config.value or ""
local catbase = config.category
local namespaces = config.namespaces
local nocatsame = config.nocatsame or ""
local qid = config.qid or ""
local ok = false
local ns = mw.title.getCurrentTitle().namespace
for v in mw.text.gsplit( namespaces, ",", true) do
if tonumber(v) == ns then
ok = true