<?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%3AFeaturedTopicSum%2Fdoc</id>
	<title>Module:FeaturedTopicSum/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%3AFeaturedTopicSum%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:FeaturedTopicSum/doc&amp;action=history"/>
	<updated>2026-04-15T01:30:59Z</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:FeaturedTopicSum/doc&amp;diff=471641&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:FeaturedTopicSum/doc&amp;diff=471641&amp;oldid=prev"/>
		<updated>2021-07-15T21:35:42Z</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 is used to find out whether a topic is [[WP:GT|good]] or [[WP:FT|featured]].&lt;br /&gt;
&lt;br /&gt;
Each call to a new topic, using any of the functions in this module, will use three [[Wikipedia:Template limits#Expensive parser function calls|expensive parser function calls]]. This means that only 133 different topics can be listed on a page before the page goes over the limit of 500 expensive parser function calls per page (not counting other expensive function calls that might be used).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== From wikitext ===&lt;br /&gt;
&lt;br /&gt;
From wikitext this module should be used via [[Template:FeaturedTopicSum]]. Please see the template page for documentation.&lt;br /&gt;
&lt;br /&gt;
=== From Lua ===&lt;br /&gt;
&lt;br /&gt;
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 mFTS = require('Module:FeaturedTopicSum')&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, you can find the status of a topic with the &amp;lt;code&amp;gt;status&amp;lt;/code&amp;gt; function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mFTS.status(topic)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;var&amp;gt;topic&amp;lt;/var&amp;gt; parameter is the name of the topic (a string). For example, it would be &amp;quot;Norid&amp;quot; for [[Wikipedia:Featured topics/Norid]]. If the topic is featured, the function will return &amp;quot;FT&amp;quot;, and if not, the function will return &amp;quot;GT&amp;quot;. (Topics that aren't featured are assumed to be Good Topics.)&lt;br /&gt;
&lt;br /&gt;
It is also possible to use the &amp;lt;code&amp;gt;_main&amp;lt;/code&amp;gt; function in the same manner as you would use [[Template:FeaturedTopicSum]]. However, this is not recommended, as using the &amp;lt;code&amp;gt;status&amp;lt;/code&amp;gt; function with if .. then .. else .. end statements is usually more readable, and can be more efficient.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mFTS._main(args)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;var&amp;gt;args&amp;lt;/var&amp;gt; parameter is a table of arguments. Please consult the template page for documentation.&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>Zoran</name></author>
	</entry>
</feed>