<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://prole.wiki/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KakumeiAshley</id>
	<title>ProleWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://prole.wiki/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KakumeiAshley"/>
	<link rel="alternate" type="text/html" href="https://prole.wiki/wiki/Special:Contributions/KakumeiAshley"/>
	<updated>2026-10-29T08:58:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Backups&amp;diff=15536</id>
		<title>ProleWiki:Maintenance/Backups</title>
		<link rel="alternate" type="text/html" href="https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Backups&amp;diff=15536"/>
		<updated>2022-08-09T16:40:55Z</updated>

		<summary type="html">&lt;p&gt;KakumeiAshley: updated backup schedule&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The crontab ==&lt;br /&gt;
The script is called from the root user&#039;s crontab, configured to run at 05:40 UTC.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;root@prolewiki:~# crontab -l&lt;br /&gt;
40 05 * * * /root/bin/backup.sh | tee -a /var/log/backup.sh.log&lt;br /&gt;
35 */1 * * * /root/bin/dfmon.sh | tee /var/log/dfmon.sh.log&lt;br /&gt;
root@prolewiki:~# date&lt;br /&gt;
Tue 09 Aug 2022 04:32:14 PM UTC&amp;lt;/pre&amp;gt;&lt;br /&gt;
== The log ==&lt;br /&gt;
* Cron redirects the output of the script to &amp;lt;code&amp;gt;/var/log/backup.sh.log&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zip logs output to &amp;lt;code&amp;gt;/var/log/backup.sh.zip.log&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is currently no log rotation/truncation set up!!&lt;br /&gt;
== The code ==&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;/root/bin/backup.sh&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>KakumeiAshley</name></author>
	</entry>
	<entry>
		<id>https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Backups&amp;diff=15525</id>
		<title>ProleWiki:Maintenance/Backups</title>
		<link rel="alternate" type="text/html" href="https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Backups&amp;diff=15525"/>
		<updated>2022-08-09T03:34:57Z</updated>

		<summary type="html">&lt;p&gt;KakumeiAshley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== The crontab ==&lt;br /&gt;
The script is called from the root user&#039;s crontab, configured to run at 40 minutes past the hour every 10 hours.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;root@prolewiki:/etc/cron.daily# crontab -l&lt;br /&gt;
 40 */10 * * * /root/bin/backup.sh | tee -a /var/log/backup.sh.log&amp;lt;/pre&amp;gt;&lt;br /&gt;
== The log ==&lt;br /&gt;
* Cron redirects the output of the script to &amp;lt;code&amp;gt;/var/log/backup.sh.log&amp;lt;/code&amp;gt;&lt;br /&gt;
* Zip logs output to &amp;lt;code&amp;gt;/var/log/backup.sh.zip.log&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is currently no log rotation/truncation set up!!&lt;br /&gt;
== The code ==&lt;br /&gt;
&lt;br /&gt;
See &amp;lt;code&amp;gt;/root/bin/backup.sh&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>KakumeiAshley</name></author>
	</entry>
	<entry>
		<id>https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Backups&amp;diff=15520</id>
		<title>ProleWiki:Maintenance/Backups</title>
		<link rel="alternate" type="text/html" href="https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Backups&amp;diff=15520"/>
		<updated>2022-08-09T02:25:10Z</updated>

		<summary type="html">&lt;p&gt;KakumeiAshley: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;placeholder / work in progress&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Comrade [[Comrade:KakumeiAshley|KakumeiAshley]]&#039;&#039; &amp;lt;sup&amp;gt;([[Comradeship:KakumeiAshley|talk]])&amp;lt;/sup&amp;gt; 02:09, 9 August 2022 (UTC)&lt;br /&gt;
&lt;br /&gt;
== The crontab ==&lt;br /&gt;
&amp;lt;pre&amp;gt;root@prolewiki:/etc/cron.daily# crontab -l&lt;br /&gt;
 40 */10 * * * /root/bin/backup.sh | tee -a /var/log/backup.sh.log&amp;lt;/pre&amp;gt;&lt;br /&gt;
