Modul:Citation/COinS: Unterschied zwischen den Versionen
rftUrl + https
(title -> btitle) |
(rftUrl + https) |
||
| Zeile 151: | Zeile 151: | ||
end | end | ||
if rftUrl ~= '' then | if rftUrl ~= '' then | ||
if rftUrl:match( '^//' ) then | |||
rftUrl = 'https:' .. rftUrl | |||
end | |||
table.insert( rft, 'rft_id=' .. mw.uri.encode( rftUrl, 'PATH' ) ) | table.insert( rft, 'rft_id=' .. mw.uri.encode( rftUrl, 'PATH' ) ) | ||
end | end | ||