<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://wiki.esisariens.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ALanguage%2Fscripts</id>
		<title>Module:Language/scripts - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.esisariens.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ALanguage%2Fscripts"/>
		<link rel="alternate" type="text/html" href="https://wiki.esisariens.org/index.php?title=Module:Language/scripts&amp;action=history"/>
		<updated>2026-10-17T05:33:53Z</updated>
		<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://wiki.esisariens.org/index.php?title=Module:Language/scripts&amp;diff=2287&amp;oldid=prev</id>
		<title>TDLaouer : 1 révision importée</title>
		<link rel="alternate" type="text/html" href="https://wiki.esisariens.org/index.php?title=Module:Language/scripts&amp;diff=2287&amp;oldid=prev"/>
				<updated>2017-10-21T19:03:03Z</updated>
		
		<summary type="html">&lt;p&gt;1 révision importée&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style='vertical-align: top;' lang='fr'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version du 21 octobre 2017 à 19:03&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='fr'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>TDLaouer</name></author>	</entry>

	<entry>
		<id>https://wiki.esisariens.org/index.php?title=Module:Language/scripts&amp;diff=2286&amp;oldid=prev</id>
		<title>Erutuon : maybe should use mw.ustring.len</title>
		<link rel="alternate" type="text/html" href="https://wiki.esisariens.org/index.php?title=Module:Language/scripts&amp;diff=2286&amp;oldid=prev"/>
				<updated>2016-10-12T01:16:16Z</updated>
		
		<summary type="html">&lt;p&gt;maybe should use mw.ustring.len&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local gsub = mw.ustring.gsub&lt;br /&gt;
local length = mw.ustring.len&lt;br /&gt;
&lt;br /&gt;
local data = require(&amp;quot;Module:Language/scripts/data&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
function p.print(frame)&lt;br /&gt;
	local scriptCode = frame.args[1]&lt;br /&gt;
	local scriptData = scriptCode and data[scriptCode] or &amp;quot;Please supply a valid script code.&amp;quot;&lt;br /&gt;
	local characters = scriptData and scriptData.characters or &amp;quot;No characters found for &amp;quot; .. scriptCode .. &amp;quot;.&amp;quot;&lt;br /&gt;
	return characters&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local script = {}&lt;br /&gt;
&lt;br /&gt;
-- Based on the Script:countCharacters() function of Module:scripts on Wiktionary&lt;br /&gt;
local function countCharacters(text, scriptCode)&lt;br /&gt;
	if not data[scriptCode][&amp;quot;characters&amp;quot;] then&lt;br /&gt;
		return 0&lt;br /&gt;
	else&lt;br /&gt;
		local _, count = gsub(text, &amp;quot;[&amp;quot; .. data[scriptCode][&amp;quot;characters&amp;quot;] .. &amp;quot;]&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
		return count&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.isLatn(text)&lt;br /&gt;
	if type(tostring(text)) == &amp;quot;string&amp;quot; then&lt;br /&gt;
		local count = countCharacters(text, &amp;quot;Latn&amp;quot;)&lt;br /&gt;
		if count &amp;lt; (length(text) / 4) then -- Only 25% of characters in string are Latin&lt;br /&gt;
			return false&lt;br /&gt;
		else&lt;br /&gt;
			return true&lt;br /&gt;
		end&lt;br /&gt;
	else&lt;br /&gt;
		return nil&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.Latin(frame)&lt;br /&gt;
	local text = frame.args[1]&lt;br /&gt;
	return p.isLatn(text)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Erutuon</name></author>	</entry>

	</feed>