Module:Ping
Script error: The function "docPage" does not exist. This module lists users, linking their names to their user pages, therefore notifying them about being mentioned.
Names are separated by commas and "and" conjunction. Example: Majr, Quatroking and KnightMiner.
local p = {}
p.ping = function( f )
local names = {}
for _, name in ipairs( f:getParent().args ) do
table.insert( names, '[[User:' .. name .. '|' .. name .. ']]' )
end
return mw.text.listToText( names )
end
return p