XWIKI-9480: "Upgrade all wikis" option does not work.

* Override getUIExtensionId(wiki) instead of getUIExtensionId()
* Please wait until https://github.com/xwiki/xwiki-platform/pull/174 is merged to master.