Wiki source code of Features
Version 17.1 by Simon Urli on 2023/05/26
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
6.1 | 1 | {{velocity filter="html"}} |
2 | #macro(displayFeatures $map) | ||
![]() |
9.4 | 3 | (%class='row'%)((( |
![]() |
6.1 | 4 | #foreach ($item in $map) |
5 | #if ($foreach.count % 2 == 1) | ||
![]() |
9.4 | 6 | (%class="clearfix"%)((())) |
![]() |
6.1 | 7 | #end |
![]() |
9.4 | 8 | (%class="col-xs-12 col-sm-6"%)((( |
9 | (%class="row"%)((( | ||
![]() |
9.6 | 10 | (%class='col-xs-2 col-sm-1 featureIcon'%)((( |
![]() |
9.4 | 11 | [[image:$item['icon']]] |
12 | ))) | ||
![]() |
9.6 | 13 | (%class='col-xs-10 col-sm-11 featureDescription'%)((( |
![]() |
9.4 | 14 | $item['link']$nl |
15 | $item['description'] | ||
16 | ))) | ||
17 | ))) | ||
![]() |
6.1 | 18 | ))) |
19 | #end | ||
![]() |
9.2 | 20 | ))) |
![]() |
6.1 | 21 | #end |
22 | {{/velocity}} | ||
23 | |||
24 | {{velocity}} | ||
25 | ## ============= | ||
26 | ## Base Features | ||
27 | ## ============= | ||
![]() |
17.1 | 28 | #set ($discard = $xwiki.ssx.use('Documentation.UserGuide.Features.FeaturesExtract')) |
![]() |
6.1 | 29 | #set ($basicMap = [ |
![]() |
10.1 | 30 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-select-all.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.'}, |
![]() |
9.9 | 31 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@document-open.png', '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.'}, |
![]() |
13.1 | 32 | {'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).'}, |
33 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@applications-internet.png', 'link' : '[[Content Organization>>platform:Features.ContentOrganization]]', 'description' : 'Organize your pages by grouping them together by domain.'}, | ||
34 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-undo.png', 'link' : '[[Imports>>platform:Features.Imports]]', 'description' : 'Import content inside XWiki: Office, XWiki pages, Other wiki content, Excel, CSV, etc.'}, | ||
![]() |
12.1 | 35 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-redo.png', 'link' : '[[Exports>>platform:Features.Exports]]', 'description' : 'Export wiki pages to PDF, ODT, RTF, XML or HTML.'}, |
![]() |
6.1 | 36 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@accessories-text-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."}, |
37 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@package-x-generic.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.'}, | ||
38 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@view-refresh.png', 'link' : '[[RESTful>>platform:Features.XWikiRESTfulAPI]] remote API', 'description' : "Use XWiki's RESTful remote API to easily integrate XWiki with your application."}, | ||
![]() |
10.1 | 39 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@network-server.png', 'link' : '[[Database Support>>platform:Features.DatabaseSupport]]', 'description' : "Pages are stored in a relational database. Use your favorite database."}, |
![]() |
6.1 | 40 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@keyboard-shortcuts.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."}, |
![]() |
10.2 | 41 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@edit-find-replace.png', 'link' : '[[Page Lifecycle>>platform:Features.DocumentLifecycle]]', 'description' : "Create, Edit, Show, Print, Delete, Copy, Rename, Comment and Send By Mail pages."}, |
![]() |
6.1 | 42 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@mail-attachment.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."}, |
![]() |
10.1 | 43 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@system-lock-screen.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."}, |
![]() |
6.1 | 44 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@user-groups-management.png', 'link' : '[[Users and Groups Management>>platform:Features.UsersAndGroupsManagement]]', 'description' : "Add, delete and edit the users and groups in your wiki."}, |
45 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@black-rss.png', '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."}, | ||
![]() |
10.1 | 46 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@preferences-desktop-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."}, |
47 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@preferences-desktop-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."}, | ||
![]() |
6.1 | 48 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@utilities-system-monitor.png', 'link' : '[[Scalability & Performance>>platform:Features.ScalabilityPerformance]]', 'description' : "XWiki supports virtual wikis and allows Farms of wikis to be set up easily."}, |
![]() |
10.1 | 49 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@document-new.png', 'link' : '[[Document Templates & Forms>>platform:Features.Forms]]', 'description' : "Easily creates forms by simple visual editing, attach these forms to pages and query them."}, |
![]() |
6.1 | 50 | {'icon' : 'Documentation.UserGuide.Features.FeaturesExtract@system-lock-screen.png', 'link' : '[[Authentication>>platform:Features.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>>platform:Features.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 | |||
![]() |
15.2 | 61 | {{cache id='flavorFeatures3' timeToLive='86400'}} |
![]() |
6.1 | 62 | {{velocity}} |
![]() |
13.1 | 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%')") |
![]() |
6.1 | 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 | |||
![]() |
6.2 | 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. |
![]() |
6.1 | 86 | |
87 | {{/velocity}} | ||
88 | |||
89 | {{velocity filter="html"}} | ||
90 | #displayFeatures($flavorMap) | ||
91 | {{/velocity}} | ||
![]() |
7.1 | 92 | {{/cache}} |
![]() |
6.1 | 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}} |