<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pttlink.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AURL%2Fdoc</id>
	<title>Module:URL/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pttlink.org/index.php?action=history&amp;feed=atom&amp;title=Module%3AURL%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Module:URL/doc&amp;action=history"/>
	<updated>2026-04-29T22:23:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=Module:URL/doc&amp;diff=4566&amp;oldid=prev</id>
		<title>Kg7qin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Module:URL/doc&amp;diff=4566&amp;oldid=prev"/>
		<updated>2021-09-05T23:59:14Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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&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 23:59, 5 September 2021&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff::1.12:old-4565:rev-4566 --&gt;
&lt;/table&gt;</summary>
		<author><name>Kg7qin</name></author>
	</entry>
	<entry>
		<id>https://wiki.pttlink.org/index.php?title=Module:URL/doc&amp;diff=4565&amp;oldid=prev</id>
		<title>Mediawiki&gt;Pppery: Add {{used in system}}</title>
		<link rel="alternate" type="text/html" href="https://wiki.pttlink.org/index.php?title=Module:URL/doc&amp;diff=4565&amp;oldid=prev"/>
		<updated>2021-07-15T23:05:41Z</updated>

		<summary type="html">&lt;p&gt;Add {{used in system}}&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{used in system|in [[MediaWiki:Titleblacklist-custom-URL]]}}&lt;br /&gt;
{{module rating|protected}}&lt;br /&gt;
&lt;br /&gt;
This module implements {{tl|URL}} and {{tl|URL2}}. Please see the template page for documentation.&lt;br /&gt;
&lt;br /&gt;
== Lua interface ==&lt;br /&gt;
The &amp;lt;code&amp;gt;p._url(url, text, msg)&amp;lt;/code&amp;gt; function may be used by other Lua modules. It returns a formatted Wikitext for the given URL, made suitable for line wrapping using {{tag|wbr|x}}. It takes the following parameters:&lt;br /&gt;
&lt;br /&gt;
; url : '''REQUIRED.''' The URL to format.&lt;br /&gt;
; text : '''OPTIONAL.''' Display text to put in the Wikitext link. Defaults to a pretty version of the URL.&lt;br /&gt;
; msg : '''OPTIONAL.''' String. If content is &amp;lt;samp&amp;gt;false&amp;lt;/samp&amp;gt;, &amp;lt;samp&amp;gt;n&amp;lt;/samp&amp;gt; or &amp;lt;samp&amp;gt;N&amp;lt;/samp&amp;gt;, do not emit a help message (using {{tlx|tlx}}) when URL is not given.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The following module emits a prettified link to log the user out. It will wrap correctly to most widths.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=lua&amp;gt;&lt;br /&gt;
local url = require('Module:URL')._url&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
p.main = function(frame)&lt;br /&gt;
    return url(&amp;quot;https://en.wikipedia.org/wiki/Special:UserLogout&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{ml|WikidataIB|url2}} – a simpler version which only allows one value&lt;/div&gt;</summary>
		<author><name>Mediawiki&gt;Pppery</name></author>
	</entry>
</feed>