Difference between revisions of "MediaWiki"
Jump to navigation
Jump to search
Line 26: | Line 26: | ||
** [http://diberri.dyndns.org/wikipedia/html2wiki/ Online version] |
** [http://diberri.dyndns.org/wikipedia/html2wiki/ Online version] |
||
apt-get install libhtml-wikiconverter-perl |
apt-get install libhtml-wikiconverter-perl |
||
− | Dialogs are not yet packaged, cf bugreports 419918 and 448912 |
+ | Dialogs are not yet packaged, cf bugreports 419918 and 448912, so for now: |
+ | perl -MCPAN -e 'install HTML::WikiConverter::MediaWiki' |
Revision as of 21:28, 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
- cf http://meta.wikimedia.org/wiki/Preventing_Access#Setting_permissions_for_a_Group_on_a_whole_new_Namespace
- and http://meta.wikimedia.org/wiki/Help:Custom_namespaces
- But there are security problems: http://meta.wikimedia.org/wiki/Talk:Preventing_Access#Security_Problem_using_Namespace_to_limit_access
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
Dialogs are not yet packaged, cf bugreports 419918 and 448912, so for now:
perl -MCPAN -e 'install HTML::WikiConverter::MediaWiki'