<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.redbrick.dcu.ie/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki</id>
	<title>Redbrick Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.redbrick.dcu.ie/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki"/>
	<link rel="alternate" type="text/html" href="https://wiki.redbrick.dcu.ie/Special:Contributions/Wiki"/>
	<updated>2026-05-22T08:13:35Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://wiki.redbrick.dcu.ie/index.php?title=Redbrick_Wiki:Maintenance&amp;diff=113</id>
		<title>Redbrick Wiki:Maintenance</title>
		<link rel="alternate" type="text/html" href="https://wiki.redbrick.dcu.ie/index.php?title=Redbrick_Wiki:Maintenance&amp;diff=113"/>
		<updated>2005-09-09T13:03:40Z</updated>

		<summary type="html">&lt;p&gt;Wiki: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I&#039;m going to use this topic as a place to hold information about maintaining this wiki. Like [[Help:Contents]] it may split up into other smaller articles.&lt;br /&gt;
&lt;br /&gt;
==Future Work==&lt;br /&gt;
===Posting by Email===&lt;br /&gt;
&lt;br /&gt;
Just an idea I saw on the Mediawiki-l list. The idea is you forward the email to wiki@redbrick.dcu.ie and then using something like procmail, parse the email and create a new topic for it.&lt;br /&gt;
&lt;br /&gt;
[http://www.pronique.com/content/view/13/29/ This is a php script for adding topics from a specially formatted text file]. It would be trivial to write a script that grabs the email, puts it in a file and the peridocially run this script to add it. What do people think? (Direct respones to [[Redbrick Wiki Talk:Maintenance]]).&lt;br /&gt;
&lt;br /&gt;
==Sandbox==&lt;br /&gt;
&lt;br /&gt;
Created a duplicate of this sites setup @ http://wiki.redbrick.dcu.ie/sb/Main_Page for playing around with extensions, modifications and everything else.&lt;br /&gt;
&lt;br /&gt;
==Creating Backups==&lt;br /&gt;
&lt;br /&gt;
If you login into [http://www.redbrick.dcu.ie Redbrick] as the User [[User:Wiki|Wiki]] you can execute a simple script I wrote called &#039;wiki_backup&#039;. This dumps the SQL and tar.gz public_html and the wiki home directory and places it in /var/tmp for downloading using SFTP. The only reason the wiki home directory is tar.gz is that TWiki used to store some stuff there.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve blanked the password out in the script example below.&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 &lt;br /&gt;
 BKUPDIR=/var/tmp/wiki&lt;br /&gt;
 BKUPNAME=`date +%Y-%m-%d`RedbrickWiki&lt;br /&gt;
 BKUP=${BKUPDIR}/${BKUPNAME}&lt;br /&gt;
 BKUPAC=${BKUPDIR}/${BKUPNAME}AC&lt;br /&gt;
 BKUPWEB=${BKUPDIR}/${BKUPNAME}WEB&lt;br /&gt;
 BKUPDB=${BKUPDIR}/${BKUPNAME}DB&lt;br /&gt;
 &lt;br /&gt;
 BKUPIGNORE=/home/redbrick/wiki/tmp/bkup.ignore&lt;br /&gt;
 BKUPIGNOREAC=${BKUPIGNORE}.ac&lt;br /&gt;
 BKUPIGNOREWEB=${BKUPIGNORE}.web&lt;br /&gt;
 &lt;br /&gt;
 ##################################################&lt;br /&gt;
 &lt;br /&gt;
 # Create ignore lists&lt;br /&gt;
 &lt;br /&gt;
 rm -rf $BKUPIGNOREAC&lt;br /&gt;
 # Do not recurse into public_html&lt;br /&gt;
 echo &amp;quot;./public_html&amp;quot; &amp;gt;&amp;gt; $BKUPIGNOREAC&lt;br /&gt;
 # Anything in tmp is unimportant&lt;br /&gt;
 echo &amp;quot;./tmp&amp;quot; &amp;gt;&amp;gt; $BKUPIGNOREAC&lt;br /&gt;
 # Do not need to backup email&lt;br /&gt;
 echo &amp;quot;./Maildir&amp;quot; &amp;gt;&amp;gt; $BKUPIGNOREAC&lt;br /&gt;
 &lt;br /&gt;
 rm -rf $BKUPIGNOREWEB&lt;br /&gt;
 # Anything in test is unimportant&lt;br /&gt;
 echo &amp;quot;./test&amp;quot; &amp;gt;&amp;gt; $BKUPIGNOREWEB&lt;br /&gt;
 &lt;br /&gt;
 ##################################################&lt;br /&gt;
 &lt;br /&gt;
 # clean out backup directory first!&lt;br /&gt;
 rm -rf $BKUPDIR&lt;br /&gt;
 # make directory in /var/tmp to store tar&lt;br /&gt;
 mkdir $BKUPDIR&lt;br /&gt;
 chmod 700 $BKUPDIR&lt;br /&gt;
 &lt;br /&gt;
 ##################################################&lt;br /&gt;
 &lt;br /&gt;
 # Make SQL backup&lt;br /&gt;
 #echo Backing up SQL Database&lt;br /&gt;
 mysqldump --add-drop-table -h mysql.internal --password=******** -u wiki --databases wiki &amp;gt; ${BKUPDB}.sql&lt;br /&gt;
 &lt;br /&gt;
 ##################################################&lt;br /&gt;
 # Making tars&lt;br /&gt;
 &lt;br /&gt;
 echo Backing Up Local Account&lt;br /&gt;
 cd /home/redbrick/wiki&lt;br /&gt;
 tar cfX &amp;quot;${BKUPAC}.tar&amp;quot; $BKUPIGNOREAC .&lt;br /&gt;
 &lt;br /&gt;
 echo Backing Up Web Space&lt;br /&gt;
 cd /webtree/w/wiki&lt;br /&gt;
 tar cfX &amp;quot;${BKUPWEB}.tar&amp;quot; $BKUPIGNOREWEB .&lt;br /&gt;
 &lt;br /&gt;
 echo All Backups Complete!&lt;br /&gt;
 &lt;br /&gt;
 ##################################################&lt;br /&gt;
 &lt;br /&gt;
 echo Zipping...&lt;br /&gt;
 gzip &amp;quot;${BKUPAC}.tar&amp;quot;&lt;br /&gt;
 gzip &amp;quot;${BKUPWEB}.tar&amp;quot;&lt;br /&gt;
 gzip &amp;quot;${BKUPDB}.sql&amp;quot;&lt;br /&gt;
 echo Zip Complete.&lt;br /&gt;
 &lt;br /&gt;
 ##################################################&lt;br /&gt;
&lt;br /&gt;
==Upgrading MediaWiki==&lt;br /&gt;
&lt;br /&gt;
One of the reasons for using MediaWiki is that it&#039;ll be easier for upgrading. MediaWiki is trival for upgrading as all the data is stored in an SQL database and the settings are stored in a file called &#039;LocalSettings.php&#039;. So it should be a matter of overwriting the MediaWiki files, adding &#039;#!/usr/local/bin/php&#039; to &#039;index.php&#039; and calling an SQL update script. I haven&#039;t performed an upgrade yet n the Redbrick Wiki so when I do I&#039;ll update these instructions.&lt;br /&gt;
&lt;br /&gt;
==Customisations such as Extenstions and Scripts==&lt;br /&gt;
&lt;br /&gt;
Some general notes on the customisations, extensions and scripts in use on this wiki. More technical than help though, if you want help using them: go to [[Help:Contents]].&lt;br /&gt;
&lt;br /&gt;
===PubCookie authentication===&lt;br /&gt;
&lt;br /&gt;
This MediaWiki uses PubCookie as it&#039;s autenticator. It uses http://wiki.case.edu/CaseWiki:PubCookie_Login extension to do it but modified for MediaWiki 1.4.X.&lt;br /&gt;
&lt;br /&gt;
(I&#039;ll put up modifications later)&lt;br /&gt;
&lt;br /&gt;
===MyRSS===&lt;br /&gt;
&lt;br /&gt;
MyRSS is a extension designed by myself for customising the RSS and ATOM output of a wiki. At some point I&#039;ll make the customisations avaliable publically, when I get around to it.&lt;br /&gt;
&lt;br /&gt;
===RSSFeed===&lt;br /&gt;
&lt;br /&gt;
[http://meta.wikimedia.org/wiki/User:Mafs/RSS RSSFeed] is a MediaWiki extension that allows you to incorporate RSS feeds into a wiki page. It&#039;s used on the [[Main Page]] with a feed from [http://planet.redbrick.dcu.ie Redbrick Planet].&lt;br /&gt;
&lt;br /&gt;
===GoogleSiteMaps===&lt;br /&gt;
&lt;br /&gt;
This wiki generates a [http://www.google.com/webmasters/sitemaps/docs/en/about.html Google Site Map] using script http://wiki.case.edu/misc/googleSiteMap.phps but modified for MediaWiki 1.4.X. &lt;br /&gt;
&lt;br /&gt;
You can see its output [http://wiki.redbrick.dcu.ie/wiki/custom/GoogleSiteMap.php?page=0 here].&lt;br /&gt;
&lt;br /&gt;
(I&#039;ll put up modifications later)&lt;br /&gt;
&lt;br /&gt;
==Moving from TWiki to MediaWiki==&lt;/div&gt;</summary>
		<author><name>Wiki</name></author>
	</entry>
</feed>