XWIKI-11044: Even you are the creator of an (sub)wiki, the option "Request join" is active on Wiki Index.

* Fix the build.
* Improve a bit the UI code.

(cherry picked from commit e0dc546f8a3bfa4b5c34d0b338ca16e92c7b03d1)