[pmwiki-users] History Snapshots?

2009-01-12 Thread Stirling Westrup
I know this question has come up a few times in the past, but I'm unsure of the current state of things. Is there any convenient way to get some snapshots of how a page looked at different points in time? We have a page with tables on it that has undergone numerous edits, and one of my users would

Re: [pmwiki-users] Extending file name characters

2008-11-13 Thread Stirling Westrup
Patrick R. Michaud wrote: On Sun, Sep 07, 2008 at 10:49:14AM -0500, Patrick R. Michaud wrote: On Sun, Sep 07, 2008 at 08:58:39PM +1300, Simon wrote: Thankyou very much, I presume that this applies to + as well. Since the URL is generated by PmWiki would it be possible to change PmWiki so

Re: [pmwiki-users] Extending file name characters

2008-11-13 Thread Stirling Westrup
Patrick R. Michaud wrote: On Thu, Nov 13, 2008 at 07:34:15PM -0500, Stirling Westrup wrote: I've often wished for a way to explicitly ask for a particular character in a link to be % encoded so that it forms a valid URL. Something like a '\' escape might work so that: [[home/foo#zot

Re: [pmwiki-users] Pagelist question

2008-05-11 Thread Stirling Westrup
Jan Erik Moström wrote: I'm trying to implement some kind of blog feature (yes, I know there are several suggestions for how to do this ... see this as an exercise in learning more about pmwiki). I'm trying to keep things as simple as possible and base everything on the pagelist command,

Re: [pmwiki-users] edit templates: auto update dates?

2008-04-10 Thread Stirling Westrup
Henrik wrote: Regarding http://www.pmwiki.org/wiki/Cookbook/EditTemplates Is it possible to automatically update dates, to that the imported text contains the current date (as text, not as a variable). So for example if creating a page today, I would like the title, as imported from the

Re: [pmwiki-users] markup question

2008-02-15 Thread Stirling Westrup
noskule wrote: hi list could someone please take a look at this markup. I cant get it to work. It should rpoduce a fieldset: If what you want is markup for fieldset and legend, it already exists: http://www.pmwiki.org/wiki/Cookbook/FormExtensions

[pmwiki-users] MySQL and Notify?

2008-02-13 Thread Stirling Westrup
I've been asked to put up a simple volunteering form on a PmWiki website. They would like the results from the form to be stored in a MySQL database, and a copy of the data emailed to the person in charge of volunteers. I know of recipes to store form data in a database, and ones to mail results

Re: [pmwiki-users] Borrowing title from another page

2008-01-24 Thread Stirling Westrup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sameer Kumar wrote: I have two groups: 'Projects' and 'Projecttext'. For each page in Projects, there is a corresponding page in Projecttext. Each page in Projects group has a specified (:title:). I would like the pages in Projecttext to

Re: [pmwiki-users] Small problem with changed default page

2008-01-20 Thread Stirling Westrup
Anke Wehner wrote: Hello. I have the following in my config.php tp change the default name: $DefaultName = 'Main'; $PagePathFmt = array('$Group.$1', '$1.$DefaultName'); This works on links inside the wiki - [[Group/]] links to Group.Main and all - but one problem I noticed that when I

Re: [pmwiki-users] Include with a Regular Expression

2008-01-15 Thread Stirling Westrup
Eric Celeste wrote: I'd like to create a recent changes page that only includes a subset of pages in a given group. For example, a set of pages in the group start with the name Nico- and another set start with Hcm- and I'd like to have two separate RecentChanges pages so that interested

Re: [pmwiki-users] Include with a Regular Expression

2008-01-15 Thread Stirling Westrup
Eric Celeste wrote: I don't think I can use pagelist since it has no concept of which pages have recently changed and which have not. I was going to use something like... (:include RecentChagnes regex=Nico-:) (oversimplified and nonexistent, but this is just an example) to pull

Re: [pmwiki-users] 'Draft' mode?

2008-01-15 Thread Stirling Westrup
Steven Benmosh wrote: There is a nice feature in wordpress, which is draft mode - it lets you work on the page until you are ready, and then you select publish to expose it to the world, or private which does something else, not sure what... PmWiki has this feature too, but its new and not

Re: [pmwiki-users] QuickReplace recipe

2007-12-07 Thread Stirling Westrup
Jan Hegewald wrote: Hello all, I use the QuickReplace recipe (by Stirling Westrup) everywhere in my pmwiki. Unfortunately it seems to also substitute text in URLs: http://java.sun.com/docs/hotspot/HotSpotFAQ.html will become http://java.sun.com/docs/hotspot/HotSpot%9D%9D47%9D%9D.html

