Wiki Admin Help
From Nemo
Here are a few useful notes and links on administrating the NEMO wiki.
- To edit the sidebar, edit MediaWiki:Sidebar as the Admin user. See this link.
- To rename a page, see this link.
-
Unable to get docx, pptx, and xlsx to work after too many hours of trying. Giving up.- All filetypes now allowed. See Disable $wgVerifyMimeType below. - (Didn't work, see this.)
How I allowed Powerpoint (pptx) files to be uploaded:- on mecha as root, cd /var/www/html/wiki/
- in LocalSettings.php, added the following line:
$wgFileExtensions[] = 'pptx';
- in includes/mime.types, changed this line
like soapplication/vnd.ms-powerpoint ppt
application/vnd.ms-powerpoint ppt pptx
- Backups
- wiki root is /var/www/html/wiki (labeled as $wr below)
- script: $wr/backup.sh
- stored in: $wr/backup/
- keeps only five copies
- IGNORED by svn
- runs as a cron job
- Some documents migrated from the old trac can be found at Historical Documents
Policies
Disable $wgVerifyMimeType
Disable $wgVerifyMimeType to allow more permissive uploading of files (without this setting, the MIME checker rejects too many standard file types such as docx). Jason 17:23, 21 September 2009 (UTC)
Yes, this is a security risk, but mimimize its impact by disallowing anonymous editing and anonymous account creation. DO NOT ENABLE anonymous editing OR anonymous account creation!!!!