<?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%3AIsValidMonthName%2Fdoc</id>
	<title>Module:IsValidMonthName/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%3AIsValidMonthName%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://mywikibiz.com/index.php?title=Module:IsValidMonthName/doc&amp;action=history"/>
	<updated>2026-06-14T12:10:26Z</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:IsValidMonthName/doc&amp;diff=472349&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:IsValidMonthName/doc&amp;diff=472349&amp;oldid=prev"/>
		<updated>2021-07-15T23:24:49Z</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;&lt;br /&gt;
{{Module rating |beta&amp;lt;!-- Values:  pre-alpha • alpha • beta • release • protected  --  If a rating not needed/relevant, delete this template call --&amp;gt;}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
A simple module to check whether a supplied string is a valid name of a month in the Julian or Gregorian calendars&lt;br /&gt;
&lt;br /&gt;
== Operation ==&lt;br /&gt;
&lt;br /&gt;
If the first parameter is the name of month, then it returns the parameter.  In all other cases, it returns an empty string.  (This return of a null string for a non-match allows the module to be used in templates simply by checking that the result is not an empty string.&lt;br /&gt;
&lt;br /&gt;
It has three callable functions:&lt;br /&gt;
    &lt;br /&gt;
;isFullMonthName:&lt;br /&gt;
:Checks whether the parameter is the full name of a month, e.g. July or October&lt;br /&gt;
;isShortMonthName:&lt;br /&gt;
:Checks whether the parameter is the three-letter short name of a month, e.g. Jul or Oct&lt;br /&gt;
;isMonthName:&lt;br /&gt;
:Checks whether the parameter is either:&lt;br /&gt;
:a) the full name of a month, e.g. July or October&lt;br /&gt;
:b) the three-letter short name of a month, e.g. Jul or Oct&lt;br /&gt;
&lt;br /&gt;
By default, the checks are case-sensitive. However, with function, case-insensitivity can be specified by supplying a second parameter: {{Param|ignorecase}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
For clarity of code, this module is best called through one of the three wrapper templates: {{tl|Is valid full month name}}, {{tl|Is valid short month name}}, and {{tl|Is valid month name}}&lt;br /&gt;
&lt;br /&gt;
;isFullMonthName&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|''isFullMonthName''|mytext}}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|''isFullMonthName''|mytext|ignorecase}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;isShortMonthName&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|''isShortMonthName''|mytext}}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|''isShortMonthName''|mytext|ignorecase}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;isMonthName&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|''isMonthName''|mytext}}&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|''isMonthName''|mytext|ignorecase}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|Is valid month name}}&lt;br /&gt;
* {{tl|Is valid full month name}},&lt;br /&gt;
* {{tl|Is valid short month name}}&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>