<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://techshareroom.com/techshareroom_wiki/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AURL</id>
	<title>Módulo:URL - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://techshareroom.com/techshareroom_wiki/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AURL"/>
	<link rel="alternate" type="text/html" href="https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:URL&amp;action=history"/>
	<updated>2026-05-17T00:09:25Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.47.0-alpha</generator>
	<entry>
		<id>https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:URL&amp;diff=548&amp;oldid=prev</id>
		<title>Adgellida: 1 revisión importada</title>
		<link rel="alternate" type="text/html" href="https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:URL&amp;diff=548&amp;oldid=prev"/>
		<updated>2021-08-25T20:59:41Z</updated>

		<summary type="html">&lt;p&gt;1 revisión importada&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revisión del 22:59 25 ago 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;es&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Sin diferencias)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key techshareroom_wiki:diff:1.41:old-547:rev-548 --&gt;
&lt;/table&gt;</summary>
		<author><name>Adgellida</name></author>
	</entry>
	<entry>
		<id>https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:URL&amp;diff=547&amp;oldid=prev</id>
		<title>Plantilla&gt;Juan Mayordomo: arreglar otro error</title>
		<link rel="alternate" type="text/html" href="https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:URL&amp;diff=547&amp;oldid=prev"/>
		<updated>2017-02-15T18:22:48Z</updated>

		<summary type="html">&lt;p&gt;arreglar otro error&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local z = {}&lt;br /&gt;
&lt;br /&gt;
function z.enlazar(url, texto)&lt;br /&gt;
	--if true then return &amp;#039;url: &amp;#039; .. (url or &amp;#039;&amp;#039;) .. &amp;#039; texto: &amp;#039; .. (texto or &amp;#039;&amp;#039;) end&lt;br /&gt;
    if not url or &lt;br /&gt;
       url:match(&amp;#039;^%s*$&amp;#039;) then&lt;br /&gt;
		return&lt;br /&gt;
	elseif url:find(&amp;#039;%[&amp;#039;) or &lt;br /&gt;
		url:match(&amp;#039;^&amp;amp;#123;&amp;amp;#123;&amp;amp;#123;.*&amp;amp;#125;&amp;amp;#125;&amp;amp;#125;$&amp;#039;) then  -- Por ejemplo, un parámetro de una plantilla, {{{página web|}}}&lt;br /&gt;
		return url&lt;br /&gt;
	elseif z.esValida(url) then&lt;br /&gt;
		urlCorregida = url&lt;br /&gt;
	else&lt;br /&gt;
		urlCorregida = &amp;#039;http://&amp;#039; .. url&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if texto then&lt;br /&gt;
	    return &amp;#039;[&amp;#039; .. urlCorregida .. &amp;#039; &amp;#039; .. texto .. &amp;#039;]&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		textoCorregido = urlCorregida:match(&amp;#039;^http://(.+)&amp;#039;) or &lt;br /&gt;
		                 urlCorregida:match(&amp;#039;^https://(.+)&amp;#039;) or&lt;br /&gt;
		                 urlCorregida&lt;br /&gt;
		&lt;br /&gt;
		-- Eliminar la / al final&lt;br /&gt;
		textoCorregido = textoCorregido:match(&amp;#039;(.+)/$&amp;#039;) or textoCorregido&lt;br /&gt;
		&lt;br /&gt;
		return &amp;#039;[&amp;#039; .. urlCorregida .. &amp;#039; &amp;#039; .. textoCorregido .. &amp;#039;]&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function z.url(frame)&lt;br /&gt;
	if not frame or not frame.args then&lt;br /&gt;
		return&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return z.enlazar(frame.args[1], frame.args[2])&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--function z.enlacePlano&lt;br /&gt;
	-- Ver la plantilla Enlace plano&lt;br /&gt;
--	return&lt;br /&gt;
--end&lt;br /&gt;
&lt;br /&gt;
-- Ver la función checkurl del módulo de citas.&lt;br /&gt;
function z.esValida(url)&lt;br /&gt;
	return url:sub(1,2) == &amp;quot;//&amp;quot; or url:match( &amp;quot;^[^/]*:&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return z&lt;/div&gt;</summary>
		<author><name>Plantilla&gt;Juan Mayordomo</name></author>
	</entry>
</feed>