PmWiki.FAQ 9.9 KB

123456789
  1. version=pmwiki-0.5.27
  2. newline=²
  3. text=This FAQ page is currently under construction. Feel free to add more questions (and answers) here. --Pm²²!!Miscellaneous Questions²Q:Q: What exactly is a "wiki"?²A:A: See WikiWikiWeb for a description. [[http://www.wikipedia.org Wikipedia]] also has an excellent article at Wikipedia:Wiki.²²Q: Q: Where can I practice editing?²A: A: The usual place to practice editing is in the Main/WikiSandbox.²²Q: Q: How can I list pages in a specific group?²A: Use the Main/SearchWiki to search for "@@[=<GroupName>=]/@@", this will list all pages in that group.²²Q: Q:Is there a way to get a complete count and listing of all of the Wiki Words on a Wiki or in a work group? Can the index be listed in chronological and/or alphabetical order? That way you could make a "glossary" and an "index". ²A: A: See above on how to make listings of Wiki Words. The chronological/alphabetical order will probably require some changes to the PHP code, but it surely can be done.²²Q: Q: How can I list all pages?²A: Use the Main/SearchWiki to search for "@@/@@", this will list all pages.²²Q: Q: How do I edit a page?²A: You can click on the link labelled ''Edit'' at the top/right part of the page, or at the bottom/left of the page. Yet another alternative is to add @@?action=edit@@ to the URL.²²Q:Q: How do I create a new page?²A: There are several ways. One way is to edit a (any) page where you create link to the new page, and then click on the question mark at the end of the link (ex:ANewPage). Another way is to manually type in the URI of the new page ex: @@[=http://www.pmichaud.com/wiki/PmWiki/ANewPage=]@@) and then click on the question mark after the text ''Describe ANewPage''. A third way is to manually type in the URI of the new page and append @@?action=edit@@ (ex: @@[=http://www.pmichaud.com/wiki/PmWiki/ANewPage?action=edit=]@@). See also PmWiki.CreatingNewPages.²²Q:Q: Where can I send bug reports and fixes?²A:A: For now, the best place to inquire about bugs is on the [[http://www.pmichaud.com/lists/pmwiki-users pmwiki-users mailing list]]. If you want to report a bug but don't want to subscribe to the mailing list, you can send bug reports to mailto:pmwiki-help@pmichaud.com.²²!!Related [=FAQs=]²Q:Q: What other [=FAQs=] are there that concerns PmWiki/PmWiki?²A:A: This [[http://wiki.lyx.org/pmwiki.php/Site/FAQ FAQ]] [wiki.lyx.org] is intended for new users of PmWiki at that site.²²!!Markup Questions²²Q: Q: How can I do the equivalent of @@target="new"@@ in a link?²A: A: Use @@[=%newwin%=]@@ before your link, as in: %newwin% http://www.google.com. If you want to have the link appear in a named window, you can use @@[=%target=windowname%=]@@. (See WikiStyles for more details.)²²Q: Q: How can I put the equivalent of an HTML "anchor" (@@<a name='...'>@@) in a page?²A: A: Use the markup @@[=[[#anchor]]=]@@.²²Q: Q: How do I create a link to an anchor?²A: A: For an anchor within the same page, one can use @@[=[[#anchor link text]]=]@@. To link to an anchor within another page, use either @@[=PageName#anchor=]@@ or @@[=[[PageName#anchor link text]]=]@@.²²Q: Q: Is there a tag allowing HTML, [=JavaScript=], or PHP to be embedded in wiki markup?²A: A: Not in PmWiki's default configuration, as this can introduce all sorts of security and markup problems that PmWiki tries to avoid. More details and discussion on this topic are available in the PmWikiPhilosophy, as well as PmWiki.{{Audiences}}. It is also possible for {{WikiAdministrator}}s to add LocalCustomizations that enable embedded HTML (and possibly other language content) within wiki pages.²²Q: Q: Why does the attribute "height=100%" not work within [=[[table]]=] markup, while "width=100%" does?²A: A: "height" is not a valid table attribute for HTML. ²²Q: Q: Is it possible to have a "Table of Contents" automatically generated for a wiki page from the page headings? ²A: A: Not at present. ²²!!Administrative Questions²²Q: Q: How can I find pages with links to non-existent pages?²A: A: See the refcount.php script that comes with the PmWiki distribution, also briefly described at AvailableActions. It'd be nice if someone could create a RefCount page to describe this feature.²²Q: Q: Is there a way for "normal users" to restore deleted pages?²A: A: No, at present this can only be performed by the WikiAdministrator. Pm can create an "undelete" command as a {{Cookbook}} script if one is desired.²²Q: Q: Everything has been working fine, but suddenly I'm getting errors regarding incorrect file permissions. Help!²A: A: If everything had been working previously, then chances are that someone or something has changed file ownerships or file permissions on the page files in your ''wiki.d/'' directory. Try adding the line @@include("scripts/fixperms.php");@@ to your ''local.php'' and see if that fixes the problem. Read the beginning of the ''fixperms.php'' script itself for more details about what it does/how it works.²²²Q: Q: Does PmWiki allow for nested or hierarchical {{WikiGroup}}s?²A: A: No, {{WikiGroup}}s can only contain {{WikiWord}}s and FreeLinks, not other {{WikiGroup}}s.²²Q: Q: How can I move or rename all of the pages in one group to another group?²A: A: Due to the file structure in PmWiki's wiki.d directory, you will have to rename the files by hand. Of course, you could automate sthis with software, e.g. a little Unix shell script could do the trick.²²Q: Q: Is it possible to have an unpassworded page within a password-protected group (or a unpassworded group within a password-protected site)?²A: A: Set the page (or group) password to be "nopass" (see PmWiki.{{Passwords}}).²²Q: Q: How do I change the time zone that PmWiki uses for formatting dates and times?²A: A: To have PmWiki use U.S. Central Time, place a line like @@[=putenv("TZ=CST6CDT");=]@@ in your ''local.php'' file (see LocalCustomizations). For other timezones, replace the @@[=CST6CDT=]@@ with the appropriate specifier for your time zone. ''(Does anyone know a reference to the full listing of codes?)'' See http://www.timeanddate.com/library/abbreviations/timezones²²Q: Q: I'm seeing error messages like "Warning: Cannot modify header information - headers already sent by (output started at ...)" -- what do I do?²A: A: Make sure there aren't any extra blank lines or characters at either the beginning or end of your ''local.php'' file.²²Q: Q: How do I eliminate "pmwiki.php" or "?pagename=" from the URIs to my PmWiki installation?²²Q: Q: How does PmWiki handle concurrent edits (multiple people editing the same page at the same time)?²A: A: At present, it doesn't--if two or more people attempt to edit the same page at the same time, then whoever hits "Save" last will determine the page contents. However, the other edits aren't completely lost--they will still appear in the page's revision history. There has been a lot of discussion on the [[http://pmichaud.com/pipermail/pmwiki-users_pmichaud.com pmwiki-users mailing list]] about ways to handle this, but so far it hasn't appeared to be a big enough issue to require immediate resolution.²²!!Recently added questions (and perhaps also answers)²Q:Q: Can I upload files? How?²A: Yes, but it has to be enabled in the configuration. See {{Uploads}}.²²Q:Q: How can I make a link to an uploaded file?²A:Use the directive @@[=Attach:<file>=]@@.²²Q:Q: How can I make an Attach:-link appear as something else?²A:Write something like this: @@[=[[Attach:<file> link text]]=]@@.²²Q:Q: What special ''information'' pages are there on this site?²A: @@<[=ThisGroup=]>@@.RecentChanges, Main.AllRecentChanges, @@[=<ThisGroup>=]@@.RecentUploads, Main.AllRecentUploads and maybe more?²²Q:Q: "Is there anything to activate before using the PageRevision function?" In my Wiki it doesn't work. - I ran into the same Problem. :-(²²Q:Q: Is there a way to modify the display formatting so that items in numbered sub-lists display the numbers of all their 'parents'?²e.g.²# first item²## first sub-item, should be labelled 1.1²## this should be 1.2²etc..²²Q:Q: What should I use as the username/login identifier on password-protected pages?²A:A: Anything will work--PmWiki's authentication mechanism doesn't make use of usernames, just passwords.²²!!!pmwiki.php code questions²Q: Q: What is the purpose of the SDV() function in PmWiki scripts?²A: A: SDV() stands for "set default value" -- it assigns a value to a variable only if that variable doesn't already have a value. Pm created this function as a shortcut to avoid always writing PHP ''if'' statements.²²!!!Other questions²Q: Q: What about copyrights for material on this site?²²Q: Q: How many pages can a PmWiki handle (without getting slow)?²A: A: See PmWiki.{{Size}} for a discussion of size/performance limits in PmWiki.² ²²!!Questions related to Installating PmWiki²Q: Q: Following your Installation instructions, I'm stuck from step 5 and onwards.²First time execution of pmwiki.php presents me with error that it cannot access the indicated file (@@The requested URL was not found on this server. @@). Then, assuming step 5 only creates directory wiki.d I do that myself, followed by a chmod 777 on wiki.d (cannot perform a chmod 2777). Then still nothing, same error. ²Reading further and deeper in various config-files it suggests to add the @@umask(0)@@ statement in the @@local.php@@ file. Error message changes into: @@The server encountered an internal error or misconfiguration and was unable to complete your request.@@ I think something is wrong with permissions and the way php is being handled. ²Suggestions?²²A: If your server is running Apache 2.0, you probably need to add the "AcceptPathInfo On" statement to your web server configuration (from step #4 of the {{Installation}} instructions. If your server is running something else, or you're still getting this error, try doing "$EnablePathInfo=0" in local.php and see if that resolves the problem. Or send email to mailto:pmichaud@pobox.com .
  4. time=1074635976
  5. post= Save
  6. host=217.224.234.168
  7. agent=Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.5) Gecko/20031007 Firebird/0.7
  8. rev=84
  9. name=PmWiki.FAQ