Project

General

Profile

RedmineWikis » History » Version 23

Hiroo Hayashi, 2016-01-31 14:13
Add the section "Renaming and moving a wiki page". Delete out-dated description about it. Merge the section "Creating an additional wiki side bar" into the section "Sidebar". refs #21900

1 1 Thomas Lecavelier
h1. Wikis
2
3 15 Mischa The Evil
{{>toc}}
4
5 1 Thomas Lecavelier
h2. Creating a new wiki page
6
7 12 Tom Rochette
As in every wiki, just add a link to the page you want to create.
8 1 Thomas Lecavelier
9
<pre>[[MyNewWikiPage]]</pre>
10
11 15 Mischa The Evil
Save the page and click on that link: you have created a new wiki page with "MyNewWikiPage" as its name.
12 1 Thomas Lecavelier
13 23 Hiroo Hayashi
h2. Text formatting
14 1 Thomas Lecavelier
15 23 Hiroo Hayashi
See [[RedmineTextFormatting]].
16 4 Barbara Post
17
h2. Creating sub-pages (parent/child relationships)
18
19 15 Mischa The Evil
It is possible to create parent/child relationships between wiki-pages. This has two benefits:
20
* On the "[[RedmineWikis#Sidebar|Index by title]]", the page tree in sorted according to the relationhips:
21 1 Thomas Lecavelier
> * Guide
22
> ** RedmineAccounts
23
> ** RedmineCustomFields
24 4 Barbara Post
> ** RedmineInstall
25
> ** RedmineIssueList
26
> ** RedmineIssues
27 15 Mischa The Evil
* On each child page a breadcrumb is displayed showing the location of the page within the page tree:
28 1 Thomas Lecavelier
TODO, add image
29
30 23 Hiroo Hayashi
These relations can be set by assigning a parent page to a to-be child-page.
31 1 Thomas Lecavelier
32 23 Hiroo Hayashi
h2. Renaming and moving a wiki page
33 1 Thomas Lecavelier
34 23 Hiroo Hayashi
To rename a wiki page and move a wiki page and its children to other project, click on !/images/move.png! *Rename*.
35 1 Thomas Lecavelier
36 23 Hiroo Hayashi
p=. TODO, add image
37
38
If 'Redirect existing links' is checked, existing links to the current page are redirected to the wiki page renamed or moved.  Links to the children-pages move to other project are not redirected.  To stop the redirection see a workaround in #6401#note-8. 
39
40
You can specify a parent page in 'Parent page'.
41
42
You can move a page to another project by specifying the destination project in 'Project'. When moving a page, each child page is also moved unless the destination project contains a page with the same name.
43
44 9 Jean-Philippe Lang
h2. Protecting a wiki page
45
46
If you have the permission to protect wiki pages, you can click on !/images/locked.png! *Lock*.
47
48 20 Mischa The Evil
A locked wiki page can only be edited by users who have the permission to protect wiki pages.
49 10 Jean-Philippe Lang
It can be unlocked by those users by clicking !/images/unlock.png! *Unlock*.
50
51
h2. Wiki page history
52
53
Redmine keeps a record of every change made to a wiki page. You can view the list of these changes by clicking on !/images/history.png! *History*.
54 1 Thomas Lecavelier
55
p=. !history.png!
56
57
To view a specific version of the page click on its number.
58
59
p=. !page_version.png!
60 20 Mischa The Evil
61
What is displayed can be misleading: @Version 31/41 (diff)@ means that you are viewing version 31 out of 41, it does not mean that the diff link will show you the differences between 31 and 41. It does show you the differences between version 30 and 31. If you're looking at version 30, you'll see Version 30/41, and the diff will show you the changes in version 30.
62
63
If you want to see differences between 40 and 41, go to the revisions list and click 'View changes' (by default, it will show the diff of the last version).
64 1 Thomas Lecavelier
65
You can revert a page to a previous version by clicking on !/images/cancel.png! *Rollback to this version*, then *Save*. In that case a new page version is created without losing the wiki page history.
66
67 21 Mischa The Evil
If you instead do want to delete all history of a wiki page you have to copy the content of that page to a safe place (copy/paste in edit window), delete the page and re-create it with the same name. Then re-insert the copied content.
68
69 22 Morty Morty
h2. Sidebar
70 23 Hiroo Hayashi
71
The content of the wiki page named '@Sidebar@' is rendered in the wiki sidebar if it exists. Permission to protect wiki pages is required to create this page.
72 15 Mischa The Evil
73
The contextual sidebar on the right of any wiki page provides links to:
74
* *Start page*: Link to the [[RedmineProjectSettings#Wiki|configured start page]] of the wiki
75
* *Index by title*: Index of all the wiki pages sorted by name (and, if [[RedmineWikis#Creating-sub-pages-parentchild-relationships|configured]], by parent/child relationships)
76 16 Mischa The Evil
77
p=. TODO, add image
78 15 Mischa The Evil
* *Index by date*: Index of all the wiki pages sorted by date of last modification
79 16 Mischa The Evil
80
p=. TODO, add image