<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://dev.skandinavien-wiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Modul%3ANs_has_subpages</id>
	<title>Modul:Ns has subpages - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://dev.skandinavien-wiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Modul%3ANs_has_subpages"/>
	<link rel="alternate" type="text/html" href="https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;action=history"/>
	<updated>2026-06-12T02:26:59Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in skandinavien-wiki.net</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2750&amp;oldid=prev</id>
		<title>Xineohp1506: 4 Versionen von :skanwiki:Modul:Ns_has_subpages importiert</title>
		<link rel="alternate" type="text/html" href="https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2750&amp;oldid=prev"/>
		<updated>2026-03-27T00:55:01Z</updated>

		<summary type="html">&lt;p&gt;4 Versionen von &lt;a href=&quot;/w/index.php?title=SkanWiki:Modul:Ns_has_subpages&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;SkanWiki:Modul:Ns has subpages (Seite nicht vorhanden)&quot;&gt;skanwiki:Modul:Ns_has_subpages&lt;/a&gt; importiert&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;de&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 27. März 2026, 02:55 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Xineohp1506</name></author>
	</entry>
	<entry>
		<id>https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2749&amp;oldid=prev</id>
		<title>skanwiki&gt;Xineohp1506: 3 Versionen von :skanwiki:Modul:Ns_has_subpages importiert</title>
		<link rel="alternate" type="text/html" href="https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2749&amp;oldid=prev"/>
		<updated>2023-01-13T11:58:09Z</updated>

		<summary type="html">&lt;p&gt;3 Versionen von &lt;a href=&quot;/w/index.php?title=SkanWiki:Modul:Ns_has_subpages&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;SkanWiki:Modul:Ns has subpages (Seite nicht vorhanden)&quot;&gt;skanwiki:Modul:Ns_has_subpages&lt;/a&gt; importiert&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;de&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 13. Januar 2023, 13:58 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>skanwiki&gt;Xineohp1506</name></author>
	</entry>
	<entry>
		<id>https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2748&amp;oldid=prev</id>
		<title>skanwiki&gt;Xineohp1506: 2 Versionen von :skanwiki:Modul:Ns_has_subpages importiert</title>
		<link rel="alternate" type="text/html" href="https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2748&amp;oldid=prev"/>
		<updated>2021-10-21T17:05:46Z</updated>

		<summary type="html">&lt;p&gt;2 Versionen von &lt;a href=&quot;/w/index.php?title=SkanWiki:Modul:Ns_has_subpages&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;SkanWiki:Modul:Ns has subpages (Seite nicht vorhanden)&quot;&gt;skanwiki:Modul:Ns_has_subpages&lt;/a&gt; importiert&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;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 21. Oktober 2021, 19:05 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key d0425f42:diff:1.41:old-2747:rev-2748 --&gt;
&lt;/table&gt;</summary>
		<author><name>skanwiki&gt;Xineohp1506</name></author>
	</entry>
	<entry>
		<id>https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2747&amp;oldid=prev</id>
		<title>skanwiki&gt;Xineohp1506: 1 Version von :wikipedia:en:Module:Ns_has_subpages importiert</title>
		<link rel="alternate" type="text/html" href="https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2747&amp;oldid=prev"/>
		<updated>2020-06-02T17:24:48Z</updated>

		<summary type="html">&lt;p&gt;1 Version von &lt;a href=&quot;https://de.wikipedia.org/wiki/en:Module:Ns_has_subpages&quot; class=&quot;extiw&quot; title=&quot;wikipedia:en:Module:Ns has subpages&quot;&gt;wikipedia:en:Module:Ns_has_subpages&lt;/a&gt; importiert&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;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 2. Juni 2020, 19:24 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key d0425f42:diff:1.41:old-2746:rev-2747 --&gt;
&lt;/table&gt;</summary>
		<author><name>skanwiki&gt;Xineohp1506</name></author>
	</entry>
	<entry>
		<id>https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2746&amp;oldid=prev</id>
		<title>wikipedia:en&gt;Mr. Stradivarius: Protected Module:Ns has subpages: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://dev.skandinavien-wiki.net/w/index.php?title=Modul:Ns_has_subpages&amp;diff=2746&amp;oldid=prev"/>
		<updated>2014-12-10T06:37:29Z</updated>

		<summary type="html">&lt;p&gt;Protected Module:Ns has subpages: &lt;a href=&quot;/w/index.php?title=WP:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:High-risk templates (Seite nicht vorhanden)&quot;&gt;High-risk Lua module&lt;/a&gt; ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements [[Template:Ns has subpages]].&lt;br /&gt;
-- While the template is fairly simple, this information is made available to&lt;br /&gt;
-- Lua directly, so using a module means that we don&amp;#039;t have to update the&lt;br /&gt;
-- template as new namespaces are added.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p._main(ns, frame)&lt;br /&gt;
	-- Get the current namespace if we were not passed one.&lt;br /&gt;
	if not ns then&lt;br /&gt;
		ns = mw.title.getCurrentTitle().namespace&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Look up the namespace table from mw.site.namespaces. This should work&lt;br /&gt;
	-- for a majority of cases.&lt;br /&gt;
	local nsTable = mw.site.namespaces[ns]&lt;br /&gt;
&lt;br /&gt;
	-- Try using string matching to get the namespace from page names.&lt;br /&gt;
	-- Do a quick and dirty bad title check to try and make sure we do the same&lt;br /&gt;
	-- thing as {{NAMESPACE}} in most cases.&lt;br /&gt;
	if not nsTable and type(ns) == &amp;#039;string&amp;#039; and not ns:find(&amp;#039;[&amp;lt;&amp;gt;|%[%]{}]&amp;#039;) then&lt;br /&gt;
		local nsStripped = ns:gsub(&amp;#039;^[_%s]*:&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
		nsStripped = nsStripped:gsub(&amp;#039;:.*$&amp;#039;, &amp;#039;&amp;#039;)&lt;br /&gt;
		nsTable = mw.site.namespaces[nsStripped]&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- If we still have no match then try the {{NAMESPACE}} parser function,&lt;br /&gt;
	-- which should catch the remainder of cases. Don&amp;#039;t use a mw.title object,&lt;br /&gt;
	-- as this would increment the expensive function count for each new page&lt;br /&gt;
	-- tested.&lt;br /&gt;
	if not nsTable then&lt;br /&gt;
		frame = frame or mw.getCurrentFrame()&lt;br /&gt;
		local nsProcessed = frame:callParserFunction(&amp;#039;NAMESPACE&amp;#039;, ns)&lt;br /&gt;
		nsTable = nsProcessed and mw.site.namespaces[nsProcessed]&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return nsTable and nsTable.hasSubpages&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local ns = frame:getParent().args[1]&lt;br /&gt;
	if ns then&lt;br /&gt;
		ns = ns:match(&amp;#039;^%s*(.-)%s*$&amp;#039;) -- trim whitespace&lt;br /&gt;
		ns = tonumber(ns) or ns&lt;br /&gt;
	end&lt;br /&gt;
	local hasSubpages = p._main(ns, frame)&lt;br /&gt;
	return hasSubpages and &amp;#039;yes&amp;#039; or &amp;#039;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>wikipedia:en&gt;Mr. Stradivarius</name></author>
	</entry>
</feed>