Changes for page Home

Last modified by Thomas Mortagne on 2024/05/07 16:35

From version 58.12
edited by Thomas Mortagne
on 2022/10/18 14:58
Change comment: Added comment
To version 58.13
edited by Thomas Mortagne
on 2022/11/02 15:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,58 +17,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 -
13 -$(request.toto)
14 -{{/velocity}}
15 -{{/box}}
16 -
17 17  {{groovy}}
18 - print "$((request.toto))"
2 +if (request.input && request.input != '') {
3 + xdom = $services.rendering.parse(request.input, request.inputsyntax)
4 + result = $services.rendering.render(xdom, request.outputsyntax)
5 +
6 + return new org.xwiki.rendering.block.MacroBlock("code", {"language": request.outputsyntax}, result, false)
7 +}
19 19  {{/groovy}}
20 20  
21 -[[user:xwiki:XWiki.ThomasMortagne]]
22 -
23 -= Welcome to your wiki =
24 -
25 -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.
26 -
27 -XWiki can be used as a knowledge base (support, documentation, sales, etc.), for collaborative workspaces or even as a complete intranet.
28 -
29 -= The basics =
30 -
31 -To make the most out of your wiki, log-in and:
32 -
33 -Use the {{velocity}}$services.icon.render('pencil'){{/velocity}} button above to //edit// this page and start customizing your wiki to your needs.
34 -
35 -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.
36 -
37 -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.
38 -
39 -You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features.
40 -
41 - {{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}}
42 -
43 -(%class="row"%)(((
44 -(%class="col-xs-12 col-sm-6"%)(((
45 -= Extend your wiki =
46 -
47 -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.
48 -
49 -To browse through the 900+ community contributed extensions available for XWiki, head over to the [[Extensions Repository>>http://extensions.xwiki.org]].
50 -)))
51 -(%class="col-xs-12 col-sm-6"%)(((
52 -= Create your application =
53 -
54 -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).
55 -
56 -AWM will take care of making it easy for you and your users to create and manage the data.
57 -)))
58 -)))
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}}
XWiki.XWikiComments[1]
Date
... ... @@ -1,1 +1,1 @@
1 -2022-10-18 14:58:22.489
1 +2022-10-18 14:58:22.0