How do I configure the wiki?
These notes are based on email from Jonathan Sprinkle (Thanks Jon!)
The way the wiki works is a little bit tricky. (tricky wiki)
We use PmWiki and wiki farms.
Each workgroup that has a wiki has a few configuration
files checked in to CVS under
cvs -d :ext:source.eecs.berkeley.edu:/home/cvs_trust co workgroupNameOnce you make your changes, check them in and then click on the
Things that appear at the top of a wiki page
Changing the title
To change the title to anything you would like, use:
(:title Foo Bar:)
Table of ContentsPageTableOfContents: looks for tags like
(:toc:)See PageTableOfContents for details.
Useful style directives
CommentsTo create a comment in the wiki, use:
(:if false:) text to omit (:ifend:)
Wiki comments are a good way to tell editors about details such as that lists should be alphabetical.
By the way, if you're adding code segments to the wiki, we
installed the sourceblock package from the cookbook:
(:source:) $ ls -la (:sourcend:)To get those nifty little boxes that call out source from readable text. You can give specific languages and it will format that text correctly as well...
(:source lang=bash header=/etc/bash.bashrc:) export ICE_HOME=/opt/Ice-3.1.0 export PATH=$ICE_HOME/bin:$PATH export LD_LIBRARY_PATH=$ICE_HOME/lib:$LD_LIBRARY_PATH (:sourcend:)As from
Languages that are supported can be found here (GeSHi tool):
emenuExpandingMenu is another possibility. It is used by the Escher Wiki
Wiki Configuration things to try
SkinsPmWiki Skins can be used to change the look and feel.
If you want to try a new a skin, then the website admins probably
need to add it to the wiki-wide skins directory. For example,
As of 1/7, we have the simple and monobook skins.
The monobook skin is now the default. The monobook skin
is similar to the skin used by
To select a skin, create
<?php # Specifies the name of the template file # to be used to generate pages. $Skin = 'simple'; ?>Note: the file must start with
It is possible to place a copy of the skins directory
in your own wiki, but this gets confusing since the paths
tend to look for files in the wiki-wide directory. If
you find a skin you would like to try, send email
An example config.php
A more complex
<?php if (!defined('PmWiki')) exit(); $WikiTitle = "DARPA Grand Challenge 3 (DGC3)"; $PageLogoUrl = "http://chess.eecs.berkeley.edu/dgc3/images/gdc150.gif"; $DefaultPasswords['admin'] = crypt('notarealpassword'); $EnableUpload = 1; $DefaultPasswords['upload'] = crypt('notanotherrealpass'); include_once('cookbook/sourceblock.php'); putenv("TZ=EST5EDT"); $TimeFmt = '%B %d, %Y, at %I:%M %p EST'; ?>
JsMenuJsMath:Add markup to display and embed mathematical formulas in wiki pages using TeX was set up and could be set up again
Upload ExtensionsTo add an extension to the list of acceptable extensions to be uploaded, add
$UploadExts['wmv'] = 'video/wmv';to
Systems Administrator level pages (for people who have a login account on the webserver): How do I set up the Wiki System?
|You are not logged in|
|©2002-2017 U.C. Regents|