<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://aerialwiki.iamcolorful.com/index.php?action=history&amp;feed=atom&amp;title=AerialWiki%3APD_help%2Fmirroring</id>
	<title>AerialWiki:PD help/mirroring - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://aerialwiki.iamcolorful.com/index.php?action=history&amp;feed=atom&amp;title=AerialWiki%3APD_help%2Fmirroring"/>
	<link rel="alternate" type="text/html" href="http://aerialwiki.iamcolorful.com/index.php?title=AerialWiki:PD_help/mirroring&amp;action=history"/>
	<updated>2026-04-06T05:38:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>http://aerialwiki.iamcolorful.com/index.php?title=AerialWiki:PD_help/mirroring&amp;diff=1477&amp;oldid=prev</id>
		<title>Kwickert at 21:34, 6 September 2012</title>
		<link rel="alternate" type="text/html" href="http://aerialwiki.iamcolorful.com/index.php?title=AerialWiki:PD_help/mirroring&amp;diff=1477&amp;oldid=prev"/>
		<updated>2012-09-06T21:34:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 21:34, 6 September 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot; &gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Mirroring with a bot ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Mirroring with a bot ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There is an ''experimental'' script to mirror the English content: [[user:sanbeg/mirrorhelp.py|mirrorhelp.py]].  This uses [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;meta&lt;/del&gt;:pywikipedia|pywikipedia]] to interface between the wikis.  So, assuming you have a local wiki, configured in ''familes/local_family.py'', this could be run like:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;There is an ''experimental'' script to mirror the English content: [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mw:&lt;/ins&gt;user:sanbeg/mirrorhelp.py|mirrorhelp.py]].  This uses [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;metawikipedia&lt;/ins&gt;:pywikipedia|pywikipedia]] to interface between the wikis.  So, assuming you have a local wiki, configured in ''familes/local_family.py'', this could be run like:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   python mirrorhelp.py -family:local&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   python mirrorhelp.py -family:local&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kovsph_mw890-mw_:diff::1.12:old-1476:rev-1477 --&gt;
&lt;/table&gt;</summary>
		<author><name>Kwickert</name></author>
		
	</entry>
	<entry>
		<id>http://aerialwiki.iamcolorful.com/index.php?title=AerialWiki:PD_help/mirroring&amp;diff=1476&amp;oldid=prev</id>
		<title>Kwickert: Created page with &quot;Currently the process of exporting the PD help files has not been implemented.  In the interim it's useful to mirror the Help: namespace located at ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://aerialwiki.iamcolorful.com/index.php?title=AerialWiki:PD_help/mirroring&amp;diff=1476&amp;oldid=prev"/>
		<updated>2012-09-06T21:34:03Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Currently the process of &lt;a href=&quot;/index.php/AerialWiki:PD_help/export&quot; title=&quot;AerialWiki:PD help/export&quot;&gt;exporting the PD help files&lt;/a&gt; has not been implemented.  In the interim it&amp;#039;s useful to mirror the Help: namespace located at ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Currently the process of [[Project:PD help/export|exporting the PD help files]] has not been implemented.  In the interim it's useful to mirror the Help: namespace located at MediaWiki.org.  This gives you a functional Help: namespace, but without all the bells and whistles of the full export/import process.&lt;br /&gt;
&lt;br /&gt;
Currently, the help content is incomplete, and the import/export mechanism is still a ways off.  However, the English content, at least, covers the basics pretty well.  Although there is no special framework for exporting it, it can be copied between wikis by a bot.&lt;br /&gt;
&lt;br /&gt;
== Mirroring with a bot ==&lt;br /&gt;
&lt;br /&gt;
There is an ''experimental'' script to mirror the English content: [[user:sanbeg/mirrorhelp.py|mirrorhelp.py]].  This uses [[meta:pywikipedia|pywikipedia]] to interface between the wikis.  So, assuming you have a local wiki, configured in ''familes/local_family.py'', this could be run like:&lt;br /&gt;
  python mirrorhelp.py -family:local&lt;br /&gt;
&lt;br /&gt;
Currently, this script does the folowing:&lt;br /&gt;
&lt;br /&gt;
# creates a few local templates (the names make more sense on mediawiki.org than on the local wiki, but what's in a name?)&lt;br /&gt;
#;PD header: A generic header; lists where the page was copied from and supresses the ''edit section links''.&lt;br /&gt;
#;Languages: A generic footer; created empty, but can be filled in as desired.&lt;br /&gt;
#;Meta: used to link to pages on meta.&lt;br /&gt;
# Scans through the Help: namespace, copying pages as it goes.  However, some pages are skipped:&lt;br /&gt;
#*redirects&lt;br /&gt;
#*pages with a / in the name (non-English pages)&lt;br /&gt;
#Parses each help page, and copies any templates and images that are used.&lt;br /&gt;
#*This parse is not recursive; it doesn't copy templates or images used by the templates, to prevent generating too much content.&lt;br /&gt;
&lt;br /&gt;
===Safely updating pages===&lt;br /&gt;
The script adds &amp;lt;nowiki&amp;gt;[[Category:imported help]]&amp;lt;/nowiki&amp;gt; to each page it imports, and checks it on pages it replaces, as a safety mechanism.  It won't overwrite existing pages that are missing this text, to prevent clobbering preexisting pages.  This also allows editors to fork that page, simply by removing that category.&lt;br /&gt;
&lt;br /&gt;
The bot will currently refuse to overwrite semi-protected pages, and will not replace existing images.  It can be rerun later, to update to newer content.&lt;br /&gt;
&lt;br /&gt;
===Limitations===&lt;br /&gt;
&lt;br /&gt;
This is an experimental process that copies incomplete content.  It isn't perfect or completely automatic.  Here are a few known issues:&lt;br /&gt;
&lt;br /&gt;
* Soft redirects aren't standardized on mediawiki, so the script can't avoid them.  There may be a few weird pages because of this.&lt;br /&gt;
* The ''Admin tip'' template is broken. Most sites can probably just blank this, so as not to confuse beginners with administrivia (that's a pretty nice feature, IMHO); others may want to manually copy the image and fix the template.&lt;br /&gt;
&lt;br /&gt;
I'd recommend trying this out on a test wiki before using it in production, so you know what to expect before using it in production.  You may also want to use a dedicated bot account for this.  Although you will get a few red links, you will get a generally useful help namespace.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External link==&lt;br /&gt;
&lt;br /&gt;
*http://mediawiki-tools.cvs.sourceforge.net/mediawiki-tools/pywikipedia/mirrorhelp.py  Current version, from SourceForge&lt;/div&gt;</summary>
		<author><name>Kwickert</name></author>
		
	</entry>
</feed>