[pmwiki-users] (:template none:) ?

2007-11-07 Thread Stirling Westrup
I'm currently trying to write a pagelist format that can handle 0, 1 or several hits being returned, but I'm having trouble with the case of no matches. I would like to display a message in that case, but it looks like the entire contents of the format is ignored if there are no matches. Ideally

Re: [pmwiki-users] Condition Names.

2007-11-07 Thread Stirling Westrup
DaveG wrote: (:if permit ...:) That's actually a really good suggestion, but since, as Pm pointed out, I can just do (:if equal {$Action} ... :), we may as well use (:if action ...:) for the permissions test. I'm assuming that what follows would be an adequate definition for (:if action ...:),

Re: [pmwiki-users] Condition Names.

2007-11-07 Thread Stirling Westrup
Patrick R. Michaud wrote: The normal way to test for the current action is (:if equal {$Action} ... :) For some reason, that had never occurred to me... ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] Dumb Question: Access Classes without AuthUser?

2007-11-07 Thread Stirling Westrup
Patrick R. Michaud wrote: On Tue, Nov 06, 2007 at 02:39:38AM -0500, Stirling Westrup wrote: I've got a PmWiki website that I also use as a personal information manager. Right now I'm not using AuthUser, since there's only two classes of access: public and private. Now, I've been thinking

[pmwiki-users] Triad and NewPageBoxPlus

2007-11-07 Thread Stirling Westrup
I'm using NewPageBoxPlus with the latest Triad skin, and I've found that the page name set with (:newpagebox value=Page Name Here:) doesn't clear when I click in the box. Does anyone else have that problem, or is it something about my setup? ___

[pmwiki-users] Condition Names.

2007-11-07 Thread Stirling Westrup
I've just checked, and there is currently no (:if action:) test in the core to see if one has permission to perform a given action. See a recent discussion here with PM about how (:if auth:) doesn't quite do that, as it ignores the $HandleAuth array. It shouldn't be too hard to add such a test,

[pmwiki-users] basepage and PTVs not working.

2007-11-06 Thread Stirling Westrup
I have a problem with using PTVs relative to a basepage, on a site I'm working on. I can't point to the site under development, but I managed to reproduce it on a different site hosted by the same farm. All attempts to duplicate the problem on PmWiki have failed, and I can't figure out what's

Re: [pmwiki-users] basepage and PTVs not working.

2007-11-06 Thread Stirling Westrup
Patrick R. Michaud wrote: You may need to set $EnableRelativePageVars=1; . This is not yet the default, although it's likely to become the default before 2.2.0 is released. D'Oh! I should have thought of that! I've gotten so used to having them turned on, I forgot they weren't the default.

[pmwiki-users] Dumb Question: Access Classes without AuthUser?

2007-11-05 Thread Stirling Westrup
I've got a PmWiki website that I also use as a personal information manager. Right now I'm not using AuthUser, since there's only two classes of access: public and private. Now, I've been thinking of putting up some content that I want to limit to a few close friends. Rather than going the full

[pmwiki-users] Trouble with latest Triad version.

2007-11-02 Thread Stirling Westrup
I just downloaded and installed the latest version of Triad, and ran across a problem. It calls include_once on a file called 'searchbox2.php', but its not included in the .zip file. ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] Multiple Languages, RSS and Categories.

2007-10-30 Thread Stirling Westrup
Patrick R. Michaud wrote: On Sat, Oct 27, 2007 at 02:06:06PM -0400, Stirling Westrup wrote: I am currently working on a recipe for a multi-lingual blog, and I'm having trouble figuring out how I should implement tags so that RSS feeds work. With a single blog, one often just sticks [[!foo

[pmwiki-users] Multiple Languages, RSS and Categories.

2007-10-27 Thread Stirling Westrup
I am currently working on a recipe for a multi-lingual blog, and I'm having trouble figuring out how I should implement tags so that RSS feeds work. With a single blog, one often just sticks [[!foo]] into a blog page, and its automagically picked up by the RSS feed and a categoryfoo/category gets

Re: [pmwiki-users] FOX Question.

2007-10-18 Thread Stirling Westrup
Hans wrote: Thursday, October 18, 2007, 9:40:43 AM, Hans wrote: to me it appears the same needs doing for preserving quotes in $InputValues, and not have backslashes added. So the above will be better like: # POST input values will be preserved foreach ($_POST as $k=$v) {

