Configuration NXP Wiki
Jump to navigation
Jump to search
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
- Custom style for GeSHi
- Updated MediaWiki:Common.js
- Support for Template:Hidden
- Support for Template:Hide, Template:Hide all,Template:Show all, Template:Hide show all, Template:Toggle.
- Added a few templates:
- File LocalSettings.inc.php:
- Enable file upload.
- Set logo (from NXP - resized to 135x160 max)
- File includes/DefaultSettings.php:
- Change supported upload file types (added 'pdf' and 'zip').
- Restrict anonymous editing (edit requires user to login)
- 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
- Setup favicon.ico. Edit file ./includes/DefaultSettings.php:
$wgEnableUploads = true;
...
$wgLogo = "$wgStylePath/common/images/nxplogowiki.png";
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' );
...
$wgGroupPermissions['*' ]['edit'] = false;
$wgFavicon = '/nxpwiki/logoNXP.ico';
Extensions
Here the list of extensions installed on the Wiki:
- Extension SyntaxHighlight_GeSHi.
- Version r60735 (Jan 6, 2010) / GeSHi version 1.0.8.6.
- Old: Version r24298 (July 21, 2007) / GeSHi version 1.0.8.
Patched to restore old GeSHi 1.0.7 formatting and to support enclose="valid".Using a custome style in MediaWiki:Common.css.
- Version r60735 (Jan 6, 2010) / GeSHi version 1.0.8.6.
- (2009-09-05) Extension RawFile
- (2011-06-28) Extension Cite
- Version r48711 for MediaWiki 15.x
Installation
- Version mediawiki 1.17.0.
- Untar archive in /var/www/nxpwiki
- Warning:
- no PHP accelerators (eaccelerator...)
- no Unicode normalisation accelerators (pecl...)
- Settings:
- Database host: localhost
- Database name: nxpwiki
- Database table prefix:nxp
- Database username: mikiadmin
- Database password: *********
- Storage engine: InnoDB
- Database character set: Binary
- Name of wiki: nxpwiki
- Project namespace: same as wiki name (Nxpwiki)
- Administrator account name: nxpwiki
- Administrator account password: *******
- Administrator account email: nxpwiki@localhost
- User rights profile: Accound creation required
- Copyrights and license: No license footer
- Enable file uploads
- No caching
- It's done!