10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 24: | Line 24: | ||
local pre = mw.ustring.match(to_process, "^([^%*]+)%*") or "" | local pre = mw.ustring.match(to_process, "^([^%*]+)%*") or "" | ||
local translink = mw.ustring.match(to_process, "%*([^%*]+)%*") | local translink = mw.ustring.match(to_process, "%*([^%*]+)%*") | ||
to_process = mw.ustring.sub(to_process, mw.ustring.len(pre) + mw.ustring.len(translink) + | to_process = mw.ustring.sub(to_process, mw.ustring.len(pre) + mw.ustring.len(translink) + 3) | ||
translink = m_links.full_link{term = translink, language = language} | translink = m_links.full_link{term = translink, language = language} | ||
bytext = bytext .. pre .. translink | bytext = bytext .. pre .. translink |