Məzmuna keçin

Modul:Citation/CS1: Redaktələr arasındakı fərq

465 bayt çıxarıldı ,  18 iyun 2021
redaktənin izahı yoxdur
(24672 dəyişikliyi WikiSysop (Müzakirə) tərəfindən geri qaytarıldı.)
Teq: Geri qaytarma
Redaktənin izahı yoxdur
Sətir 412: Sətir 412:
end
end
domain, path = URL:match ('^([/%.%-%+:%a%d]+)([/%?#].*)$'); -- split the url into scheme plus domain and path
if path then -- if there is a path portion
path = path:gsub ('[%[%]]', {['[']='%5b',[']']='%5d'}); -- replace '[' and ']' with their percent encoded values
URL = table.concat ({domain, path}); -- and reassemble
end


base_url = table.concat({ "[", URL, " ", safe_for_url (label), "]" }); -- assemble a wikimarkup url


if is_set (access) then -- access level (subscription, registration, limited)
if is_set (access) then -- access level (subscription, registration, limited)