Module:Infobox: Difference between revisions

m
no edit summary
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)")
        table.insert(creatorsList, "[[User:" .. name .. "|" .. name .. "]]")
    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)
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits