<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/index.php?action=history&amp;feed=atom&amp;title=User%3AAshley%2FWiki_upgrade_plan_Q2_2014</id>
	<title>User:Ashley/Wiki upgrade plan Q2 2014 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/index.php?action=history&amp;feed=atom&amp;title=User%3AAshley%2FWiki_upgrade_plan_Q2_2014"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;action=history"/>
	<updated>2026-04-22T09:53:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;diff=47431&amp;oldid=prev</id>
		<title>imported_&gt;ashley: I still can&#039;t type correctly (thanks Emu)</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;diff=47431&amp;oldid=prev"/>
		<updated>2014-03-21T19:26:43Z</updated>

		<summary type="html">&lt;p&gt;I still can&amp;#039;t type correctly (thanks Emu)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:26, 21 March 2014&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-l50&quot;&gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&amp;#039;&amp;#039;&amp;#039;THIS IS NOT COMPLETE YET, I&amp;#039;M JUST PLANNING IT!&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;&amp;#039;&amp;#039;&amp;#039;THIS IS NOT COMPLETE YET, I&amp;#039;M JUST PLANNING IT!&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# Backup everything. If necessary, ask sysops to take a snapshot of the machine (probably would make sense to set the wiki to read-only mode via &amp;lt;code&amp;gt;$wgReadOnly&amp;lt;/code&amp;gt; *before* doing that, though); it&amp;#039;d be a safe bet if we have enough time &amp;amp; resources for that. Otherwise a backup of the database &amp;amp; images will have to do.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;# Backup everything. If necessary, ask sysops to take a snapshot of the machine (probably would make sense to set the wiki to read-only mode via &amp;lt;code&amp;gt;$wgReadOnly&amp;lt;/code&amp;gt; *before* doing that, though); it&amp;#039;d be a safe bet if we have enough time &amp;amp; resources for that. Otherwise a backup of the database &amp;amp; images will have to do.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;# Download latest stable version of MediaWiki from [[mediawikiwiki:Download|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MeidaWiki&lt;/del&gt;.org]] into a &#039;&#039;&#039;sane, self-contained&#039;&#039;&#039; directory, such as &amp;lt;code&amp;gt;/var/www/wiki&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;# Download latest stable version of MediaWiki from [[mediawikiwiki:Download|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;MediaWiki&lt;/ins&gt;.org]] into a &#039;&#039;&#039;sane, self-contained&#039;&#039;&#039; directory, such as &amp;lt;code&amp;gt;/var/www/wiki&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;## Put new skin files into &amp;lt;code&amp;gt;/var/www/wiki/skins/Maemo&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;## Put new skin files into &amp;lt;code&amp;gt;/var/www/wiki/skins/Maemo&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;### TODO: Where should the master version of this skin be hosted? Currently I think it&amp;#039;s hosted on [https://garage.maemo.org/plugins/scmsvn/viewcvs.php/maemo2midgard/mediawiki/skins/MonoBookMaemo2009.php?view=markup garage.maemo.org], but I wouldn&amp;#039;t mind moving it to the official MediaWiki git repository, git.wikimedia.org&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; 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;### TODO: Where should the master version of this skin be hosted? Currently I think it&amp;#039;s hosted on [https://garage.maemo.org/plugins/scmsvn/viewcvs.php/maemo2midgard/mediawiki/skins/MonoBookMaemo2009.php?view=markup garage.maemo.org], but I wouldn&amp;#039;t mind moving it to the official MediaWiki git repository, git.wikimedia.org&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported_&gt;ashley</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;diff=47432&amp;oldid=prev</id>
		<title>imported_&gt;ashley: evil plan</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;diff=47432&amp;oldid=prev"/>
		<updated>2014-03-21T19:14:55Z</updated>

		<summary type="html">&lt;p&gt;evil plan&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;wiki.maemo.org upgrade plan — ETA: Q2 2014 (likely early May/June)&lt;br /&gt;
