Ok i got it working. I visit the mediawiki IRC channel on freenode and some guys point me into the right direction. Before i installed the wiki software (latest svn) on 2 local machines to see if there are differents between the current version or just platform specific issues.
1. For the more advanced Template stuff an extra extension needs to be installed.
2. The help of "tidy" is needed when the Template should generate HTML tables.
Installing of the ParserFunction Extension see
http://meta.wikimedia.org/wiki/Help:ParserFunctions#Installation
:
Create the subdirectory "ParserFunctions" under /extensions
Download the 3 PHP files Expr.php, ParserFunctions.php and ParserFunctions.i18n.php with wget into the new created ParserFunctions directory
Note:
Its the normal behavior that mediawikis PHP scripts
doesnt
use the PHP Close tag (aka ?>).
Add the following to the "LocalSettings.php" config file:
Code:
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
For installing tidy a similar step is needed but instead of using a PHP script or the ext/tidy from PHP the tidy binary is used. So install neko_tidy first.
Create the subdirectory "tidy" under /extensions
Create a "tidy.conf" file with the following content within the new created tidy directory
Code:
show-body-only: yes
force-output: yes
tidy-mark: no
wrap: 0
wrap-attributes: no
literal-attributes: yes
output-xhtml: yes
numeric-entities: yes
enclose-text: yes
enclose-block-text: yes
quiet: yes
quote-nbsp: yes
fix-backslash: no
fix-uri: no
Add the following to the LocalSettings.php
Code:
$wgUseTidy=true;
$wgTidyBin = '/usr/nekoware/bin/tidy';
$wgTidyConf = $IP.'/extensions/tidy/tidy.conf';
My missing step was the "$wgUseTidy=true;" because the docs only referrers to "$wgUserHtml " which was removed in one of the previous versions of mediawiki.
If all goes right you can see something like that
http://wiki.irixworld.net/index.php/Setup_neko_apache2
(see all the foobars at the right
Pete, it is possible for you to make the changes and see if it works? I cant see a reason that something breaks. If so i can be fix by uncommented in the LocalSettings.php.
If you set PHPs open_basedir you have to add "/usr/nekoware/bin". But before do that drop a note because i dont want to open a securityhole.
regards
Joerg