<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.froce.fr//index.php?action=history&amp;feed=atom&amp;title=Module%3AStr_endswith</id>
	<title>Module:Str endswith - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.froce.fr//index.php?action=history&amp;feed=atom&amp;title=Module%3AStr_endswith"/>
	<link rel="alternate" type="text/html" href="https://wiki.froce.fr//index.php?title=Module:Str_endswith&amp;action=history"/>
	<updated>2026-04-09T13:13:06Z</updated>
	<subtitle>Historique des révisions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://wiki.froce.fr//index.php?title=Module:Str_endswith&amp;diff=951&amp;oldid=prev</id>
		<title>Maximilià Macià : 1 révision importée</title>
		<link rel="alternate" type="text/html" href="https://wiki.froce.fr//index.php?title=Module:Str_endswith&amp;diff=951&amp;oldid=prev"/>
		<updated>2018-09-17T12:03:31Z</updated>

		<summary type="html">&lt;p&gt;1 révision importée&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;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 17 septembre 2018 à 14:03&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key t39a0_FRO_WIKI-blh_:diff::1.12:old-950:rev-951 --&gt;
&lt;/table&gt;</summary>
		<author><name>Maximilià Macià</name></author>
	</entry>
	<entry>
		<id>https://wiki.froce.fr//index.php?title=Module:Str_endswith&amp;diff=950&amp;oldid=prev</id>
		<title>Wikipedia&gt;Mr. Stradivarius : Protected &quot;Module:Str endswith&quot;: High-risk Lua module ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://wiki.froce.fr//index.php?title=Module:Str_endswith&amp;diff=950&amp;oldid=prev"/>
		<updated>2016-11-07T07:15:08Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php?title=Module:Str_endswith&quot; title=&quot;Module:Str endswith&quot;&gt;Module:Str endswith&lt;/a&gt;&amp;quot;: &lt;a href=&quot;/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 (page inexistante)&quot;&gt;High-risk Lua module&lt;/a&gt; ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements {{str endswith}}.&lt;br /&gt;
&lt;br /&gt;
local TRUE_STRING = 'yes'&lt;br /&gt;
local FALSE_STRING = ''&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function trim(s)&lt;br /&gt;
	return s:match('^%s*(.-)%s*$')&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = frame:getParent().args&lt;br /&gt;
	local s = args[1]&lt;br /&gt;
	local pattern = args[2]&lt;br /&gt;
	if not s or not pattern then&lt;br /&gt;
		-- TRUE_STRING is not the natural choice here, but is needed for&lt;br /&gt;
		-- backwards compatibility.&lt;br /&gt;
		return TRUE_STRING&lt;br /&gt;
	end&lt;br /&gt;
	s = trim(s)&lt;br /&gt;
	pattern = trim(pattern)&lt;br /&gt;
	if pattern == '' then&lt;br /&gt;
		-- All strings end with the empty string.&lt;br /&gt;
		return TRUE_STRING&lt;br /&gt;
	end&lt;br /&gt;
	if mw.ustring.sub(s, 0 - mw.ustring.len(pattern), -1) == pattern then&lt;br /&gt;
		return TRUE_STRING&lt;br /&gt;
	else&lt;br /&gt;
		return FALSE_STRING&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Mr. Stradivarius</name></author>
	</entry>
</feed>