<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Aparameters%2Ftrack</id>
	<title>Module:parameters/track - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Aparameters%2Ftrack"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:parameters/track&amp;action=history"/>
	<updated>2026-04-06T01:18:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Module:parameters/track&amp;diff=461120&amp;oldid=prev</id>
		<title>Sware: Created page with &quot;local string_gline_module = &quot;Module:string/gline&quot;  local match = string.match local new_title = mw.title.new local require = require local traceback = debug.traceback  local function gline(...) 	gline = require(string_gline_module) 	return gline(...) end  local params_title local function get_params_title() 	params_title, get_params_title = new_title(&quot;parameters&quot;, 828), nil 	return params_title end  return function(page, param_name) 	-- Check through the traceback to get...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:parameters/track&amp;diff=461120&amp;oldid=prev"/>
		<updated>2025-07-01T23:35:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local string_gline_module = &amp;quot;Module:string/gline&amp;quot;  local match = string.match local new_title = mw.title.new local require = require local traceback = debug.traceback  local function gline(...) 	gline = require(string_gline_module) 	return gline(...) end  local params_title local function get_params_title() 	params_title, get_params_title = new_title(&amp;quot;parameters&amp;quot;, 828), nil 	return params_title end  return function(page, param_name) 	-- Check through the traceback to get...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local string_gline_module = &amp;quot;Module:string/gline&amp;quot;&lt;br /&gt;
&lt;br /&gt;
local match = string.match&lt;br /&gt;
local new_title = mw.title.new&lt;br /&gt;
local require = require&lt;br /&gt;
local traceback = debug.traceback&lt;br /&gt;
&lt;br /&gt;
local function gline(...)&lt;br /&gt;
	gline = require(string_gline_module)&lt;br /&gt;
	return gline(...)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local params_title&lt;br /&gt;
local function get_params_title()&lt;br /&gt;
	params_title, get_params_title = new_title(&amp;quot;parameters&amp;quot;, 828), nil&lt;br /&gt;
	return params_title&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return function(page, param_name)&lt;br /&gt;
	-- Check through the traceback to get the calling module and function.&lt;br /&gt;
	local mod_title&lt;br /&gt;
	for line in gline((traceback())) do&lt;br /&gt;
		local mod, func = match(line, &amp;quot;^\t*(.-):%d+: in function (.*)$&amp;quot;)&lt;br /&gt;
		-- Must match a conventional module, not a tail call, C function, in-&lt;br /&gt;
		-- built Scribunto file etc. If `mod` matches `mod_title`, it means the&lt;br /&gt;
		-- module has been seen before, so there is nothing else to check.&lt;br /&gt;
		if mod and not (mod_title and mod == mod_title.prefixedText) then&lt;br /&gt;
			mod_title = new_title(mod)&lt;br /&gt;
			if mod_title and mod_title.namespace == 828 and not (&lt;br /&gt;
				mod_title == (params_title or get_params_title()) or&lt;br /&gt;
				mod_title:isSubpageOf(params_title)&lt;br /&gt;
			) then&lt;br /&gt;
				mod = mod_title.text&lt;br /&gt;
				-- traceback() encloses function names in single quotes.&lt;br /&gt;
				local funcname = match(func, &amp;quot;^&amp;#039;(.*)&amp;#039;$&amp;quot;)&lt;br /&gt;
				if funcname then&lt;br /&gt;
					return&lt;br /&gt;
				end&lt;br /&gt;
				-- WHen a function is unnamed, line numbers are given after the&lt;br /&gt;
				-- module name in angle brackets, directly after a separating&lt;br /&gt;
				-- colon.&lt;br /&gt;
				local funcline = match(func, &amp;quot;^&amp;lt;.-:(%d+)&amp;gt;$&amp;quot;)&lt;br /&gt;
				return&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Sware</name></author>
	</entry>
</feed>