<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lowerhudsonvalleylions.org/index.php?action=history&amp;feed=atom&amp;title=Code%3Amywiki.py</id>
	<title>Code:mywiki.py - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lowerhudsonvalleylions.org/index.php?action=history&amp;feed=atom&amp;title=Code%3Amywiki.py"/>
	<link rel="alternate" type="text/html" href="https://lowerhudsonvalleylions.org/index.php?title=Code:mywiki.py&amp;action=history"/>
	<updated>2026-04-14T14:33:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://lowerhudsonvalleylions.org/index.php?title=Code:mywiki.py&amp;diff=427&amp;oldid=prev</id>
		<title>Alex: example mywiki.py code</title>
		<link rel="alternate" type="text/html" href="https://lowerhudsonvalleylions.org/index.php?title=Code:mywiki.py&amp;diff=427&amp;oldid=prev"/>
		<updated>2025-07-15T03:10:09Z</updated>

		<summary type="html">&lt;p&gt;example mywiki.py code&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;SyntaxHighlight lang=python&amp;gt;&lt;br /&gt;
from pywikibot import family&lt;br /&gt;
&lt;br /&gt;
class Family(family.Family):&lt;br /&gt;
    name = &amp;#039;mywiki&amp;#039;  # Unique identifier for your wiki&lt;br /&gt;
    langs = {&lt;br /&gt;
        &amp;#039;en&amp;#039;: &amp;#039;wiki.yourdomain.com&amp;#039;,  # Your wiki&amp;#039;s domain&lt;br /&gt;
    }&lt;br /&gt;
    def protocol(self, code):&lt;br /&gt;
        return &amp;#039;https&amp;#039;  # Use &amp;#039;http&amp;#039; if your wiki doesn&amp;#039;t use HTTPS&lt;br /&gt;
    def scriptpath(self, code):&lt;br /&gt;
        return &amp;#039;/w&amp;#039;  # Path to wiki scripts, typically &amp;#039;/w&amp;#039; for MediaWiki&lt;br /&gt;
    def apipath(self, code):&lt;br /&gt;
        return f&amp;#039;{self.scriptpath(code)}/api.php&amp;#039;&lt;br /&gt;
&amp;lt;/SyntaxHighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>