[pmwiki-users] Question regarding the way a page is processed

Menachem Shapiro menachem.shapiro at gmail.com
Mon Sep 4 18:35:52 CDT 2006


B"H

I added this information to the Page File Format page:
http://pmwiki.org/wiki/PmWiki/PageFileFormat

Menachem


On 9/4/06, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Mon, Sep 04, 2006 at 03:33:32PM -0700, Menachem Shapiro wrote:
> > I am running pmwiki-2.0.13.
> >
> > http://pmwiki.org/wiki/PmWiki/PageFileFormat describes a wiki page
> > format, but does not describe how the page is parsed and displayed.
> >
> > Does it work by first processing the original information saved to the
> > page, and then go through every revision until the page is displayed?
> > [...]
> > Is my assumption of how the page is processed correct?
>
> Close, but backwards. PmWiki actually stores the latest version of
> the markup text in the file, and this is what is normally used
> when rendering the page.  The page history keeps track of how to
> reach earlier versions of the page from the latest one, and is
> read only when it's needed.
>
> If an operation (such as viewing a page) doesn't need all of a
> page's history, PmWiki stops reading from the file when it has
> everything it needs.  And the files are organized such that
> the attributes and markup appear first in the file, followed
> by any page history (in reverse chronological sequence).
>
> Pm
>




More information about the pmwiki-users mailing list