As promised, I want to finish the review of the new features of the wiki portlet. This time I'm not going to write much and will let the screenshots speak for themselves:
Diff view of changes betweeen versions.
Here goes a feature that we've waited for for a long time:
Click the button and you get:
Nice, right? You have to thank Bruno for it.
Subscriptions to changes
It's now very easy to keep up to date of changes made to the wiki either by subscribing to a single page or to a all the pages of a wiki (aka node). You can subscribe to a page from the pages Properties table and to the node from the Recent Changes page:
Showing images
You can include images published anywhere in the Internet by using the URL. Note how simple and easy to remember is Creole's syntax specially when compared to WikiPedia's syntax:
And here is the result:
Attachments
Some times you want to include an image that is not yet published somewhere else. Or you may want to attach some other type of file to the wiki page. Welcome attachments!
No images yet. Let's upload some:
There you go:
When editing a page you get a list of all files attached to the page (with links to preview the image if desired), so showing an image is as easy as copying the image name between {{ and }} signs.
Table of contents, inclusion of pages and other JSPWiki plugins
One of the nice characteristics of JSPWiki is that it has lots of plugins. While I haven't tested them all and can't ensure they work, I've tested two of the most useful ones, including pages and table of contents. Note that Creole has a defined syntax to include plugins which is quite easy to type and does not conflict with other constructs. For example:
<<TableOfContents>>
Here is the result:
To include a page, it's necessary to use JSPWiki's InsertPage plugin (although I plan to support an easier syntax in the future):
<<InsertPage page='IncludedPage'>>
Regarding plugins, if you test a JSPWiki and it fails, please let me know.
Optimistic locking
Have you ever spent some time writing some text and for some reason lost it? Isn't very very annoying?. How about if you don't notice and someone overwrites your wiki changes. That can't happen anymore in Liferay's wiki:
Children pages
This is one of the last features added and is one of my favorites. In wiki.liferay.com we often have to create related content that spans several pages. Wouldn't it be nice for the wiki itself to handle these relationships? Here you go:
A nice detail is that when visiting a children page you get a breadcrumb showing its parents above the title:
Tag based navigation
The last feature is very simple, but nevertheless very useful. Whenever a page has several tags, these tags are shown as links that can be clicked to see a list of all pages with the same tag:
And when clicking, for example, the "creole" tag you get:
Future
My plans for the future of the wiki are to make it as robust and easy to use as possible. I'm sure there are lots of features that could be added (I have lots of ideas myself), but sometimes adding more features makes an application harder to use in general. So I want to be cautious and spend the time doing little improvements to make sure it's a pleasure to use the current functionalities rather than making it become a fat bag of features :)
Having said so, keep the suggestions coming :)


