Difference between revisions of "MediaWiki"

From YobiWiki
Jump to navigation Jump to search
m
m
Line 19: Line 19:
 
* I created a symlink from /var/lib/mediawiki1.5/local to /etc/mediawiki1.5/localdata
 
* I created a symlink from /var/lib/mediawiki1.5/local to /etc/mediawiki1.5/localdata
 
* In LocalSettings.php: $wgLogo = "$wgScriptPath/local/mylogo.png";
 
* In LocalSettings.php: $wgLogo = "$wgScriptPath/local/mylogo.png";
  +
  +
==Import/Export==
  +
===HTML-WikiConverter===
  +
* [http://search.cpan.org/dist/HTML-WikiConverter/ David Iberri / HTML-WikiConverter - search.cpan.org]
  +
** [http://search.cpan.org/~diberri/HTML-WikiConverter/lib/HTML/WikiConverter.pm Documentation]
  +
** [http://diberri.dyndns.org/wikipedia/html2wiki/ Online version]
  +
apt-get install libhtml-wikiconverter-perl

Revision as of 21:19, 23 February 2008

Install

Version 1.5 was not yet on amd64 feeds but v1.4.x reclaimed php4 so I took mediawiki v1.5 from the i386 feeds as anyway mediawiki is all arch.

  • Raise the PHP memory limit: create /var/lib/mediawiki1.5/.htaccess with%%%php_value memory_limit 32M

Preventing access to pages

Better solution seems to use this patch:

Or as refered on http://meta.wikimedia.org/wiki/Hidden_pages this one:

Disable anonymous reading

Easy to get:

Customisation

Logo

  • I created a symlink from /var/lib/mediawiki1.5/local to /etc/mediawiki1.5/localdata
  • In LocalSettings.php: $wgLogo = "$wgScriptPath/local/mylogo.png";

Import/Export

HTML-WikiConverter

apt-get install libhtml-wikiconverter-perl