Changes for page Help

Last modified by Thomas Mortagne on 2021/11/08 19:07

From version 6.1
edited by Thomas Mortagne
on 2019/05/28 10:50
Change comment: Reset document from extension [org.xwiki.contrib:application-help-center/1.4]
To version 7.1
edited by Thomas Mortagne
on 2019/08/02 10:59
Change comment: Install extension [org.xwiki.contrib:application-help-center/1.5.1]

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +$services.localization.render('help.title')
Content
... ... @@ -23,13 +23,13 @@
23 23  
24 24  #set ($howToCards = [{
25 25   'icon': 'fa fa-support',
26 - 'title': 'Getting Started',
27 - 'description': 'Easy steps to get you started with XWiki.',
26 + 'title': $services.localization.render('help.start.title'),
27 + 'description': $services.localization.render('help.start.description'),
28 28   'documentation': "http://enterprise.xwiki.org/xwiki/bin/view/GettingStarted/WebHome?version=$escapetool.url($xwiki.version)"
29 29  }, {
30 30   'icon': 'fa fa-play-circle',
31 - 'title': 'Videos',
32 - 'description': 'View our collection of video tutorials.',
31 + 'title': $services.localization.render('help.videos.title'),
32 + 'description': $services.localization.render('help.videos.description'),
33 33   'documentation': 'Help.Videos.WebHome'
34 34  }])
35 35  
... ... @@ -38,21 +38,21 @@
38 38  #else
39 39   ## We need to generate the page history because the Extension Manager doesn't import it.
40 40   #set ($historyURL = $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
41 - 'content': 'Check',
42 - 'comment': 'Initial version',
41 + 'content': $services.localization.render('help.history.version11.content'),
42 + 'comment': $services.localization.render('help.history.version11.comment'),
43 43   'form_token': $services.csrf.token,
44 44   'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
45 - 'title': 'Page History',
46 - 'content': 'Check mate',
45 + 'title': $services.localization.render('help.history.version21.title'),
46 + 'content': $services.localization.render('help.history.version21.content'),
47 47   'form_token': $services.csrf.token,
48 48   'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
49 - 'title': 'History',
50 - 'content': 'Check the **history**.',
51 - 'comment': 'Minor change',
49 + 'title': $services.localization.render('help.history.version22.title'),
50 + 'content': $services.localization.render('help.history.version22.content',['**']),
51 + 'comment': $services.localization.render('help.history.version22.comment'),
52 52   'minorEdit': 1,
53 53   'form_token': $services.csrf.token,
54 54   'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({
55 - 'content': "Check the **history** tab.$util.newline${util.newline}Compare the versions.",
55 + 'content': "$services.localization.render('help.history.version31.content',['**']) $util.newline${util.newline} $services.localization.render('help.history.version31.content1')",
56 56   'form_token': $services.csrf.token,
57 57   'xredirect': $xwiki.getURL('Help.History.WebHome', 'view', $NULL, 'History')
58 58   }))
... ... @@ -63,60 +63,60 @@
63 63  
64 64  #set ($featureCards = [{
65 65   'icon': 'fa fa-pencil',
66 - 'title': 'Page Editing',
67 - 'description': "Use a powerful <a href=""http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing"" class=""wikiexternallink"">WYSIWYG</a> content editor or <a href=""$xwiki.getURL('XWiki.XWikiSyntax')"">syntax</a> to create rich wiki pages.",
66 + 'title': $services.localization.render('help.edit.title'),
67 + 'description': $services.localization.render('help.edit.description',["<a href='http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing' class='wikiexternallink'>",'</a>',"<a href='$xwiki.getURL('XWiki.XWikiSyntax')'>"]),
68 68   'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing',
69 69   'examples': $xwiki.getURL('Sandbox.WebHome', 'edit', 'editor=wysiwyg')
70 70  }, {
71 71   'icon': 'fa fa-file-text-o',
72 - 'title': 'Templates',
73 - 'description': 'Templates are predefined pages that are copied when creating a new page.',
72 + 'title': $services.localization.render('help.templates.title'),
73 + 'description': $services.localization.render('help.templates.description'),
74 74   'documentation': 'Help.Templates.WebHome',
75 75   'examples': $xwiki.getURL('Help.Templates.WebHome', 'view', $NULL, 'HExamples')
76 76  }, {
77 77   'icon': 'fa fa-file-excel-o',
78 - 'title': 'Macros',
79 - 'description': 'Macros are reusable functionality that can be integrated inside a page.',
78 + 'title': $services.localization.render('help.macros.title'),
79 + 'description': $services.localization.render('help.macros.description'),
80 80   'documentation': 'Help.Macros.WebHome',
81 81   'examples': $xwiki.getURL('Help.Macros.WebHome', 'view', $NULL, 'HExamples')
82 82  }, {
83 83   'icon': 'fa fa-files-o',
84 - 'title': 'Applications',
85 - 'description': 'Applications allow to group related structured pages together.',
84 + 'title': $services.localization.render('help.applications.title'),
85 + 'description': $services.localization.render('help.applications.description'),
86 86   'documentation': 'Help.Applications.WebHome',
87 87   'examples': $xwiki.getURL('Help.Applications.WebHome', 'view', $NULL, 'HExamples')
88 88  }, {
89 89   'icon': 'fa fa-sitemap',
90 - 'title': 'Content Organization',
91 - 'description': 'Organize your content in hierarchical pages, grouped in several (sub)wikis.',
90 + 'title': $services.localization.render('help.organization.title'),
91 + 'description': $services.localization.render('help.organization.description'),
92 92   'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/',
93 93   'examples': $xwiki.getURL('Main.AllDocs', 'view', 'view=tree')
94 94  }, {
95 95   'icon': 'fa fa-history',
96 - 'title': 'Version Control',
97 - 'description': 'View previous versions of a page, compare different versions or rollback to any past version.',
96 + 'title': $services.localization.render('help.history.title'),
97 + 'description': $services.localization.render('help.history.description'),
98 98   'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/VersionControl',
99 99   'examples': $historyURL
100 100  }, {
101 101   'icon': 'fa fa-download',
102 - 'title': 'Import / Export',
103 - 'description': 'Import content from various sources and export it in an open format (XML, HTML, PDF, ODT).',
102 + 'title': $services.localization.render('help.import.title'),
103 + 'description': $services.localization.render('help.import.description'),
104 104   'documentation': 'http://platform.xwiki.org/xwiki/bin/view/Features/Imports'
105 105  }])
106 106  {{/velocity}}
107 107  
108 108  {{velocity}}
109 -= How to use XWiki? =
109 += $services.localization.render('help.title1') =
110 110  
111 -XWiki offers a wide range of powerful features that will enable you to create, organize and find content. This section will show you how to use the basic features of XWiki.
111 +$services.localization.render('help.description1')
112 112  
113 113  {{html clean="false"}}
114 114  #display4Cards($howToCards)
115 115  {{/html}}
116 116  
117 -= Main XWiki features =
117 += $services.localization.render('help.title2') =
118 118  
119 -Congratulations for acquiring your XWiki instance. XWiki is very versatile and can be used to create knowledge bases, intranets or any type of business application you want. This is achievable because of XWiki's customization power, that starts at page level, from a simple to a more advanced usage.
119 +$services.localization.render('help.description2')
120 120  
121 121  {{html clean="false"}}
122 122  #display4Cards($featureCards)
XWiki.UIExtensionClass[0]
Extension Parameters
... ... @@ -1,3 +1,3 @@
1 -label=Help
1 +label=$services.localization.render('help.title')
2 2  target=Help.WebHome
3 3  icon=icon:help