Differences between revisions 63 and 64
Revision 63 as of 2010-01-24 06:10:21
Size: 14162
Editor: FranklinPiat
Revision 64 as of 2010-01-24 13:54:24
Size: 14425
Editor: FranklinPiat
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
''This is a list of action for the next migration (lenny -> squeeze!)'' (currently tested on [[http://wiki-debian-net.klabs.be/]]). ''This is a list of action for the [[DebianWiki/MigratedToMoinmoin19|next migration]] (lenny -> squeeze!)'' (currently tested on [[http://wiki-debian-net.klabs.be/]]).
Line 14: Line 14:
 1. Get the list of [[EditedSystemPages]]. {{{#!wiki comment  1. Get the list of [[EditedSystemPages]] (they may need to be updated after the upgrade) {{{#!wiki comment
as of 2010-01-24 :
Line 30: Line 31:
 2. ?? what about links to TOC entries ... ({{{#head-}}}). {{{#!wiki comment  2. Update the links, to use {{{<<Anchor(foo)>>}} instead of {{{#head-1234567}}} anchors generated by moinmoi-1.7's {{{<TableOfContents>}}} feature. /* moin-1.9 create meaningful anchor name based on the header name. {{{#!wiki comment

migrating moinmoin 1.7 -> 1.9+

This is a list of action for the next migration (lenny -> squeeze!) (currently tested on http://wiki-debian-net.klabs.be/).

TODO / Ideas

  • ?? Allow Embedding objects (Ogg,PDF...), see EmbedObject

Actual wiki Migration steps


  1. Get the list of EditedSystemPages (they may need to be updated after the upgrade)

  2. Update the links, to use <<Anchor(foo)>>}} instead of {{{#head-1234567 anchors generated by moinmoi-1.7's <TableOfContents> feature.


aptitude install --without-recommends python-flup python-tz python-xapian python-xappy poppler-utils
aptitude remove python-4suite-xml

#Estimated time for migration: ~~10minutes.
/srv/wiki.debian.org/bin/moin --config-dir=/srv/wiki.debian.org/etc/moin/ --wiki-url=wiki.debian.org migration data

Update /srv/wiki.debian.org/bin/moin.wsgi :

import sys
sys.path.insert(0, '/srv/wiki.debian.org/etc/moin')
#from MoinMoin.server.server_wsgi import moinmoinApp
from MoinMoin.web.serving import make_application
#application = moinmoinApp
application = make_application(shared=True)

Update /srv/wiki.debian.org/etc/moin/wikiconfig.py (Ideally, we should keep ?DefaultConfig.password_checker):

diff --git a/etc/moin/wikiconfig.py b/etc/moin/wikiconfig.py
index 5dea400..f53a88b 100644
--- a/etc/moin/wikiconfig.py
+++ b/etc/moin/wikiconfig.py
@@ -50,11 +50,11 @@ class Config(DefaultConfig):
     # Spammers
     hosts_deny = local_secrets.hosts_deny
-    def password_checker(username, passwd):
+    def password_checker(request, username, passwd):
         result = local_secrets.password_checker(username, passwd)
         if result != None:
             return result
-        return DefaultConfig.password_checker(username, passwd)
+        return None
     password_checker = staticmethod(password_checker)

Update wiki underlay:

  1. Drop/rename /srv/wiki.debian.org/var/moin/underlay/pages/
  2. import moin-1.9 underlay ( cp -R /usr/share/moin/underlay/pages /srv/wiki.debian.org/var/moin/underlay/)

  3. Using a ?SuperUser account, Navigate to LanguageSetup, and install some(??) languages packs.

Post upgrade

migrating moinmoin 1.5 -> 1.7

The system hosting the wiki has been migrated to Lenny, so Moinmoin was upgraded (DebianWiki/MigratedToMoinmoin17).

The purpose of this page was to prepare and track that migration of the wiki.

Wiki Configuration

  • I18n: sister sites (prototype)? => wont-fix

  • Provide a Favicon (520178, fixed by pabs).

  • Update pages to use the new Debian "official material" banner (i.e search pages containing "official-doc.png").

  • Fix  {{ #!/bin/sh  bug (mostly fixed by PaulWise).

  • Enable SupplementationPage (see mail) and migrate existing pages.

  • Authentication against ldap.d.o, alioth sql, or openid ( see doc)?

Wiki Content

OLD wiki.debian.net migration


  • Completed.

Cleanup Project

I've been going through a bunch of the pages and reformatting them for ?KWiki. (I got half-way through ?OliverGeorge but got tired, and gave up.) Anyway, please join in and cleanup any pages that need cleaning. If you find a page that needs cleaning, but don't have time, just tag it CleanMe. If you're looking for something to do, search for CleanMe and go fix one of those. --MichaelIvey This text was formerly on ?NewsCleanup.. but i'am cleaning that too ;)



  • Kwiki had switched URL formats and supported through some hack (probably URL rewrite) old links in the form index.cgi?Foo (example : http://wiki.debian.net/index.cgi?DebianInstallerFAQ). This was a switch recent enough so that we still find links with such a form in doc and should support them IMO. Currently these bring to a non-existing index.cgi page. -- FilipusKlutiero

    • I agree, it would be nice if http://wiki.debian.net/index.cgi?foo and http://wiki.debian.net/?foo were redirected to http://wiki.debian.org/foo -- FranklinPiat

  • The new wiki supports links such as w.d.o/?Foo to bring to Foo. However there's no actual redirection. This seems to highlight a small Moin bug. If you access a page this way, and try deleting the page, you'll be asked for confirmation on the homepage for your language. I wasn't careful or thought that was just a bug and confirmed the deletion. The French PageD'Accueil was deleted (but still exists, since it was regenerated automatically). Hopefully that doesn't happen to the english homepage until it's locked. -- FilipusKlutiero


  • Remove old kwiki help pages, like ?TextFormattingRules and switch to HelpOnEditing (done), etc :

    • Many old page have been expanded and translated, still some cleanup is needed. see
    • ?HelpPage* (?HelpPage,?HelpPageGerman,?HelpPageFrench)

    • ?ReadmeFirst (+ ?ReadmeFirstFrench, ?ReadmeFirstDanish, ?ReadmeFirstSpanish, ?ReadmeFirstGerman, ?ReadmeFirstHebrew)

    • HowDoIEdit, ?EditarPagina + AyudaSobreEdiccion/*

    • ?DanishLanguage

  • The german equivalent of "FrontPage" is still the default page. Probably the same thing applies for other languages. We should get rid of such "bogus" translations! -- ErichSchubert

    • As I mentionned in ?FrontPage/Discussion, I think we should use MoinMoin's official names for translated front pages. For example, ?FrontPageFrench duplicates much of PageD'Accueil (the equivalent of FrontPage in french). -- TheAnarcat 2006-05-15 02:18:10

Sat Sep 8 11:24:53 UTC 2007

  • all links to wiki.debian.net are now converted to wiki.debian.org (within wiki.d.o !) -- FranklinPiat

Fri Sep 7 21:32:00 UTC 2007

Sun Aug 5 11:51:00 UTC 2007

Sat Oct 8 00:03:05 UTC 2005: wiki.debian.net content is converted over, wiki.debian.net is now permanently read-only, and will soon start to http-redirect people to here --Jeroen

  • Some pages were not converted perfectly, those should be manually fixed.
  • Some pages existed on both wiki.debian.org and wiki.debian.net, I (Jeroen) needed to do something with that. I documented it all, and you can double-check me, and correct where needed:

    • Some page's history got merged, the .org version becoming the last (current) version. You might want to check the last wiki.debian.net version to see if it has info that was dropped in the first wiki.debian.org version. List and raw data: http://spohr.debian.org/~jeroen/wiki/merged/

    • Some pages were seeming manually copied from wiki.debian.net, I deleted the wiki.debian.org version and put down the wiki.debian.net version with history. The .org version might have had markup fixes that are now gone again. You might want to check that. List and raw data: http://spohr.debian.org/~jeroen/wiki/replaced/

    • Some pages had seeming a much better version history in the .org version, and the .net version was a completely seperate branch, I deleted the wiki.debian.net version, but there still might be good info over there that should be merged into the .org version. List and raw data: http://spohr.debian.org/~jeroen/wiki/skipped-backmergemanually/

    • Quite a number of users had on both wiki's a user page, I dropped the .net version for all of them. List and raw data: http://spohr.debian.org/~jeroen/wiki/skipped-personal/