<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikiyouth.eu/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ADescription</id>
	<title>Module:Description - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikiyouth.eu/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ADescription"/>
	<link rel="alternate" type="text/html" href="https://wikiyouth.eu/w/index.php?title=Module:Description&amp;action=history"/>
	<updated>2026-04-10T12:50:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wikiyouth.eu/w/index.php?title=Module:Description&amp;diff=35554&amp;oldid=prev</id>
		<title>Admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wikiyouth.eu/w/index.php?title=Module:Description&amp;diff=35554&amp;oldid=prev"/>
		<updated>2025-04-09T08:42:52Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 08:42, 9 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki_wikiyouth:diff:1.41:old-35553:rev-35554 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wikiyouth.eu/w/index.php?title=Module:Description&amp;diff=35553&amp;oldid=prev</id>
		<title>en&gt;Jarekt: code cleanup</title>
		<link rel="alternate" type="text/html" href="https://wikiyouth.eu/w/index.php?title=Module:Description&amp;diff=35553&amp;oldid=prev"/>
		<updated>2022-05-11T19:55:35Z</updated>

		<summary type="html">&lt;p&gt;code cleanup&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[  &lt;br /&gt;
  __  __           _       _        ____                      _       _   _             &lt;br /&gt;
 |  \/  | ___   __| |_   _| | ___ _|  _ \  ___  ___  ___ _ __(_)_ __ | |_(_) ___  _ __  &lt;br /&gt;
 | |\/| |/ _ \ / _` | | | | |/ _ (_) | | |/ _ \/ __|/ __| &amp;#039;__| | &amp;#039;_ \| __| |/ _ \| &amp;#039;_ \ &lt;br /&gt;
 | |  | | (_) | (_| | |_| | |  __/_| |_| |  __/\__ \ (__| |  | | |_) | |_| | (_) | | | |&lt;br /&gt;
 |_|  |_|\___/ \__,_|\__,_|_|\___(_)____/ \___||___/\___|_|  |_| .__/ \__|_|\___/|_| |_|&lt;br /&gt;
                                                               |_|                      &lt;br /&gt;
&lt;br /&gt;
Description is a module implementing functionality of {{Description}}&lt;br /&gt;
template, which is used by {{en}}, {{de}} and other language templates.&lt;br /&gt;
&lt;br /&gt;
Authors and maintainers:&lt;br /&gt;
* User:Jarekt  &lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local core = require(&amp;#039;Module:Core&amp;#039;)&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
local function missing_text_error(args) &lt;br /&gt;
	-- Empty text field -&amp;gt; display error message and add maintenance category&lt;br /&gt;
	-- &amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;[{{fullurl:Category:Language templates with no text displayed}} &amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;{{Description/i18n}}&amp;lt;/span&amp;gt;]&amp;lt;/span&amp;gt;&lt;br /&gt;
	local cat = &amp;#039;Category:Language templates with no text displayed&amp;#039;&lt;br /&gt;
	local msg  = core.formatMessage(&amp;#039;I18n/DescriptionError.tab&amp;#039;, &amp;#039;missing text&amp;#039;, args.user_lang)&lt;br /&gt;
	local frame = mw.getCurrentFrame()&lt;br /&gt;
	msg = mw.html.create(&amp;#039;span&amp;#039;):addClass(&amp;quot;error&amp;quot;):wikitext(msg)&lt;br /&gt;
	msg = &amp;#039;[&amp;#039; .. frame:callParserFunction{ name = &amp;#039;fullurl&amp;#039;, args={cat} }  .. tostring(msg) .. &amp;#039;]&amp;#039;&lt;br /&gt;
	msg = mw.html.create(&amp;#039;span&amp;#039;):addClass(&amp;quot;plainlinks&amp;quot;):wikitext(msg)&lt;br /&gt;
	desc = core.langWrapper(args.text_lang, tostring(msg), args)&lt;br /&gt;
	local namespace = mw.title.getCurrentTitle().namespace&lt;br /&gt;
	local LUT = {[0]=1, [6]=1, [10]=1, [14]=1, [100]=1, [106]=1}&lt;br /&gt;
	if LUT[namespace]==1 then&lt;br /&gt;
		desc = desc .. &amp;#039;[[&amp;#039; .. cat .. &amp;#039;]]&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	return desc&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
function p.description(frame) &lt;br /&gt;
	local args = core.getArgs(frame)&lt;br /&gt;
	args.user_lang = args.user_lang or args.lang -- core.getArgs sets args.lang&lt;br /&gt;
	if args.text == nil then -- if no string than add error message and a category&lt;br /&gt;
		return missing_text_error(args) &lt;br /&gt;
	else&lt;br /&gt;
		return core.langWrapper(args.text_lang, args.text, args)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>en&gt;Jarekt</name></author>
	</entry>
</feed>