<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.maemo.org/skins/common/feed.css?207"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.maemo.org/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="http://wiki.maemo.org/index.php?action=history&amp;feed=atom&amp;title=User%3AAshley%2FWiki_upgrade_plan_Q2_2014"/>
		<link rel="alternate" type="text/html" href="http://wiki.maemo.org/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;action=history"/>
		<updated>2026-04-04T07:50:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.15.5-7</generator>

	<entry>
		<id>http://wiki.maemo.org/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;diff=52828&amp;oldid=prev</id>
		<title>ashley:&amp;#32;I still can't type correctly (thanks Emu)</title>
		<link rel="alternate" type="text/html" href="http://wiki.maemo.org/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;diff=52828&amp;oldid=prev"/>
				<updated>2014-03-21T19:26:43Z</updated>
		
		<summary type="html">&lt;p&gt;I still can&amp;#39;t type correctly (thanks Emu)&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&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;&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='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''THIS IS NOT COMPLETE YET, I'M JUST PLANNING IT!'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''THIS IS NOT COMPLETE YET, I'M JUST PLANNING IT!'''&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: #eee; color:black; font-size: smaller;&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'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='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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'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='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# Download latest stable version of MediaWiki from [[mediawikiwiki:Download|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;MeidaWiki&lt;/del&gt;.org]] into a '''sane, self-contained''' 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='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;# Download latest stable version of MediaWiki from [[mediawikiwiki:Download|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;MediaWiki&lt;/ins&gt;.org]] into a '''sane, self-contained''' 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='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;### TODO: Where should the master version of this skin be hosted? Currently I think it's hosted on [https://garage.maemo.org/plugins/scmsvn/viewcvs.php/maemo2midgard/mediawiki/skins/MonoBookMaemo2009.php?view=markup garage.maemo.org], but I wouldn't mind moving it to the official MediaWiki git repository, git.wikimedia.org&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;### TODO: Where should the master version of this skin be hosted? Currently I think it's hosted on [https://garage.maemo.org/plugins/scmsvn/viewcvs.php/maemo2midgard/mediawiki/skins/MonoBookMaemo2009.php?view=markup garage.maemo.org], but I wouldn't mind moving it to the official MediaWiki git repository, git.wikimedia.org&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-04 07:50:41 --&gt;
&lt;/table&gt;</summary>
		<author><name>ashley</name></author>	</entry>

	<entry>
		<id>http://wiki.maemo.org/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;diff=52827&amp;oldid=prev</id>
		<title>ashley:&amp;#32;evil plan</title>
		<link rel="alternate" type="text/html" href="http://wiki.maemo.org/index.php?title=User:Ashley/Wiki_upgrade_plan_Q2_2014&amp;diff=52827&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'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's [[Special:UserLogin]] page allows only to log in, there isn'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's root directory and do we need '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'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 'wikiadmin' and 'nokiaeditors' 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 ('wikiadmin', 'nokiaeditors');&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 ('''after''' the upgrade!):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
UPDATE user_properties SET up_value = 'maemo' WHERE up_property = 'skin' AND up_value = 'monobookmaemo2009';&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's using &amp;lt;code&amp;gt;$IP&amp;lt;/code&amp;gt; which it shouldn'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;
'''THIS IS NOT COMPLETE YET, I'M JUST PLANNING IT!'''&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'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 '''sane, self-contained''' 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's hosted on [https://garage.maemo.org/plugins/scmsvn/viewcvs.php/maemo2midgard/mediawiki/skins/MonoBookMaemo2009.php?view=markup garage.maemo.org], but I wouldn'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'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'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? '''BONUS:''' 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 '''really''' 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'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'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>ashley</name></author>	</entry>

	</feed>