Changes for page Home

Last modified by Thomas Mortagne on 2023/10/03 16:06

From version 59.1
edited by Thomas Mortagne
on 2022/11/04 08:53
Change comment: Rollback to version xar:org.xwiki.platform:xwiki-platform-distribution-flavor-common/14.9
To version 58.16
edited by Thomas Mortagne
on 2022/11/02 15:15
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,54 +1,19 @@
1 -{{box cssClass="floatinginfobox"}}
2 -{{velocity}}
3 -{{html clean="false"}}
4 -## Chrome's XSS Auditor blocks the preview action if:
5 -## * the submitted content has an iframe with an external URL
6 -## * the preview action displays the submitted iframe
7 -## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML.
8 -## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome
9 -#set ($iframe = 'iframe')
10 -<$iframe src="https://www.youtube.com/embed/9QTWrZ7OfzI" title="YouTube video of XWiki" role="presentation" allowfullscreen></$iframe>
11 -{{/html}}
12 -{{/velocity}}
13 -{{/box}}
1 +{{groovy}}
2 +if (request.input && request.input != '') {
3 + xdom = services.rendering.parse(request.input, request.inputsyntax)
4 + result = services.rendering.render(xdom, request.outputsyntax)
14 14  
15 -= Welcome to your wiki =
6 + return new org.xwiki.rendering.block.MacroBlock("code", [:], result, false)
7 +}
8 +{{/groovy}}
16 16  
17 -XWiki is the best tool to organize your knowledge. A //wiki// is organized in a hierarchy of //pages//. You can create multiple wikis, each with its own set of pages.
18 -
19 -XWiki can be used as a knowledge base (support, documentation, sales, etc.), for collaborative workspaces or even as a complete intranet.
20 -
21 -= The basics =
22 -
23 -To make the most out of your wiki, log-in and:
24 -
25 -Use the {{velocity}}$services.icon.render('pencil'){{/velocity}} button above to //edit// this page and start customizing your wiki to your needs.
26 -
27 -Use the {{velocity}}$services.icon.render('add'){{/velocity}} button above to //add// more pages to your wiki and create the //hierarchy// that best organizes your content.
28 -
29 -Use the {{velocity}}$services.icon.render('home'){{/velocity}} breadcrumbs located above the title to //navigate// inside your pages. It's easy to get lost in a big wiki without them.
30 -
31 -You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features.
32 -
33 - {{box}}Learn more on how to use XWiki with the {{velocity}}[[Getting Started Guide>>http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/WebHome?version=$xwiki.version]]{{/velocity}}.{{/box}}
34 -
35 -(% class="row" %)
36 -(((
37 -(% class="col-xs-12 col-sm-6" %)
38 -(((
39 -= Extend your wiki =
40 -
41 -To extend the power and functionalities of your wiki with the features that //you// need, head over to the {{velocity}}[[Extension Manager>>path:$xwiki.getURL($services.model.createDocumentReference('wiki', 'XWiki', 'XWikiPreferences'), 'admin', 'editor=globaladmin&section=XWiki.Extensions')]]{{/velocity}} where you can search for and install extensions.
42 -
43 -To browse through the 900+ community contributed extensions available for XWiki, head over to the [[Extensions Repository>>http://extensions.xwiki.org]].
44 -)))
45 -
46 -(% class="col-xs-12 col-sm-6" %)
47 -(((
48 -= Create your application =
49 -
50 -Go beyond the available extensions and define the //structure// of your data based on //your// needs, creating //your// own applications with [[App Within Minutes>>AppWithinMinutes]] (AWM).
51 -
52 -AWM will take care of making it easy for you and your users to create and manage the data.
53 -)))
54 -)))
10 +{{velocity}}
11 +#if ("$!request.input" != "")
12 +## Perform conversion
13 +#set ($xdom = $services.rendering.parse($request.input, $request.inputsyntax))
14 +#set ($result = $services.rendering.render($xdom, $request.outputsyntax))
15 +{{code}}
16 +$result
17 +{{/code}}
18 +#end
19 +{{/velocity}}
toto tata.txt
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.ThomasMortagne
Size
... ... @@ -1,0 +1,1 @@
1 +2 bytes
Content
... ... @@ -1,0 +1,2 @@
1 +3
2 +
XWiki.XWikiComments[0]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.ThomasMortagne
Comment
... ... @@ -1,0 +1,1 @@
1 +test
Date
... ... @@ -1,0 +1,1 @@
1 +2021-10-18 09:37:55.0
XWiki.XWikiComments[1]
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.ThomasMortagne
Comment
... ... @@ -1,0 +1,4 @@
1 +{{async}}
2 +{{groovy}}println "it works !"{{/groovy}}
3 +{{/async}}
4 +
Date
... ... @@ -1,0 +1,1 @@
1 +2022-10-18 14:58:22.0