Wanted XWiki Syntax 2.0 Macros
Last modified by Vincent Massol on 2024/04/15 16:17
Description
The aim of this proposal is to list XWiki Syntax 2.0 Macros that we need to have bundled by default in XWiki Enterprise. These need to be implemented either as Wiki Macro or Java macros. The decision to implement them in Java or in a wiki page is done on a case by case basis and requires discussion on the XWiki devs list.
Needed Macros
Macro Name | Wiki Macro (W) or Java Macro (J) | Comments | Priority |
---|---|---|---|
See LiveTable20Macro and it's now been deprecated by the LiveData Macro | 1 | ||
Form macro | J | In order to be able to avoid using the HTML macro | 1 |
3 | |||
W (or we move the Blog velocity code to Java code and do a Java macro) | Several macros are now provided | 2 | |
2 | |||
Search macro | 2 | ||
1 | |||
J | 3 | ||
Treeview macro | 3 | ||
Lightbox macro | 2 | ||
Map macro | W | A wiki macro was contributed | 2 |
Generic macros for applications | 2 | ||
A wiki macro was contributed | 1 | ||
Tabbed display macro | W | A wiki macro was contributed | 4 |
Lua macro | J (like any other script macro) | ? | |
W | Done, see Activity Macro and more recently the Notifications macro | 2 | |
Attachment macro | W | Display a list of attachments attached to a page. Also be able to group them by extension (.pdf, .doc, .xls). | 2 |
Youtube macro | 1 | ||
Dailymotion macro | 1 | ||
Iframe macro | May be a javascript hazard. | 2 | |
Display scrolling images from a given gallery | 2 | ||
The idea is to be able to put some content in any syntax in a page which is in another syntax. For example a piece of mediawiki inside a xwiki/2.0 document. Useful for pages like XWikiSyntax for example to put examples. | 4 | ||
Menu Macro | A macro that would display a menu which would be stored and editable in a structured way. Different menu styles could be available (tree, drop down, etc..) | 5 | |
Live Search Macro | This macro would allow to display a live ajax search of all pages, space pages, specific class pages | 2 | |
Google Macros | Macros for different google services: googles docs, calendar, chart, etc.. Some macros have already been contributed | 2 | |
Members Macros | List users with avatar that have explicit rights to view the page/space (direct rights or rights through groups) or display members of a group | 2 | |
Contributors macro | List all the contributors of the current page | 2 | |
Display macro | To display document fields without velocity (and most of all without escaping hack since using macro directly produce XDOM) | 3 |
Sources of inspiration
- http://confluence.atlassian.com/display/DOC/Working+with+Macros#WorkingwithMacros-MacrosShippedwithyourConfluenceInstallation
- http://www.github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/macros.vm