Differences between revisions 69 and 73 (spanning 4 versions)
Revision 69 as of 2010-01-25 08:46:47
Size: 22602
Editor: FranklinPiat
Comment:
Revision 73 as of 2010-02-21 09:47:18
Size: 34018
Editor: GeoffSimmons
Comment: Formatting.
Deletions are marked like this. Additions are marked like this.
Line 106: Line 106:
Update blockquote starting with {{{{ {{{ }}}} followed by {{{#!foo}}} {{{{{{{#!wiki comment
{{{
for f in $(grep -l '#![^w]' *); do w="$(echo "$f" | sed -e 's,(2f),/,g' -e 's,(2d),-,g' -e 's,(3d),\=,g' -e 's,(3a),:,g' )" ; sed -n -e '/{{{\s*$/ {N; /\n\s*#!/p }' "$f" | sed -e "1s,^, * [[$w]] : {{{{ , ; \$s/$/\n}}}}/"; done
}}}

 * [[Aptitude(3a3a)Parse-Description-Bullets=true]] : {{{{ {{{
#!/usr/bin/ruby
}}}}
 * [[AptZip/fetch-script-wget]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[AutomateBackports]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[BackupAndRecoveryWork]] : {{{{ {{{
 #!/bin/sh
}}}}
 * [[BluetoothAlsa]] : {{{{ {{{
#! /bin/sh
{{{
#!/bin/sh
}}}}
 * [[BridgeNetworkConnections]] : {{{{ {{{
 #!/bin/bash
}}}}
 * [[Buildd/BuildLogs]] : {{{{ {{{
#!/bin/bash +e
}}}}
 * [[CDToPool/MirrorNewCD]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[CDToPool/MirrorNewCDSet]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[CDToPool/PoolAddCD]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[CDToPool/PoolAddCDFiles]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[CDToPool/PoolAddCDToFstab]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[CDToPool/PoolDelCD]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[cfengine]] : {{{{ To use cfengine2 in Your scripts, replace {{{
 #!/usr/bin/cfengine
in Your v1-scripts by {{{
 #!/usr/sbin/cfagent -Kf
}}}}
 * [[CipUX/Feature/RefineHomedir]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[cowbuilder]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[DDE/Tutorial]] : {{{{ {{{
#!/usr/bin/perl
}}}}
 * [[de/EeePC/HowTo/InstallOnSDcardOrUsbStick]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[de/EeePC/HowTo/Troubleshooting]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[de/Hibernation]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[DebbugsSoapInterface]] : {{{{ {{{
#!/usr/bin/perl
{{{
#!/usr/bin/env perl
{{{
#!/usr/bin/env perl
{{{
#!python
{{{
#!/usr/bin/ruby
}}}}
 * [[DebianCustomCD/MoveInstallerUdebs]] : {{{{ {{{
     #!/bin/bash
}}}}
 * [[DebianCustomCD/MovePoolScript]] : {{{{ {{{
 #!/bin/bash
}}}}
 * [[DebianEdu/Documentation/Etch/HowTo/Administration]] : {{{{ {{{
#!/bin/bash
{{{
#!/bin/bash
}}}}
 * [[DebianEdu/Documentation/Etch/HowTo/NetworkClients]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[DebianEdu/Documentation/Lenny/HowTo/Administration]] : {{{{ {{{
#!/bin/bash
{{{
#!/bin/bash
{{{
  #!/bin/sh
{{{
  #!/bin/sh
}}}}
 * [[DebianEdu/Documentation/Lenny/HowTo/NetworkClients]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[DebianEdu/HowTo/AutoNetRespawn]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[DebianEdu/HowTo/DirtyRemaster]] : {{{{ {{{
#!/bin/bash
{{{
#!/bin/bash
}}}}
 * [[DebianEdu/HowTo/FaiInstallDebianEdu]] : {{{{ {{{
#! /bin/bash
{{{
#! /bin/bash
{{{
#! /bin/bash
{{{
#! /bin/bash
{{{
#! /bin/bash
{{{
#! /bin/bash
}}}}
 * [[DebianEdu/HowTo/LtspLoadBalance]] : {{{{ {{{
#!/usr/bin/python
{{{
#!/bin/bash
}}}}
 * [[DebianEdu/HowTo/SquidGuard]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[DebianEdu/HowTo/TestCDinstall]] : {{{{ {{{
 #!/bin/sh
{{{
 #!/bin/sh
{{{
 #!/bin/sh
}}}}
 * [[DebianEdu/OLPC/Installation]] : {{{{ {{{
#!/bin/bash -ex
}}}}
 * [[DebianLive/Howto/Custom_Install]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[DebianLive/HowTo/LAMP]] : {{{{ {{{
#!plain
{{{
#!plain
{{{
#!plain
}}}}
 * [[DebianLive/HowTo/SmallSizeImage]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[DebianOnFreeRunner/Tips]] : {{{{ {{{
#!/usr/bin/env python
{{{
#!/usr/bin/env ruby
}}}}
 * [[DebianOnFreeRunner/WLAN]] : {{{{ {{{
#!/bin/sh -e
{{{
#!/bin/sh -e
}}}}
 * [[DebianPython/central2support]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[DebianScience/ROOT]] : {{{{ {{{
#!cplusplus
 {{{
#!cplusplus
 {{{
#!cplusplus
 {{{
#!cplusplus
}}}}
 * [[DebianServiceForDD]] : {{{{ {{{
#! /bin/sh
{{{
#! /bin/sh
}}}}
 * [[Distcc]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[Duplicity]] : {{{{ {{{
#! /bin/sh
{{{
#! /bin/sh
}}}}
 * [[(e7bbb4e59fbae6b299e79b98e6bc94e7bb83)]] : {{{{ {{{
#!python
{{{
#!irc
}}}}
 * [[Eclipse]] : {{{{ {{{
#!/bin/bash test=$(ssh-add -l) if [[ $test == "The agent has no identities." ]] then ssh-add fi
}}}}
 * [[Embedded_Debian_packaging_infrastructure]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[Embedded_Debian_packaging_infrastructureSpanish]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[EmdebianGuide]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[EmdebianStable]] : {{{{ {{{
#!/bin/sh -e
{{{
#! /bin/sh
}}}}
 * [[es/SSLkeys]] : {{{{ {{{
#!/bin/sh -e
}}}}
 * [[Fonts/Japanese]] : {{{{ {{{
#! /bin/sh
{{{
#! /bin/sh
}}}}
 * [[Fonts/PackagingPolicy]] : {{{{ {{{
#!/usr/bin/make -f
}}}}
 * [[fr/EeePC/HowTo/InstallOnSDcardOrUsbStick]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[fr/EeePC/HowTo/Troubleshooting]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[Games/WolfensteinEnemyTerritory]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[GettextZeroPointOneFiveMassRebuild]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[GregoryColpart/PearPolicyDraft]] : {{{{ {{{
#!/usr/bin/make -f
}}}}
 * [[Hibernation]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[iptables]] : {{{{ {{{
 #!/bin/bash
}}}}
 * [[it/ShellScript]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[Java/MavenBuilder]] : {{{{ {{{
#!/usr/bin/make -f
}}}}
 * [[Java/Packaging]] : {{{{ {{{
#!/usr/bin/make -f
{{{
#!/usr/bin/make -f
{{{
#!/usr/bin/make -f
{{{
#!/usr/bin/make -f
}}}}
 * [[JavaFAQ]] : {{{{ {{{
 #!/bin/sh
}}}}
 * [[JohnClark/My_HP_Pavilion_dv5z]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[Keyboard/MultimediaKeys]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[Multistrap]] : {{{{ {{{
#! /bin/sh
}}}}
 * [[OpenAFS_mit_MIT-Kerberos5]] : {{{{ {{{
 #!/bin/sh
}}}}
 * [[Openbox]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[PackageConfigComplexUpgrade]] : {{{{ {{{
#!/bin/sh -e
}}}}
 * [[PackagingWithGit/Svn-buildpackageConversion]] : {{{{ {{{
#!/usr/bin/awk -f
}}}}
 * [[PbuilderTricks]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[PerlBugSquashing]] : {{{{ {{{
#!/usr/bin/perl
}}}}
 * [[PerlFAQ]] : {{{{ Program reads a config file in the same directory using open(){{{
 #! /usr/bin/perl
Program requires a local config script.{{{
 #! /usr/bin/perl
}}}}
 * [[pkg-escience/develguide]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[PocketWorkstationXQT]] : {{{{ 2. Create a new file {{{startd}}}{{{
  #!/bin/sh
}}}}
 * [[PolishL10N/PackageInstallers/skrypty]] : {{{{ {{{
#!/bin/bash
}}}}
 * [[radeonIGPsDR]] : {{{{ {{{
    #!/bin/bash
}}}}
 * [[SisTeru]] : {{{{ {{{
 #!/bin/bash
}}}}
 * [[SlimServerHowto]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[SSLkeys]] : {{{{ {{{
#!/bin/sh -e
}}}}
 * [[Sympa]] : {{{{ {{{
 #!/bin/sh
}}}}
 * [[UpgradeAdvisor]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[USBCamera]] : {{{{ {{{
 #!/bin/bash
}}}}
 * [[VirtualBox]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[VirtualNetworking]] : {{{{ {{{
#!/bin/sh
{{{
#! /bin/sh
}}}}
 * [[WikiSandBox]] : {{{{ {{{
#!python
{{{
#!java
}}}}
 * [[Wmii]] : {{{{ {{{
#!/bin/sh
}}}}
 * [[XStrikeForce/FAQ]] : {{{{ {{{
#!/bin/sh
}}}}

}}}}}}}

Drop {{{{ {{{#!plain }}}} Introduced during moinmoin 1.7 migration :-( {{{{{#!wiki comment
{{{{
grep '#!plain' * | sed -e 's,(2f),/,g' -e 's,(2d),-,g' -e 's,(3d),\=,g' -e 's,(3a),:,g' -e 's/^[^:]*/ * [[\0]]/'
}}}}

 * [[CDToPool/PoolDelCDFromFstab]]:{{{#!plain
 * [[ConfigPackages]]:{{{#!plain
 * [[ConfigPackages]]:{{{#!plain
 * [[ConfigPackages]]:{{{#!plain
 * [[de/EeePC/HowTo/SplashyWithDmcryptAndStandardGrub]]:{{{#!plain
 * [[de/EeePC/HowTo/SplashyWithDmcryptAndStandardGrub]]:{{{#!plain
 * [[DebianAcerOne]]:{{{#!plain
 * [[DebianAcerOne]]:{{{#!plain
 * [[DebianAMD64Faq]]:{{{#!plain
 * [[DebianCustomCD/CustomDownload]]:{{{#!plain
 * [[DebianCustomCD/ListPackagesInMirror]]:{{{#!plain
 * [[DebianEdu/BrowserMultimedia]]:{{{#!plain
 * [[DebianEdu/Documentation/Tips_and_tricks]]:{{{#!plain
 * [[DebianEdu/FAQ/Maintenance/OpenSSHBackDoor/script]]:{{{#!plain
 * [[DebianEdu/HowTo/FaiInstallDebianEdu]]:{{{#!plain
 * [[DebianEeePC/HowTo/InstallOnSDcardOrUsbStick]]: {{{#!plain
 * [[DebianEeePC/HowTo/SplashyWithDmcryptAndStandardGrub]]:{{{#!plain
 * [[DebianEeePC/HowTo/SplashyWithDmcryptAndStandardGrub]]:{{{#!plain
 * [[DebianEeePCDutch/Problemen]]:{{{#!plain
 * [[DebianEeePCItalian/HowTo/Troubleshooting]]:{{{#!plain
 * [[DebianEeePCPortuguese/HowTo/Troubleshooting]]:{{{#!plain
 * [[DebianEeePCSpanish/HowTo/InstallOnSDcardOrUsbStick]]: {{{#!plain
 * [[DebianEeePCSpanish/HowTo/Troubleshooting]]:{{{#!plain
 * [[DebianInstaller/Modify/CD]]:{{{#!plain
 * [[DebianInstaller/Modify/CD]]:{{{#!plain
 * [[DebianInstaller/Modify/CD]]:{{{#!plain
 * [[DebianLive/Debian_Mirror]]:{{{#!plain
 * [[DebianLive/FAQ]]:{{{#!plain
 * [[DebianLive/FAQ]]:{{{#!plain
 * [[DebianLive/FAQ]]:{{{#!plain
 * [[DebianLive/FAQ]]:{{{#!plain
 * [[DebianLive/Howto/Customising_Using_QEMU]]:{{{#!plain
 * [[DebianLive/HowTo/LAMP]]:#!plain
 * [[DebianLive/HowTo/LAMP]]:#!plain
 * [[DebianLive/HowTo/LAMP]]:#!plain
 * [[DebianLive/Howto/Network_User_Authentication]]:{{{#!plain
 * [[DebianLive/LocalRepository]]:{{{#!plain
 * [[DebianWiki/LicencingTerms/Proposals]]:{{{#!plain
 * [[DebianWiki/LicencingTerms/RelicensingStrategy]]:~-{{{#!plain
 * [[DualMonitorDualServerOneInput]]:{{{#!plain
 * [[Embedded_Debian_packaging_infrastructure]]:{{{#!plain
 * [[fr/EeePC/HowTo/SplashyWithDmcryptAndStandardGrub]]:{{{#!plain
 * [[fr/EeePC/HowTo/SplashyWithDmcryptAndStandardGrub]]:{{{#!plain
 * [[fr/EmbeddedDebianPackagingInfrastructure]]:{{{#!plain
 * [[fr/SysVInit]]:{{{#!plain
 * [[fr/Wmii]]:{{{#!plain
 * [[Games/VCS/svn]]:{{{#!plain
 * [[HowTo/CpuFrequencyScaling]]: 1. Install DebPkg:cpufrequtils:{{{#!plain
 * [[HowTo/CpuFrequencyScaling]]:{{{#!plain
 * [[HowToIdentifyADevice/RAM]]:{{{#!plain
 * [[HowToIdentifyADevice/RAM]]:{{{#!plain
 * [[HowToIdentifyADevice/RAM]]:{{{#!plain
 * [[HowToIdentifyADevice/RAM]]:{{{#!plain
 * [[InstallingDebianOn/Thinkpad/Trackpoint]]:{{{#!plain
 * [[InstallingDebianOn/Thinkpad/Trackpoint]]: * {{{dmidecode -t 21}}} reports {{{#!plain
 * [[InstallingDebianOn/Thinkpad/Trackpoint]]: * /proc/bus/input/devices contains: {{{#!plain
 * [[it/DebianAcerOne]]:{{{#!plain
 * [[it/DebianAcerOne]]:{{{#!plain
 * [[LTSP/DynamicDns]]:Here is my file {{{#!plain
 * [[MacBookJp]]:{{{#!plain
 * [[MacBookJp]]:{{{#!plain
 * [[PbuilderTricks]]: {{{#!plain
 * [[PbuilderTricks]]:{{{#!plain
 * [[pt_BR/DebianAcerOne]]:{{{#!plain
 * [[pt_BR/DebianAcerOne]]:{{{#!plain
 * [[pt_BR/ShellScript]]: . {{{#!plain
 * [[ru/DebianAcerOne]]:{{{#!plain
 * [[ru/DebianLive/FAQ]]:{{{#!plain
 * [[ru/DebianLive/FAQ]]:{{{#!plain
 * [[ru/DebianLive/FAQ]]:{{{#!plain
 * [[ru/DebianLive/FAQ]]:{{{#!plain
 * [[SourcesList]]:~-{{{#!plain
 * [[sudo]]:~-{{{#!plain
 * [[sudo]]: {{{#!plain
 * [[Sugar/scripts]]:{{{#!plain
 * [[Sugar/scripts]]:{{{#!plain
 * [[Sugar/scripts]]:{{{#!plain
 * [[Sugar/scripts]]:{{{#!plain
 * [[TipChangeXBg]]:{{{#!plain
 * [[TipChangeXBg]]:{{{#!plain
 * [[zh_CN/TipChangeXBg]]:{{{#!plain
 * [[zh_CN/TipChangeXBg]]:{{{#!plain

}}}}}
Line 174: Line 613:
Publish modernized theme (using apache) Publish (the new) theme using apache. Enable client-side caching.
 1. Enable content expiration in apache (execute {{{a2enmod expires}}})
Line 185: Line 625:
Alias /moin_static190 /usr/share/moin/htdocs/   Alias /moin_static191 /usr/share/moin/htdocs/
  ExpiresActive On
  <Directory /usr/share/moin/htdocs>
    Order allow,deny
    Allow from all
    # Moinmoin use file-versioning, so we can cache agressively.
    ExpiresDefault "access plus 1 week"
  </Directory>
  <Directory /srv/wiki.debian.org/usr/htdocs>
    Order allow,deny
    Allow from all
    ExpiresDefault "access plus 1 day"
  </Directory>
Line 194: Line 646:
Get rid of some obsolete configuration statements:
 * Remove {{{acl_enabled = 1}}}. The settings was removed (always enabled), see [[http://moinmo.in/SettingsCleanup|SettingsCleanup]]
 * Remove {{{allowed_actions = ...}}}. The settings was removed in moin 1.5, see [[http://moinmo.in/SettingsCleanup|SettingsCleanup]]

Update {{{/srv/wiki.debian.org/etc/moin/wikiconfig.py}}} ( <!> Ideally, we should keep DefaultConfig.password_checker):
Fix account & password pre-validation stuffs {{{/srv/wiki.debian.org/etc/moin/wikiconfig.py}}} ( <!> Ideally, we should keep DefaultConfig.password_checker):
Line 219: Line 667:
Get rid of some obsolete configuration statements. Edit {{{/srv/wiki.debian.org/etc/moin/wikiconfig.py}}}
 * Remove {{{acl_enabled = 1}}}. The settings was removed (always enabled), see [[http://moinmo.in/SettingsCleanup|SettingsCleanup]]
 * Remove {{{allowed_actions = ...}}}. The settings was removed in moin 1.5, see [[http://moinmo.in/SettingsCleanup|SettingsCleanup]]

Line 223: Line 676:
 1. {{{chmod ugX+w /srv/wiki.debian.org/var/moin/underlay/pages}}}  1. {{{chmod ug+wX /srv/wiki.debian.org/var/moin/underlay/pages}}}
Line 264: Line 717:
 2. {{{cp /usr/share/moin/data/intermap.txt /srv/wiki.debian.org/var/moin/data/}}}  2. {{{ln -s /usr/share/moin/data/intermap.txt /srv/wiki.debian.org/var/moin/data/}}}

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

  • User-Agent language negotiation doesn't work :-(

  • Communicate on the fact that docbook will be gone :-(

  • Do we re-enable the GUI editor ?

Actual wiki Migration steps

Pre-upgrade

  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 auto-generated by moinmoin's <TableOfContents> feature.

Update blockquote starting with { {{{ } followed by #!foo

Drop { {{{#!plain } Introduced during moinmoin 1.7 migration :-(

D-day

The pages folder is quite large... make sure it's in the cache...

  1. for x in 1 2 3 4 5 6 7 8 9 ; do ls /srv/wiki.debian.org/var/moin/data/pages > /dev/null ; done &

And Meanwhile...

Turn the wiki read-only

  1. edit /srv/wiki.debian.org/etc/moin/wikiconfig.py and append:

        page_header1 = """<table width='100%'><tr><td style="background:#ffd0d0; text-align: center;padding:15pt">wiki.debian.org is in read-only mode for a maintenance operation. We will be back in 60 minutes. </td></tr></table>"""
        acl_rights_default = 'Known:read All:read'
    

Upgrade moinmoin

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

Migrate moinmoin data (i.e update existing pages, for new syntax) :

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

Update WSGI application name:

  1. Edit /srv/wiki.debian.org/bin/moin.wsgi:

    import sys
    sys.path.insert(0, '/srv/wiki.debian.org/etc/moin')
    # moinmoin application name has changed between v1.7 and v1.9
    #from MoinMoin.server.server_wsgi import moinmoinApp
    #application = moinmoinApp
    from MoinMoin.web.serving import make_application
    application = make_application(shared=True)
    

Publish (the new) theme using apache. Enable client-side caching.

  1. Enable content expiration in apache (execute a2enmod expires)

  2. Edit /srv/wiki.debian.org/etc/moin/wikiconfig.py, replace url_prefix = '/htdocs', with:

    url_prefix_local = '/htdocs'
    
    # Moin (>=1.6) use a prefix like '/moin_static160' to ensure file versioning
    # (en therefore avoid client file caching issue). So we stop forcing the prefix.
    #url_prefix_static = '/htdocs'
  3. Edit /srv/wiki.debian.org/etc/apache2/apache2.conf, add this alias

    # This alias needs to be updated on wiki upgrade, according to "release_short" in
    # /usr/share/pyshared/MoinMoin/version.py
      Alias /moin_static191    /usr/share/moin/htdocs/
      ExpiresActive On
      <Directory /usr/share/moin/htdocs>
        Order allow,deny
        Allow from all
        # Moinmoin use file-versioning, so we can cache agressively.
        ExpiresDefault "access plus 1 week"
      </Directory>
      <Directory /srv/wiki.debian.org/usr/htdocs>
        Order allow,deny
        Allow from all
        ExpiresDefault "access plus 1 day"
      </Directory>
  4. We can get rid of the old symlinks in /srv/wiki.debian.org/usr/htdocs/:

    rm /srv/wiki.debian.org/usr/htdocs/common
    rm /srv/wiki.debian.org/usr/htdocs/classic
    rm /srv/wiki.debian.org/usr/htdocs/modern
    rm /srv/wiki.debian.org/usr/htdocs/rightsidebar

Fix account & password pre-validation stuffs /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)

Get rid of some obsolete configuration statements. Edit /srv/wiki.debian.org/etc/moin/wikiconfig.py

  • Remove acl_enabled = 1. The settings was removed (always enabled), see SettingsCleanup

  • Remove allowed_actions = .... The settings was removed in moin 1.5, see SettingsCleanup

Update wiki underlay:

  1. mv /srv/wiki.debian.org/var/moin/underlay/pages/ /srv/wiki.debian.org/var/moin/underlay/pages.pre-19

  2. cp -R /usr/share/moin/underlay/pages /srv/wiki.debian.org/var/moin/underlay/

  3. chown -R wiki:wikiadm /srv/wiki.debian.org/var/moin/underlay/pages

  4. chmod ug+wX /srv/wiki.debian.org/var/moin/underlay/pages

  5. find /srv/wiki.debian.org/var/moin/underlay/pages -type d | xargs chmod g+s

  6. A Wiki admin (with an account declared in wikiconfig.py's superuser=), And install the languages packs below (more on LanguageSetup):

Update Interwiki

  1. mv /srv/wiki.debian.org/var/moin/data/intermap.txt /srv/wiki.debian.org/var/moin/data/intermap.pre-19

  2. ln -s /usr/share/moin/data/intermap.txt  /srv/wiki.debian.org/var/moin/data/

Cleanup moinmoin's cache

  1. /srv/wiki.debian.org/bin/moin maint cleancache (Estimated time for migration: 5~10minutes)

Update (or Rebuild??) Xapian index:

  1. /srv/wiki.debian.org/bin/moin index build --mode=update

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

Status

  • 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 ;)

TODO

Done

  • 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

2008-02-18

  • 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/