&lt;br /&gt;
old notes from 13 May 2013:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
16:20:33 &amp;lt;ashley&amp;gt; also, could someone explain to me just how garage/wiki are &amp;quot;married&amp;quot; to each other? where is the &amp;quot;master&amp;quot; user data? I was thinking of writing an AuthPlugin &amp;lt; http://www.mediawiki.org/wiki/AuthPlugin &amp;gt; to handle the wiki logins since MediaWiki does not natively and will not support lowercase user names and hacking MW core to make it &amp;quot;support&amp;quot; such a thing is ugly and very error-prone and causes a lot of issues&lt;br /&gt;
16:21:44 &amp;lt;DocScrutinizer05&amp;gt; I&amp;#039;m  not sure wiki and garage are linked in any way&lt;br /&gt;
16:22:23 &amp;lt;merlin1991&amp;gt; wiki accounts are sepperated from garage accounts&lt;br /&gt;
16:23:43 &amp;lt;ashley&amp;gt; wiki&amp;#039;s [[Special:UserLogin]] page allows only to log in, there isn&amp;#039;t a &amp;quot;create an account&amp;quot; link; manually trying to access [[Special:UserLogin/signup]] informs you that the requested action is restricted to administrators; when I created my garage account, I was able to log in to the wiki with that account&lt;br /&gt;
[...]&lt;br /&gt;
16:54:52 &amp;lt;Woody14619&amp;gt; My understanding is that wiki got its auth from Midgard, which gets updated from garage (or used to anyway)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
What are these in the server&amp;#039;s root directory and do we need &amp;#039;em?&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;etc_wiki_20130507.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;etc_wiki_20130513_to_check.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;etc_wiki_20130515.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configuration files are in &amp;lt;code&amp;gt;/etc/mediawiki&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/mediawiki-extensions&amp;lt;/code&amp;gt; contains&lt;br /&gt;
* &amp;lt;code&amp;gt;extensions-available&amp;lt;/code&amp;gt; — symlinks&lt;br /&gt;
* &amp;lt;code&amp;gt;extensions-enabled&amp;lt;/code&amp;gt; — empty folder&lt;br /&gt;
* &amp;lt;code&amp;gt;extensions.php&amp;lt;/code&amp;gt; — Debian-specific junk which includes ExtensionFunctions.php (yuck) and all the extensions in &amp;lt;code&amp;gt;/etc/mediawiki-extensions/extensions-enabled&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Apache is in &amp;lt;code&amp;gt;/etc/apache2&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Actual MediaWiki sources are in &amp;lt;code&amp;gt;/var/lib/mediawiki/&amp;lt;/code&amp;gt; — lots of symlinks there, btw.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/var/lib/mediawiki/&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;config/&amp;lt;/code&amp;gt; — getting a &amp;quot;permission denied&amp;quot; here; TODO figure out what this is and if it&amp;#039;s needed&lt;br /&gt;
* &amp;lt;code&amp;gt;extensions/&amp;lt;/code&amp;gt; — mostly symlinks but a couple real dirs, too&lt;br /&gt;
* &amp;lt;code&amp;gt;images/&amp;lt;/code&amp;gt; — all files uploaded to the wiki via [[Special:Upload]]&lt;br /&gt;
* &amp;lt;code&amp;gt;skins/&amp;lt;/code&amp;gt; — symlink to &amp;lt;code&amp;gt;/usr/share/mediawiki/skins&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;apc.php&amp;lt;/code&amp;gt; — lines 41-42 are giving me the heebie-jeebies&lt;br /&gt;
&lt;br /&gt;
Get rid of the useless &amp;#039;wikiadmin&amp;#039; and &amp;#039;nokiaeditors&amp;#039; groups:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
DELETE FROM user_groups WHERE ug_group IN (&amp;#039;wikiadmin&amp;#039;, &amp;#039;nokiaeditors&amp;#039;);&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Migrate user preferences from old skin name to new skin name (&amp;#039;&amp;#039;&amp;#039;after&amp;#039;&amp;#039;&amp;#039; the upgrade!):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
UPDATE user_properties SET up_value = &amp;#039;maemo&amp;#039; WHERE up_property = &amp;#039;skin&amp;#039; AND up_value = &amp;#039;monobookmaemo2009&amp;#039;;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;$wgLogo&amp;lt;/code&amp;gt; points to a nonexistent image (plus it&amp;#039;s using &amp;lt;code&amp;gt;$IP&amp;lt;/code&amp;gt; which it shouldn&amp;#039;t be since &amp;lt;code&amp;gt;$IP&amp;lt;/code&amp;gt; is a filesystem path).&lt;br /&gt;
&lt;br /&gt;
== The master plan ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;THIS IS NOT COMPLETE YET, I&amp;#039;M JUST PLANNING IT!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Backup everything. If necessary, ask sysops to take a snapshot of the machine (probably would make sense to set the wiki to read-only mode via &amp;lt;code&amp;gt;$wgReadOnly&amp;lt;/code&amp;gt; *before* doing that, though); it&amp;#039;d be a safe bet if we have enough time &amp;amp; resources for that. Otherwise a backup of the database &amp;amp; images will have to do.&lt;br /&gt;
# Download latest stable version of MediaWiki from [[mediawikiwiki:Download|MeidaWiki.org]] into a &amp;#039;&amp;#039;&amp;#039;sane, self-contained&amp;#039;&amp;#039;&amp;#039; directory, such as &amp;lt;code&amp;gt;/var/www/wiki&amp;lt;/code&amp;gt;&lt;br /&gt;
## Put new skin files into &amp;lt;code&amp;gt;/var/www/wiki/skins/Maemo&amp;lt;/code&amp;gt;&lt;br /&gt;
### TODO: Where should the master version of this skin be hosted? Currently I think it&amp;#039;s hosted on [https://garage.maemo.org/plugins/scmsvn/viewcvs.php/maemo2midgard/mediawiki/skins/MonoBookMaemo2009.php?view=markup garage.maemo.org], but I wouldn&amp;#039;t mind moving it to the official MediaWiki git repository, git.wikimedia.org&lt;br /&gt;
## Download any and all necessary extensions into &amp;lt;code&amp;gt;/var/www/wiki/extensions&amp;lt;/code&amp;gt; from git.wikimedia.org&lt;br /&gt;
### Need my updated version of the GForgeAuthentication extension, which pulls user data from garage.maemo.org; this means also that the new configuration variable &amp;lt;code&amp;gt;$wgGForgeAuthenticationConfiguration&amp;lt;/code&amp;gt; has to be defined in LocalSettigs.php.&lt;br /&gt;
### Can we publish the source of the new version of GForgeAuthentication? (Old version contains hard-coded passwords, so it&amp;#039;s a no-go.)&lt;br /&gt;
## Copy old LocalSettings.php over to &amp;lt;code&amp;gt;/var/www/wiki&amp;lt;/code&amp;gt; and edit them accordingly (see previous note about GForgeAuthentication etc.)&lt;br /&gt;
# Move images over from &amp;lt;code&amp;gt;/var/lib/mediawiki/images/&amp;lt;/code&amp;gt; into &amp;lt;code&amp;gt;/var/www/wiki/images/&amp;lt;/code&amp;gt;&lt;br /&gt;
# Run &amp;lt;code&amp;gt;/var/www/wiki/maintenance/update.php&amp;lt;/code&amp;gt; to perform any and all database upgrades&lt;br /&gt;
# Test that nothing&amp;#039;s blown up...&lt;br /&gt;
# ???&lt;br /&gt;
# PROFIT!&lt;br /&gt;
&lt;br /&gt;
==Open questions==&lt;br /&gt;
# What kind of Apache changes are needed? &amp;#039;&amp;#039;&amp;#039;BONUS:&amp;#039;&amp;#039;&amp;#039; Would like to fix the &amp;quot;plus sign bug&amp;quot; which prevents accessing pages like [[PEAP+MSCHAPv2 WiFi authentication setup]] directly.&lt;br /&gt;
# Service interruption — how much downtime will there be?&lt;br /&gt;
# If something goes totally kaboom, how easy/hard will it be to restore from a backup?&lt;br /&gt;
# Lowercase wiki user names — do we &amp;#039;&amp;#039;&amp;#039;really&amp;#039;&amp;#039;&amp;#039; need to deal with these or can we just force them to be uppercase (because MW does not support lowercase user names without ugly core hacks)?&lt;br /&gt;
## Apparently the canonical form of my name is in lowercase, so it&amp;#039;ll be easy for me to test it out. In the worst case I can hack up a maintenance script that changes all initial lowercase names (in MediaWiki&amp;#039;s &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; table) to an initial uppercase (which is standard MW convention). GForgeAuthentication seems to be (correctly) enforcing uppercase in its &amp;lt;code&amp;gt;getCanonicalName&amp;lt;/code&amp;gt; function&lt;/div&gt;</summary>
		<author><name>imported_&gt;ashley</name></author>
	</entry>
</feed>