<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://youjo.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ATranslit-redirect</id>
	<title>Module:Translit-redirect - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://youjo.wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ATranslit-redirect"/>
	<link rel="alternate" type="text/html" href="https://youjo.wiki/index.php?title=Module:Translit-redirect&amp;action=history"/>
	<updated>2026-10-17T16:47:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.2</generator>
	<entry>
		<id>https://youjo.wiki/index.php?title=Module:Translit-redirect&amp;diff=1502&amp;oldid=prev</id>
		<title>Chizu: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://youjo.wiki/index.php?title=Module:Translit-redirect&amp;diff=1502&amp;oldid=prev"/>
		<updated>2022-09-23T19:42:17Z</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-GB&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 19:42, 23 September 2022&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key youjowiki:diff::1.12:old-1501:rev-1502 --&gt;
&lt;/table&gt;</summary>
		<author><name>Chizu</name></author>
	</entry>
	<entry>
		<id>https://youjo.wiki/index.php?title=Module:Translit-redirect&amp;diff=1501&amp;oldid=prev</id>
		<title>Wiktionary&gt;Erutuon: localize variable</title>
		<link rel="alternate" type="text/html" href="https://youjo.wiki/index.php?title=Module:Translit-redirect&amp;diff=1501&amp;oldid=prev"/>
		<updated>2019-09-17T02:23:15Z</updated>

		<summary type="html">&lt;p&gt;localize variable&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local export = {}&lt;br /&gt;
&lt;br /&gt;
function export.tr(text, lang, sc, debug_mode)&lt;br /&gt;
	if not sc then&lt;br /&gt;
		sc = require(&amp;quot;Module:scripts&amp;quot;).findBestScript(text, require(&amp;quot;Module:languages&amp;quot;).getByCode(lang)):getCode()&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local language_data = mw.loadData(&amp;quot;Module:translit-redirect/data&amp;quot;)[lang]&lt;br /&gt;
	&lt;br /&gt;
	if language_data then&lt;br /&gt;
		local script_data = language_data[sc]&lt;br /&gt;
		&lt;br /&gt;
		if script_data then&lt;br /&gt;
			if script_data.module then&lt;br /&gt;
				local success, translit_module = pcall(require, &amp;quot;Module:&amp;quot; .. script_data.module)&lt;br /&gt;
			&lt;br /&gt;
				if success then&lt;br /&gt;
					return translit_module.tr(text, lang, sc, debug_mode)&lt;br /&gt;
				else&lt;br /&gt;
					error(translit_module)&lt;br /&gt;
				end&lt;br /&gt;
			else&lt;br /&gt;
				return nil&lt;br /&gt;
			end&lt;br /&gt;
		else&lt;br /&gt;
			require(&amp;quot;Module:debug&amp;quot;).track{&lt;br /&gt;
				&amp;quot;translit-redirect/incorrect-script/&amp;quot; .. lang,&lt;br /&gt;
				&amp;quot;translit-redirect/incorrect-script/&amp;quot; .. lang .. &amp;quot;/&amp;quot; .. sc,&lt;br /&gt;
			}&lt;br /&gt;
			mw.log(&amp;quot;script code (&amp;quot; .. sc .. &amp;quot;) for language code &amp;quot; .. lang .. &amp;quot; not found in Module:translit-redirect/data; text: &amp;quot; .. text)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return export&lt;/div&gt;</summary>
		<author><name>Wiktionary&gt;Erutuon</name></author>
	</entry>
</feed>