Configuration Miki's Kiwi Wiki on Noekeon.org: Difference between revisions
Jump to navigation
Jump to search
(→Extensions: rawfile patch) |
No edit summary |
||
Line 1: | Line 1: | ||
== |
== Reference == |
||
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. |
|||
* Version '''mediawiki 1.13.0'''. |
|||
* First go to [http://controlpanel.priorweb.be/ Priorweb control panel], ''MySQL'' section, and creates new user: |
|||
::username: '''miki''' |
|||
::pwd: '''********''' |
|||
::database: '''mikiwiki''' |
|||
* and go to [http://mail.priorweb.be/ Priorweb mailmanager] to create email address |
|||
:: email: '''miki@noekeon.org''' |
|||
* then ssh to <tt>daemenj@ftp.noekeon.org</tt>: |
|||
<source lang="bash"> |
|||
% 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 |
|||
</source> |
|||
* Browse to '''https://kiwi.noekeon.org/miki/config/'''. Enter settings as given further. |
|||
* Move configuration file: |
|||
<source lang="bash"> |
|||
% mv config/LocalSettings.php . |
|||
% chmod 600 LocalSettings.php |
|||
% rm -r config |
|||
</source> |
|||
* It's done! |
|||
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list] |
|||
== Configuration == |
|||
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ] |
|||
* [http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list] |
|||
== Wiki Configuration == |
|||
* Updated [[MediaWiki:Common.css]]. |
|||
** Support <tt>class="wikitable"</tt> (MediaWiki). |
|||
** Support for [[Template:Hidden]] |
|||
* Updated [[MediaWiki:Common.js]] |
|||
** Support for [[Template:Hidden]] |
|||
* Added a few templates: |
|||
** [[Template:Lp2]] |
|||
** [[Template:Hi2]] |
|||
** [[Template:Hidden]] (see [[Wikipedia:Wikipedia:NavFrame]]) |
|||
== Host-Side Configuration == |
|||
* Wiki configuration settings during install: |
* Wiki configuration settings during install: |
||
<div style="padding-left:2em"> |
|||
::Wiki name : '''miki''' |
|||
{| class="wikitable" |
|||
::contact e-mail : '''miki@noekeon.org''' |
|||
|- |
|||
::Language : '''en - English''' |
|||
|width="20%"|Wiki name||width="30%"|'''miki'''||width="20%"|contact e-mail||width="30%"|'''miki@noekeon.org''' |
|||
::Copyringt : '''no license''' |
|||
|- |
|||
::Admin username : '''mikiadmin''' |
|||
|Language||'''en - English'''||Copyringt||'''no license''' |
|||
::Admin pwd : '''********''' |
|||
|- |
|||
::Object caching : '''no caching''' |
|||
|Admin username||'''mikiadmin'''||Admin pwd||'''********''' |
|||
::Email features : '''enabled''' |
|||
|- |
|||
::user-to-user email : '''enabled''' |
|||
|Object caching||'''no caching'''||Email features||'''enabled''' |
|||
::email notification : '''enabled (discussion & watchlist)''' |
|||
|- |
|||
::email address auth : '''enabled''' |
|||
|user-to-user email||'''enabled'''||email notification||'''enabled (discussion & watchlist)''' |
|||
::database type : '''MySQL''' |
|||
|- |
|||
::database host : '''mysqlhost''' (as said on Priorweb's controlpanel) |
|||
|email address auth||'''enabled'''||database type||'''MySQL''' |
|||
::database name : '''mikiwiki''' |
|||
|- |
|||
::DB username : '''miki''' |
|||
|database host||'''mysqlhost''' (as said on Priorweb's controlpanel)||database name||'''mikiwiki''' |
|||
::DB password : '''********''' |
|||
|- |
|||
::su account : <unchecked> |
|||
|DB username||'''miki'''||DB password||'''********''' |
|||
::DB table prefix : <none> |
|||
|- |
|||
::Storage engine : '''InnoDB''' |
|||
|su account||<unchecked>||DB table prefix||<none> |
|||
::database character set : '''MySQL 4.1/5.0 binary''' |
|||
|- |
|||
|Storage engine||'''InnoDB'''||database character set||'''MySQL 4.1/5.0 binary''' |
|||
|} |
|||
</div> |
|||
* File '''<tt>LocalSettings.inc.php</tt>''': |
* File '''<tt>LocalSettings.inc.php</tt>''': |
||
** 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) |
||
<source lang="php"> |
{{lp2|<source lang="php"> |
||
$wgEnableUploads = true; |
$wgEnableUploads = true; |
||
... |
... |
||
$wgLogo = "$wgScriptPath/kiwi.png"; |
$wgLogo = "$wgScriptPath/kiwi.png"; |
||
</source> |
</source>}} |
||
* File '''<tt>includes/DefaultSettings.php</tt>''': |
* File '''<tt>includes/DefaultSettings.php</tt>''': |
||
** 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) |
||
<source lang="php"> |
{{lp2|<source lang="php"> |
||
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' ); |
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' ); |
||
... |
... |
||
$wgGroupPermissions['*' ]['edit'] = false; |
$wgGroupPermissions['*' ]['edit'] = false; |
||
</source> |
</source>}} |
||
* Add directory '''<tt>https://kiwi.noekeon.org/miki/upload</tt>''', to store big upload files. |
* Add directory '''<tt>https://kiwi.noekeon.org/miki/upload</tt>''', to store big upload files. |
||
** Create a fake <tt>index.html</tt> simulating listing of an empty upload directory. |
** Create a fake <tt>index.html</tt> simulating listing of an empty upload directory. |
||
Line 73: | Line 66: | ||
:: email: '''miki.mip@noekeon.org''' |
:: email: '''miki.mip@noekeon.org''' |
||
:: real name: '''Mike''' |
:: real name: '''Mike''' |
||
=== Layout and Formatting === |
|||
* Updated [[MediaWiki:Common.css]]. |
|||
** Support <tt>class="wikitable"</tt> (MediaWiki). |
|||
* Added a few templates. |
|||
== Extensions == |
== Extensions == |
||
Line 88: | Line 76: | ||
** |
** |
||
== |
== Installation == |
||
* Version '''mediawiki 1.13.0'''. |
|||
* First go to [http://controlpanel.priorweb.be/ Priorweb control panel], ''MySQL'' section, and creates new user: |
|||
Consult the [http://meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. |
|||
::username: '''miki''' |
|||
::pwd: '''********''' |
|||
* [http://www.mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list] |
|||
::database: '''mikiwiki''' |
|||
* [http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ] |
|||
* and go to [http://mail.priorweb.be/ Priorweb mailmanager] to create email address |
|||
* [http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list] |
|||
:: email: '''miki@noekeon.org''' |
|||
* then ssh to <tt>daemenj@ftp.noekeon.org</tt>: |
|||
{{lp2|<source lang="bash"> |
|||
% 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 |
|||
</source>}} |
|||
* Browse to '''https://kiwi.noekeon.org/miki/config/'''. Enter settings as given further. |
|||
* Move configuration file: |
|||
{{lp2|<source lang="bash"> |
|||
% mv config/LocalSettings.php . |
|||
% chmod 600 LocalSettings.php |
|||
% rm -r config |
|||
</source>}} |
|||
* It's done! |
Revision as of 15:14, 27 October 2009
Reference
Consult the User's Guide for information on using the wiki software.
Wiki Configuration
- Updated MediaWiki:Common.css.
- Support class="wikitable" (MediaWiki).
- Support for Template:Hidden
- Updated MediaWiki:Common.js
- Support for Template:Hidden
- Added a few templates:
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 |
- File LocalSettings.inc.php:
- Enable file upload.
- Set logo (from http://sneak.co.nz/kiwi/ - resized to 135x135 max)
$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;
- Add directory https://kiwi.noekeon.org/miki/upload, to store big upload files.
- Create a fake index.html simulating listing of an empty upload directory.
- Users:
- 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
- Version mediawiki 1.13.0.
- First go to Priorweb control panel, MySQL section, and creates new user:
- username: miki
- pwd: ********
- database: mikiwiki
- and go to Priorweb mailmanager to create email address
- 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
- Browse to https://kiwi.noekeon.org/miki/config/. Enter settings as given further.
- Move configuration file:
% mv config/LocalSettings.php .
% chmod 600 LocalSettings.php
% rm -r config
- It's done!