<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Module%3ARespell</id>
	<title>Module:Respell - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Module%3ARespell"/>
	<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Module:Respell&amp;action=history"/>
	<updated>2026-04-19T11:33:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>http://wiki.filipefonseca.pt/index.php?title=Module:Respell&amp;diff=8805&amp;oldid=prev</id>
		<title>imported&gt;Nardog: simpler</title>
		<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Module:Respell&amp;diff=8805&amp;oldid=prev"/>
		<updated>2019-08-14T17:08:51Z</updated>

		<summary type="html">&lt;p&gt;simpler&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p._main(args)&lt;br /&gt;
	local ret = {}&lt;br /&gt;
	for i, v in ipairs(args) do&lt;br /&gt;
		v = mw.text.trim(v)&lt;br /&gt;
		-- Compatibility: Ignore arguments that only contain an apostrophe&lt;br /&gt;
		if v ~= '' and v ~= &amp;quot;'&amp;quot; then&lt;br /&gt;
			if ret[#ret]&lt;br /&gt;
				and not (ret[#ret]:find('_') or ret[#ret]:find('%-%)?$'))&lt;br /&gt;
				and not (v:find('_') or v:find('^%(?%-'))&lt;br /&gt;
			then&lt;br /&gt;
				table.insert(ret, '-')&lt;br /&gt;
			end&lt;br /&gt;
			if v:find('^[%u%(%)]+$') then&lt;br /&gt;
				v = '&amp;lt;span style=&amp;quot;font-size:90%&amp;quot;&amp;gt;' .. v .. '&amp;lt;/span&amp;gt;'&lt;br /&gt;
			end&lt;br /&gt;
			table.insert(ret, v)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	ret = '&amp;lt;i title=&amp;quot;English pronunciation respelling&amp;quot;&amp;gt;' ..&lt;br /&gt;
		table.concat(ret):gsub('_', ' ')&lt;br /&gt;
			 -- Avoid dangling hyphens&lt;br /&gt;
			:gsub(' %-', ' -&amp;amp;#8288;')&lt;br /&gt;
			:gsub('^%-', '-&amp;amp;#8288;')&lt;br /&gt;
		.. '&amp;lt;/i&amp;gt;'&lt;br /&gt;
	if args.link ~= 'no' then&lt;br /&gt;
		ret = '[[Help:Pronunciation respelling key|' .. ret .. ']]'&lt;br /&gt;
	end&lt;br /&gt;
	return ret&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	return p._main(frame:getParent().args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Nardog</name></author>
	</entry>
</feed>