<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ADYK_nompage_links%2Fdoc</id>
	<title>Module:DYK nompage links/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mywikibiz.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ADYK_nompage_links%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:DYK_nompage_links/doc&amp;action=history"/>
	<updated>2026-06-15T14:21:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.3</generator>
	<entry>
		<id>https://mywikibiz.com/index.php?title=Module:DYK_nompage_links/doc&amp;diff=471458&amp;oldid=prev</id>
		<title>Zoran: Pywikibot 6.4.0</title>
		<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:DYK_nompage_links/doc&amp;diff=471458&amp;oldid=prev"/>
		<updated>2021-07-15T21:15:22Z</updated>

		<summary type="html">&lt;p&gt;Pywikibot 6.4.0&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This module produces the list of links used on [[Wikipedia:Did you know]] nomination pages. It implements {{tl|DYK nompage links}}.&lt;br /&gt;
&lt;br /&gt;
== Usage from wikitext ==&lt;br /&gt;
&lt;br /&gt;
Usually, this module should be used via the {{tl|DYK nompage links}} template. However, it can also be used with the syntax &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:DYK nompage links|main|&amp;lt;/nowiki&amp;gt;''arguments''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. See [[Template:DYK nompage links]] for a list of arguments.&lt;br /&gt;
&lt;br /&gt;
== Usage from other Lua modules ==&lt;br /&gt;
&lt;br /&gt;
To use this module from other Lua modules, first load the module:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local mDYKlinks = require('Module:DYK nompage links')&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can then use the _main function like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mDYKlinks._main(nominationPage, historyPages)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;var&amp;gt;nominationPage&amp;lt;/var&amp;gt; is the nomination page name, as a string. &amp;lt;var&amp;gt;historyPages&amp;lt;/var&amp;gt; is an array of page names to display (also strings). Both parameters are required, and &amp;lt;var&amp;gt;historyPages&amp;lt;/var&amp;gt; must have a length of at least one.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zoran</name></author>
	</entry>
</feed>