[Home]UseModWiki/Settings

UseModWiki | UseModWiki | RecentChanges | Preferences

The 0.92 wiki distribution included a settings document which briefly explained the new and added settings. I did not have time to update it for 1.0, so I decided to move it to the wiki site. Over time I hope to expand the following list and translate it to better wiki formatting. --CliffordAdams

New configuration settings added after 0.92

$InterWikiMoniker = '';         # InterWiki moniker for this wiki. (for RSS)
$SiteDescription  = $SiteName;  # Description of this wiki. (for RSS)
$RssLogoUrl  = '';              
$KeepSize    = 0;               # If non-zero, maximum size of keep file
$BGColor     = 'white';         # Background color
$DiffColor1  = '#ffffaf';       # Background color of old/deleted text
$DiffColor2  = '#cfffcf';       # Background color of new/added text
$FavIcon     = '';              # URL of bookmark/favorites icon, or ''
$RssDays     = 7;               # Default number of days in RSS feed
$UserHeader  = '';              # Optional HTML header additional content
$UserBody    = '';              # Optional <BODY> tag additional content
$EarlyRules  = '';              # Local syntax rules for wiki->html (evaled)
$LateRules   = '';              # Local syntax rules for wiki->html (evaled)
$StartUID    = 1001;            # Starting number for user IDs
$UploadDir   = '';              # Full path (like /foo/www/uploads) for files
$UploadUrl   = '';              # Full URL (like http://foo.com/uploads)
@ImageSites  = qw();            # Url prefixes of good image sites: ()=all

$DeletedPage = 'DeletedPage';   # 1 = enable,
$ReplaceFile = 'ReplaceFile';   # 1 = enable,
@ReplaceableFiles = ();     # List of all
$TableSyntax = 1;           # 1 = wiki syntax tables, 
$NewFS       = 0;           # 1 = new multibyte $FS,  
$UseUpload   = 0;           # 1 = allow uploads,      

$MetaKeywords = 1;      # 1 = Google-friendly,    
$NamedAnchors = 1;      # 1 = enable anchors,
                        # 2 = enable
$SlashLinks   = 0;      # 1 = use script/action links, 0 = script?action
$UpperFirst   = 1;      # 1 = free links start uppercase, 0 = no ucfirst
$AdminBar     = 1;      # 1 = admins see admin links, 0 = no admin bar
$RepInterMap  = 0;      # 1 = intermap is replacable, 0 = not replacable
$ConfirmDel   = 1;      # 1 = delete link confirm page, 0 = immediate delete
$MaskHosts    = 0;      # 1 = mask hosts/IPs,      0 = no masking
$LockCrash    = 0;      # 1 = crash if lock stuck, 0 = auto clear locks
$HistoryEdit  = 0;      # 1 = edit links on history page, 0 = no edit links
$OldThinLine  = 0;      # 1 = old ==== thick line, 0 = ------ for thick line
$NumberDates  = 0;      # 1 = 2003-6-17 dates,     0 = June 17, 2003 dates
$ParseParas   = 0;      # 1 = new paragraph markup, 0 = old markup
$AuthorFooter = 1;      # 1 = show last author in footer, 0 = do not show
$AllUpload    = 0;      # 1 = anyone can upload,   0 = only editor/admins
$LimitFileUrl = 1;      # 1 = limited use of file: URLs, 0 = no limits
$MaintTrimRc  = 0;      # 1 = maintain action trims RC, 0 = only maintainrc
$SearchButton = 0;      # 1 = search button on page, 0 = old behavior
$EditNameLink = 0;      # 1 = edit links use name (CSS), 0 = '?' links
$UseMetaWiki  = 0;      # 1 = add MetaWiki search links, 0 = no MW links
$BracketImg   = 1;      # 1 = [url url.gif] becomes image link, 0 = no img

# Names of sites.  (The first entry is used for the number link.)
@IsbnNames = ('bn.com', 'amazon.com', 'powells.com', 'search');
# Full URL of each site before the ISBN
@IsbnPre = ('http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=',
            'http://www.amazon.com/exec/obidos/ISBN=',
            'http://www.powells.com/cgi-bin/biblio?isbn=',
            'http://www.pricescan.com/books/BookDetail.asp?isbn=');
# Rest of URL of each site after the ISBN (usually '')
@IsbnPost = ('', '', '', '');

$EmailFile   = "$DataDir/emails";   # Email notification lists

New settings in 0.92

<pre> $StyleSheet = ""; # URL for CSS stylesheet (like "/wiki.css")

  The URL for an external CSS stylesheet.

$NotFoundPg? = ""; # Page for not-found links ("" for blank pg)

  If a page is not found by an ordinary link (like wiki.pl?SomePage?), this
option allows hhowever, the old code is available.

$EmbedWiki = 1; # 1 = headers/footers, 1 = normal wiki pages

  Normally this setting will be kept at 0.  If set to 1, only the wiki
text of each page will be displayed (no headers, linkbars, footers, search forms, or logos are displayed).

New settings as of 0.91:

$HomePage = "HomePage"; # Home page (change space to _)

  This option existed in 0.90, but it can 

  This is the biggest change in 0.91.  Pages can now have names with spaces
and limited punctuation. (See the online documentation for more details.) If you do not want this feature in your wiki, change this setting to 1.

$WikiLinks = 1; # 1 = use LinkPattern,

  If you are using the FreeLinks feature, you can *optionally* set
$WikiLinks to 0 to disable automatic linking of text matching the LinkPattern. If you set this to 0, the only links in the text will be those created with double-brackets (like word?). This may be useful if a site wishes to use word?-style links exclusively and doesn't want AccidentalLinking?.

$AdminDelete? = 1; # 1 = Admin page, 1 = Editor can delete pages

  If set to 1, the "action=editlinks" feature will be available for logins
with a valid editor password (as well as admins). Note that the editlinks feature can completely and irreversably erase pages and RecentChanges-log entries.

  1. Minor options:
$UseIndex? = 1; # 1 = use index file,


UseModWiki | UseModWiki | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited December 25, 2018 7:24 am by 49.180.173.141 (diff)
Search: