편집 요약 없음 |
편집 요약 없음 |
||
| 106번째 줄: | 106번째 줄: | ||
local prevcode = p.prevcode(curr); | local prevcode = p.prevcode(curr); | ||
if args['템플릿'] and mw.title.new(prevcode).exists == false then | if args['템플릿'] and mw.title.new(prevcode).exists == false then | ||
prev = '<div class="plainlinks">[https://librewiki.net/index.php?'.. | |||
mw.uri.buildQueryString { | |||
else | preload = mw.uri.encode(args['템플릿'], "WIKI"), | ||
editintro = mw.uri.encode(args['editintro'], "WIKI"), | |||
action='edit', | |||
title= prefix..mw.uri.encode(prevcode, "WIKI")}.. | |||
' <div>'..p.prevchar(curr)..'<br>←</div>]</div>' | |||
else | |||
prev = ustring.format('[[%s|<div>%s<br>←</div>]]', prevcode, p.prevchar(curr)) | |||
end | end | ||
end | end | ||