Configuration Miki's Kiwi Wiki on Noekeon.org: Difference between revisions

From miki
Jump to navigation Jump to search
mNo edit summary
Line 14: Line 14:
** Support for [[Template:Hide]], [[Template:Hide all]],[[Template:Show all]], [[Template:Hide show all]], [[Template:Toggle]] (see [http://openwetware.org/wiki/OpenWetWare:Toggle]).
** Support for [[Template:Hide]], [[Template:Hide all]],[[Template:Show all]], [[Template:Hide show all]], [[Template:Toggle]] (see [http://openwetware.org/wiki/OpenWetWare:Toggle]).
* Added a few templates:
* Added a few templates:
** [[Template:Lp2]]
** [[Template:Pl2]]
** [[Template:Hl2]]
** [[Template:Hl2]]
** [[Template:Hidden]] (see [[Wikipedia:Wikipedia:NavFrame]] and [[http://en.wikipedia.org/wiki/Template:Hidden]])
** [[Template:Hidden]] (see [[Wikipedia:Wikipedia:NavFrame]] and [[http://en.wikipedia.org/wiki/Template:Hidden]])
Line 48: Line 48:
** Enable '''file upload'''.
** Enable '''file upload'''.
** Set logo (from http://sneak.co.nz/kiwi/ - resized to 135x135 max)
** Set logo (from http://sneak.co.nz/kiwi/ - resized to 135x135 max)
{{lp2|<source lang="php">
{{pl2|<source lang="php">
$wgEnableUploads = true;
$wgEnableUploads = true;
...
...
Line 56: Line 56:
** Change supported upload file types (added 'pdf' and 'zip').
** Change supported upload file types (added 'pdf' and 'zip').
** Restrict anonymous editing (edit requires user to login)
** Restrict anonymous editing (edit requires user to login)
{{lp2|<source lang="php">
{{pl2|<source lang="php">
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' );
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' );
...
...
Line 87: Line 87:
:: email: '''miki@noekeon.org'''
:: email: '''miki@noekeon.org'''
* then ssh to <tt>daemenj@ftp.noekeon.org</tt>:
* then ssh to <tt>daemenj@ftp.noekeon.org</tt>:
{{lp2|<source lang="bash">
{{pl2|<source lang="bash">
% cd kiwi.noekeon.org/
% cd kiwi.noekeon.org/
% wget http://download.wikimedia.org/mediawiki/1.13/mediawiki-1.13.0.tar.gz
% wget http://download.wikimedia.org/mediawiki/1.13/mediawiki-1.13.0.tar.gz
Line 97: Line 97:
* Browse to '''https://kiwi.noekeon.org/miki/config/'''. Enter settings as given further.
* Browse to '''https://kiwi.noekeon.org/miki/config/'''. Enter settings as given further.
* Move configuration file:
* Move configuration file:
{{lp2|<source lang="bash">
{{pl2|<source lang="bash">
% mv config/LocalSettings.php .
% mv config/LocalSettings.php .
% chmod 600 LocalSettings.php
% chmod 600 LocalSettings.php

Revision as of 15:41, 27 October 2009

Reference

Consult the User's Guide for information on using the wiki software.

Wiki Configuration

Host-Side Configuration

  • Wiki configuration settings during install:
Wiki name miki contact e-mail miki@noekeon.org
Language en - English Copyringt no license
Admin username mikiadmin Admin pwd ********
Object caching no caching Email features enabled
user-to-user email enabled email notification enabled (discussion & watchlist)
email address auth enabled database type MySQL
database host mysqlhost (as said on Priorweb's controlpanel) database name mikiwiki
DB username miki DB password ********
su account <unchecked> DB table prefix <none>
Storage engine InnoDB database character set MySQL 4.1/5.0 binary
$wgEnableUploads = true;
...
$wgLogo = "$wgScriptPath/kiwi.png";
  • File includes/DefaultSettings.php:
    • Change supported upload file types (added 'pdf' and 'zip').
    • Restrict anonymous editing (edit requires user to login)
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' );
...
$wgGroupPermissions['*'    ]['edit']             = false;
user: mip
pwd: ********
email: miki.mip@noekeon.org
real name: Mike

Extensions

Here the list of extensions installed on the Wiki:

  • Extension SyntaxHighlight_GeSHi.
    • Version r24298 (July 21, 2007) / GeSHi version 1.0.8.
    • Patched to restore old GeSHi 1.0.7 formatting and to support enclose="valid".
  • (2009-09-05) Extension RawFile
    • Patched to add optional param to {{#filelink}}.

Installation

username: miki
pwd: ********
database: mikiwiki
email: miki@noekeon.org
  • then ssh to daemenj@ftp.noekeon.org:
% cd kiwi.noekeon.org/
% wget http://download.wikimedia.org/mediawiki/1.13/mediawiki-1.13.0.tar.gz
% tar -xvzf mediawiki-1.13.0.tar.gz
% mv mediawiki-1.13.0 miki
% cd miki
% chmod +w config
% mv config/LocalSettings.php .
% chmod 600 LocalSettings.php
% rm -r config
  • It's done!