Tony:About
From Tony
|
[edit]
1/18/2007
- Attempted ParserFunction install (http://meta.wikimedia.org/wiki/ParserFunctions#Installation)
- Saved php files to /extensions/ParserFunctions
- Edited LocalSettings.php by adding
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
- Removed line 10 from ParserFunctions.php
$wgHooks['LanguageGetMagic'][] = 'wfParserFunctionsLanguageGetMagic';
[edit]
1/10/2007
- Added to LocalSettings.php '$wgAutoConfirmAge = 315360000;'
- Adds custom namespaces to User Rights lists
- Installed NamespacePermissions.php to extensions folder.
- Added to LocalSettings: require_once( "extensions/NamespacePermissions.php" );
- Permissions Groups created...
- ns{$title}RW - full access to the namespace {$title} (all permissions for the namespace granted)
- ns{$title}RO - read-only access to the namespace {$title} (only read permission granted)
- Permissions created (for LocalSettings $wgGroupPermissions)
- ns{$num}_read
- ns{$num}_edit
- ns{$num}_create
- ns{$num}_move
- (NOTE: The macro "define()" should be used to create extra-namespaces in LocalSettings.php.
define('NS_ADMIN', 102);
- Had to remarked the 'require_once' command as it was overriding
$wgGroupPermissions and making User Rights Admin messy
- Restrict access to Custom Namespaces
Changed includes/Title.php
OLD
if( $wgUser->isAllowed('read') ) {
return true;
} else {
global $wgWhitelistRead;
NEW
if( $this->getNamespace() == 100 ) {
return $wgUser->isAllowed('viewforbidden');
}
if( $wgUser->isAllowed('read') ) {
return true;
} else {
global $wgWhitelistRead;
- Edited $wgWhitelistRead to:
$wgWhitelistRead = array ( "Main Page", "Special:Userlogin", "Special:Preferences", "Special:Confirmemail", "Special:Userlogout", "MediaWiki:Monobook.css", "RttR:Site support", "Help:Contents", "Past Shows", "Category:Interview", "Category:Theme", "Category:Topic", "Category:Movie", "Category:Special", "Category:Predictions", "Category:Bit", "RttR:Community Portal", "-" );
- Added NoReplyAddress
$wgNoReplyAddress = "****";
- Updated $wgNamespacesToBeSearchedDefault.
- Default pages are now: NS_MAIN, NS_TALK, NS_USER, NS_USER_TALK, NS_CATEGORY, NS_IMAGE, NS_HELP
- Fixed Default Timezone, offset was in minutes instead of hours, text
should now be:
$wgLocaltimezone = 'CST';
$oldtz = getenv("TZ");
putenv("TZ=$wgLocaltimezone");
$wgLocalTZoffset = -6;
putenv("TZ=$oldtz");
- Changed $wgGoToEdit back to false
- Overhauled permissions in LocalSettings.php
[edit]
1/9/2007
- Discovered that 12/20/06 rollback also unrolled the Group Permissions
[edit]
1/2/2007
- Minor changes to LocalSettings.php
[edit]
12/29/2007
- Minor changes to LocalSettings.php
$wgUseTidy = true; $wgAllowExternalImages = true;
- Attempted to pool Images, made following changes in LocalSettings.php
$wgUseSharedUploads = true; $wgSharedUploadPath = "http://wiki.racetotheright.com/common/"; $wgSharedUploadDirectory = "http://wiki.racetotheright.com/common/"; $wgHashedSharedUploadDirectory = false;
[edit]
12/20/2006
- Upgrade to Mediawiki 1.8.2 did not work. Restored 1.6.8.
- Problem may be related to extensions not copied from 1.6 and/or failure to engage server's PHP: 5.0.5.
[edit]
12/12/2006 - 12/14/2006
- Created Custom Namespaces
- Added to $wgNamespacesWithSubpages = array
100 => true, 101 => true
- Added new array (names of namespace X out):
$wgExtraNamespaces = array(100 => "XXXX", 101 => "XXXX_Talk" );
- Edited $wgGroupPermissions for new settings
[edit]
Created on 10/20/2006
- MediaWiki: 1.6.8
- PHP: 4.4.0
- MySQL: 14.7 Distrib 4.1.11
Proper log of upgrades, customizations and modifications was not done...will be filled in as re-discovered.
