<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="bn">
	<id>https://bn.bhikitia.org/index.php?action=history&amp;feed=atom&amp;title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2%3ALang%2Fdocumentor_tool</id>
	<title>মডিউল:Lang/documentor tool - সংশোধনের ইতিহাস</title>
	<link rel="self" type="application/atom+xml" href="https://bn.bhikitia.org/index.php?action=history&amp;feed=atom&amp;title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2%3ALang%2Fdocumentor_tool"/>
	<link rel="alternate" type="text/html" href="https://bn.bhikitia.org/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:Lang/documentor_tool&amp;action=history"/>
	<updated>2026-07-16T18:15:37Z</updated>
	<subtitle>এই উইকিতে এই পাতার সংশোধনের ইতিহাস</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://bn.bhikitia.org/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:Lang/documentor_tool&amp;diff=2015&amp;oldid=prev</id>
		<title>পারভেজ হুসেন তালুকদার: ১টি সংস্করণ আমদানি করা হয়েছে</title>
		<link rel="alternate" type="text/html" href="https://bn.bhikitia.org/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:Lang/documentor_tool&amp;diff=2015&amp;oldid=prev"/>
		<updated>2024-11-28T11:55:37Z</updated>

		<summary type="html">&lt;p&gt;১টি সংস্করণ আমদানি করা হয়েছে&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;bn&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← পূর্বের সংস্করণ&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;১৭:৫৫, ২৮ নভেম্বর ২০২৪ তারিখে সংশোধিত সংস্করণ&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;bn&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(কোনও পার্থক্য নেই)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>পারভেজ হুসেন তালুকদার</name></author>
	</entry>
	<entry>
		<id>https://bn.bhikitia.org/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:Lang/documentor_tool&amp;diff=2014&amp;oldid=prev</id>
		<title>bn&gt;গোলাপ ফুল: ১টি সংস্করণ আমদানি করা হয়েছে</title>
		<link rel="alternate" type="text/html" href="https://bn.bhikitia.org/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:Lang/documentor_tool&amp;diff=2014&amp;oldid=prev"/>
		<updated>2024-10-11T07:32:49Z</updated>

		<summary type="html">&lt;p&gt;১টি সংস্করণ আমদানি করা হয়েছে&lt;/p&gt;
