More actions
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 32: | Line 32: | ||
pageTitle = pageName .. '/Update history' | pageTitle = pageName .. '/Update history' | ||
end | end | ||
local historyPage = mw.title.new(pageTitle) | |||
local pageContent = historyPage and historyPage:getContent() or "" | |||
local block_start = pageContent:find('{{Update history table/row') | local block_start = pageContent:find('{{Update history table/row') |