== The log ==&lt;br /&gt;
&amp;lt;code&amp;gt;/var/log/backup.sh.log&amp;lt;/code&amp;gt;&lt;br /&gt;
== The code ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 # placeholder&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>KakumeiAshley</name></author>
	</entry>
	<entry>
		<id>https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Backups&amp;diff=15517</id>
		<title>ProleWiki:Maintenance/Backups</title>
		<link rel="alternate" type="text/html" href="https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Backups&amp;diff=15517"/>
		<updated>2022-08-09T02:09:34Z</updated>

		<summary type="html">&lt;p&gt;KakumeiAshley: Created page with &amp;quot;placeholder  * ~~~~&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;placeholder&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;Comrade [[Comrade:KakumeiAshley|KakumeiAshley]]&#039;&#039; &amp;lt;sup&amp;gt;([[Comradeship:KakumeiAshley|talk]])&amp;lt;/sup&amp;gt; 02:09, 9 August 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>KakumeiAshley</name></author>
	</entry>
	<entry>
		<id>https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Adding_languages&amp;diff=15516</id>
		<title>ProleWiki:Maintenance/Adding languages</title>
		<link rel="alternate" type="text/html" href="https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Adding_languages&amp;diff=15516"/>
		<updated>2022-08-09T02:06:51Z</updated>

		<summary type="html">&lt;p&gt;KakumeiAshley: added apache and ssl cert info&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here we will be following a step-by-step tutorial on how to add new languages to ProleWiki. We will use a non-existent &amp;quot;aa&amp;quot; language code as an example, but it should be changed to the language that is being included (e.g.: &amp;lt;code&amp;gt;en&amp;lt;/code&amp;gt; for English, &amp;lt;code&amp;gt;fr&amp;lt;/code&amp;gt; for French, &amp;lt;code&amp;gt;ru&amp;lt;/code&amp;gt; for Russian, etc.). We can check the existing language on Wikipedia as a reference for its language code.&lt;br /&gt;
