package OddMuse; $UseConfig = 1 unless defined $UseConfig; # Main wiki directory $DataDir = $ENV{WikiDataDir} if $UseConfig and not $DataDir; $DataDir = '/home/fbarton/oddhack.co.uk/oddmuse'; $ConfigPage = '' unless $ConfigPage; $RunCGI = 1 unless defined $RunCGI; # 1 = Run script as CGI instead of being a library $UsePathInfo = 1; # 1 = allow page views using wiki.pl/PageName $UseCache = 2; # -1 = disabled, 0 = 10s; 1 = partial HTML cache; 2 = HTTP/1.1 caching # Basics $SiteName = 'OddHack'; # Name of site (used for titles) $HomePage = 'OddHack'; # Home page $CookieName = 'OddHack'; # Name for this wiki (for multi-wiki sites) # EyeCandy $StyleSheet = '../html/oddhack.css'; # URL for CSS stylesheet (like '/wiki.css') $StyleSheetPage = ''; # Page for CSS sheet $LogoUrl = 'http://epfarms.org/~fbarton/images/oddmuse-logo.png'; # URL for site logo ('' for no logo) $NotFoundPg = ''; # Page for not-found links ('' for blank pg) $NewText = ""; # New page text $NewComment = "Add your comment here.\n"; # New comment text # HardSecurity $EditAllowed = 1; # 0 = no, 1 = yes, 2 = comments only $AdminPass = 'plonki'; # Whitespace separated passwords. $EditPass = '' unless defined $EditPass; # Whitespace separated passwords. $BannedHosts = 'BannedHosts'; # Page for banned hosts $BannedCanRead = 1; # 1 = banned cannot edit, 0 = banned cannot read $BannedContent = 'BannedContent'; # Page for banned content (usually for link-ban) # LinkPattern $WikiLinks = 1; # 1 = LinkPattern is a link $FreeLinks = 1; # 1 = [[some text]] is a link $BracketText = 1; # 1 = [URL desc] uses a description for the URL $BracketWiki = 1; # 1 = [WikiLink desc] uses a desc for the local link $NetworkFile = 1; # 1 = file: is a valid protocol for URLs $AllNetworkFiles = 0; # 1 = file:///foo is allowed -- the default allows only file://foo $PermanentAnchors = 1; # 1 = [::some text] defines permanent anchors (page aliases) $InterMap = 'InterMap'; # name of the intermap page $NearMap = 'NearMap'; # name of the nearmap page $RssInterwikiTranslate = 'RssInterwikiTranslate'; # name of RSS interwiki translation page @MyRules = (\&LinkRules, ); # default rules that can be overridden # Diff $ENV{PATH} = '/usr/bin/'; # Path used to find 'diff' $UseDiff = 1; # 1 = use diff # Visitors and SurgeProtection $SurgeProtection = 1; # 1 = protect against leeches $Visitors = 1; # 1 = maintain list of recent visitors $VisitorTime = 7200; # Timespan to remember visitors in seconds $SurgeProtectionTime = 20; # Size of the protected window in seconds $SurgeProtectionViews = 10; # How many page views to allow in this window # RecentChanges and KeptPages $DeletedPage = 'DeletedPage'; # Pages starting with this can be deleted $RCName = 'RecentChanges'; # Name of changes page @RcDays = qw(1 3 7 30 90); # Days for links on RecentChanges $RcDefault = 30; # Default number of RecentChanges days $KeepDays = 14; # Days to keep old revisions $KeepMajor = 1; # 1 = keep at least one major rev when expiring pages $ShowEdits = 0; # 1 = major and show minor edits in recent changes $UseLookup = 1; # 1 = lookup host names instead of using only IP numbers $RecentTop = 1; # 1 = most recent entries at the top of the list $RecentLink = 1; # 1 = link to usernames $PageCluster = ''; # name of cluster page, eg. 'Cluster' to enable # RSS and other Weblog Technology $InterWikiMoniker = ''; # InterWiki prefix for this wiki for RSS $SiteDescription = 'Francis Barton\'s wiki and weblog'; # RSS Description of this wiki $RssImageUrl = 'http://www.epfarms.org/~fbarton/wikilogo.jpg'; # URL to image to associate with your RSS feed $RssPublisher = ''; # Name of RSS publisher $RssContributor = 'Francis Barton'; # List or description of the contributors $RssRights = ''; # Copyright notice for RSS $RssExclude = 'RssExclude'; # name of the page that lists pages to be excluded from the feed $RssDataDir = '$DataDir/rss'; # Location of cached RSS files $RssDirHours = '24'; # Hours for RSS files to be kept in cache # File uploads $UploadAllowed = 1; # 1 = yes, 0 = administrators only @UploadTypes = ('image/jpeg', 'image/png', 'application/octet-stream'); # MIME types allowed, all allowed if empty list # Header and Footer, Notes, GotoBar $EmbedWiki = 0; # 1 = no headers/footers $FooterNote = '
Recent Changes RSS
feed this page tries to use valid XHTML 1.0 this page tries to use valid CSS this page tries to use valid CSS this page tries to use valid CSS this site runs on Apache Using Internet Explorer? Get a decent browser my amazon.co.uk wishlist another oddmuse wiki my recent links on del.icio.us email me
'; # HTML for bottom of every page $EditNote = ''; # HTML notice above buttons on edit page $TopLinkBar = 1; # 1 = add a goto bar at the top of the page @UserGotoBarPages = ('OddHack', 'WebLog', 'WikiHelp', 'ToDo'); # List of pagenames $UserGotoBar = 'Index Admin Login'; # HTML added to end of goto bar $ValidatorLink = 0; # 1 = Link to the W3C HTML validator service $CommentsPrefix = 'Comments_On_'; # prefix for comment pages, eg. 'Comments_on_' to enable $HtmlHeaders = ' '; # Additional stuff to put in the HTML section $ScriptName = 'http://oddhack.co.uk'; # URL used in links $FullUrl = 'http://oddhack.co.uk'; # URL used in forms $HtmlTags = 1; $RawHtml = 0;