Wiki source code of How to create a Page on XWiki
Version 12.1 by Guillaume Delhumeau on 2016/11/28
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | There are several ways to create a page on XWiki. Please find below all available ways | ||
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | = Using the Create button = | ||
6 | |||
7 | First, click on the create icon: | ||
8 | |||
9 | {{image reference="create-icon.png" /}} | ||
10 | |||
11 | Then you will see this screen: | ||
12 | |||
13 | {{image reference="create-formular.png" /}} | ||
14 | |||
15 | Here, you can set a title and select the type of document you want to create. | ||
16 | |||
17 | = Using the Editor = | ||
18 | |||
19 | When editing a page, you can add a link to an existing page (and can even find it using the search function inside the pop-up) or to a page that does not exist yet. | ||
20 | |||
21 | == Rich Editor (WYSIWYG) == | ||
22 | |||
23 | In the rich editor, follow the following steps : | ||
24 | |||
25 | * Edit the page in which you want to create a link to the new page | ||
26 | * Type your text. Eg: Check here how to add a customer to the CRM | ||
27 | * Select the text that will become a link | ||
28 | * Click on "Wiki page"((( | ||
29 | {{image reference="create-page-1.jpg" /}} | ||
30 | ))) | ||
31 | * Click on "Add new page (in current space)"((( | ||
32 | {{image reference="create-page-2.jpg" /}} | ||
33 | ))) | ||
34 | * Type the title of the page (this is the one in the URL of the new page)((( | ||
35 | {{image reference="create-page-3.jpg" /}} | ||
36 | ))) | ||
37 | * Click "Select" | ||
38 | |||
39 | Now the link to the new page is inserted. You can click on "Save & View". You'll see a "?" next to the link because the page does not exist yet. You or any other member of the wiki can click on it in order to create the page and start adding content. | ||
40 | |||
41 | == Wiki Editor == | ||
42 | |||
43 | Using wiki editor, you just have to use wiki link syntax. The syntax is {{code}}[[label of my link>>wiki:space.title]]{{/code}}. Most of the time you don't have to specify the "wiki" part because the link is on the current wiki. Therefore it becomes | ||
44 | |||
45 | {{code}} | ||
46 | |||
47 | [[label of my link>>space.title]] | ||
48 | |||
49 | {{/code}} | ||
50 | |||
51 | You can check [[XWiki syntax help>>XWiki.XWikiSyntax]] page for further details. | ||
52 | |||
53 | = Directly entering the URL for the new page = | ||
54 | |||
55 | This option is technical and not recommended for simple users because it requires knowing the [[URL format>>platform:DevGuide.Standard URL Format]]. |