모듈:UnicodeBlock: 두 판 사이의 차이

3 바이트 제거됨 ,  2021년 11월 27일 (토)
편집 요약 없음
편집 요약 없음
편집 요약 없음
261번째 줄: 261번째 줄:
end
end
local currentPage = title_.getCurrentTitle().prefixedText
local currentPage = title_.getCurrentTitle().prefixedText
self.hanja_header:wikitext(currentPage)
local index = ustring.find(currentPage, '/') or 0
local index = ustring.find(currentPage, '/') or 0
if not index == 0 then
if not index == 0 then
local subPage = ustring.sub(currentPage, index+1, -1)
local subPage = ustring.sub(currentPage, index+1, -1)
local rootPage = ustring.sub(currentPage, 1, index-1)
local rootPage = ustring.sub(currentPage, 1, index-1)
self.hanja_header:wikitext(subPage)
else
else
local subPage = ''
local subPage = ''
익명 사용자