MediaWiki Configuration
Contents
Page Review (done)
All Main_ prefixed pages and links have been reviewed and corrected.
Managing Rights (done)
- sysop via db
http://meta.wikimedia.org/wiki/Setting_user_rights_in_MediaWiki#Granting_rights_to_users
It seems neccessary to require users to login to edit.
This avoids defacement and makes authors feel more responsible for
the content.
Special Pages to take care of:
Help Content (done)
Help:Contents with links to
http://meta.wikimedia.org/wiki/MediaWiki_FAQ
http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide
Help:Editing with links to
http://meta.wikimedia.org/wiki/Help:Editing
http://meta.wikimedia.org/wiki/Help:Contents#For_editors
Copyrights (done)
See http://meta.wikimedia.org/wiki/MediaWiki_FAQ#In_version_1.5
MediaWiki:Sidebar
InterWiki Links
User:Haui configured issue InterWiki links for TWiki. A test page is at [Sandbox_BernhardHaumacherSandbox]. That would be handy here too.
Custom Namespaces
http://meta.wikimedia.org/wiki/Help:Namespace#Custom_namespaces http://meta.wikimedia.org/wiki/Help:Custom_namespaces
Cleanup Test Installations
mediawiki2, mediawiki, backups of httpd.conf, ... can be purged.
We might want to keep one playground though.
CodeSyntaxHighlight MediaWiki Extension
Code Syntax highlighting using GeShi
http://qbnz.com/highlighter/
Has been added as per
http://mercury.it.swin.edu.au/swinbrain/index.php/CodeSyntaxHighlight_MediaWiki_Extension
Haven't updated help page yet.
The default color codes for Geishi could be improved.
I have changed the colors for oobas, but am not sure what colors to assign for C. I haven't managed to mimick the BASIC IDE as I don't understand why keywords like "for" are blue but "msgbox" is green.
For those that have access to the server the files are in:
ooodata/www/mwiki/extensions/CodeSyntaxHighlight/geshi
and look like (initial comments removed):
[php]
$language_data = array (
'LANG_NAME' => 'C',
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
'COMMENT_MULTI' => array('/*' => '*/'),
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
'QUOTEMARKS' => array("'", '"'),
'ESCAPE_CHAR' => '\\',
'KEYWORDS' => array(
1 => array(
'if', 'return', 'while', 'case', 'continue', 'default',
'do', 'else', 'for', 'switch', 'goto'
),
2 => array(
'null', 'false', 'break', 'true', 'function', 'enum', 'extern', 'inline'
),
3 => array(
'printf', 'cout'
),
4 => array(
'auto', 'char', 'const', 'double', 'float', 'int', 'long',
'register', 'short', 'signed', 'sizeof', 'static', 'string', 'struct',
'typedef', 'union', 'unsigned', 'void', 'volatile', 'wchar_t'
),
),
'SYMBOLS' => array(
'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
),
'CASE_SENSITIVE' => array(
GESHI_COMMENTS => true,
1 => false,
2 => false,
3 => false,
4 => false,
),
'STYLES' => array(
'KEYWORDS' => array(
1 => 'color: #b1b100;',
2 => 'color: #000000; font-weight: bold;',
3 => 'color: #000066;',
4 => 'color: #993333;'
),
'COMMENTS' => array(
1 => 'color: #808080; font-style: italic;',
2 => 'color: #339933;',
'MULTI' => 'color: #808080; font-style: italic;'
),
'ESCAPE_CHAR' => array(
0 => 'color: #000099; font-weight: bold;'
),
'BRACKETS' => array(
0 => 'color: #66cc66;'
),
'STRINGS' => array(
0 => 'color: #ff0000;'
),
'NUMBERS' => array(
0 => 'color: #cc66cc;'
),
'METHODS' => array(
1 => 'color: #202020;',
2 => 'color: #202020;'
),
'SYMBOLS' => array(
0 => 'color: #66cc66;'
),
'REGEXPS' => array(
),
'SCRIPT' => array(
)
),
'URLS' => array(
1 => ,
2 => ,
3 => 'http://www.opengroup.org/onlinepubs/009695399/functions/{FNAME}.html',
4 =>
),
'OOLANG' => true,
'OBJECT_SPLITTERS' => array(
1 => '.',
2 => '::'
),
'REGEXPS' => array(
),
'STRICT_MODE_APPLIES' => GESHI_NEVER,
'SCRIPT_DELIMITERS' => array(
),
'HIGHLIGHT_STRICT_BLOCK' => array(
)
);
I found this link useful for working out color codes: http://www.htmlgoodies.com/tutorials/colors/article.php/3478961