Wiki source code of Features
Last modified by Lucas Charpentier (Sereza7) on 2024/03/26
Show last authors
author | version | line-number | content |
---|---|---|---|
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 ($basicMap = [ | ||
29 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-select-all.png', 'link' : '[[Page editing>>PageEditing]]', 'description' : 'Use simple [[wiki syntax>>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.'}, | ||
30 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@document-open.png', 'link' : '[[History>>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.'}, | ||
31 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-find-replace.png', 'link' : '[[Navigation>>Documentation.UserGuide.Features.Navigate.WebHome]]', 'description' : 'Navigate to wiki pages easily (search, page index, breadcrumb, URL, jump to page, etc).'}, | ||
32 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@applications-internet.png', 'link' : '[[Content Organization>>ContentOrganization]]', 'description' : 'Organize your pages by grouping them together by domain.'}, | ||
33 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-undo.png', 'link' : '[[Imports>>Imports]]', 'description' : 'Import content inside XWiki: Office, XWiki pages, Other wiki content, Excel, CSV, etc.'}, | ||
34 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-redo.png', 'link' : '[[Exports>>Exports]]', 'description' : 'Export wiki pages to PDF, ODT, RTF, XML or HTML.'}, | ||
35 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@accessories-text-editor.png', 'link' : '[[Programming>>Programming]]', 'description' : "Use XWiki's programming API directly into your pages (Velocity or Groovy) to perform advanced formatting, layout or anything really."}, | ||
36 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@package-x-generic.png', 'link' : '[[Applications, Extensions & Flavors>>Applications]]', 'description' : 'Create or use add-ons to your wiki in the form of Applications, Extensions and Flavors.'}, | ||
37 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@view-refresh.png', 'link' : '[[RESTful>>XWikiRESTfulAPI]] remote API', 'description' : "Use XWiki's RESTful remote API to easily integrate XWiki with your application."}, | ||
38 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@network-server.png', 'link' : '[[Database Support>>DatabaseSupport]]', 'description' : "Pages are stored in a relational database. Use your favorite database."}, | ||
39 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@keyboard-shortcuts.png', 'link' : '[[Keyboard Shortcuts>>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' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-find-replace.png', 'link' : '[[Page Lifecycle>>DocumentLifecycle]]', 'description' : "Create, Edit, Show, Print, Delete, Copy, Rename, Comment and Send By Mail pages."}, | ||
41 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@mail-attachment.png', 'link' : '[[Attachments>>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' : 'Documentation.UserGuide.Features.FeaturesExtract@system-lock-screen.png', 'link' : '[[Rights Management>>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' : 'Documentation.UserGuide.Features.FeaturesExtract@user-groups-management.png', 'link' : '[[Users and Groups Management>>UsersAndGroupsManagement]]', 'description' : "Add, delete and edit the users and groups in your wiki."}, | ||
44 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@black-rss.png', 'link' : '[[Getting notified>>Notifications]]', 'description' : "You can stay up to date with changes made to your wiki using RSS feeds, the Notifications application and more."}, | ||
45 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@preferences-desktop-theme.png', 'link' : '[[Skins>>Skins]]', 'description' : "Completely customize page templates, add menus, modify CSS files. You're in complete control of the look & feel."}, | ||
46 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@preferences-desktop-locale', 'link' : '[[Internationalization>>I18N]]', 'description' : "Support different translations of your pages and have your users be automatically directed to version in their own language."}, | ||
47 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@accessibility.png', 'link' : '[[Accessibility>>Accessibility]]', 'description' : "Support the diversity of user needs."}, | ||
48 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@utilities-system-monitor.png', 'link' : '[[Scalability & Performance>>ScalabilityPerformance]]', 'description' : "XWiki supports virtual wikis and allows Farms of wikis to be set up easily."}, | ||
49 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@document-new.png', 'link' : '[[Document Templates & Forms>>Forms]]', 'description' : "Easily creates forms by simple visual editing, attach these forms to pages and query them."}, | ||
50 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@system-lock-screen.png', 'link' : '[[Authentication>>Authentication]]', 'description' : "Describes the various authentication mechanisms suported by XWiki (Form, Basic, LDAP, Custom, etc)."}, | ||
51 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@system-lock-screen.png', 'link' : '[[Distribution Wizard>>DistributionWizard]]', 'description' : "Allows installing and upgrading your XWiki instances automatically."} | ||
52 | ]) | ||
53 | |||
54 | = Base Features = | ||
55 | {{/velocity}} | ||
56 | |||
57 | {{velocity filter="html"}} | ||
58 | #displayFeatures($basicMap) | ||
59 | {{/velocity}} | ||
60 | |||
61 | {{cache id='flavorFeatures3' timeToLive='86400'}} | ||
62 | {{velocity}} | ||
63 | #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 '%flavor%')") | ||
64 | #set ($extensions = $services.query.xwql($xwql).setWiki('extensions').execute()) | ||
65 | #set ($flavorMap = []) | ||
66 | #set ($wikiReference = $services.model.createWikiReference('extensions')) | ||
67 | #foreach ($extension in $extensions) | ||
68 | #set ($reference = $services.model.resolveDocument($extension, $wikiReference)) | ||
69 | #set ($extensionDoc = $xwiki.getDocument($reference)) | ||
70 | #set ($dummy = $extensionDoc.use("ExtensionCode.ExtensionClass")) | ||
71 | #set ($icon = $extensionDoc.getValue("icon")) | ||
72 | #if ("$!icon" == "") | ||
73 | #set ($icon = "icon:cog") | ||
74 | #end | ||
75 | ## Remove "Application" suffix if it's there for better integration with other features | ||
76 | #set ($name = $extensionDoc.plainTitle) | ||
77 | #if ($name.endsWith("Application")) | ||
78 | #set ($name = $name.substring(0, $mathtool.sub($name.length(), 11))) | ||
79 | #end | ||
80 | #set ($discard = $flavorMap.add({'icon' : "$icon", 'link' : "[[$name>>extensions:$extensionDoc.fullName]]", 'description' : "$extensionDoc.getValue('summary')"})) | ||
81 | #end | ||
82 | |||
83 | = XWiki Standard Features = | ||
84 | |||
85 | [[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. | ||
86 | |||
87 | {{/velocity}} | ||
88 | |||
89 | {{velocity filter="html"}} | ||
90 | #displayFeatures($flavorMap) | ||
91 | {{/velocity}} | ||
92 | {{/cache}} | ||
93 | |||
94 | {{velocity}} | ||
95 | = Other Features = | ||
96 | |||
97 | 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. | ||
98 | {{/velocity}} |