Topics
On this page:
Figure: depiction of Web Home, Reference Manual, Managing Topics, Managing Webs, Main Features topics contained in the System web
Anatomy of a Topic
Each topic has:- name
- topics in a given web have unique names to identify them
- topics with a Wiki Word name are automatically linked (as opposed to
[[forced bracketed links]]- see WikiSyntax to learn more) - there are restrictions on topic names; see topic naming rules
- a topic's fully qualified name is prefixed with the web it is contained in, for example the topic you're reading now may be referred to as System.Topics And Webs
- fully qualified names are used when a link is being made to a topic in another web
- content
- you're reading the topic text of Topics And Webs right now
- use Wiki Syntax (see Text Formatting Rules) and macros to write rich topic content
- attachments
- topics may have one or more file attachments
- DataForm
- topics may have a DataForm attached to them, which specifies metadata fields that users may fill. This data may be queried and reported (see the Frequently Asked Questions application as an example)
- access controls
- control who can view, edit, rename, move or delete topics
- set permissions for individual users or user groups
- override default permissions inherited by the web or site
- revisions
- changes are automically recorded
- change history shows authors, dates, and allows comparison between any two versions
- revert to older versions
- containing web
- every topic must be contained within a web
- list of webs at Webs Table
- meta-data
- hidden contextual data stored within each topic
- Example: parent topic
- new topics are automatically made a "child" of the topic it was created from
- parent relationship allows hierarchical, parent-child navigation
- See Figure of System web
- backlinks
- a list of all topics that reference a given topic (see "More topic actions")
Creating and editing topics
Foswiki makes it easy to add and edit topics or link between them. To edit: clickEdit in the toolbar which should be present at the top and bottom of each page (assuming default Pattern Skin). An edit screen appears. Use the Edit Help button if you need it. - Click
Previewto see how your edit looks. - Click
Saveto save.
- Create a link to the topic which doesn't exist yet, Eg. by editing a topic and typing a Wiki Name. When the topic is saved, the link will be shown with a ?: click the ? and a new edit window appears.
- Navigate to the topic which doesn't exist yet, Eg. by typing the name of topic in the JumpBox. Foswiki should display a screen which invites you to create the topic.
- Click the
Create New Topiclink in the Web Left Bar links down the left side of the page (assuming default Pattern Skin). Foswiki should display a screen which invites you to create the topic.
Topic Names
The best strategy is to use Wiki Words for your topic names. In this way, linking is automatic. However, if non-Wiki Word names are required, you can use[[bracketed links]] to force a link to a non-standard topic name (see WikiSyntax). Forced links are subject to some restrictions and the actual topic name may not be identical to what was entered into the forced link.
- The first letter of each "word" will be automatically capitalized
- Spaces are compressed out of the topic name
- The following special characters are removed:
- Any other "whitespace" characters
-
*(Asterisk) -
?(Question mark) -
~(Tilde) -
^(Caret / Circumflex) -
\(Backslash) -
$(Dollar-sign) -
@(At-sign) -
%(Percent-sign) -
`'"Quotes (Open-quote, Close-quote/Apostrophe, and Double-quote) -
&(Ampersand) -
;(Semicolon) -
|(Vertical line) -
<>(Less and Greater signs) -
[](Open and close square brackets) - And any ASCII control characters (Hex x00-x1f)
[[my special-topic @here]], you will see my special-topic @here?, but the actual topic created will be MySpecial-topicHere.
Note that if you use the Topic Creator, Wiki Word rules are strictly enforced and the resulting topic name would be MySpecialTopicHere For more details on forced links, see EditingShorthand
The naming rules may be different for your installation; ask the wiki administrator who may have customised the
{NameFilter}expert option underSecurity and Authenticationin configure
Reverting, renaming, moving and deleting topics
See FAQDelete Or Rename ATopic and Managing TopicsAnatomy of a web
If a user navigates to a Foswiki site without specifying a web, the default Main will be displayed. Each web has:- name
- topic naming rules apply to web names
- there is no ability to refer to subwebs with a relative path, IE. they must always be fully qualified - referred to in full, with the parent web(s) prefixed
- the '.' and '/' characters serve as path delimiters to a web or topic
- example: Sandbox/My Sub Web/My Sub Sub Web.My Topic?
- it is possible in Foswiki to have a subweb which is the same name as a topic. For this reason, if there is a web named
Sandbox/MySubWeb, navigating to it must be done so using a trailing slash, IE.Sandbox/MySubWeb/. Without the trailing slash, Foswiki tries to display the topic namedSandbox.MySubWeb
- Web Preferences topic
- sets Preference Settings to be inherited by all contained topics, EG. access controls, and:
-
FINALPREFERENCESto prevent subwebs and topics from overriding inherited Preference Settings -
WEBFORMSto specify a list of Data Forms that users should be able to attach to contained topics -
WEBCOPYRIGHTto customise copyright message for all contained topics
-
- provides a link to the rename and delete web utility
- sets Preference Settings to be inherited by all contained topics, EG. access controls, and:
- Web Home topic
- the home topic for the container web. It is also the default topic Foswiki will display if a user navigates to a web without specifying a topic name.
- Utility topics (from the _default template web):
Renaming, moving and deleting webs
See Managing WebsRelated Topics: User Documentation Category, Admin Documentation Category, Managing Topics, Managing Webs
Attachments of TopicsAndWebs
| I | Attachment | Action | Size | Date | Who | Comment | Attribute |
|---|---|---|---|---|---|---|---|
| |
diagram.png | manage | 0.1 K | 01 Jan 1970 - 00:00 | Unknown User |