模块:设定页v2:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第35行: | 第35行: | ||
local props = SMWUtils.query_page_properties("[["..title.."]]", prop_names)[1]["properties"] | local props = SMWUtils.query_page_properties("[["..title.."]]", prop_names)[1]["properties"] | ||
local root = mw.html.create(nil) | local root = mw.html.create(nil) | ||
local maintainerTemp = renderMaintainers(frame, props["维护者"], props["创作者"]) | |||
if props["维护者"]["仅允许维护者编辑"][1] == "t" then | return mw.text.jsonEncode(maintainerTemp) | ||
-- root:wikitext() | |||
end | -- if props["维护者"]["仅允许维护者编辑"][1] == "t" then | ||
return root:done() | -- renderLockedPage(frame) | ||
-- end | |||
-- return root:done() | |||
end | end | ||
return p | return p | ||