XWiki Enterprise 2.5 Milestone 1

Version 22.1 by Silvia Macovei on 2010/09/07

First milestone of the XWiki Enterprise 2.5 version (Roadmap).

The highlights of this release are: improvements to action menus, a mechanism for inserting custom links in the header, the introduction of cancelable events and better external search engine indexing support.

New and Noteworthy (since XWiki Enterprise 2.4)

Improvements to Action Menus

  • New Add menu: Use the "Add" menu to create new spaces, pages, add attachments and comments.


  • Improved Wiki and Space menus: You may now access the document index straight from the wiki & space menus.

    WikiMenu.png        SpaceMenu.png

  • New Page menu: Integrates the Watch, Copy, Rename and Delete actions.


  • The Edit, Export, More actions and Profile menus also benefited from a refresh.

Added mechanism for inserting custom links in the header

  • custom navigational links (unversal edit, paged navigation, index, author...)
  • custom RSS feed links
  • custom metadata links (DOAP, FOAF, generic RDF...)

$xwiki.linkx.use($xwiki.getURL('Blog.BlogRss', 'view', "xpage=plain&blog=${blogDoc.fullName}"),
  {'rel' : 'alternate', 'type':'application/rss+xml', 'title': "$title"})

Introduced cancelable events

This allows to cancel document saving, better security with script execution, and canceling an event that has errors on initialization.

Better external search engine indexing support

Google search results didn't always point to canonical view of pages.

Keep the content menu visible when scrolling down


When scrolling down on a document, the content menu will follow, so the user will not have to scroll up on top of the page in order to access it.

Known issues

Backward Compatibility and Migration Notes

General Notes

If you're running in a multiwiki setup you'll also need to define the property xwiki.store.migration.databases=all to your xwiki.cfg file or explicitly name all databases to be migrated as in xwiki.store.migration.databases=db1,db2,....

You may also want to import the default wiki XAR in order to benefit from the improvements listed above.

Always make sure you compare your xwiki.cfg file with the newest version since some configuration parameters were added. Note you should add xwiki.store.migration=1 so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.

Migration Notes

  • The main entry point for the search UI is now the Main.Search page that will use the configured search engine (Lucene by default). If you want to refer to Lucene or Database search explicitly you can use the Main.LuceneSearch and Main.DatabaseSearch pages. Note that nothing is broken here (Main.WebSearch page is still there and internally it includes the Main.DatabaseSearch page), it's just the new clean way of targeting the search page.

Removed deprecated flickr plugin

Removed the old flickr plugin because it was outdated and the API was broken. We will have a new one, re-written, in the future.
It can still be found in contrib-retired. Here is the link.

API Breakages

The following APIs were modified since XWiki Enterprise 2.4:

[ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public org.xwiki.rendering.internal.transformation.MacroTransformation getMacroTransformation()' has been removed
[ERROR] org.xwiki.rendering.transformation.MacroTransformationContext: Method 'public void setMacroTransformation(org.xwiki.rendering.internal.transformation.MacroTransformation)' has been removed
[ERROR] org.xwiki.rendering.transformation.Transformation: Method 'public void transform(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface
[ERROR] org.xwiki.rendering.transformation.TransformationManager: Method 'public void performTransformations(org.xwiki.rendering.block.Block, org.xwiki.rendering.transformation.TransformationContext)' has been added to an interface

Get Connected