@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1@title Phriction User Guide
2@group userguide
3
4Construct a detailed written history of your civilization.
5
6Overview
7========
8
9Phriction is a wiki. You can edit pages, and the text you write will stay
10there. Other people can see it later.
11
12Phriction documents are arranged in a hierarchy, like a filesystem. This can
13make it easier to keep things organized and to apply policy controls to
14groups of documents.
15
16
17Policies
18========
19
20Documents and policies in Phriction are hierarchical, similar to a filesystem.
21For example, a document called "Zebra Information" may be located
22at `/zoo/animals/zebra/`.
23
24To view a document in Phrction, you must first be able to view all of its
25ancestors. So a user can only see {nav Zoo > Animals > Zebra Information} if
26they can see the pages {nav Zoo} and {nav Zoo > Animals}.
27
28This allows sections of the wiki to be restricted by applying a restrictive
29policy to the parent (or grandparent) document. For example, if you apply a
30restrictive view policy to the {nav Zoo} page, it will implicitly apply to
31all sub-pages, including {nav Zoo > Animals > Zebra Information}.
32
33
34Versions and Drafts
35===================
36
37Document content is tracked with linear version numbers: version 1, version 2,
38version 3, and so on. Each time a page is edited, a new version of the page is
39created.
40
41You can {nav View History} to review older versions of a page and see how it
42has changed over time (and who has changed it).
43
44When you visit a particular document, you are normally shown the most recent
45version of that document. For example, if there are 17 versions, you'll see
46version 17.
47
48Likewise, when you edit a document using {nav Edit Document > Save and Publish},
49your changes are published immediately. If there were previously 17 versions,
50your new changes will become version 18 and visitors to the document will begin
51seeing version 18.
52
53If you want to edit a document without publishing the changes right away, you
54can use {nav Edit Document > Save as Draft} instead. This will still create a
55new version 18, but it won't change which version users see when they visit the
56document: they'll still see version 17 (the last published version).
57
58You (and other users) can continue editing the draft by using
59{nav Edit Document}. (Once a document has an unpublished draft, editing will
60stay in draft mode.)
61
62Once you're satisfied with your changes, use {nav Publish Draft} to make your
63changes the current visible version of the document that users see by default
64when they visit it.
65
66If you made a mistake and published something you didn't intend to, you can
67navigate back to an older version of the document and use
68{nav Publish Older Version} to change the current visible version of the
69document to some older version.
70
71Note that draft versions are still normal versions of the document: they are
72not private, they can not be deleted, other users can see them if they can see
73the document, and they will eventually become a standard part of the document
74history. The only private parts of drafts are: editing a draft does not
75generate a feed story; and users won't see draft content by default when
76viewing a document.
77
78Drafts may be a good fit if you are:
79
80 - working on changes over time; or
81 - starting with a rough change and refining it in several iterations; or
82 - collaborating with others on a change; or
83 - sharing changes before they're published to get feedback.