RedmineWikis » History » Version 27

Ben Blanco, 2016-03-16 13:49

1 27 Ben Blanco
h1. Wikis
2 1 Thomas Lecavelier
3 27 Ben Blanco
{{>toc}}
4 27 Ben Blanco
5 27 Ben Blanco
h2. Creating a new wiki page
6 27 Ben Blanco
7 27 Ben Blanco
As in every wiki, just add a link to the page you want to create.
8 27 Ben Blanco
9 27 Ben Blanco
<pre>[[MyNewWikiPage]]</pre>
10 27 Ben Blanco
11 27 Ben Blanco
Save the page and click on that link: you have created a new wiki page with "MyNewWikiPage" as its name.
12 27 Ben Blanco
13 27 Ben Blanco
h2. Text formatting
14 27 Ben Blanco
15 27 Ben Blanco
See [[RedmineTextFormatting]].
16 27 Ben Blanco
17 27 Ben Blanco
h2. Creating sub-pages (parent/child relationships)
18 27 Ben Blanco
19 27 Ben Blanco
It is possible to create parent/child relationships between wiki-pages. This has two benefits:
20 27 Ben Blanco
* On the "[[RedmineWikis#Sidebar|Index by title]]", the page tree in sorted according to the relationhips:
21 27 Ben Blanco
> * Guide
22 27 Ben Blanco
> ** RedmineAccounts
23 27 Ben Blanco
> ** RedmineCustomFields
24 27 Ben Blanco
> ** RedmineInstall
25 27 Ben Blanco
> ** RedmineIssueList
26 27 Ben Blanco
> ** RedmineIssues
27 27 Ben Blanco
* On each child page a breadcrumb is displayed showing the location of the page within the page tree:
28 27 Ben Blanco
TODO, add image
29 27 Ben Blanco
30 27 Ben Blanco
These relations can be set by assigning a parent page to a to-be child-page.
31 27 Ben Blanco
32 27 Ben Blanco
h2. Renaming and moving a wiki page
33 27 Ben Blanco
34 27 Ben Blanco
To rename a wiki page and move a wiki page and its children to other project, click on !/images/move.png! *Rename*.
35 27 Ben Blanco
36 27 Ben Blanco
p=. TODO, add image
37 27 Ben Blanco
38 27 Ben Blanco
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 27 Ben Blanco
40 27 Ben Blanco
You can specify a parent page in 'Parent page'.
41 27 Ben Blanco
42 27 Ben Blanco
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 27 Ben Blanco
44 27 Ben Blanco
h2. Protecting a wiki page
45 27 Ben Blanco
46 27 Ben Blanco
If you have the permission to protect wiki pages, you can click on !/images/locked.png! *Lock*.
47 27 Ben Blanco
48 27 Ben Blanco
A locked wiki page can only be edited by users who have the permission to protect wiki pages.
49 27 Ben Blanco
It can be unlocked by those users by clicking !/images/unlock.png! *Unlock*.
50 27 Ben Blanco
51 27 Ben Blanco
h2. Wiki page history
52 27 Ben Blanco
53 27 Ben Blanco
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 27 Ben Blanco
55 27 Ben Blanco
p=. !history.png!
56 27 Ben Blanco
57 27 Ben Blanco
To view a specific version of the page click on its number.
58 27 Ben Blanco
59 27 Ben Blanco
p=. !page_version.png!
60 27 Ben Blanco
61 27 Ben Blanco
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 27 Ben Blanco
63 27 Ben Blanco
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 27 Ben Blanco
65 27 Ben Blanco
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 27 Ben Blanco
67 27 Ben Blanco
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 27 Ben Blanco
69 27 Ben Blanco
h2. Sidebar
70 27 Ben Blanco
71 27 Ben Blanco
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 27 Ben Blanco
73 27 Ben Blanco
The contextual sidebar on the right of any wiki page provides links to:
74 27 Ben Blanco
* *Start page*: Link to the [[RedmineProjectSettings#Wiki|configured start page]] of the wiki
75 27 Ben Blanco
* *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 27 Ben Blanco
77 27 Ben Blanco
p=. TODO, add image
78 27 Ben Blanco
* *Index by date*: Index of all the wiki pages sorted by date of last modification
79 27 Ben Blanco
80 27 Ben Blanco
p=. TODO, add image