<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fi">
	<id>https://wiki.kosmikon.fi/index.php?action=history&amp;feed=atom&amp;title=Moduuli%3ACategory_handler%2Fshared</id>
	<title>Moduuli:Category handler/shared - Muutoshistoria</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kosmikon.fi/index.php?action=history&amp;feed=atom&amp;title=Moduuli%3ACategory_handler%2Fshared"/>
	<link rel="alternate" type="text/html" href="https://wiki.kosmikon.fi/index.php?title=Moduuli:Category_handler/shared&amp;action=history"/>
	<updated>2026-05-14T11:46:21Z</updated>
	<subtitle>Tämän sivun muutoshistoria</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.kosmikon.fi/index.php?title=Moduuli:Category_handler/shared&amp;diff=12246&amp;oldid=prev</id>
		<title>Petrih: 6 versiota tuotiin</title>
		<link rel="alternate" type="text/html" href="https://wiki.kosmikon.fi/index.php?title=Moduuli:Category_handler/shared&amp;diff=12246&amp;oldid=prev"/>
		<updated>2018-06-05T10:25:53Z</updated>

		<summary type="html">&lt;p&gt;6 versiota tuotiin&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;fi&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Vanhempi versio&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versio 5. kesäkuuta 2018 kello 13.25&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;fi&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(ei mitään eroa)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Petrih</name></author>
	</entry>
	<entry>
		<id>https://wiki.kosmikon.fi/index.php?title=Moduuli:Category_handler/shared&amp;diff=7787&amp;oldid=prev</id>
		<title>Petrih: yksi versio: Infobox modules</title>
		<link rel="alternate" type="text/html" href="https://wiki.kosmikon.fi/index.php?title=Moduuli:Category_handler/shared&amp;diff=7787&amp;oldid=prev"/>
		<updated>2017-02-06T09:17:07Z</updated>

		<summary type="html">&lt;p&gt;yksi versio: Infobox modules&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Uusi sivu&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module contains shared functions used by [[Module:Category handler]]&lt;br /&gt;
-- and its submodules.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.matchesBlacklist(page, blacklist)&lt;br /&gt;
	for i, pattern in ipairs(blacklist) do&lt;br /&gt;
		local match = mw.ustring.match(page, pattern)&lt;br /&gt;
		if match then&lt;br /&gt;
			return true&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	return false&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getParamMappings(useLoadData)&lt;br /&gt;
	local dataPage = &amp;#039;Module:Namespace detect/data&amp;#039;&lt;br /&gt;
	if useLoadData then&lt;br /&gt;
		return mw.loadData(dataPage).mappings&lt;br /&gt;
	else&lt;br /&gt;
		return require(dataPage).mappings&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.getNamespaceParameters(titleObj, mappings)&lt;br /&gt;
	-- We don&amp;#039;t use title.nsText for the namespace name because it adds&lt;br /&gt;
	-- underscores.&lt;br /&gt;
	local mappingsKey&lt;br /&gt;
	if titleObj.isTalkPage then&lt;br /&gt;
		mappingsKey = &amp;#039;talk&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		mappingsKey = mw.site.namespaces[titleObj.namespace].name&lt;br /&gt;
	end&lt;br /&gt;
	mappingsKey = mw.ustring.lower(mappingsKey)&lt;br /&gt;
	return mappings[mappingsKey] or {}&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Petrih</name></author>
	</entry>
</feed>