[pmwiki-users] FOX Question.

2007-10-17 Thread Stirling Westrup
When a filter issues a message and aborts, how do you ensure that the fields that were input aren't blank when the user is returned to the form? I haven't been able to get that to work. ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] CondAuth ignores $HandleAuth: Bug?

2007-10-15 Thread Stirling Westrup
Patrick R. Michaud wrote: On Sat, Oct 06, 2007 at 05:50:36PM -0400, Stirling Westrup wrote: I've just tracked down a problem that I was having with a statement like: (:if auth upload {$PAGE}:) I presume (and I could be wrong) that this is supposed to test if the user has the authority

[pmwiki-users] CondAuth ignores $HandleAuth: Bug?

2007-10-06 Thread Stirling Westrup
I've just tracked down a problem that I was having with a statement like: (:if auth upload {$PAGE}:) I presume (and I could be wrong) that this is supposed to test if the user has the authority to upload to page {$PAGE}. It turns out that auth calls CondAuth, which (among other things) tests

[pmwiki-users] BUG: Ampersand escapes broken.

2007-10-05 Thread Stirling Westrup
I was just checking out an old page on my PmWiki where I wrote about HTML character entities, and I discovered that sometime in the last bunch of upgrades, ampersand escapes have broken. I have sentences where the wiki-text is: Thus, the string 'amp;#x251C;' is rendered as '#x251C;'. This

Re: [pmwiki-users] Bizarre permission problems.

2007-09-22 Thread Stirling Westrup
H. Fox wrote: On 9/21/07, Stirling Westrup [EMAIL PROTECTED] wrote: As part of an ongoing experiment, I just backed up my PmWiki installation, renamed it main directory, and recovered it to the old location. Something went wrong somewhere, and although all the files were restored correctly

[pmwiki-users] Bizarre permission problems.

2007-09-21 Thread Stirling Westrup
As part of an ongoing experiment, I just backed up my PmWiki installation, renamed it main directory, and recovered it to the old location. Something went wrong somewhere, and although all the files were restored correctly, some of the permissions got mangled. Now though, I find that I can't log

[pmwiki-users] Bug in variables inside Page List Templates?

2007-09-20 Thread Stirling Westrup
I think I just found a bug in variable processing inside page list templates. I've defined $SomePage as a PageVar: $FmtPV['$SomePage'] = '$GLOBALS[SomePage]'; For must uses, this variable works fine, but if I create a template #foofmt (:template trail={$SomePage}:) Stuff #foofmtends The

[pmwiki-users] PTV Confusion.

2007-09-19 Thread Stirling Westrup
What are the legal characters in the name of a PTV? Looking at the regexes inside pmwiki.php (latest version), I see: $PageTextVarPatterns = array( 'var:'= '/^(:*\\s*(\\w[-\\w]*)\\s*:[ \\t]?)(.*)($)/m', '(:var:...:)' = '/(\\(: *(\\w[-\\w]*) *:(?!\\))\\s?)(.*?)(:\\))/s' ); Am I

[pmwiki-users] XLPage()

2007-09-18 Thread Stirling Westrup
As part of this multilingual site I'm creating, I've been playing around with XLPage() and the various other XL...() mechanisms for handling translations. I've noticed a few things that I would like, but that would probably involve changes to the core: 1) Right now, every time you call XLPage(),

[pmwiki-users] Suggestions for Parallel Language versions of Pages.

2007-09-17 Thread Stirling Westrup
I'm currently working on a Bilingual (English/French) site where most of the pages in the English/ group will be mirrored by a translation in the Francaise/ group and vice-versa. I would like to have a Francaise button in the English group which takes you to the equivalent French page, and an

[pmwiki-users] 2009 WorldCon in Montreal.

2007-09-05 Thread Stirling Westrup
Some time ago I mentioned here that I was involved with some folks who were trying to get the 2009 World Science Fiction Convention to be held in Montreal. I'm happy to announce that they just won. What does that have to do with PmWiki? Well, the bid site was planned to be moved over to PmWiki

[pmwiki-users] Map Overlays?

2007-08-24 Thread Stirling Westrup
I'm planning to use a PMWiki to hold notes for a tabletop roleplaying game. One of the things that are standard to such games are keyed maps. I would love to have some way to put up a map image on a page, and then overlay icons on top of it, so that one could click on an icon and be taken to an

[pmwiki-users] Update to PmWiki.SkinTemplates

