<?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%3ARDIndex%2Fdoc</id>
	<title>Module:RDIndex/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%3ARDIndex%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:RDIndex/doc&amp;action=history"/>
	<updated>2026-05-07T23:29:05Z</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:RDIndex/doc&amp;diff=144549&amp;oldid=prev</id>
		<title>imported&gt;Izno: add cat</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:RDIndex/doc&amp;diff=144549&amp;oldid=prev"/>
		<updated>2021-12-25T23:55:10Z</updated>

		<summary type="html">&lt;p&gt;add cat&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This module is responsible for making the Lua-based archive pages for the Refdesk at [[WP:Reference desk/Archives/Lua]].&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
For all the recent archives like [[WP:Reference desk/Archives/Lua/Science/January 2013]], it extracts the month, year, and desk from the title string if they are not otherwise specified.  (The exact order doesn&amp;#039;t matter; it does a text search)  Therefore, these pages contain simply:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;{{#invoke:RDIndex|month}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However, conventional parameter-based settings are available to override the defaults thus obtained - however, these haven&amp;#039;t been tested much and may need debugging.&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
* &amp;#039;&amp;#039;cat&amp;#039;&amp;#039; = a specific category (as provided by the [[Template:Rdcat]] pseudo-template) can be specified here, in which case &amp;#039;&amp;#039;only&amp;#039;&amp;#039; the pages from that category will be indexed.  Or it can be set to &amp;quot;no&amp;quot; and this column is omitted.&lt;br /&gt;
* &amp;#039;&amp;#039;input&amp;#039;&amp;#039; = a text for the &amp;quot;main&amp;quot; function (not &amp;quot;month&amp;quot;) to process&lt;br /&gt;
* &amp;#039;&amp;#039;desk&amp;#039;&amp;#039; = (Science, Humanities, etc.)&lt;br /&gt;
* &amp;#039;&amp;#039;label&amp;#039;&amp;#039; = (an arbitrary replacement for the desk to be shown in the table, if provided)&lt;br /&gt;
* &amp;#039;&amp;#039;date&amp;#039;&amp;#039; = (the date to be shown, if not obtained from the page name)&lt;br /&gt;
* &amp;#039;&amp;#039;arcpage&amp;#039;&amp;#039; = (the page where the original discussion is archived)&lt;br /&gt;
&lt;br /&gt;
==The Rdcat pseudo-template==&lt;br /&gt;
[[Template:Rdcat]] doesn&amp;#039;t do anything, because the text is read in by the module without template substitution - this module simply looks for &amp;lt;nowiki&amp;gt;{{Rdcat|xxx|xxx}}&amp;lt;/nowiki&amp;gt; and processes it on its own.  The first parameter sets a category for display in the table; the second is reserved for a subcategory system within a system.&lt;br /&gt;
&lt;br /&gt;
Categories are things like &amp;quot;biology&amp;quot;, &amp;quot;chemistry&amp;quot;, &amp;quot;astronomy&amp;quot;, &amp;quot;physics&amp;quot;, &amp;quot;engineering&amp;quot; under Science.  The subcategories would be more specific topics, perhaps evolution, DNA, protein, taxonomy, virology, etc. under Biology.  To make the categories and subcategories work it is well-nigh essential to recruit people interested in sorting the questions, and for them to do so pretty consistently.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:Modules that check for strip markers‎]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Izno</name></author>
	</entry>
</feed>