This FAQ page is currently under construction. Feel free to add more questions (and answers) here. --Pm
Miscellaneous Questions
Q: What exactly is a "wiki"?- A: See Wiki Wiki Web for a description. Wikipedia also has an excellent article at Wikipedia:Wiki.
- A: The usual place to practice editing is in the Wiki Sandbox.
- Use the Search Wiki to search for "
<GroupName>/", this will list all pages in that group.
- 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.
- Use the Search Wiki to search for "
/", this will list all pages.
- 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=editto the URL.
- 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:A New Page). 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 A New Page. 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.Creating New Pages.
- A: For now, the best place to inquire about bugs is on the 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 pmwiki-help@pmichaud.com.
Related FAQs
Q: What other FAQs are there that concerns Pm Wiki?Markup Questions
Q: How can I do the equivalent oftarget="new" in a link?
- A: Use
%newwin%before your link, as in: http://www.google.com. If you want to have the link appear in a named window, you can use%target=windowname%. (See Wiki Styles for more details.)
<a name='...'>) in a page?
- A: Use the markup
[[#anchor]].
- A: For an anchor within the same page, one can use
[[#anchor link text]]. To link to an anchor within another page, use eitherPageName#anchoror[[PageName#anchor link text]].
- 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 Pm Wiki Philosophy, as well as PmWiki.Audiences. It is also possible for WikiAdministrators to add Local Customizations that enable embedded HTML (and possibly other language content) within wiki pages.
- A: "height" is not a valid table attribute for HTML.
- A: Not at present.
Administrative Questions
Q: How can I find pages with links to non-existent pages?- A: See the refcount.php script that comes with the PmWiki distribution, also briefly described at Available Actions. It'd be nice if someone could create a Ref Count page to describe this feature.
- A: No, at present this can only be performed by the Wiki Administrator. Pm can create an "undelete" command as a Cookbook script if one is desired.
- 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.
- A: No, WikiGroups can only contain WikiWords and Free Links, not other WikiGroups.
- 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.
- A: Set the page (or group) password to be "nopass" (see PmWiki.Passwords).
- A: To have PmWiki use U.S. Central Time, place a line like
putenv("TZ=CST6CDT");in your local.php file (see Local Customizations). For other timezones, replace theCST6CDTwith 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
- A: Make sure there aren't any extra blank lines or characters at either the beginning or end of your local.php file.
- 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 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: Can I upload files? How?- Yes, but it has to be enabled in the configuration. See Uploads.
- Use the directive
Attach:<file>.
- Write something like this:
[[Attach:<file> link text]].
-
<ThisGroup>.Recent Changes, Main.All Recent Changes,<ThisGroup>.Recent Uploads, Main.All Recent Uploads and maybe more?
- first item
- first sub-item, should be labelled 1.1
- this should be 1.2
- A: Anything will work--PmWiki's authentication mechanism doesn't make use of usernames, just passwords.
pmwiki.php code questions
Q: What is the purpose of the SDV() function in PmWiki scripts?- 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: What about copyrights for material on this site? Q: How many pages can a PmWiki handle (without getting slow)?- A: See PmWiki.Size for a discussion of size/performance limits in PmWiki.
Questions related to Installating PmWiki
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?
- If your server is running Apache 2.0, you probably need to add the "Accept Path Info 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 pmichaud@pobox.com .