&lt;p&gt;&lt;b&gt;নতুন পাতা&lt;/b&gt;&lt;/p&gt;&lt;div&gt;require(&amp;#039;মডিউল:No globals&amp;#039;);&lt;br /&gt;
local p = {};&lt;br /&gt;
&lt;br /&gt;
--[[-------------------------&amp;lt; L A N G - X X _ S E T T I N G S &amp;gt;-----------------------------------------------&lt;br /&gt;
&lt;br /&gt;
{{#invoke:Lang/documentor tool|lang_xx_settings|template={{ROOTPAGENAME}}}}&lt;br /&gt;
&lt;br /&gt;
reads the content of the template and extracts the parameters from {{#invoke:Lang|...}} for display on the template&amp;#039;s&lt;br /&gt;
documentation page&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function p.lang_xx_settings (frame)&lt;br /&gt;
	local page = mw.title.makeTitle (&amp;#039;Template&amp;#039;, frame.args[&amp;#039;template&amp;#039;] or frame.args[1]);	-- get a page object for this page in &amp;#039;Template:&amp;#039; namespace&lt;br /&gt;
	if not page then&lt;br /&gt;
		return &amp;#039;&amp;#039;;																-- TODO: error message?&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local content = page:getContent();											-- get unparsed content&lt;br /&gt;
	if not page then&lt;br /&gt;
		return &amp;#039;&amp;#039;;																-- TODO: error message?&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local out = {};&lt;br /&gt;
	&lt;br /&gt;
	local params;&lt;br /&gt;
	local style;&lt;br /&gt;
&lt;br /&gt;
	if content:match (&amp;#039;{{%s*#invoke:%s*[Ll]ang%s*|[^|]+|[^}]+}}&amp;#039;) or content:match (&amp;#039;{{%s*#invoke:%s*[Ll]ang/sandbox%s*|[^|]+|[^}]+}}&amp;#039;) then			-- if this template uses [[Module:Lang]]&lt;br /&gt;
		params = content:match (&amp;#039;{{%s*#invoke:%s*[Ll]ang%s*|[^|]+(|[^}]+)}}&amp;#039;) or content:match (&amp;#039;{{%s*#invoke:%s*[Ll]ang/sandbox%s*|[^|]+(|[^}]+)}}&amp;#039;)	-- extract the #invoke:&amp;#039;s parameters&lt;br /&gt;
		if not params then &lt;br /&gt;
			return &amp;#039;&amp;#039;;															-- there should be at least one or the template/module won&amp;#039;t work TODO: error message?&lt;br /&gt;
		end&lt;br /&gt;
		table.insert (out, &amp;#039;{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align:right; float:right&amp;quot;\n|+settings&amp;#039;)	-- start a wikitable&lt;br /&gt;
		for k, v in params:gmatch (&amp;#039;%s*|%s*([^%s=]+)%s*=%s*([^%s|]+)&amp;#039;) do		-- get the parameter names (k) and values (v)&lt;br /&gt;
			if &amp;#039;label&amp;#039; == k then												-- special case for labels because spaces and pipes&lt;br /&gt;
				v = params:match (&amp;#039;label%s*=%s*(%[%[[^%]]+%]%])&amp;#039;) or params:match (&amp;#039;label%s*=%s*([^|\n]+&amp;#039;) or &amp;#039;missing label&amp;#039;;&lt;br /&gt;
			end&lt;br /&gt;
			table.insert (out, table.concat ({k, &amp;#039;\n|&amp;#039;, v}));					-- make rudimentary wikitable entries&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		style = content:match (&amp;#039;lang_xx_([^|]+)&amp;#039;);&lt;br /&gt;
		return table.concat ({table.concat (out,&amp;#039;\n|-\n! scope=&amp;quot;row&amp;quot; | &amp;#039;), &amp;#039;\n|-\n|colspan=&amp;quot;2&amp;quot;|style: &amp;#039;, style, &amp;#039;\n|-\n|}&amp;#039;});	-- add inter-row markup and close the wikitable and done&lt;br /&gt;
	else&lt;br /&gt;
		return &amp;#039;&amp;#039;;																-- does not use [[Module:Lang]] so abandon quietly&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[-------------------------&amp;lt; U S E S _ M O D U L E &amp;gt;---------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
{{#invoke:Lang/documentor tool|uses_module|template={{ROOTPAGENAME}}}}&lt;br /&gt;
&lt;br /&gt;
reads the content of the template to determine if this {{lang-xx}} template uses Module:Lang.  Returns the index&lt;br /&gt;
of the substring &amp;#039;{{#invoke|lang|&amp;#039; in the template page content if true; empty string if false&lt;br /&gt;
&lt;br /&gt;
Used in template documentation {{#if:}} parser functions.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function p.uses_module (frame)&lt;br /&gt;
	local page = mw.title.makeTitle (&amp;#039;Template&amp;#039;, frame.args[&amp;#039;template&amp;#039;] or frame.args[1]);	-- get a page object for this page in &amp;#039;Template:&amp;#039; namespace&lt;br /&gt;
	if not page then&lt;br /&gt;
		return &amp;#039;&amp;#039;;																-- TODO: error message?&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local content = page:getContent();											-- get unparsed content&lt;br /&gt;
	if not page then&lt;br /&gt;
		return &amp;#039;&amp;#039;;																-- TODO: error message?&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return content:find (&amp;#039;{{%s*#invoke:[Ll]ang%s*|&amp;#039;) or &amp;#039;&amp;#039;;						-- return index or empty string&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
return p;&lt;/div&gt;</summary>
		<author><name>bn&gt;গোলাপ ফুল</name></author>
	</entry>
</feed>