<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2Ftrappist_the_monk%2Fwhat_line</id>
	<title>Module:Sandbox/trappist the monk/what line - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2Ftrappist_the_monk%2Fwhat_line"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/trappist_the_monk/what_line&amp;action=history"/>
	<updated>2026-08-11T11:22:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/trappist_the_monk/what_line&amp;diff=146640&amp;oldid=prev</id>
		<title>imported&gt;Legoktm: Replace Module:No globals with require( &quot;strict&quot; )</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/trappist_the_monk/what_line&amp;diff=146640&amp;oldid=prev"/>
		<updated>2022-10-23T20:59:44Z</updated>

		<summary type="html">&lt;p&gt;Replace &lt;a href=&quot;/research/Module:No_globals&quot; title=&quot;Module:No globals&quot;&gt;Module:No globals&lt;/a&gt; with require( &amp;quot;strict&amp;quot; )&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require(&amp;#039;strict&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
local getArgs = require (&amp;#039;Module:Arguments&amp;#039;).getArgs;&lt;br /&gt;
&lt;br /&gt;
local function main (frame)&lt;br /&gt;
	local args = getArgs (frame);&lt;br /&gt;
	local Article_content = mw.title.getCurrentTitle():getContent() or &amp;#039;&amp;#039;;		-- get the content of the article or &amp;#039;&amp;#039;; new pages edited w/ve do not have &amp;#039;content&amp;#039; until saved; ve does not preview; phab:T221625&lt;br /&gt;
&lt;br /&gt;
	local line_count = 0;&lt;br /&gt;
	local target;&lt;br /&gt;
	&lt;br /&gt;
	target = &amp;#039;{{tlx|line marker&amp;#039; .. (args[1] and &amp;#039;|&amp;#039; .. args[1] or &amp;#039;&amp;#039;) ..&amp;#039;}}&amp;#039;&lt;br /&gt;
&lt;br /&gt;
	for line in Article_content:gmatch (&amp;#039;[^\n\r]*[\n\r]&amp;#039;) do&lt;br /&gt;
		line_count = line_count + 1;&lt;br /&gt;
		if line:find (target, 1, true) then&lt;br /&gt;
			return &amp;#039;Found at line: &amp;#039; .. line_count;&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return {main = main}&lt;/div&gt;</summary>
		<author><name>imported&gt;Legoktm</name></author>
	</entry>
</feed>