= How can I get my own wiki? = May First/People Link runs a shared mediawiki installation, using the same wiki software used by [http://wikipedia.com]. If you would like your own wiki with a URL like http://yourorg.wiki.mayfirst.org/ then please [/newticket open a ticket] with the name you would like to use. == Admin directions == These directions are for MFPL admins. To setup a new wiki: * In this example, I will refer to GROUP. This variable should be changed based on the request coming in. GROUP should be replaced wth a short name refering to the member requesting the wiki (e.g. mfpl or brecht). * Create a DNS A record for the member under the MFPL hosting order with the domain GROUP.wiki.mayfirst.org that points to the IP address: 209.51.163.6 * Login to peltier.mayfirst.org as root and run the following commands: {{{ cd /etc/mediawiki/members-configs # create and edit NAME.wiki.mayfirst.org to meet needs of new wiki cp example.wiki.mayfirst.org GROUP.wiki.mayfirst.org # create new tables for the installation. # for the tables, e.g. mfpl_ or ussf2010_ ./create-new-tables GROUP_ # create an image directory (should match settings in GROUP.wiki.mayfirst.org) mkdir /var/www/wiki.mayfirst.org/mediawiki/images/GROUP chown mediawiki:nogroup /srv/www/wiki.mayfirst.org/mediawiki/images/PREFIX # edit the file that includes the proper settings file based on the domain - adding a new stanza at the end emacs select-settings-file.php }}} * At this point, you should be able to go to http://GROUP.wiki.mayfirst.org and see a working wiki site. * Grant the requester sysop privileges. The requester will need special privileges in the wiki. * Ask the requester to create an account by using the OpenID login. * Once they have created the account, Login to peltier as root and: {{{ su mediawiki mysql # replace with whatever table prefix you used above SELECT user_id,user_nam FROM _user; # replace ID with whatever ID the user you want to give sysop privs has INSERT INTO _user_groups SET ug_user = ID, ug_group = 'sysop'; }}}