<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="bn">
	<id>https://bn.bharatpedia.org/w/index.php?action=history&amp;feed=atom&amp;title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2%3A%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE%E0%A6%B0_%E0%A6%A7%E0%A6%B0%E0%A6%A8</id>
	<title>মডিউল:পাতার ধরন - সংশোধনের ইতিহাস</title>
	<link rel="self" type="application/atom+xml" href="https://bn.bharatpedia.org/w/index.php?action=history&amp;feed=atom&amp;title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2%3A%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE%E0%A6%B0_%E0%A6%A7%E0%A6%B0%E0%A6%A8"/>
	<link rel="alternate" type="text/html" href="https://bn.bharatpedia.org/w/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE%E0%A6%B0_%E0%A6%A7%E0%A6%B0%E0%A6%A8&amp;action=history"/>
	<updated>2026-08-28T03:11:10Z</updated>
	<subtitle>এই উইকিতে এই পাতার সংশোধনের ইতিহাস</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://bn.bharatpedia.org/w/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE%E0%A6%B0_%E0%A6%A7%E0%A6%B0%E0%A6%A8&amp;diff=3347&amp;oldid=prev</id>
		<title>ImportMaster: robot: Import articles using বিশেষ:আমদানি</title>
		<link rel="alternate" type="text/html" href="https://bn.bharatpedia.org/w/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE%E0%A6%B0_%E0%A6%A7%E0%A6%B0%E0%A6%A8&amp;diff=3347&amp;oldid=prev"/>
		<updated>2020-07-30T15:36:54Z</updated>

		<summary type="html">&lt;p&gt;robot: Import articles using &lt;a href=&quot;/wiki/%E0%A6%AC%E0%A6%BF%E0%A6%B6%E0%A7%87%E0%A6%B7:%E0%A6%86%E0%A6%AE%E0%A6%A6%E0%A6%BE%E0%A6%A8%E0%A6%BF&quot; title=&quot;বিশেষ:আমদানি&quot;&gt;বিশেষ:আমদানি&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;bn&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← পূর্বের সংস্করণ&lt;/td&gt;
				&lt;td colspan=&quot;2&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;4&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;!-- diff cache key bharatpedia-bnwiki:diff:1.41:old-11147:rev-3347 --&gt;
&lt;/table&gt;</summary>
		<author><name>ImportMaster</name></author>
	</entry>
	<entry>
		<id>https://bn.bharatpedia.org/w/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE%E0%A6%B0_%E0%A6%A7%E0%A6%B0%E0%A6%A8&amp;diff=11147&amp;oldid=prev</id>
		<title>&gt;আফতাবুজ্জামান: আফতাবুজ্জামান মডিউল:Pagetype পাতাটিকে মডিউল:পাতার ধরন শিরোনামে কোনো পুনর্নির্দেশনা ছাড়াই স্থানান্তর করেছেন</title>
		<link rel="alternate" type="text/html" href="https://bn.bharatpedia.org/w/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE%E0%A6%B0_%E0%A6%A7%E0%A6%B0%E0%A6%A8&amp;diff=11147&amp;oldid=prev"/>
		<updated>2018-07-30T15:36:54Z</updated>

		<summary type="html">&lt;p&gt;আফতাবুজ্জামান &lt;a href=&quot;/w/index.php?title=%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:Pagetype&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;মডিউল:Pagetype (পাতার অস্তিত্ব নেই)&quot;&gt;মডিউল:Pagetype&lt;/a&gt; পাতাটিকে &lt;a href=&quot;/wiki/%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:%E0%A6%AA%E0%A6%BE%E0%A6%A4%E0%A6%BE%E0%A6%B0_%E0%A6%A7%E0%A6%B0%E0%A6%A8&quot; title=&quot;মডিউল:পাতার ধরন&quot;&gt;মডিউল:পাতার ধরন&lt;/a&gt; শিরোনামে কোনো পুনর্নির্দেশনা ছাড়াই স্থানান্তর করেছেন&lt;/p&gt;
