<?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%2FWnt%2FWikiLink%2Fdoc</id>
	<title>Module:Sandbox/Wnt/WikiLink/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%2FWnt%2FWikiLink%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Wnt/WikiLink/doc&amp;action=history"/>
	<updated>2026-05-12T00:53:13Z</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/Wnt/WikiLink/doc&amp;diff=146429&amp;oldid=prev</id>
		<title>imported&gt;Pppery at 03:51, 14 November 2019</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Wnt/WikiLink/doc&amp;diff=146429&amp;oldid=prev"/>
		<updated>2019-11-14T03:51:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|alpha}}&lt;br /&gt;
This module is invoked by &amp;lt;nowiki&amp;gt;{{#invoke:WikiLink|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;function&amp;#039;&amp;#039;|&amp;#039;&amp;#039;parameters&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
The functions that can be invoked are:&lt;br /&gt;
* &amp;#039;&amp;#039;dewiki&amp;#039;&amp;#039;: converts &amp;lt;nowiki&amp;gt;[[Link]]&amp;lt;/nowiki&amp;gt; to Link, &amp;lt;nowiki&amp;gt;[[Link|Text]]&amp;lt;/nowiki&amp;gt; to Text.&lt;br /&gt;
:* &amp;#039;&amp;#039;keepfile&amp;#039;&amp;#039;: Use before &amp;#039;&amp;#039;dewiki&amp;#039;&amp;#039; (i.e. &amp;lt;nowiki&amp;gt;{{#invoke:WikiLink|main|function=keepfile dewiki|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;text&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;) to preserve images from being turned into text.  Otherwise images become the alt= text or, if that is lacking, whatever is in the last field of the &amp;lt;nowiki&amp;gt;[[File:|]]&amp;lt;/nowiki&amp;gt; or &amp;lt;nowiki&amp;gt;[[Image:|]]&amp;lt;/nowiki&amp;gt; block.&lt;br /&gt;
* &amp;#039;&amp;#039;delink&amp;#039;&amp;#039;: converts &amp;lt;nowiki&amp;gt;[http://Link Text]&amp;lt;/nowiki&amp;gt; to Text.&lt;br /&gt;
* &amp;#039;&amp;#039;wikiall&amp;#039;&amp;#039;: converts &amp;quot;Sequence of words&amp;quot; to &amp;lt;nowiki&amp;gt;[[Sequence]] [[of]] [[words]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;wikiline&amp;#039;&amp;#039;: also converts a sequence of words to wikilinks, but all words on one line of text end up as a single wikilink.  Note that a single line break will be taken out in the display (all the words will appear on one line) but still counts for purposes of grouping which words become one link.&lt;br /&gt;
* &amp;#039;&amp;#039;main&amp;#039;&amp;#039;: does nothing by itself.  For this and all functions, component words of the parameter &amp;#039;&amp;#039;function&amp;#039;&amp;#039; will be applied afterward.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
*&amp;#039;&amp;#039;function=&amp;#039;&amp;#039;: allows the specification of multiple functions, which are done in order after the function specified (not that the order should usually matter...).  Thus &amp;lt;nowiki&amp;gt;{{#invoke:WikiLink|dewiki|function=delink|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;text&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; will first dewiki, then delink the text.&lt;br /&gt;
*&amp;#039;&amp;#039;nowiki=&amp;#039;&amp;#039;: anything nonblank leads to the &amp;lt;nowiki&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt; tag enclosing the output.&lt;br /&gt;
*&amp;#039;&amp;#039;text=&amp;#039;&amp;#039;: the text to process.  It may be convenient to #invoke [[Module:Page]] to generate this in some cases.  The text= parameter &amp;#039;&amp;#039;&amp;#039;must&amp;#039;&amp;#039;&amp;#039; be used if your text might have an = in it - otherwise it will be interpreted as the name and value of some long and unused parameter.&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
* Note that a stray &amp;quot;&amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;&amp;quot; will prevent interpretation of the module call if it is written in the #invoke directly; however this does not happen if it is transcluded.&lt;/div&gt;</summary>
		<author><name>imported&gt;Pppery</name></author>
	</entry>
</feed>