The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

createUsernameIndex.pl - Cleans and indexes UseMod username database

SYNOPSIS

  createUsernameIndex.pl /path/to/wikidb

DESCRIPTION

UseModWiki has two problems with its user database (wikidb/user). First, it uses it as both a user database and also a session management database. As a result, the database becomes unnecessarily enormous with spurious "users" that do nothing but lock a user ID. Second, it does not keep a mapping of usernames to user IDs. As a result, users have to remember their user IDs in order to log in.

This script cleans up the user database and creates an index. You must run this script in order to convert UseModWiki or PurpleWiki (< 0.93) installations.

AUTHORS

Eugene Eric Kim, <eekim@blueoxen.org>