మాడ్యూల్:URL: కూర్పుల మధ్య తేడాలు
Content deleted Content added
imported>Toohool simplify code by using the mw.uri library |
imported>Toohool get params from the parent frame instead of passing them to #invoke |
||
పంక్తి 32:
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
|