Site Configuration
From DVRpedia
Contents |
Server Software
DVRpedia runs on MediaWiki Version 1.11.0. This page contains notes for the administrator to help manage configuration changes and upgrades.
Changes to LocalSetting.php
Image uploads:
$wgEnableUploads = true;
Short URL:
## For more information on customizing the URLs please see: ## http://www.mediawiki.org/wiki/Manual:Short_URL $wgArticlePath = "/$1";
To Fix Short URL Problem in MediaWiki version 1.11.0:
$wgUsePathInfo = false;
Replace:
## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook': $wgDefaultSkin = 'monobook';
With:
#rilgreay_01 MediaWiki Skin Info; http://demo.rilnet.org/wiki/RilGrey_01 $wgDefaultSkin = 'rilgrey_01'; $wgStylePath = "$wgScriptPath/skins"; $wgStyleDirectory = "$IP/skins"; $wgLogo = "$wgStylePath/DVRpedia.png";
Plugins
# ConfirmEdit Extension - http://www.mediawiki.org/wiki/Extension:ConfirmEdit require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" ); # For Fancy Captcha only: # require_once( "$IP/extensions/ConfirmEdit/FancyCaptcha.php" );
# New User Notification Extension - http://www.mediawiki.org/wiki/Extension:New_User_Email_Notification require_once( 'extensions/NewUserNotif.php' ); $wgNewUserNotifEmailTargets = array("[email protected]");
#Magpirss for XFeed RSS Feed Aggregator Extension - http://sourceforge.net/project/showfiles.php?group_id=55691 #Magpirss version magpierss-0.72 November 5, 2005 #XFeed RSS Feed Aggregator Extension - http://meta.wikimedia.org/wiki/XFeed_-_RSS_Feed_Aggregator #XFeed RSS Version 2007-02-02 require_once( 'extensions/XFeeds.php' );
EmbedVideo Extension
#Alternate Video embedding extension that is not currently used: VideoFlash http://www.mediawiki.org/wiki/Extension:VideoFlash #Embed Video Extension http://www.mediawiki.org/wiki/Extension:EmbedVideo require_once('extensions/EmbedVideo.php');
Upgrading
The /config directory auto-forwards to the DirectAdmin control panel. To perform a software upgrade, the admin must download the latest version of MediaWiki, upload the tar.gz file to the server, and extract the file. Copy the LocalSettings.php file to LocalSettings.old.php. Create a /config2 directory and copy the files from the /config directory into the config2 directory. Navigate to the /config2/index.php directory. Run the installer, entering appropriate settings, run the installer. Copy the the LocalSettings.php file from the /config directory to the root directory. Add back appropriate settings from the old file to the new one.