XWIKI-9516: Create a new Wiki API that replaces xwiki-platform-wiki-manager and xwiki-platform-workspace.

* Fix bug.
XWIKI-9516: Create a new Wiki API that replaces xwiki-platform-wiki-manager and xwiki-platform-workspace.

* Prepare Pull Request.