Module:EmailTracking

Jump to navigation Jump to search

ددي ماډيول لاسوند مخ کولای سي په Module:EmailTracking/لاسوند کې ځای پر ځای کړي.

local i = {}
 
function i.EmailTracking(frame)
    local output = '';
    local email = frame.args["email"] or '';
    if mw.ustring.match(email,'@.*@') ~= nil then
        output = '[[' .. 'Category:Wy/ps/Listing with multiple email addresses]]<span class="phoneinfo" style="display:none;">MULTIPLE-EMAIL</span>';
    end
    if mw.title.getCurrentTitle().namespace ~= 0 then
        output = '';
    end
    return output;
end
 
return i;