&lt;p&gt;&lt;b&gt;নতুন পাতা&lt;/b&gt;&lt;/p&gt;&lt;div&gt;----------------------------------------------------------------------------------------------------&lt;br /&gt;
--                                                                                                --&lt;br /&gt;
--                                           PAGETYPE                                             --&lt;br /&gt;
--                                                                                                --&lt;br /&gt;
--      This is a meta-module intended to replace {{pagetype}} and similar templates. It          --&lt;br /&gt;
--      automatically detects namespaces, and allows for a great deal of customisation.           --&lt;br /&gt;
--      It can easily be ported to other wikis by changing the values in the configuration        --&lt;br /&gt;
--      table.                                                                                    --&lt;br /&gt;
--                                                                                                --&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
local cfg = {}&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
--                                          Configuration data                                    --&lt;br /&gt;
--      This module can be localised for other wikis by using the configuration parameters below. --&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- This table holds the values to use for &amp;quot;main=true&amp;quot;, &amp;quot;user=true&amp;quot;, etc. Keys to this table should&lt;br /&gt;
-- be namespace parameters that can be used with [[Module:Namespace detect]]. &lt;br /&gt;
cfg.pagetypes = {&lt;br /&gt;
	[&amp;#039;main&amp;#039;]              = &amp;#039;নিবন্ধ&amp;#039;,&lt;br /&gt;
	[&amp;#039;user&amp;#039;]              = &amp;#039;ব্যবহারকারী পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;project&amp;#039;]           = &amp;#039;প্রকল্প পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;wikipedia&amp;#039;]         = &amp;#039;প্রকল্প পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;wp&amp;#039;]                = &amp;#039;প্রকল্প পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;file&amp;#039;]              = &amp;#039;ফাইল&amp;#039;,&lt;br /&gt;
	[&amp;#039;image&amp;#039;]             = &amp;#039;ফাইল&amp;#039;,&lt;br /&gt;
	[&amp;#039;mediawiki&amp;#039;]         = &amp;#039;ইন্টারফেস পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;template&amp;#039;]          = &amp;#039;টেমপ্লেট&amp;#039;,&lt;br /&gt;
	[&amp;#039;help&amp;#039;]              = &amp;#039;সাহায্য পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;category&amp;#039;]          = &amp;#039;বিষয়শ্রেণী&amp;#039;,&lt;br /&gt;
	[&amp;#039;portal&amp;#039;]            = &amp;#039;প্রবেশদ্বার&amp;#039;,&lt;br /&gt;
	[&amp;#039;book&amp;#039;]              = &amp;#039;বই&amp;#039;,&lt;br /&gt;
	[&amp;#039;draft&amp;#039;]             = &amp;#039;খসড়া&amp;#039;,&lt;br /&gt;
	[&amp;#039;education program&amp;#039;] = &amp;#039;শিক্ষা কর্মসূচী পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;timedtext&amp;#039;]         = &amp;#039;টাইমড টেক্সট পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;module&amp;#039;]            = &amp;#039;মডিউল&amp;#039;,&lt;br /&gt;
	[&amp;#039;talk&amp;#039;]              = &amp;#039;আলাপ পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;special&amp;#039;]           = &amp;#039;বিশেষ পাতা&amp;#039;,&lt;br /&gt;
	[&amp;#039;media&amp;#039;]             = &amp;#039;ফাইল&amp;#039;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
-- This table holds the names of the namespaces to be looked up from cfg.pagetypes by default.&lt;br /&gt;
cfg.defaultNamespaces = {&amp;#039;main&amp;#039;, &amp;#039;file&amp;#039;, &amp;#039;template&amp;#039;, &amp;#039;category&amp;#039;, &amp;#039;module&amp;#039;, &amp;#039;book&amp;#039;}&lt;br /&gt;
&lt;br /&gt;
-- This table holds the names of the namespaces to be looked up from cry.pagetypes if cfg.defaultnsExtended is set.&lt;br /&gt;
cfg.extendedNamespaces = {&amp;#039;main&amp;#039;, &amp;#039;user&amp;#039;, &amp;#039;project&amp;#039;, &amp;#039;file&amp;#039;, &amp;#039;mediawiki&amp;#039;, &amp;#039;template&amp;#039;, &amp;#039;category&amp;#039;, &amp;#039;help&amp;#039;, &amp;#039;portal&amp;#039;, &amp;#039;module&amp;#039;, &amp;#039;book&amp;#039;, &amp;#039;draft&amp;#039;}&lt;br /&gt;
&lt;br /&gt;
-- The parameter name to set which default namespace values to be looked up from cfg.pagetypes.&lt;br /&gt;
cfg.defaultns = &amp;#039;defaultns&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- The value of cfg.defaultns to set all namespaces, including talk.&lt;br /&gt;
cfg.defaultnsAll = &amp;#039;all&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- The value of cfg.defaultns to set the namespaces listed in cfg.extendedNamespaces&lt;br /&gt;
cfg.defaultnsExtended = &amp;#039;extended&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- The value of cfg.defaultns to set no default namespaces.&lt;br /&gt;
cfg.defaultnsNone = &amp;#039;none&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- The parameter name to use for disambiguation pages page.&lt;br /&gt;
cfg.dab = {&amp;#039;dab&amp;#039;, &amp;#039;দ্ব্যর্থতা নিরসন&amp;#039;}&lt;br /&gt;
&lt;br /&gt;
-- This table holds the different possible aliases for disambiguation-class pages. These should be lower-case.&lt;br /&gt;
cfg.dabAliases = {&amp;#039;দ্ব্যর্থতা নিরসন&amp;#039;, &amp;#039;disambig&amp;#039;, &amp;#039;disamb&amp;#039;, &amp;#039;dab&amp;#039;}&lt;br /&gt;
&lt;br /&gt;
-- The default value for disambiguation pages.&lt;br /&gt;
cfg.dabDefault = &amp;#039;পাতা&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- The parameter name to use for N/A-class page.&lt;br /&gt;
cfg.na = &amp;#039;na&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- This table holds the different possible aliases for N/A-class pages. These should be lower-case.&lt;br /&gt;
cfg.naAliases = {&amp;#039;na&amp;#039;, &amp;#039;n/a&amp;#039;}&lt;br /&gt;
&lt;br /&gt;
-- The default value for N/A-class pages.&lt;br /&gt;
cfg.naDefault = &amp;#039;পাতা&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- The parameter name to use for redirects.&lt;br /&gt;
cfg.redirect = &amp;#039;পুনঃনির্দেশ&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- The default value to use for redirects.&lt;br /&gt;
cfg.redirectDefault = &amp;#039;পুনঃনির্দেশ&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- The parameter name for undefined namespaces.&lt;br /&gt;
cfg.other = &amp;#039;অন্যান্য&amp;#039;&lt;br /&gt;
&lt;br /&gt;
-- The value used if the module detects an undefined namespace.&lt;br /&gt;
cfg.otherDefault = &amp;#039;পাতা&amp;#039;&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
--                                       End configuration data                                   --&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
-- Load required modules.&lt;br /&gt;
local getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs&lt;br /&gt;
local yesno = require(&amp;#039;Module:Yesno&amp;#039;)&lt;br /&gt;
local nsDetectModule = require(&amp;#039;মডিউল:নামস্থান শনাক্তকরণ&amp;#039;)&lt;br /&gt;
local nsDetect = nsDetectModule._main&lt;br /&gt;
local getParamMappings = nsDetectModule.getParamMappings&lt;br /&gt;
local getPageObject = nsDetectModule.getPageObject&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function checkPagetypeInput(namespace, val)&lt;br /&gt;
	-- Checks to see whether we need the default value for the given namespace, and if so gets it from the pagetypes table.&lt;br /&gt;
	local ret = yesno(val, val) -- Returns true/false for &amp;quot;yes&amp;quot;, &amp;quot;no&amp;quot;, etc., and returns val for other input.&lt;br /&gt;
	if ret and type(ret) ~= &amp;#039;string&amp;#039; then&lt;br /&gt;
		ret = cfg.pagetypes[namespace]&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function getPagetypeFromClass(class, param, aliasTable, default)&lt;br /&gt;
	-- Gets the pagetype from a class specified from the first positional parameter.&lt;br /&gt;
	param = yesno(param, param)&lt;br /&gt;
	if param ~= false then -- Check for classes unless they are specifically disallowed.&lt;br /&gt;
		for _, alias in ipairs(aliasTable) do&lt;br /&gt;
			if class == alias then&lt;br /&gt;
				if type(param) == &amp;#039;string&amp;#039; then&lt;br /&gt;
					return param&lt;br /&gt;
				else&lt;br /&gt;
					return default&lt;br /&gt;
				end&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function getNsDetectValue(args)&lt;br /&gt;
	-- Builds the arguments to pass to [[মডিউল:নামস্থান শনাক্তকরণ]] and returns the result.&lt;br /&gt;
	-- First, get the default values.&lt;br /&gt;
	local ndArgs = {}&lt;br /&gt;
	local defaultns = args[cfg.defaultns]&lt;br /&gt;
	if defaultns == cfg.defaultnsAll then&lt;br /&gt;
		ndArgs = cfg.pagetypes&lt;br /&gt;
	else&lt;br /&gt;
		local defaultnsArray&lt;br /&gt;
		if defaultns == cfg.defaultnsExtended then&lt;br /&gt;
			defaultnsArray = cfg.extendedNamespaces&lt;br /&gt;
		elseif defaultns == cfg.defaultnsNone then&lt;br /&gt;
			defaultnsArray = {}&lt;br /&gt;
		else&lt;br /&gt;
			defaultnsArray = cfg.defaultNamespaces&lt;br /&gt;
		end&lt;br /&gt;
		for _, namespace in ipairs(defaultnsArray) do&lt;br /&gt;
			ndArgs[namespace] = cfg.pagetypes[namespace]&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- Add custom values passed in from the arguments. These overwrite the defaults.&lt;br /&gt;
	-- The possible argument names are fetched from [[Module:Namespace detect]] automatically in case new namespaces are added.&lt;br /&gt;
	-- Although we accept namespace aliases as parameters, we only pass the local namespace name as a parameter to [[Module:Namespace detect]].&lt;br /&gt;
	-- This means that the &amp;quot;image&amp;quot; parameter can overwrite defaults for the File: namespace, which wouldn&amp;#039;t work if we passed the parameters through separately.&lt;br /&gt;
	local mappings = getParamMappings()&lt;br /&gt;
	for ns, paramAliases in pairs(mappings) do&lt;br /&gt;
		local paramName = paramAliases[1] &lt;br /&gt;
		for i = #paramAliases, 1, -1 do -- Iterate backwards along the array so that any values for the local namespace names overwrite those for namespace aliases.&lt;br /&gt;
			local paramAlias = paramAliases[i]&lt;br /&gt;
			local ndArg = checkPagetypeInput(paramAlias, args[paramAlias])&lt;br /&gt;
			if ndArg == false then&lt;br /&gt;
				-- If any arguments are false, convert them to nil to protect against breakage by future changes to [[Module:Namespace detect]].&lt;br /&gt;
				ndArgs[paramName] = nil&lt;br /&gt;
			elseif ndArg then&lt;br /&gt;
				ndArgs[paramName] = ndArg&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- Check for disambiguation-class and N/A-class pages in mainspace.&lt;br /&gt;
	if ndArgs.main then&lt;br /&gt;
		local class = args[1]&lt;br /&gt;
		if type(class) == &amp;#039;string&amp;#039; then&lt;br /&gt;
			-- Put in lower case so e.g. &amp;quot;Dab&amp;quot; and &amp;quot;dab&amp;quot; will both match.&lt;br /&gt;
			class = mw.ustring.lower(class)&lt;br /&gt;
		end&lt;br /&gt;
		local dab = getPagetypeFromClass(class, args[cfg.dab], cfg.dabAliases, cfg.dabDefault)&lt;br /&gt;
		if dab then&lt;br /&gt;
			ndArgs.main = dab&lt;br /&gt;
		else&lt;br /&gt;
			local na = getPagetypeFromClass(class, args[cfg.na], cfg.naAliases, cfg.naDefault)&lt;br /&gt;
			if na then&lt;br /&gt;
				ndArgs.main = na&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	-- If there is no talk value specified, use the corresponding subject namespace for talk pages.&lt;br /&gt;
	if not ndArgs.talk then&lt;br /&gt;
		ndArgs.subjectns = true&lt;br /&gt;
	end&lt;br /&gt;
	-- Add the fallback value. This can also be customised, but it cannot be disabled.&lt;br /&gt;
	local other = args[cfg.other]&lt;br /&gt;
	other = yesno(other, other) -- We will ignore true/false/nil results from yesno here, but using it anyway for consistency.&lt;br /&gt;
	if type(other) == &amp;#039;string&amp;#039; then&lt;br /&gt;
		ndArgs.other = other&lt;br /&gt;
	else&lt;br /&gt;
		ndArgs.other = cfg.otherDefault&lt;br /&gt;
	end&lt;br /&gt;
	-- Allow custom page values.&lt;br /&gt;
	ndArgs.page = args.page&lt;br /&gt;
	return nsDetect(ndArgs)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function detectRedirects(args)&lt;br /&gt;
	local redirect = args[cfg.redirect]&lt;br /&gt;
	redirect = yesno(redirect, redirect) -- Returns true/false for &amp;quot;yes&amp;quot;, &amp;quot;no&amp;quot;, etc., and returns redirect for other input.&lt;br /&gt;
	if redirect == false then return end -- Detect redirects unless they have been explicitly disallowed with &amp;quot;redirect=no&amp;quot; or similar.&lt;br /&gt;
	local pageObject = getPageObject(args.page)&lt;br /&gt;
	-- If we are using subject namespaces elsewhere, do so here as well.&lt;br /&gt;
	if pageObject and not yesno(args.talk, true) then&lt;br /&gt;
		pageObject = getPageObject(pageObject.subjectNsText .. &amp;#039;:&amp;#039; .. pageObject.text)&lt;br /&gt;
	end&lt;br /&gt;
	-- Allow custom values for redirects.&lt;br /&gt;
	if pageObject and pageObject.isRedirect then&lt;br /&gt;
		if type(redirect) == &amp;#039;string&amp;#039; then&lt;br /&gt;
			return redirect&lt;br /&gt;
		else&lt;br /&gt;
			return cfg.redirectDefault&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	local redirect = detectRedirects(args)&lt;br /&gt;
	if redirect then&lt;br /&gt;
		return redirect&lt;br /&gt;
	else&lt;br /&gt;
		return getNsDetectValue(args)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	return p._main(args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>&gt;আফতাবুজ্জামান</name></author>
	</entry>
</feed>