Module:Update history: Difference between revisions
Created page with "local p = {} local mw = require('mw') local function findBlockEnd(content, start_pos) local open_braces = 0 local current_pos = start_pos while current_pos <= #content do local char = content:sub(current_pos, current_pos) if char == "{" then open_braces = open_braces + 1 elseif char == "}" then open_braces = open_braces - 1 if open_braces == 0 then return current_pos end..." |
m 3 update blocks |
||
Line 35: | Line 35: | ||
local blocks = {} | local blocks = {} | ||
local block_end | local block_end | ||
local max_blocks = | local max_blocks = 3 | ||
local block_count = 0 | local block_count = 0 | ||