From 648e9947d07a81fd1f6fb612c40b4a1f8945a525 Mon Sep 17 00:00:00 2001 From: preecej Date: Fri, 8 Jul 2011 00:45:46 +0000 Subject: [PATCH] Stashing local copies of LocalSettings.php for safekeeping svn path=/; revision=117 --- .../LocalSettings/dev.LocalSettings.php | 166 ++++++++++++++++++ .../proto.LocalSettings.php} | 11 +- 2 files changed, 173 insertions(+), 4 deletions(-) create mode 100644 preecej/semantic_wiki/LocalSettings/dev.LocalSettings.php rename preecej/semantic_wiki/{LocalSettings.php => LocalSettings/proto.LocalSettings.php} (95%) diff --git a/preecej/semantic_wiki/LocalSettings/dev.LocalSettings.php b/preecej/semantic_wiki/LocalSettings/dev.LocalSettings.php new file mode 100644 index 0000000..5f89aa8 --- /dev/null +++ b/preecej/semantic_wiki/LocalSettings/dev.LocalSettings.php @@ -0,0 +1,166 @@ +'; +$sfgAutocompleteOnAllChars = false; + +# END: Justin Preece - Semantic Bundle (SMW and other extensions) + +/** Allow client-side caching of pages */ +$wgCachePages = false; + +/** + * * Set this to current time to invalidate all prior cached pages. Affects both + * * client- and server-side caching. + * * You can get the current date on your server by using the command: + * * date +%Y%m%d%H%M%S + * */ +$wgCacheEpoch = 'date +%Y%m%d%H%M%S'; + + +# When you make changes to this configuration file, this will make +# sure that cached pages are cleared. +$wgCacheEpoch = max( $wgCacheEpoch, gmdate( 'YmdHis', @filemtime( __FILE__ ) ) ); diff --git a/preecej/semantic_wiki/LocalSettings.php b/preecej/semantic_wiki/LocalSettings/proto.LocalSettings.php similarity index 95% rename from preecej/semantic_wiki/LocalSettings.php rename to preecej/semantic_wiki/LocalSettings/proto.LocalSettings.php index 3c02af7..c3c81a1 100644 --- a/preecej/semantic_wiki/LocalSettings.php +++ b/preecej/semantic_wiki/LocalSettings/proto.LocalSettings.php @@ -32,7 +32,7 @@ if ( $wgCommandLineMode ) { ## Uncomment this to disable output compression # $wgDisableOutputCompression = true; -$wgSitename = "PlantSemantics"; +$wgSitename = "Planteome Annotation Wiki - Prototype"; ## The URL base path to the directory containing the wiki; ## defaults for all runtime URL paths are based off of this. @@ -65,8 +65,8 @@ $wgEmailAuthentication = true; ## Database settings $wgDBtype = "mysql"; $wgDBserver = "localhost"; -$wgDBname = "PlantSemantics"; -$wgDBuser = "ps_wiki_db"; +$wgDBname = "proto_planteome_annotate"; +$wgDBuser = "p_a_wiki_db"; $wgDBpassword = "1yCoP3r5icuM"; $wgJobRunRate = 1; @@ -117,7 +117,7 @@ $wgSecretKey = "2030c0cc408640a1809ec82a9fb16e660d9988a63aeb77871a94c94a5f2d2c56 ## Default skin: you can change the default skin. Use the internal symbolic ## names, ie 'vector', 'monobook': -$wgDefaultSkin = 'monobook'; +$wgDefaultSkin = 'planteome'; ## For attaching licensing metadata to pages, and displaying an ## appropriate copyright notice / icon. GNU Free Documentation @@ -133,6 +133,7 @@ $wgDiff3 = "/usr/bin/diff3"; # BEGIN 04/04/11: Justin Preece - Add'l Extensions +$wgHiddenPrefs[] = 'skin'; $wgUseAjax = true; include("$IP/extensions/SimpleForms/SimpleForms.php"); require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" ); @@ -143,6 +144,8 @@ $wgPFEnableStringFunctions = true; # BEGIN 02/22/11: Justin Preece - Semantic Bundle (SMW and other extensions) # (moved from top of file to address premature reference to $wgScriptPath) +#include_once("$IP/extensions/DataTransfer_PS/DataTransfer.php"); + require_once( "$IP/extensions/semantic-bundle/SemanticBundleSettings.php" ); require_once( "$IP/extensions/semantic-bundle/SemanticBundle.php" ); -- 2.34.1