0 Votes

Changes for page Home

Last modified by Сергей Коршунов on 2025/05/01 21:37

From version 4.1
edited by Сергей Коршунов
on 2023/10/28 16:56
Change comment: Install extension [org.xwiki.platform:xwiki-platform-distribution-flavor-common/15.8]
To version 1.1
edited by Сергей Коршунов
on 2022/05/07 15:44
Change comment: Install extension [org.xwiki.platform:xwiki-platform-distribution-flavor-common/14.3.1]

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,17 @@
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}}
14 +
1 1  = Welcome to your wiki =
2 2  
3 3  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.
... ... @@ -8,15 +8,15 @@
8 8  
9 9  To make the most out of your wiki, log-in and:
10 10  
11 -Use the {{displayIcon name="pencil"/}} button above to //edit// this page and start customizing your wiki to your needs.
25 +Use the {{velocity}}$services.icon.render('pencil'){{/velocity}} button above to //edit// this page and start customizing your wiki to your needs.
12 12  
13 -Use the {{displayIcon name="add"/}} button above to //add// more pages to your wiki and create the //hierarchy// that best organizes your content.
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.
14 14  
15 -Use the {{displayIcon name="home"/}} breadcrumbs located above the title to //navigate// inside your pages. It's easy to get lost in a big wiki without them.
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.
16 16  
17 17  You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features.
18 18  
19 - {{box}}Learn more on how to use XWiki with the [[Getting Started Guide>>http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/WebHome]].{{/box}}
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}}
20 20  
21 21  (% class="row" %)
22 22  (((
... ... @@ -24,7 +24,7 @@
24 24  (((
25 25  = Extend your wiki =
26 26  
27 -To extend the power and functionalities of your wiki with the features that //you// need, head over to the [[Extension Manager>>XWiki.XWikiPreferences||queryString="editor=globaladmin&section=XWiki.Extensions"]] where you can search for and install extensions.
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.
28 28  
29 29  To browse through the 900+ community contributed extensions available for XWiki, head over to the [[Extensions Repository>>http://extensions.xwiki.org]].
30 30  )))
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,5 @@
1 +.floatinginfobox iframe {
2 + border: 0;
3 + height: 169px;
4 + width: 100%;
5 +}
Content Type
... ... @@ -1,0 +1,1 @@
1 +CSS
Use this extension
... ... @@ -1,0 +1,1 @@
1 +currentPage