欢迎来到奇葩栖息地!欢迎加入Discord服务器:XfrfHCzfbW欢迎加入QQ频道:r01m9y3iz6请先至特殊:参数设置验证邮箱后再进行编辑。特殊:参数设置挑选自己想要使用的小工具!不会编辑?请至这里学习Wikitext语法。

模块:Topic list:修订间差异

来自奇葩栖息地
大小无更改 、​ 2021年6月4日 (星期五)
// Edit via InPageEdit
(// Edit via InPageEdit)
(// Edit via InPageEdit)
 
第130行:
-- 输入讨论的文本,输出和User有关的转换部分table
local userList = {}
if text:match '[^\n]*User:([^\n]-)%|[^\n]-UTCCST' == nil then
return {userNum = '?', uniqueUserNum = '?', firstUser = '?', lastUser = '?'}
end
for user in text:gmatch '[^\n]*User:([^\n]-)%|[^\n]-UTCCST' do
userList[#userList + 1] = user
end
第150行:
'! class="talkpage-topic-list-author" | 发起者',
'! class="talkpage-topic-list-last-editor" | 最后发言者',
'! class="talkpage-topic-list-time" | 最后发言时间(UTC)(CST)'
}
 
2,007

个编辑