[pmwiki-users] Moving content between wikis and keeping track of changes

Mr Wappy mrwappy at yahoo.co.uk
Mon Oct 17 14:24:46 CDT 2005


Hi

I have just been catching up with some of the digests
for the last few days and note the problem experienced
in relation to recent changes; for reference

"Date: Fri, 14 Oct 2005 17:20:18 -0500
From: "Patrick R. Michaud" <pmichaud at pobox.com>
Subject: Re: [pmwiki-users] recent changes problem"

Is similar to the problem I originally had with moving
content between wikis - see below if interested.

So I made the change to RCDelimPattern ('* * *') as
suggested by Pm and yes I started to get the change
records that I would have originaly expected, however
with one omission; there is one missing character (the
end of line) so that the output is not correctly
formatted as bullets (i.e. using * and new lines)

Now very concious that I shouldn't play with
pmwiki.php I sort information on what variable is
responsible for the formatting of the changerecords,
and how it is constructed.

So far I haven't been able to find a reference - can
anybody point me in the right direction.

BTW: This problem has been repeatable across both W2K
and WinXP installations and with a new installation;
so I assume that something in my configuration files
or additional scripts is the culprit - it would be
useful to know the ones to check.
Many thanks

Adrian

--- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:

> On Thu, Oct 13, 2005 at 06:07:03PM +0100, Mr Wappy
> wrote:
> > I have several different Wiki's and want to take
> some
> > of the content from one Wiki to another.
> > 
> > My theory was to copy the pages from the Wiki.d
> > directory e.g. copy file "Group.topic" to the new
> Wiki
> > which is located seperately, and place the pages
> it
> > the appropriare Wiki.d directory.
> > 
> > In doing this I did not take any count files or
> change
> > files [this may be a factor in the problem I will
> come
> > to]
> > 
> > With the pages in the new Wiki I can access them
> OK,
> > however any changes are neither captured in
> > RecentChanges or in AllRecentChanges.
> > 
> > Since I am using these change files for an RSS
> feed
> > this has raised a problem.
> > 
> > My questions are:
> > 
> > 1. Is the approach I have adopted basically right?
> 
> Yes.
> 
> > 2. Is there a better alternative for copying or
> > merging content?
> 
> "Merging content" among several independent wikis
> is a bit of a tricky problem -- it requires a fair
> amount
> of synchronization help.  At any rate, while we can
> easily copy pages from one place to another, merging
> them is still a bit tricky.
> 
> > 3. Is there any information that describes the
> > mechanism for creating/updating the change files?
> 
> The change files (RecentChanges, AllRecentChanges)
> are just wiki pages like any other -- the only thing
> that is special about them is that they are updated
> whenever a page is edited and saved.  Unfortunately
> in your case, copying the pages isn't the same
> as "edit and save".
> 
> One possibility might be for us to develop a special
> action that can rebuild RecentChanges pages from the
> current set of pages in wiki.d.  (Note that
> regenerating
> the RecentChanges pages takes a bit of time and can
> require
> scanning the whole wiki.d/ directory, which is one
> reason
> we maintain them incrementally only when a page is
> being saved.)
> 
> Pm
> 



		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com




More information about the pmwiki-users mailing list