মডিউল:URL: সংশোধিত সংস্করণের মধ্যে পার্থক্য
বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
imported>Toohool simplify code by using the mw.uri library |
imported>Toohool get params from the parent frame instead of passing them to #invoke |
||
৩২ নং লাইন:
text = (uri.host or ''):lower() .. uri.relativePath
end
return string.format('<span class="url">[%s %s]</span>', url, text)
end
function p.url(frame)
local
local
local text = templateArgs[2] or ''
return p._url(url, text)
end
|