「モジュール:YouTube channel」の版間の差分
URLを @形式に |
編集の要約なし |
||
| 44行目: | 44行目: | ||
v_handle = ''; | v_handle = ''; | ||
else | else | ||
local y_handle = handle | |||
v_handle = '(@' ..handle.. ')'; | v_handle = '(@' ..handle.. ')'; | ||
formatterURL = "https://www.youtube.com/@$1"; | formatterURL = "https://www.youtube.com/@$1"; | ||
url = mw.ustring.gsub(formatterURL, "\$1", | url = mw.ustring.gsub(formatterURL, "\$1", y_handle); | ||
end | end | ||