Module:Infobox: Difference between revisions

Jump to navigation Jump to search
m
Temporary fix for UserLink in ModuleInfoboxes, if we ever actually decide to point to a person outside of this wiki, we can fix it again
m (Hopefully fixes my name)
m (Temporary fix for UserLink in ModuleInfoboxes, if we ever actually decide to point to a person outside of this wiki, we can fix it again)
Line 135: Line 135:
         creatorsList = {}
         creatorsList = {}
         rowArgs.data = string.gsub(rowArgs.data, " and ", "")
         rowArgs.data = string.gsub(rowArgs.data, " and ", "")
        rowArgs.data = string.gsub(rowArgs.data, "{{UserLink|")
        rowArgs.data = string.gsub(rowArgs.data, "}}")
         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")
         name = mw.text.trim(creator, "%s%p")
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,637

edits

Navigation menu