Configuration NXP Wiki: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with '== Reference == Consult the [http://meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software. * [http://www.mediawiki.org/wiki/Manual:Confi…')
 
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:


== Wiki Configuration ==
== Wiki Configuration ==
<ul>
* Updated [[MediaWiki:Common.css]].
<li> Updated [[MediaWiki:Common.css]].</li>
** Support <tt>class="wikitable"</tt> (MediaWiki).
* Support <tt>class="wikitable"</tt> (MediaWiki).
** Support for [[Template:Hidden]]
* Support for [[Template:Hidden]]
** Custom style for [[Mediawiki#SyntaxHighlight GeSHi|GeSHi]]
* Custom style for [[Mediawiki#SyntaxHighlight GeSHi|GeSHi]]
* Updated [[MediaWiki:Common.js]]
<li> Updated [[MediaWiki:Common.js]] </li>
** Support for [[Template:Hidden]]
** Support for [[Template:Hide]], [[Template:Hide all]],[[Template:Show all]], [[Template:Hide show all]], [[Template:Toggle]].
* Support for [[Template:Hidden]]
* Support for [[Template:Hide]], [[Template:Hide all]],[[Template:Show all]], [[Template:Hide show all]], [[Template:Toggle]].
* Added a few templates:
<s>
** [[Template:Pl2]]
<li> Added a few templates:</li>
** [[Template:Hl2]]
* [[Template:Pl2]]
** [[Template:Hidden]] (see [[Wikipedia:Wikipedia:NavFrame]] and [[http://en.wikipedia.org/wiki/Template:Hidden]])
* [[Template:Hl2]]
** [[Template:Hide]], [[Template:Hide all]], [[Template:Show all]], [[Template:Hide show all]], [[Template:Toggle]] (see [http://openwetware.org/wiki/OpenWetWare:Toggle])
* [[Template:Hidden]] (see [[Wikipedia:Wikipedia:NavFrame]] and [[http://en.wikipedia.org/wiki/Template:Hidden]])
* [[Template:Hide]], [[Template:Hide all]], [[Template:Show all]], [[Template:Hide show all]], [[Template:Toggle]] (see [http://openwetware.org/wiki/OpenWetWare:Toggle])
* Updated [[MediaWiki:Sidebar]]
* Updated [[MediaWiki:Sidebar]]
</s>
<li> File '''<tt>LocalSettings.inc.php</tt>''':</li>
* Enable '''file upload'''.
* Set logo (from NXP - resized to 135x160 max)
<source lang="php">
$wgEnableUploads = true;
...
$wgLogo = "$wgStylePath/common/images/nxplogowiki.png";
</source>
<li> File '''<tt>includes/DefaultSettings.php</tt>''':</li>
* Change supported upload file types (added 'pdf' and 'zip').
* Restrict anonymous editing (edit requires user to login)
<source lang="php">
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf', 'zip' );
...
$wgGroupPermissions['*' ]['edit'] = false;
</source>
<li> Add directory '''<tt>https://kiwi.noekeon.org/miki/upload</tt>''', to store big upload files.</li>
*<s> Create a fake <tt>index.html</tt> simulating listing of an empty upload directory.</s>
<li> Users:</li>
: user: '''mip'''
: pwd: '''********'''
: email: '''miki.mip@noekeon.org'''
: real name: '''Mike'''
<li> Setup '''favicon.ico'''. Edit file <tt>./includes/DefaultSettings.php</tt>:</li>
<source lang="php">
$wgFavicon = '/nxpwiki/logoNXP.ico';
</source>
</ul>


== Extensions ==
== Extensions ==

Latest revision as of 14:53, 7 July 2011

Reference

Consult the User's Guide for information on using the wiki software.

Wiki Configuration

Extensions

Here the list of extensions installed on the Wiki:

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!

Backup

See Configuration Miki's Kiwi Wiki on Noekeon.org.