PmWiki.PageFileFormat History

Hide minor edits - Show changes to output - Cancel

June 16, 2012, at 11:13 AM JST by vdmnqrq - jWCCWgGJX
Changed line 1 from:
r5BEhw <a href="http://ymscoltjbcuz.com/">ymscoltjbcuz</a>
to:
qbARDV , [url=http://kaozswjbeplt.com/]kaozswjbeplt[/url], [link=http://hxalfspromyz.com/]hxalfspromyz[/link], http://bywvsxindkba.com/
June 15, 2012, at 02:18 PM JST by lhksqobwwmm - kgghUQNydrBwaVwg
Changed line 1 from:
BAkSJL , [url=http://jdfxxjyupecn.com/]jdfxxjyupecn[/url], [link=http://kqancjssktea.com/]kqancjssktea[/link], http://zubzwjatjgez.com/
to:
r5BEhw <a href="http://ymscoltjbcuz.com/">ymscoltjbcuz</a>
June 14, 2012, at 09:51 PM JST by skmxwvg - OsnkXzvWhCwEFWiIqJ
Changed line 1 from:
oJeXzd <a href="http://dyadiwqxdvix.com/">dyadiwqxdvix</a>
to:
BAkSJL , [url=http://jdfxxjyupecn.com/]jdfxxjyupecn[/url], [link=http://kqancjssktea.com/]kqancjssktea[/link], http://zubzwjatjgez.com/
June 14, 2012, at 01:21 AM JST by pxvxnvkmeum - TDGzKrwhJwGspoDpC
Changed line 1 from:
Wow! I'm genuinely ennioyjg the design of your site. Are you using a custom made template or is this freely available to all users? If you really don't want to say the name of it out in the public, please make sure to email me at: . I'd absolutely love to get my hands on this theme! Thank you.
to:
oJeXzd <a href="http://dyadiwqxdvix.com/">dyadiwqxdvix</a>
June 13, 2012, at 11:03 AM JST by Sparkles - EIPhxTvYihUeJm
Changed lines 1-49 from:
You may have many documents that you would like to use a local program to format in a format PmWiki can display.

You could open each document and copy/paste the content to new pmwiki pages or you could format the document in advance and upload it using a FTP client.

Only two lines are necessary in a PmWiki page file:

->[@
version=pmwiki-2.1.0 urlencoded=1
text=Markup text
@]

The first line tells PmWiki that the values are urlencoded. The actual value of the "version=" parameter doesn't matter, as long as "urlencoded=1" appears somewhere in the line. The markup text needs to have newlines converted to "%0a" and percent signs converted to "%25".

Keys you could see in a raw PmWiki file:

:'''version''': Version of PmWiki used to create the file %comment% More??? (ordered, urlencoded)%%
:'''agent''': Author's browser when saving the page
:'''author''': Last author to save page
:'''csum''': Change summary
:'''ctime''': Page creation time
:'''host''': Host created this page
:'''name''': Name of the page (e.g., [@Main.WikiSandbox@])
:'''rev''': Number of times the page has been edited
:'''targets''': Targets for links in the page
:'''text''': The page's wiki markup
:'''time''': Time the page was last saved (seconds since 1 Jan 1970 00:00 UTC)
:'''title''': Page title set via [@(:title The Page Title:)@].
:'''newline''': Character used for newlines (deprecated)
:'''passwdedit''': encrypted version of the password

Below these you will see information used to keep track of the page's revision history.

!![[#creating]] Creating a Page for Distribution

A simple way to create a wikipage file to use for distribution (for example with a recipe or a skin) is to create the page with PmWiki and then use a text editor to delete all lines but ''version'', ''text'', and ''ctime''. Example:

->[@
version=pmwiki-2.1.0 ordered=1 urlencoded=1
text=This is a line.%0aThis is another.
ctime=1142030000
@]

!! Keeping track of page history

Inside of a page file, PmWiki stores the latest version of the markup text, and uses this to render the page. The page history is kept as a sequence of differences between the latest version of the page and each previous version.

PmWiki normally puts the page history at the end of each page file in reverse chronological sequence, and sets the "ordered=1" items in the header. If an operation needs only the most recent version of a page, then PmWiki will stop reading and processing a page file at the point where the history begins, potentially saving a lot of time and memory. If the "ordered=1" flag isn't present, PmWiki makes no assumptions about the ordering of items in the pagefile and processes the entire file.

%trail% <<|[[Documentation Index]]|>>
to:
Wow! I'm genuinely ennioyjg the design of your site. Are you using a custom made template or is this freely available to all users? If you really don't want to say the name of it out in the public, please make sure to email me at: . I'd absolutely love to get my hands on this theme! Thank you.


Page last modified on June 16, 2012, at 11:13 AM JST