<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://bsd.neuroinf.jp/w/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AMultilingual_description</id>
	<title>モジュール:Multilingual description - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://bsd.neuroinf.jp/w/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AMultilingual_description"/>
	<link rel="alternate" type="text/html" href="https://bsd.neuroinf.jp/w/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Multilingual_description&amp;action=history"/>
	<updated>2026-04-15T14:26:15Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://bsd.neuroinf.jp/w/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Multilingual_description&amp;diff=26177&amp;oldid=prev</id>
		<title>WikiSysop: 1版</title>
		<link rel="alternate" type="text/html" href="https://bsd.neuroinf.jp/w/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:Multilingual_description&amp;diff=26177&amp;oldid=prev"/>
		<updated>2014-04-20T01:40:48Z</updated>

		<summary type="html">&lt;p&gt;1版&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function mld(pargs)&lt;br /&gt;
	local frame = mw.getCurrentFrame()&lt;br /&gt;
	local sorting = require(&amp;#039;Module:Multilingual description/sort&amp;#039;)&lt;br /&gt;
	local processed = {}&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	local addDesc = function(langcode, val)&lt;br /&gt;
		table.insert( ret, frame:expandTemplate{ title = &amp;#039;ls&amp;#039;, args = { langcode, val, classes = &amp;#039;description&amp;#039; } } )&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	&lt;br /&gt;
	for k, v in pairs( sorting ) do&lt;br /&gt;
		if pargs[v] then&lt;br /&gt;
			addDesc(v, pargs[v])&lt;br /&gt;
		end&lt;br /&gt;
		processed[v] = 1&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	for k, v in pairs( pargs ) do&lt;br /&gt;
		if not processed[k] and type(k) == &amp;#039;string&amp;#039; and mw.language.isSupportedLanguage(k) then&lt;br /&gt;
			addDesc(k, v)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return table.concat(ret)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.mld(frame)&lt;br /&gt;
	local pargs = ( frame:getParent() or {} ).args or {}&lt;br /&gt;
&lt;br /&gt;
	return mld(pargs)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--function p.runTests()&lt;br /&gt;
	--local expected = &amp;#039;{{ls|de|Leipzig ist|classes=description}}{{ls|en|Leipzig is|classes=description}}{{ls|fr|Leipzig est|classes=description}}{{ls|hsb|Lipsk je|classes=description}}{{ls|oc|Leipzig es|classes=description}}&amp;#039;&lt;br /&gt;
	--local input = { [&amp;#039;fr&amp;#039;] = &amp;#039;Leipzig est&amp;#039;, [&amp;#039;en&amp;#039;] = &amp;#039;Leipzig is&amp;#039;, [&amp;#039;hsb&amp;#039;] = &amp;#039;Lipsk je&amp;#039;, [&amp;#039;de&amp;#039;] = &amp;#039;Leipzig ist&amp;#039;, [&amp;#039;oc&amp;#039;] = &amp;#039;Leipzig es&amp;#039; }&lt;br /&gt;
	--return mld(input) == expected&lt;br /&gt;
--end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
	</entry>
</feed>