More actions
m test with if lang |
mNo edit summary |
||
Line 23: | Line 23: | ||
function p.getRecentUpdates(frame) | function p.getRecentUpdates(frame) | ||
local pageName = mw.title.getCurrentTitle().text | local pageName = mw.title.getCurrentTitle().text | ||
local pageSuffix = frame:expandTemplate{ title = 'If lang', args = { 'en', '/Update history', 'non-en', '/Update history/ | local pageSuffix = frame:expandTemplate { title = 'If lang', args = { 'en', '/Update history', 'non-en', '/Update history/' .. mw.title.getCurrentTitle().subpageText } } | ||
local pageTitle = pageName .. pageSuffix | local pageTitle = pageName .. pageSuffix | ||