模块:Module wikitext:修订间差异
来自BinWiki
>OctoberSama 创建页面,内容为“--//源代码来自维基百科:https://zh.wikipedia.org/w/index.php?title=Module:Module_wikitext&oldid=65797404 --该部分代码使用CC BY-SA 4.0许可证 (https://creativecommons.org/licenses/by-sa/4.0/) local p = {} p.text = '' function p.main() return p.text end function p._addText(text, preprocessFrame) if preprocessFrame ~= false then text = (preprocessFrame or mw.getCurrentFrame()):preprocess(text) end p.text = p.text .. text end return p” |
小 导入1个版本 |
||
(没有差异)
|
2025年9月16日 (二) 23:11的最新版本
此模块的文档可以在模块:Module wikitext/doc创建
--//源代码来自维基百科:https://zh.wikipedia.org/w/index.php?title=Module:Module_wikitext&oldid=65797404
--该部分代码使用CC BY-SA 4.0许可证 (https://creativecommons.org/licenses/by-sa/4.0/)
local p = {}
p.text = ''
function p.main()
return p.text
end
function p._addText(text, preprocessFrame)
if preprocessFrame ~= false then
text = (preprocessFrame or mw.getCurrentFrame()):preprocess(text)
end
p.text = p.text .. text
end
return p