<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FPerryprog%2Fxlink%2Fdoc</id>
	<title>Module:Sandbox/Perryprog/xlink/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FPerryprog%2Fxlink%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Perryprog/xlink/doc&amp;action=history"/>
	<updated>2026-05-19T14:35:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/Perryprog/xlink/doc&amp;diff=145975&amp;oldid=prev</id>
		<title>imported&gt;Perryprog: Add TODO item.</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Perryprog/xlink/doc&amp;diff=145975&amp;oldid=prev"/>
		<updated>2021-01-13T02:05:50Z</updated>

		<summary type="html">&lt;p&gt;Add TODO item.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|pre-alpha}}&lt;br /&gt;
== Background ==&lt;br /&gt;
Eventually I want the loose equivalent of a {{tl|xsign}} for all the different special-link-templates I use (I tend to avoid the external link syntax). The end goal is to be able to say something like {{tlc|subst:xlink|URL here}}, and depending on the pattern the URL matches it would emit wikitext (assuming substitution works out well—I wouldn&amp;#039;t be surprised if it&amp;#039;s impossible) for either {{tl|diff2}}, {{tl|diff4}}, {{tl|oldid}}, and others as time goes on.&lt;br /&gt;
&lt;br /&gt;
Small shorter-term TODO:&lt;br /&gt;
* Actually learn how substitution depth works and all that jazz. (See {{diff2|1000008988|here}}, which was from substituting the #invoke call.)&lt;br /&gt;
* Given &amp;lt;code&amp;gt;[DiffURL label]&amp;lt;/code&amp;gt;, emit {{tlx|diff2|id|label}}&lt;br /&gt;
* Given &amp;lt;code&amp;gt;[DiffURL#section label]&amp;lt;/code&amp;gt;, emit {{tlx|diff2|id|section|label}}&lt;br /&gt;
* Have a less-strict match (e.g., URL param order) for diff-urls with &amp;lt;code&amp;gt;oldid=prev&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Switch to {{tl|diff4}} if a numerical value for &amp;lt;code&amp;gt;oldid&amp;lt;/code&amp;gt; is present.&lt;br /&gt;
** And also check if that template or its docs needs fixing, because every time I use it I get the parameters backwards...&lt;br /&gt;
&lt;br /&gt;
Longer-term TODO:&lt;br /&gt;
* A lot.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|&amp;#039;&amp;#039;function_name&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt; --&amp;gt;&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;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Perryprog</name></author>
	</entry>
</feed>