మాడ్యూల్:URL: కూర్పుల మధ్య తేడాలు
Content deleted Content added
చి en:Module:URL నుండి కూర్పులను దిగుమతి చేసాం |
Codename Lisa (చర్చ | రచనలు) Per talk page request. I studied the syntax carefully. Looks like it is alright after all. Since two eyes have seen this, I assume it is okay to commit it to the production version. |
||
పంక్తి 6:
local p = {}
local function
local success, uri = pcall(function()
return mw.uri.new(s)
Line 20 ⟶ 16:
function p._url(url, text)
url = mw.text.trim(url or '')
text = mw.text.trim(text or '')
if url == '' then
|