aboutsummaryrefslogtreecommitdiff
path: root/wikilib.d/PmWiki.InitialSetupTasks
diff options
context:
space:
mode:
authorpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2005-09-08 22:16:11 +0000
committerpmichaud <pmichaud@524c5546-5005-0410-9a3e-e25e191bd360>2005-09-08 22:16:11 +0000
commite96b37447a4b1949a8d2fb7bd1119efdb91e6a34 (patch)
treeba36aea84339ae1457a64317c919d6529c5fb0e0 /wikilib.d/PmWiki.InitialSetupTasks
parentb7deee620d0dcd5c607e8b905210a5a03bcfc127 (diff)
downloadpmwiki.svn-e96b37447a4b1949a8d2fb7bd1119efdb91e6a34.tar.bz2
*** empty log message ***
git-svn-id: svn://pmwiki.org/trunk/pmwiki@842 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'wikilib.d/PmWiki.InitialSetupTasks')
-rw-r--r--wikilib.d/PmWiki.InitialSetupTasks15
1 files changed, 7 insertions, 8 deletions
diff --git a/wikilib.d/PmWiki.InitialSetupTasks b/wikilib.d/PmWiki.InitialSetupTasks
index e679116d..cfc0473d 100644
--- a/wikilib.d/PmWiki.InitialSetupTasks
+++ b/wikilib.d/PmWiki.InitialSetupTasks
@@ -1,10 +1,9 @@
-version=pmwiki-2.0.beta55 ordered=1
-newline=˛
-agent=Mozilla/5.0 (Windows; U; Windows NT 5.0; pl-PL; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
-author=Mateusz
-host=83.16.49.165
+version=pmwiki-2.0.3 ordered=1 urlencoded=1
+agent=Opera/8.02 (Windows NT 5.0; U; de)
+author=Klonk
+host=62.245.250.121
name=PmWiki.InitialSetupTasks
-rev=45
+rev=46
targets=PmWiki.Installation,PmWiki.PmWiki,Site.Site,Site.SideBar,PmWiki.Variables,PmWiki.PasswordsAdmin,PmWiki.Upgrades,PmWiki.LocalCustomizations,PmWiki.WikiFarms,PmWiki.MailingLists,PmWiki.WikiAdministrator,PmWiki.DocumentationIndex,PmWiki.Skins
-text=%audience% administrators (basic)˛Once you have PmWiki running on your site (see [[Installation]]), you can customize it for your particular needs.˛˛Most PmWiki configuration is performed in a file called ''local/config.php''. Some configuration is done on special pages in the [[Site/Site]] group, such as the [[Site.SideBar]] menu.˛˛˛!!Modifying config.php˛When you first install PmWiki, the ''local/config.php'' file does not exist. Copy the ''sample-config.php'' file (in the same directory as ''pmwiki.php'') to ''local/config.php'' and use it as a starting point. You could create ''local/config.php'' from scratch, but ''sample-config.php'' is already populated with many of the options you might want to adjust.˛˛Here is a simple ''config.php'' file:˛˛-> [@˛<?php if (!defined('PmWiki')) exit();˛$WikiTitle = "My New Wiki";˛$PageLogoUrl = "http://www.example.com/mylogo.gif";˛˛$DefaultPasswords['admin'] = crypt('onesecret');˛˛$EnableUpload = 1;˛$DefaultPasswords['upload'] = crypt('secrettwo');˛˛putenv("TZ=EST5EDT");˛$TimeFmt = '%B %d, %Y, at %I:%M %p EST';˛@]˛˛Note that ''config.php'' begins with @@<?php@@ . The PHP end tag @@?>@@ is optional, and can be left off to improve compatibility with some operating systems. Be sure there aren't any blank lines or spaces before the @@<?php@@ or after any closing @@?>@@, or else you may get strange PHP error messages at the beginning of your wiki pages.˛˛The ''config.php'' file above sets the value of four PHP variables used by PmWiki:˛*The $WikiTitle variable gives the name of your site as it will appear in a user's browser title bar.˛*The $PageLogoUrl variable specifies the URL of the icon image that will appear in the upper-left corner of each wiki page.˛*The $DefaultpPasswords['admin'] sets an administrative password.˛*Setting $EnableUpload to "1" enables Uploads ("Attached files"). $DefaultPasswords['upload'] sets an upload password.˛*The TZ environment variable defines a particular time zone.˛*The $TimeFmt variable defines the appearance of time strings and (along with TZ) localizes the wiki to a specific time zone.˛˛By setting these (and other) variables in ''local/config.php'', you can change the look and feel of PmWiki from its default, sometimes substantially so. See [[PmWiki.Variables]] for a list of variables that PmWiki uses, and see PmWiki:PmWikiUsers for examples of sites that use PmWiki in customized ways.˛˛˛!! Setting an administrative password˛˛The pages in the [[Site/Site]] group (except the Site.SideBar) are locked by default. In order to edit pages in this group you need to create a site-wide admin password in ''local/config.php''. To set the site-wide admin password to "@@mysecret@@", change the line to the following:˛˛->[@$DefaultPasswords['admin'] = crypt('mysecret');@]˛˛You must use the [@crypt()@] function, but set the password to a value with meaning for you. See [[PasswordsAdmin]] for details about making the password more secure.˛˛˛!!Don't modify ''pmwiki.php''˛˛When changing the configuration of your site, always change the ''local/config.php'' file or add files to the ''cookbook/'' directory. Do not change ''pmwiki.php'' or the files in the ''scripts/'' directory. PmWiki has been designed so that all customizations can be made without changing the distribution files -- one of its design goals is to provide seamless upgrades. PmWiki never writes to files in the ''local/'' or ''cookbook/'' directories, so placing your customizations here makes it easier to track the changes and [[upgrades | upgrade PmWiki]] without losing the changes.˛˛You shouldn't rename ''pmwiki.php'' either. Many admins add an index.php file in the pmwiki directory that contains the following single line:˛˛->[@<?php include('pmwiki.php');@]˛˛˛!!Other customization˛˛After setting up ''local/config.php'' file, you may wish to make other [[local customizations]]. See the [[Cookbook:CookbookBasics | PmWiki Cookbook]] for a large number of customizations that have been contributed. And don't fear Cookbook recipes - they're well prepared, so that most of them require only to download a single file, add a one-line include command to @@config.php@@, and ''voilŕ!'' - they're working!˛˛If you (or others sharing your server) want to maintain more than one wiki on the same server, see [[WikiFarms]].˛˛˛!!Now what?˛˛Don't forget to join a [[MailingLists | PmWiki mailing list]], where you can email other [[wiki administrator]]s for help on customizing PmWiki and participate in discussions about PmWiki improvements. Once you have your site operational, be sure to add it to PmWiki:PmWikiUsers so others will know about it!˛˛%trail%<<|[[DocumentationIndex]]|>>
-time=1125239984
+text=%25audience%25 administrators (basic)%0aOnce you have PmWiki running on your site (see [[Installation]]), you can customize it for your particular needs.%0a%0aMost PmWiki configuration is performed in a file called ''local/config.php''. Some configuration is done on special pages in the [[Site/Site]] group, such as the [[Site.SideBar]] menu.%0a%0a%0a!!Modifying config.php%0aWhen you first install PmWiki, the ''local/config.php'' file does not exist. Copy the ''sample-config.php'' file (in the same directory as ''pmwiki.php'') to ''local/config.php'' and use it as a starting point. You could create ''local/config.php'' from scratch, but ''sample-config.php'' is already populated with many of the options you might want to adjust.%0a%0aHere is a simple ''config.php'' file:%0a%0a-> [@%0a%3c?php if (!defined('PmWiki')) exit();%0a$WikiTitle = "My New Wiki";%0a$PageLogoUrl = "http://www.example.com/mylogo.gif";%0a%0a$DefaultPasswords['admin'] = crypt('onesecret');%0a%0a$EnableUpload = 1;%0a$DefaultPasswords['upload'] = crypt('secrettwo');%0a%0aputenv("TZ=EST5EDT");%0a$TimeFmt = '%25B %25d, %25Y, at %25I:%25M %25p EST';%0a@]%0a%0aNote that ''config.php'' begins with @@%3c?php@@ . The PHP end tag @@?>@@ is optional, and can be left off to improve compatibility with some operating systems. Be sure there aren't any blank lines or spaces before the @@%3c?php@@ or after any closing @@?>@@, or else you may get strange PHP error messages at the beginning of your wiki pages.%0a%0aThe ''config.php'' file above sets the value of four PHP variables used by PmWiki:%0a*The $WikiTitle variable gives the name of your site as it will appear in a user's browser title bar.%0a*The $PageLogoUrl variable specifies the URL of the icon image that will appear in the upper-left corner of each wiki page.%0a*The $DefaultPasswords['admin'] sets an administrative password.%0a*Setting $EnableUpload to "1" enables Uploads ("Attached files"). $DefaultPasswords['upload'] sets an upload password.%0a*The TZ environment variable defines a particular time zone.%0a*The $TimeFmt variable defines the appearance of time strings and (along with TZ) localizes the wiki to a specific time zone.%0a%0aBy setting these (and other) variables in ''local/config.php'', you can change the look and feel of PmWiki from its default, sometimes substantially so. See [[PmWiki.Variables]] for a list of variables that PmWiki uses, and see PmWiki:PmWikiUsers for examples of sites that use PmWiki in customized ways.%0a%0a%0a!! Setting an administrative password%0a%0aThe pages in the [[Site/Site]] group (except the Site.SideBar) are locked by default. In order to edit pages in this group you need to create a site-wide admin password in ''local/config.php''. To set the site-wide admin password to "@@mysecret@@", change the line to the following:%0a%0a->[@$DefaultPasswords['admin'] = crypt('mysecret');@]%0a%0aYou must use the [@crypt()@] function, but set the password to a value with meaning for you. See [[PasswordsAdmin]] for details about making the password more secure.%0a%0a%0a!!Don't modify ''pmwiki.php''%0a%0aWhen changing the configuration of your site, always change the ''local/config.php'' file or add files to the ''cookbook/'' directory. Do not change ''pmwiki.php'' or the files in the ''scripts/'' directory. PmWiki has been designed so that all customizations can be made without changing the distribution files -- one of its design goals is to provide seamless upgrades. PmWiki never writes to files in the ''local/'' or ''cookbook/'' directories, so placing your customizations here makes it easier to track the changes and [[upgrades | upgrade PmWiki]] without losing the changes.%0a%0aYou shouldn't rename ''pmwiki.php'' either. Many admins add an index.php file in the pmwiki directory that contains the following single line:%0a%0a->[@%3c?php include('pmwiki.php');@]%0a%0a%0a!!Other customization%0a%0aAfter setting up ''local/config.php'' file, you may wish to make other [[local customizations]]. See the [[Cookbook:CookbookBasics | PmWiki Cookbook]] for a large number of customizations that have been contributed. And don't fear Cookbook recipes - they're well prepared, so that most of them require only to download a single file, add a one-line include command to @@config.php@@, and ''voilŕ!'' - they're working!%0a%0aIf you (or others sharing your server) want to maintain more than one wiki on the same server, see [[WikiFarms]].%0a%0a%0a!!Now what?%0a%0aDon't forget to join a [[MailingLists | PmWiki mailing list]], where you can email other [[wiki administrator]]s for help on customizing PmWiki and participate in discussions about PmWiki improvements. Once you have your site operational, be sure to add it to PmWiki:PmWikiUsers so others will know about it!%0a%0a%25trail%25%3c%3c|[[DocumentationIndex]]|>>
+time=1126095222