SeaPIG Wiki Administration

There's not much to administering a wiki, but what there is goes here.

See AdminGroup for the list of wiki administrators.

TODO

Comments

Go to WikiAdmin/UserComments and add your comments--they'll show up here.

Your comment. --YourName


Someone else's comment. --TheirName

Changelog


2008/03/05 Removed most spam pages --BradeyHonsinger

Removed most spam pages following steps below. List of deleted pages is here:

Send mail to the list if you see something I missed or shouldn't have deleted.

  1. Remove empty directories (created when antispam prevented saving page or user cancelled) [3382 pages]:
    • # find /home/seapig/seapig.org/wiki/data/pages -maxdepth 1 -type d -empty -print0 | \
          xargs --null rm -rf 
  2. Remove pages with Asian characters in the title [164 pages]:
    • # ls | grep '(e[0-9]' | xargs rm -rf
  3. Remove pages with no upper-case characters in the title (can't be wiki words) [77 pages]:
    • # ls | grep -v [A-Z] | xargs rm -rf
  4. Remove pages with '+' in the title [51 pages]:
    • # ls | grep '(2b)' | xargs rm -rf
  5. Go through remaining pages by hand, and delete spam (and other unused) pages [16 pages]


2008/03/04 Upgraded to Moin 1.6.1 --BradeyHonsinger

Really wanted "textcha" capabilities to stop spam. Ubuntu doesn't have packages for 1.6.1 yet, so uninstalled 1.5.7 from aptitude and installed 1.6.1 from source.

/!\ Note that markup has changed in 1.6–see HelpOnLinking (especially the “If you used Moin before...” section at the bottom), HelpOnMacros

  1. Remove/reinstall:
    • # aptitude remove python-moinmoin moinmoin-common
      # cd /usr/local/src
      # wget http://static.moinmo.in/files/moin-1.6.1.tar.gz
      # tar xvzf moin-1.6.1.tar.gz 
      # cd moin-1.6.1/
      # python setup.py install --record=install.log
  2. Fix pre-migration problems:
    • Update /home/seapig/seapig.org/wiki/Wikiconfig.py to from MoinMoin.config.multiconfig import DefaultConfig, as instructed by migration script (must be done before migration script will run)

    • Create /home/seapig/seapig.org/wiki/data/meta after a Google search on "KeyError: 'data_format_revision'" (apparently didn't get created before as part of migration process, and must be done before migration script will run).

      • # sudo -u www-data cat > /home/seapig/seapig.org/wiki/data/meta
        data_format_revision: 01050700
        ^D
    • Update from MoinMoin.util.antispam import SecurityPolicy to from MoinMoin.security.antispam import SecurityPolicy (apparently that changed at some point too, and must be fixed before migration script will run)

  3. Migrate:
    • Run migration script once to start migration
      # sudo -u www-data moin --config-dir=/home/seapig/seapig.org/wiki --wiki-url=seapig.org migration data
    • Copy /home/seapig/seapig.org/wiki/data/rename1.txt to rename2.txt as instructed by migration script

    • Re-run migration script
    • Copy over new moin.cgi, update path to wikiconfig.py in it

  4. Enable textchas in wikiconfig.py:

    •     # members of this don't get textchas
          #textchas_disabled_group = u"AdminGroup" 
          textchas = {
              'en': {
                  u"What city is Seapig in?": ur"seattle",
                  u"What state is Seapig in?": ur"(washington|wash|wa)",
                  u"What is your favorite color?": ur"(red|green|blue|yellow|purple|orange|white|black|arrgh)",
                  u"Who is the BFDL?": ur"(guido|guido van rossum|gvr)"
                  # ...
              },
              # you can add more languages if you like
          }


2008/03/04 Fixed up config on new server --BradeyHonsinger


2007/12/23 Moved list to new server --BradeyHonsinger

Installed and configured according to https://help.ubuntu.com/community/Mailman.

Confirmed that list was functional--logged in via Mailman web page to view settings, than posted test message to list.


2007/12/22 Moved server to Ubuntu 7.10 --MikeOrr and BrianDorsey

Migrated to Moin 1.5.7.


2007/03/08 Updated Moin after vulnerability warning, switched to prefork MPM --BradeyHonsinger

Upgraded to python-moinmoin 1.5.2-1ubuntu2. See http://www.ubuntu.com/usn/usn-423-1.

Moved from worker MPM to prefork MPM, in an attempt to avoid invoking OOM killer on linode box.


2007/01/30 Moved to new server

Moved wiki to MikeOrr's server (aka sluggo.scrapping.cc). Upgraded to Moin 1.5.2 in the process (no need to run migration scripts--data format stayed the same). Need to re-setup backup job at some point. Should probably re-evaluate wikiconfig.py to see if there are new features we want to take advantage of, too.


2006/03/21 Setup wiki backup

Finally created a backup procedure for the wiki--a tarball is created weekly and placed in an FTP-accessible directory on the webserver. Email is sent to admins to notify them that it's there. Didn't want to email it out like the list backup, since it's ~7 MB.


2005/02/08 Setup anti-spam, AdminGroup

Enabled Moin spam filter (see AntiSpamGlobalSolution), setup ACLs and AdminGroup to enable access to LocalBadContent.


2005/02/06 DNS cutover

DNS now points to new wiki, spam starts


2005/02/02 Moved to Construx server, upgraded to Moin 1.3.3

Migration steps:

Gory details:

Removing system pages:

Migrating to new format

Cleanup

WikiAdmin (last edited 2008-03-06 06:22:06 by BradeyHonsinger)