Code Snippets
Code Snippets
A code snippet is simply a portion of code that you can paste in a page.
There are currently 101 code snippets available for XWiki.
Wanted Snippets
Put here Snippets that you'd love to see written (and then pray that someone will be kind enough to write them!):- List all broken links in a space (i.e. wiki links that have no document created)
- Code to add an reoccuring event with the ability to set events to be weekly, or ever 6 months, etc...
- VincentMassol: There's a scheduler plugin available
- Contacts page snippet.It will be usefull to view the contact information of all users.
- An inline table of contents like Mediawiki
- combining toc, show/hide, and the box macros
- toggling the words show and hide
- changing the cursor as a visual clue, when placed near the toc show/hide 'button'
- A snippet to attach all files in a folder would be nice
- You can already do that using WebDAV.
- "All Files in a folder" means you'd have access to the filesystem on the server which is a security risk
- Popular sites solve this problem with Java Applet or Flash. Another considerable options are HTML5 File API and Google Gears (description and demo).
- Button to make a new page within current space with a title filled in by the user.