<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AURL_to_diff%2Fdoc</id>
	<title>Template:URL to diff/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Template%3AURL_to_diff%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:URL_to_diff/doc&amp;action=history"/>
	<updated>2026-04-21T09:52:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Template:URL_to_diff/doc&amp;diff=22899371&amp;oldid=prev</id>
		<title>imported&gt;Gonnym: /* See also */</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Template:URL_to_diff/doc&amp;diff=22899371&amp;oldid=prev"/>
		<updated>2025-12-03T15:07:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;See also&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{Tsh|Utd|U2d|Udiff|Make diff|pre=subst:}}&lt;br /&gt;
{{subst only|auto=yes}}&lt;br /&gt;
{{lua|Module:URL to diff}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template converts a diff URL to use the {{tl|diff}} template. Diff URLs must be from the host &amp;quot;en.wikipedia.org&amp;quot;, and they must contain one of the query strings {{para|title}}, {{para|diff}} or {{para|oldid}}. In other words, they must be of the format &amp;lt;code&amp;gt;en.wikipedia.org/w/index.php?&amp;#039;&amp;#039;query&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;. URLs of the format &amp;lt;code&amp;gt;en.wikipedia.org/wiki/&amp;#039;&amp;#039;Page name&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; will not work.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
 &amp;amp;#123;&amp;amp;#123;subst:URL to diff&amp;amp;#124;url=&amp;#039;&amp;#039;url&amp;#039;&amp;#039;&amp;amp;#124;label=&amp;#039;&amp;#039;label&amp;#039;&amp;#039;&amp;amp;#125;&amp;amp;#125;&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
* &amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt; - the diff URL (required).&lt;br /&gt;
* &amp;lt;code&amp;gt;label&amp;lt;/code&amp;gt; - a label for the diff link (optional). If this is not specified, the {{tl|diff}} template will produce a numbered link.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Code&lt;br /&gt;
! Result&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:URL to diff|url=https://en.wikipedia.org/w/index.php?title=Main_Page&amp;amp;diff=472180272&amp;amp;oldid=471996095}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|| {{URL to diff|url=https://en.wikipedia.org/w/index.php?title=Main_Page&amp;amp;diff=472180272&amp;amp;oldid=471996095|demo=yes}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:URL to diff|url=https://en.wikipedia.org/w/index.php?title=Main_Page&amp;amp;diff=472180272&amp;amp;oldid=471996095|label=a diff with a label}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|| {{URL to diff|url=https://en.wikipedia.org/w/index.php?title=Main_Page&amp;amp;diff=472180272&amp;amp;oldid=471996095|label=a diff with a label|demo=yes}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:URL to diff|url=https://en.wikipedia.org/w/index.php?title=Main_Page&amp;amp;diff=472180272&amp;amp;oldid=471996095|label=a diff with a label containing an equals sign (=)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|| {{URL to diff|url=https://en.wikipedia.org/w/index.php?title=Main_Page&amp;amp;diff=472180272&amp;amp;oldid=471996095|label=a diff with a label containing an equals sign (=)|demo=yes}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:URL to diff|url=https://en.wikipedia.org/w/index.php?title=Main_Page&amp;amp;diff=prev&amp;amp;oldid=1225315602|label=a diff versus previous}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|| {{URL to diff|url=https://en.wikipedia.org/w/index.php?title=Main_Page&amp;amp;diff=prev&amp;amp;oldid=1225315602|label=a diff versus previous|demo=yes}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|Urltowiki}}, for formatting URLs as wikilinks&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Diff templates]]&lt;br /&gt;
[[Category:String manipulation templates]]&lt;br /&gt;
[[Category:Wrapper templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Gonnym</name></author>
	</entry>
</feed>