269
edits
(→Extensions and other scripts in use: Some links and general notes) |
(→Upgrading MediaWiki: Addings notes on upgrade MediaWiki after upgrading to 1.4.12) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 7: | Line 7: | ||
[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]]). | [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]]). | ||
==Sandbox== | |||
Created a duplicate of this sites setup [http://wiki.redbrick.dcu.ie/sb/Main_Page here] for playing around with extensions, modifications and everything else. | |||
==Creating Backups== | ==Creating Backups== | ||
| Line 80: | Line 84: | ||
################################################## | ################################################## | ||
==Upgrading MediaWiki== | ==Upgrading MediaWiki (1.4.X) == | ||
One of the reasons for using MediaWiki is that it'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 'LocalSettings.php'. | |||
First, make a backup! | |||
Then extract the contents of the mediawiki-1.4.X.tar.gz release your upgrading to. SFTP the files up to where MediaWiki is installed on Redbrick i.e. "/webtree/w/wiki/wiki/", overwriting the original files. | |||
You must perform two modifications after uploading: | |||
* Add '#!/usr/local/bin/php' to the beginning of index.php | |||
* Add these lines of code to the execute function in Userlogin.php, found in includes/templates: | |||
<nowiki>/* these lines added to enable pub cookie login! */ | |||
header("Location: http://www.redbrick.dcu.ie/~wiki/wiki/custom/login1.php"); | |||
exit;</nowiki> | |||
Once thats done then login to deathray and go to the maintaince directory and run the update script: | |||
php update.php | |||
Now, go to the [[Main Page|front page]] and attempt to modify an article to make sure everything is up and running. | |||
==Customisations such as Extenstions and Scripts== | ==Customisations such as Extenstions and Scripts== | ||
edits