package OddMuse; $UsePathInfo = 1; # 1 = allow page views using wiki.pl/PageName $UseCache = 1; # -1 = disabled, 0 = 10s; 1 = partial HTML cache; 2 = HTTP/1.1 caching # Basics $SiteName = 'cuppa.org.uk'; # Name of site (used for titles) $HomePage = 'HomePage'; # Home page $CookieName = 'cuppa.org.uk'; # Name for this wiki (for multi-wiki sites) # EyeCandy $StyleSheet = '/wikidata/cuppa.css'; $StyleSheetPage = ''; $LogoUrl = 'http://cuppa.org.uk/files/fancy.png'; $NotFoundPg = ''; $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. $BannedHosts = 'BannedHosts'; # Page for banned hosts $BannedCanRead = 0; # 1 = banned cannot edit, 0 = banned cannot read $BannedContent = 'BannedContent';# 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 # 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 = 'DeleteMe'; # 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 = 1; # 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://cuppa.org.uk/files/francis90x60.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', 'application/x-ogg'); # MIME types allowed, all allowed if empty list $MaxPost = '4000000000'; # Header and Footer, Notes, GotoBar $FooterNote = '
'; # HTML for bottom of every page $TopLinkBar = 1; # 1 = add a goto bar at the top of the page @UserGotoBarPages = ('HomePage'); # List of pagenames $UserGotoBar = 'Index'; # HTML added to end of goto bar $ValidatorLink = 0; # 1 = Link to the W3C HTML validator service $HtmlHeaders = ' '; # Additional stuff to put in the HTML section $ScriptName = 'http://cuppa.org.uk/wiki'; # URL used in links $FullUrl = 'http://cuppa.org.uk/cgi-bin/wiki.pl'; # URL used in forms @NotifyUrlPatterns = ('http://www.technorati.com/ping.html?url=$url'); # div foo patch - allows random divs push(@MyRules, \&divRule); sub divRule { if (m/\G\<(div class="[^\"]+")\>/cgi or m/\G\<(\/div)\>/cgi) { return CloseHtmlEnvironments() . '<' . UrlDecode($1) . '>'; } return undef; } # end of div foo patch $HtmlTags = 1;