2007-06-29 Thread Stirling Westrup
I've finished making a large number of changes to the PmWiki/SkinTemplates page at: http://www.pmwiki.org/wiki/PmWiki/SkinTemplates and was looking for feedback and/or further edits. I'm not all that happy with the final results, but I think its an improvement over what was there before.

[pmwiki-users] Report on Various Skins.

2007-06-05 Thread Stirling Westrup
Since I need to create a couple of new PmWiki sites with particular looks, I was browsing through the list of all current PmWiki skins, and a number of the skin pages don't display in their own skins. I gather that PM has to do something to enable them, so I'm making a list here of the ones that

Re: [pmwiki-users] Footnotes and Endnotes?

2007-05-23 Thread Stirling Westrup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 noskule wrote: Stirling Westrup schrieb: A quick search for 'footnotes' and 'endnotes' on PmWiki didn't find me anything relevant. Is there such a more-advanced recipe, or will I have to construct my own? As starting point: One could simply

Re: [pmwiki-users] Is 'RightBar' the right name?

2007-05-22 Thread Stirling Westrup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tegan Dowling wrote: OR have a LeftBar and RightBar but have NO fixed contents in either one, and instead populate each only via includes, and name the includables for their functions - GroupMenu, LinksMenu, ToolsMenu, etc. That is more-or-less

Re: [pmwiki-users] Problem with $FmtPV;

2007-05-22 Thread Stirling Westrup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Wilson wrote: I am setting $FmtPV with the following value: '2007W19'; This is how I set it, outside of any function, but in a recipe. $FmtPV['$YearWeek'] = '2007W19'; This won't work. The contents of $FmtPV are run through eval. That means

[pmwiki-users] Footnotes and Endnotes?

2007-05-22 Thread Stirling Westrup
? - -- Stirling Westrup -- Visionary, Technology Analyst, Researcher, Software Engineer, IT Generalist LinkedIn Profile: https://www.linkedin.com/e/fpf/77228 Website: http://www.pooq.com Tech Blog: http://technaut.livejournal.com Business Blog: http://willcodeforfood.livejournal.com

Re: [pmwiki-users] Slashdotting?

2007-05-13 Thread Stirling Westrup
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Neil Herber (nospam) wrote: On 2007-05-12 Stirling Westrup is rumoured to have said: So, what's the best way to prepare PmWiki for a possible slashdotting? Any advice would be appreciated. A page of mine (Alas! not PmWiki) was slashdotted twice

[pmwiki-users] Slashdotting?

2007-05-12 Thread Stirling Westrup
I've recently come up with an idea for something to put up on one of my PmWiki's that might end up being quite popular -- possibly even ending up on slashdot or digg. I don't know how likely a scenario that is -- but its certainly possible. In some ways, this is both a best- and a worst-case

Re: [pmwiki-users] Best Blogging Recipe?

2007-05-11 Thread Stirling Westrup
Stirling Westrup wrote: I've been delaying adding Blogging support to a particular project until PM finishes his Blog support in core, but I can't really wait any longer, and the core support still hasn't shown up. I'd still like to use the core blogging support when it arrives

[pmwiki-users] Best Blogging Software?

2007-05-10 Thread Stirling Westrup
I've been delaying adding Blogging support to a particular project until PM finishes his Blog support in core, but I can't really wait any longer, and the core support still hasn't shown up. I'd still like to use the core blogging support when it arrives. In the meantime I guess I'll use one of

Re: [pmwiki-users] Inserting files from the local file system

2007-04-07 Thread Stirling Westrup
Petko Yotov wrote: On Sunday 08 April 2007 04:47, Steven Benmosh wrote: Two questions/problems I am running into: 1. I have pmwiki set up in my web server root. I have a directory called images, with image files in it, including one called SantaBarbara.jpg. I would like to attach the image

Re: [pmwiki-users] Drafts, moderated wikis, and PITS 00755

2007-03-31 Thread Stirling Westrup
Hans wrote: Saturday, March 31, 2007, 9:27:37 PM, Patrick wrote: When drafts are enabled, the edit form has the following buttons [Publish] [Save draft] [Save draft and edit] [Preview] [Cancel] The Publish button always saves to the page without a -Draft suffix. The Save draft and

Re: [pmwiki-users] Drafts, moderated wikis, and PITS 00755

2007-03-30 Thread Stirling Westrup
Patrick R. Michaud wrote: Given that we've had a couple of recent requests for moderated posting on a wiki, I'd like to go ahead and resolve PmWiki's edit draft feature. Pico put together an excellent page at http://www.pmwiki.org/wiki/PITS/00755 that describes the current state of edit