&lt;br /&gt;
===Step 1: Create new A Record for the site===&lt;br /&gt;
&lt;br /&gt;
*Go to our Namecheap account and add new A Record for the site, using the same configuration as the others, changing only the language code.&lt;br /&gt;
&lt;br /&gt;
===Step 2: Create new database for the site===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open command &amp;lt;syntaxhighlight inline lang=&amp;quot;bash&amp;quot;&amp;gt;mysql&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Type in &amp;lt;syntaxhighlight inline lang=&amp;quot;mysql&amp;quot;&amp;gt;CREATE DATABASE prole_aa;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Give permission to database user by typing &amp;lt;syntaxhighlight inline lang=&amp;quot;mysql&amp;quot;&amp;gt;GRANT ALL PRIVILEGES ON prole_aa.* TO &#039;proledbuser&#039;@&#039;localhost&#039;;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Exit mysql by typing &amp;lt;syntaxhighlight inline lang=&amp;quot;mysql&amp;quot;&amp;gt;exit&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
===Step 3: Add basic schema to database===&lt;br /&gt;
&lt;br /&gt;
*Go to maintenance folder (&amp;lt;syntaxhighlight inline lang=&amp;quot;bash&amp;quot;&amp;gt;cd /var/www/prole/maintenance&amp;lt;/syntaxhighlight&amp;gt;)&lt;br /&gt;
*Input the command &amp;lt;code&amp;gt;mysql prole_aa &amp;lt; /var/www/prole/maintenance/tables-generated.sql&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Step 4: Add new site to site configuration===&lt;br /&gt;
&lt;br /&gt;
*Edit &amp;lt;code&amp;gt;/var/www/prole/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
*Add the following lines where there are similar ones, and before the &amp;quot;language selector&amp;quot;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
elseif (isset($_SERVER[&#039;SERVER_NAME&#039;]) &amp;amp;&amp;amp; $_SERVER[&#039;SERVER_NAME&#039;] == &#039;aa.prolewiki.org&#039;) {&lt;br /&gt;
    $wikiId = &#039;aa&#039;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Add this code block where there are similar ones like it, changing the options to the target language:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
elseif ($wikiId == &#039;aa&#039;) {&lt;br /&gt;
	$wgServer = &amp;quot;https://aa.prolewiki.org&amp;quot;;&lt;br /&gt;
	$wgDBname = &amp;quot;prole_aa&amp;quot;;&lt;br /&gt;
	$wgLanguageCode = &#039;aa&#039;;&lt;br /&gt;
	$wgLogo = &amp;quot;/resources/assets/prolewiki_logo_aa.png&amp;quot;;&lt;br /&gt;
	$wgExtraNamespaces = [&lt;br /&gt;
		NS_LBRY =&amp;gt; &#039;Library&#039;,&lt;br /&gt;
		NS_LBRY_TALK =&amp;gt; &#039;Library_talk&#039;,&lt;br /&gt;
		NS_ESY =&amp;gt; &#039;Essay&#039;,&lt;br /&gt;
		NS_ESY_TALK =&amp;gt; &#039;Essay_talk&#039;,&lt;br /&gt;
		NS_USER =&amp;gt; &#039;Comrade&#039;,&lt;br /&gt;
		NS_USER_TALK =&amp;gt; &#039;Comradeship&#039;,&lt;br /&gt;
		NS_QUOTE =&amp;gt; &#039;Quotes&#039;,&lt;br /&gt;
		NS_QUOTE_TALK =&amp;gt; &#039;Quotes_talk&#039;&lt;br /&gt;
	];&lt;br /&gt;
	$wgMatomoIDSite = &amp;quot;X&amp;quot;;					// Change to Matomo site&lt;br /&gt;
	$wgMetaNamespace = &amp;quot;ProleWiki&amp;quot;;					// Only necessary for wikis which use a different alphabet&lt;br /&gt;
	$wgSitename = &amp;quot;ProleWiki&amp;quot;;						// Same as above&lt;br /&gt;
	$wgNamespaceAliases[&#039;ProleWiki&#039;] = NS_PROJECT;	// Same as above, leaving this as it is as a Latin alphabet fallback for the ProleWiki: namespace&lt;br /&gt;
	$wgWikiSeoDefaultImage = &#039;/resources/assets/seo/seo_aa.png&#039;;&lt;br /&gt;
	$wgPageImagesOpenGraphFallbackImage = &amp;quot;/resources/assets/seo/seo_aa.png&amp;quot;;&lt;br /&gt;
	// Wikibase&lt;br /&gt;
	wfLoadExtension( &#039;WikibaseClient&#039;, &amp;quot;$IP/extensions/Wikibase/extension-client.json&amp;quot; );&lt;br /&gt;
	require_once &amp;quot;$IP/extensions/Wikibase/client/ExampleSettings.php&amp;quot;;&lt;br /&gt;
	$wgWBClientSettings[&#039;siteGlobalID&#039;] = &#039;aa&#039;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Save the file&lt;br /&gt;
===Step 5: Add site to sites table in database and update it===&lt;br /&gt;
*Go to &amp;lt;code&amp;gt;/var/www/prole/maintenance/&amp;lt;/code&amp;gt;&lt;br /&gt;
*Input the following:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
php addSite.php aa prolewiki --wiki shared --pagepath=https://aa.prolewiki.org/wiki/\$1  --filepath=https://aa.prolewiki.org/\$1 --language aa --interwiki-id aa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*This should be done for all wikis. To do that, you should use:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
php exportSites.php --wiki shared sites.xml&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Then you import it for every wiki using (where wiki-id is &amp;lt;code&amp;gt;de&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;en&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;es&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;pt&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ru&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;aa&amp;lt;/code&amp;gt;, etc.):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
php importSites.php --wiki &amp;lt;wiki-id&amp;gt; sites.xml&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Update all databases (where wiki-id includes &amp;lt;code&amp;gt;shared&amp;lt;/code&amp;gt; as well:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
php update.php --wiki &amp;lt;wiki-id&amp;gt; --quick&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Step 6: Add site domain to Apache vHost directive &amp;amp; reissue certificate===&lt;br /&gt;
The new language subdomain must be explicitly added to Apache for Let&#039;s Encrypt to detect it and issue the certificate with the correct SANs.&lt;br /&gt;
* Open &amp;lt;code&amp;gt;/etc/apache2/sites-enabled/prolewiki.conf&amp;lt;/code&amp;gt; for editing. There are 3 places to add the new subdomain:&lt;br /&gt;
** The 1st and 2nd &amp;lt;code&amp;gt;ServerAlias&amp;lt;/code&amp;gt; lines in the &amp;lt;code&amp;gt;VirtualHost&amp;lt;/code&amp;gt; blocks for port :80 and :443.&lt;br /&gt;
** The &amp;lt;code&amp;gt;RewriteCond&amp;lt;/code&amp;gt; lines in approximately the middle of the file.&lt;br /&gt;
* Add entries for the new subdomain so that the placemet, formatting, etc, match the existing entries.&lt;br /&gt;
* Run &amp;lt;code&amp;gt;apache -t&amp;lt;/code&amp;gt; and look for anything worse than a &amp;lt;code&amp;gt;warn&amp;lt;/code&amp;gt;, or anything likely to cause problems&lt;br /&gt;
* Run &amp;lt;code&amp;gt;certbot&amp;lt;/code&amp;gt;&lt;br /&gt;
** To do: add more detailed certbot notes &#039;&#039;Comrade [[Comrade:KakumeiAshley|KakumeiAshley]]&#039;&#039; &amp;lt;sup&amp;gt;([[Comradeship:KakumeiAshley|talk]])&amp;lt;/sup&amp;gt; 02:06, 9 August 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>KakumeiAshley</name></author>
	</entry>
	<entry>
		<id>https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Adding_languages&amp;diff=15514</id>
		<title>ProleWiki:Maintenance/Adding languages</title>
		<link rel="alternate" type="text/html" href="https://prole.wiki/w/index.php?title=ProleWiki:Maintenance/Adding_languages&amp;diff=15514"/>
		<updated>2022-08-09T01:53:23Z</updated>

		<summary type="html">&lt;p&gt;KakumeiAshley: coming soon uwu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Here we will be following a step-by-step tutorial on how to add new languages to ProleWiki. We will use a non-existent &amp;quot;aa&amp;quot; language code as an example, but it should be changed to the language that is being included (e.g.: &amp;lt;code&amp;gt;en&amp;lt;/code&amp;gt; for English, &amp;lt;code&amp;gt;fr&amp;lt;/code&amp;gt; for French, &amp;lt;code&amp;gt;ru&amp;lt;/code&amp;gt; for Russian, etc.). We can check the existing language on Wikipedia as a reference for its language code.&lt;br /&gt;
&lt;br /&gt;
===Step 1: Create new A Record for the site===&lt;br /&gt;
&lt;br /&gt;
*Go to our Namecheap account and add new A Record for the site, using the same configuration as the others, changing only the language code.&lt;br /&gt;
&lt;br /&gt;
===Step 2: Create new database for the site===&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open command &amp;lt;syntaxhighlight inline lang=&amp;quot;bash&amp;quot;&amp;gt;mysql&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Type in &amp;lt;syntaxhighlight inline lang=&amp;quot;mysql&amp;quot;&amp;gt;CREATE DATABASE prole_aa;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Give permission to database user by typing &amp;lt;syntaxhighlight inline lang=&amp;quot;mysql&amp;quot;&amp;gt;GRANT ALL PRIVILEGES ON prole_aa.* TO &#039;proledbuser&#039;@&#039;localhost&#039;;&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Exit mysql by typing &amp;lt;syntaxhighlight inline lang=&amp;quot;mysql&amp;quot;&amp;gt;exit&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
===Step 3: Add basic schema to database===&lt;br /&gt;
&lt;br /&gt;
*Go to maintenance folder (&amp;lt;syntaxhighlight inline lang=&amp;quot;bash&amp;quot;&amp;gt;cd /var/www/prole/maintenance&amp;lt;/syntaxhighlight&amp;gt;)&lt;br /&gt;
*Input the command &amp;lt;code&amp;gt;mysql prole_aa &amp;lt; /var/www/prole/maintenance/tables-generated.sql&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Step 4: Add new site to site configuration===&lt;br /&gt;
&lt;br /&gt;
*Edit &amp;lt;code&amp;gt;/var/www/prole/LocalSettings.php&amp;lt;/code&amp;gt;&lt;br /&gt;
*Add the following lines where there are similar ones, and before the &amp;quot;language selector&amp;quot;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
elseif (isset($_SERVER[&#039;SERVER_NAME&#039;]) &amp;amp;&amp;amp; $_SERVER[&#039;SERVER_NAME&#039;] == &#039;aa.prolewiki.org&#039;) {&lt;br /&gt;
    $wikiId = &#039;aa&#039;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Add this code block where there are similar ones like it, changing the options to the target language:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
elseif ($wikiId == &#039;aa&#039;) {&lt;br /&gt;
	$wgServer = &amp;quot;https://aa.prolewiki.org&amp;quot;;&lt;br /&gt;
	$wgDBname = &amp;quot;prole_aa&amp;quot;;&lt;br /&gt;
	$wgLanguageCode = &#039;aa&#039;;&lt;br /&gt;
	$wgLogo = &amp;quot;/resources/assets/prolewiki_logo_aa.png&amp;quot;;&lt;br /&gt;
	$wgExtraNamespaces = [&lt;br /&gt;
		NS_LBRY =&amp;gt; &#039;Library&#039;,&lt;br /&gt;
		NS_LBRY_TALK =&amp;gt; &#039;Library_talk&#039;,&lt;br /&gt;
		NS_ESY =&amp;gt; &#039;Essay&#039;,&lt;br /&gt;
		NS_ESY_TALK =&amp;gt; &#039;Essay_talk&#039;,&lt;br /&gt;
		NS_USER =&amp;gt; &#039;Comrade&#039;,&lt;br /&gt;
		NS_USER_TALK =&amp;gt; &#039;Comradeship&#039;,&lt;br /&gt;
		NS_QUOTE =&amp;gt; &#039;Quotes&#039;,&lt;br /&gt;
		NS_QUOTE_TALK =&amp;gt; &#039;Quotes_talk&#039;&lt;br /&gt;
	];&lt;br /&gt;
	$wgMatomoIDSite = &amp;quot;X&amp;quot;;					// Change to Matomo site&lt;br /&gt;
	$wgMetaNamespace = &amp;quot;ProleWiki&amp;quot;;					// Only necessary for wikis which use a different alphabet&lt;br /&gt;
	$wgSitename = &amp;quot;ProleWiki&amp;quot;;						// Same as above&lt;br /&gt;
	$wgNamespaceAliases[&#039;ProleWiki&#039;] = NS_PROJECT;	// Same as above, leaving this as it is as a Latin alphabet fallback for the ProleWiki: namespace&lt;br /&gt;
	$wgWikiSeoDefaultImage = &#039;/resources/assets/seo/seo_aa.png&#039;;&lt;br /&gt;
	$wgPageImagesOpenGraphFallbackImage = &amp;quot;/resources/assets/seo/seo_aa.png&amp;quot;;&lt;br /&gt;
	// Wikibase&lt;br /&gt;
	wfLoadExtension( &#039;WikibaseClient&#039;, &amp;quot;$IP/extensions/Wikibase/extension-client.json&amp;quot; );&lt;br /&gt;
	require_once &amp;quot;$IP/extensions/Wikibase/client/ExampleSettings.php&amp;quot;;&lt;br /&gt;
	$wgWBClientSettings[&#039;siteGlobalID&#039;] = &#039;aa&#039;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Save the file&lt;br /&gt;
===Step 5: Add site to sites table in database and update it===&lt;br /&gt;
*Go to &amp;lt;code&amp;gt;/var/www/prole/maintenance/&amp;lt;/code&amp;gt;&lt;br /&gt;
*Input the following:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
php addSite.php aa prolewiki --wiki shared --pagepath=https://aa.prolewiki.org/wiki/\$1  --filepath=https://aa.prolewiki.org/\$1 --language aa --interwiki-id aa&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*This should be done for all wikis. To do that, you should use:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
php exportSites.php --wiki shared sites.xml&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Then you import it for every wiki using (where wiki-id is &amp;lt;code&amp;gt;de&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;en&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;es&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;fr&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;pt&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;ru&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;aa&amp;lt;/code&amp;gt;, etc.):&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
php importSites.php --wiki &amp;lt;wiki-id&amp;gt; sites.xml&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*Update all databases (where wiki-id includes &amp;lt;code&amp;gt;shared&amp;lt;/code&amp;gt; as well:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
php update.php --wiki &amp;lt;wiki-id&amp;gt; --quick&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
===Step 6: Add site domain to Apache vHost directive===&lt;br /&gt;
* to do &#039;&#039;Comrade [[Comrade:KakumeiAshley|KakumeiAshley]]&#039;&#039; &amp;lt;sup&amp;gt;([[Comradeship:KakumeiAshley|talk]])&amp;lt;/sup&amp;gt; 01:53, 9 August 2022 (UTC)&lt;/div&gt;</summary>
		<author><name>KakumeiAshley</name></author>
	</entry>
</feed>