Module:Fullurl:修订历史

差异选择:选中要对比的修订的单选按钮,然后按Enter键或下面的按钮。
说明:(当前)=与最后修订的差异,(之前)=与上个修订的差异,=小编辑。

2024年9月19日 (星期四)

  • 当前之前 20:502024年9月19日 (四) 20:50中医百科 留言 贡献 1,108字节 +1,108 创建页面,内容为“local p = {} local yesno = require('Module:Yesno') local getArgs = require "Module:Arguments".getArgs function p._fullurl(args) local args = mw.clone(args) local onlyurl = yesno(args.onlyurl) args.onlyurl = nil local title = args['title'] or args[1] or tostring(mw.title.getCurrentTitle()) if title == '' then -- 不能讓title變空值,否則url會返回nil title = tostring(mw.title.getCurrentTitle()) end local url, text if args[3] then url = to…”