XWIKI-9429: Display the "add wiki" link only if the user has the "createwiki" right and if a wiki template is created.

* Add a comment to explain how $hasCreateWorkspace is determined.