Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659
edits
mNo edit summary |
mNo edit summary |
||
Line 136: | Line 136: | ||
for creator in mw.text.gsplit(rowArgs.data, ",") do | for creator in mw.text.gsplit(rowArgs.data, ",") do | ||
name = mw.text.trim(creator, "%s%p(and)") | name = mw.text.trim(creator, "%s%p(and)") | ||
name = mw.text.split(name,"|") | |||
if #name == 1 then | |||
table.insert(creatorsList, "[[User:" .. name[1] .. "|" .. name[1] .. "]]") | |||
else | |||
table.insert(creatorsList, "[[User:" .. name[1] .. "|" .. name[2] .. "]]") | |||
end | |||
end | end | ||
rowArgs.data = mw.text.listToText(creatorsList) | rowArgs.data = mw.text.listToText(creatorsList) |
edits