localpairs=pairslocalpcall=pcalllocaltype=typelocalfunctionexpand_template(frame,key)-- I tried checking for invalid chars and removing the pcall() in an attempt to speed things up, but this-- doesn't work; `frame:expandTemplate` on a nonexistent page throws a Lua error and there's no flag to-- disable this.-- if not key:find("[#<>%[%]{|}%c\194][\128-\159]?") then-- [[Special:WhatLinksHere/Wiktionary:Tracking/KEY]]pcall(frame.expandTemplate,frame,{title="Wiktionary:Tracking/"..key})-- endendreturnfunction(key)ifnotkeythenerror("No tracking key supplied to [[Module:debug/track]].")endlocalframe=mw.getCurrentFrame()iftype(key)=="table"thenfor_,vinpairs(key)doexpand_template(frame,v)endelseexpand_template(frame,key)endreturntrueend