Wiki source code of Features

Last modified by Vincent Massol on 2019/06/07

Show last authors
1 {{velocity filter="html"}}
2 #macro(displayFeatures $map)
3 (%class='row'%)(((
4 #foreach ($item in $map)
5 #if ($foreach.count % 2 == 1)
6 (%class="clearfix"%)((()))
7 #end
8 (%class="col-xs-12 col-sm-6"%)(((
9 (%class="row"%)(((
10 (%class='col-xs-2 col-sm-1 featureIcon'%)(((
11 [[image:$item['icon']]]
12 )))
13 (%class='col-xs-10 col-sm-11 featureDescription'%)(((
14 $item['link']$nl
15 $item['description']
16 )))
17 )))
18 )))
19 #end
20 )))
21 #end
22 {{/velocity}}
23
24 {{velocity}}
25 ## =============
26 ## Base Features
27 ## =============
28 #set ($discard=$xwiki.ssx.use('platform:Features.FeaturesExtract'))
29 #set ($basicMap = [
30 {'icon' : '[email protected].png', 'link' : '[[Page editing>>platform:Features.PageEditing]]', 'description' : 'Use simple [[wiki syntax>>platform:Main.XWikiSyntax]] to format text, create tables, create links, display images, etc. Alternatively use a powerful [[WYSIWYG editor>>extensions:Extension.CKEditor Integration.WebHome]] to edit the content of pages.'},
31 {'icon' : '[email protected]ng', 'link' : '[[History>>platform:Features.VersionControl]]', 'description' : 'Any change made in XWiki is saved under version control, meaning you can view any previous version of a page, compare different versions or rollback to any past version.'},
32 {'icon' : '[email protected]', 'link' : '[[Imports>>platform:Features.Imports]]', 'description' : 'Import content inside XWiki: Office, XWiki pages, Other wiki content, Excel, CSV, etc.'},
33 {'icon' : '[email protected]', 'link' : '[[Exports>>platform:Features.Exports]]', 'description' : 'Export wiki pages to PDF, ODT, RTF, XML or HTML.'},
34 {'icon' : '[email protected]ternet.png', 'link' : '[[Content Organization>>platform:Features.ContentOrganization]]', 'description' : 'Organize your pages by grouping them together by domain.'},
35 {'icon' : '[email protected]t-editor.png', 'link' : '[[Programming>>platform:Features.Programming]]', 'description' : "Use XWiki's programming API directly into your pages (Velocity or Groovy) to perform advanced formatting, layout or anything really."},
36 {'icon' : '[email protected]ic.png', 'link' : '[[Applications, Extensions & Flavors>>platform:Features.Applications]]', 'description' : 'Create or use add-ons to your wiki in the form of Applications, Extensions and Flavors.'},
37 {'icon' : '[email protected]g', 'link' : '[[RESTful>>platform:Features.XWikiRESTfulAPI]] remote API', 'description' : "Use XWiki's RESTful remote API to easily integrate XWiki with your application."},
38 {'icon' : '[email protected]png', 'link' : '[[Database Support>>platform:Features.DatabaseSupport]]', 'description' : "Pages are stored in a relational database. Use your favorite database."},
39 {'icon' : '[email protected]uts.png', 'link' : '[[Keyboard Shortcuts>>platform:Features.KeyboardShortcuts]]', 'description' : "Keyboard shortcuts help you save time since you never have to take your hands off the keyboard to use the mouse."},
40 {'icon' : '[email protected]ce.png', 'link' : '[[Page Lifecycle>>platform:Features.DocumentLifecycle]]', 'description' : "Create, Edit, Show, Print, Delete, Copy, Rename, Comment and Send By Mail pages."},
41 {'icon' : '[email protected].png', 'link' : '[[Attachments>>platform:Features.Attachments]]', 'description' : "Attach as many files as you want to any page. These files can then be referenced and used in page contents."},
42 {'icon' : '[email protected]een.png', 'link' : '[[Rights Management>>platform:Features.RightsManagement]]', 'description' : "Control who can view, edit or delete pages in a flexible manner. Apply rights to a page, children pages or an entire wiki."},
43 {'icon' : '[email protected]agement.png', 'link' : '[[Users and Groups Management>>platform:Features.UsersAndGroupsManagement]]', 'description' : "Add, delete and edit the users and groups in your wiki."},
44 {'icon' : '[email protected]', 'link' : '[[Notifications>>platform:Features.Notifications]]', 'description' : "You can stay up to date with changes made to your wiki using RSS feeds, the Watchlist application and more."},
45 {'icon' : '[email protected]ktop-theme.png', 'link' : '[[Skins>>platform:Features.Skins]]', 'description' : "Completely customize page templates, add menus, modify CSS files. You're in complete control of the look & feel."},
46 {'icon' : '[email protected]ktop-locale', 'link' : '[[Internationalization>>platform:Features.I18N]]', 'description' : "Support different translations of your pages and have your users be automatically directed to version in their own language."},
47 {'icon' : '[email protected]m-monitor.png', 'link' : '[[Scalability & Performance>>platform:Features.ScalabilityPerformance]]', 'description' : "XWiki supports virtual wikis and allows Farms of wikis to be set up easily."},
48 {'icon' : '[email protected]g', 'link' : '[[Document Templates & Forms>>platform:Features.Forms]]', 'description' : "Easily creates forms by simple visual editing, attach these forms to pages and query them."},
49 {'icon' : '[email protected]een.png', 'link' : '[[Authentication>>platform:Features.Authentication]]', 'description' : "Describes the various authentication mechanisms suported by XWiki (Form, Basic, LDAP, Custom, etc)."},
50 {'icon' : '[email protected]een.png', 'link' : '[[Distribution Wizard>>platform:Features.DistributionWizard]]', 'description' : "Allows installing and upgrading your XWiki instances automatically."}
51 ])
52
53 = Base Features =
54 {{/velocity}}
55
56 {{velocity filter="html"}}
57 #displayFeatures($basicMap)
58 {{/velocity}}
59
60 {{cache id='flavorFeatures1' timeToLive='86400'}}
61 {{velocity}}
62 #set ($xwql = "from doc.object(ExtensionCode.ExtensionClass) as extension, doc.object(EXOExtensionCode.ExtensionClass) as exoextension where extension.type = 'xar' and extension.name not like '% Macro' and (exoextension.bundledWith like '%enterprise%' OR exoextension.bundledWith like '%standard%')")
63 #set ($extensions = $services.query.xwql($xwql).setWiki('extensions').execute())
64 #set ($flavorMap = [])
65 #set ($wikiReference = $services.model.createWikiReference('extensions'))
66 #foreach ($extension in $extensions)
67 #set ($reference = $services.model.resolveDocument($extension, $wikiReference))
68 #set ($extensionDoc = $xwiki.getDocument($reference))
69 #set ($dummy = $extensionDoc.use("ExtensionCode.ExtensionClass"))
70 #set ($icon = $extensionDoc.getValue("icon"))
71 #if ("$!icon" == "")
72 #set ($icon = "icon:cog")
73 #end
74 ## Remove "Application" suffix if it's there for better integration with other features
75 #set ($name = $extensionDoc.plainTitle)
76 #if ($name.endsWith("Application"))
77 #set ($name = $name.substring(0, $mathtool.sub($name.length(), 11)))
78 #end
79 #set ($discard = $flavorMap.add({'icon' : "$icon", 'link' : "[[$name>>extensions:$extensionDoc.fullName]]", 'description' : "$extensionDoc.getValue('summary')"}))
80 #end
81
82 = XWiki Standard Features =
83
84 [[XWiki Standard>>http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki%20Standard%20Flavor/]] is the [[Flavor>>Documentation.UserGuide.Features.Applications||anchor="HFlavors"]] developed by the XWiki Dev Team. It contains the following features (in addition to the base features listed above), which are [[Extensions>>Documentation.UserGuide.Features.Applications||anchor="HExtensions"]] installed by default.
85
86 {{/velocity}}
87
88 {{velocity filter="html"}}
89 #displayFeatures($flavorMap)
90 {{/velocity}}
91 {{/cache}}
92
93 {{velocity}}
94 = Other Features =
95
96 Other features can be added to your wiki by [[installing>>extensions:Extension.Extension Manager Application]] extensions not listed above. Check the [[Extensions wiki>>extensions:Main.WebHome]] for a full list of available extensions.
97 {{/velocity}}

Get Connected