Compbio: Difference between revisions

From MDWiki
Jump to navigationJump to search
m (New page: = Compbio = <code>compbio</code> is one of our servers. This document provides a full description of its services. If a service is moved to another server, please just move the correspondi...)
 
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
<code>compbio</code> is one of our servers. This document provides a full description of its services. If a service is moved to another server, please just move the corresponding description to its page.
<code>compbio</code> is one of our servers. This document provides a full description of its services. If a service is moved to another server, please just move the corresponding description to its page.


= Mediawiki =
== <code>/robots.txt</code> ==
 
<code><pre>
User-agent: *
Crawl-delay: 20
 
User-agent: gsa-crawler
Disallow: /mediawiki/
 
User-agent: gsa-crawler (Enterprise; S5-DLPQB6D3C8NAS; si@its.uq.edu.au)
Disallow: /mediawiki/
</pre></code>
 
== Postfix configuration ==
 
To enable sending emails to non-<code>uq.edu.au</code> domains, in /etc/postfix/main.cf the following was set:
<code><pre>
relayhost = smtp.uq.edu.au
</pre></code>
 
== Mediawiki ==
This is the software you are looking at now. It's a standard setup except for a few modifications:
This is the software you are looking at now. It's a standard setup except for a few modifications:


in LocalSettings.php:
in LocalSettings.php:
<code><pre>
<code><pre>
$wgGroupPermissions['*']['edit'] = false;  # This means you need an account to write
$wgGroupPermissions['*']['edit'] = false;  # This means you need an account to edit the wiki
$wgEmailAuthentication = true;  
$wgEmailAuthentication = true;  
$wgMaxUploadSize    = 16000000; # We found the default was too small
$wgMaxUploadSize    = 16000000; # We found the default was too small
Line 14: Line 34:
require_once("extensions/MWCalendar.php");
require_once("extensions/MWCalendar.php");
require_once("extensions/ConfirmAccount/SpecialConfirmAccount.php");
require_once("extensions/ConfirmAccount/SpecialConfirmAccount.php");
require_once( "$IP/extensions/UserMerge/UserMerge.php" );
$wgConfirmAccountContact = "t.huber@uq.edu.au";
$wgConfirmAccountContact = "t.huber@uq.edu.au";
$wgGroupPermissions['bureaucrat']['usermerge'] = true;
</pre></code>
</pre></code>


The last lines are to use an extension to ensure all new user requests are manually confirmed by Thomas.
The last lines are to use an extension to ensure all new user requests are manually confirmed by Thomas.

Latest revision as of 02:59, 25 June 2009

Compbio

compbio is one of our servers. This document provides a full description of its services. If a service is moved to another server, please just move the corresponding description to its page.

/robots.txt

User-agent: *
Crawl-delay: 20

User-agent: gsa-crawler
Disallow: /mediawiki/

User-agent: gsa-crawler (Enterprise; S5-DLPQB6D3C8NAS; si@its.uq.edu.au)
Disallow: /mediawiki/

Postfix configuration

To enable sending emails to non-uq.edu.au domains, in /etc/postfix/main.cf the following was set:

relayhost = smtp.uq.edu.au

Mediawiki

This is the software you are looking at now. It's a standard setup except for a few modifications:

in LocalSettings.php:

$wgGroupPermissions['*']['edit'] = false;  # This means you need an account to edit the wiki
$wgEmailAuthentication = true; 
$wgMaxUploadSize    = 16000000; # We found the default was too small

# Installed plugins
require_once("extensions/MWCalendar.php");
require_once("extensions/ConfirmAccount/SpecialConfirmAccount.php");
require_once( "$IP/extensions/UserMerge/UserMerge.php" );
$wgConfirmAccountContact = "t.huber@uq.edu.au";
$wgGroupPermissions['bureaucrat']['usermerge'] = true;

The last lines are to use an extension to ensure all new user requests are manually confirmed by Thomas.