Use new repository clone button in wikis
## Summary <!-- Please briefly describe what part of the code base needs to be refactored. --> Wikis use an old version of our clone panel: ![image](/uploads/9e6c96fd8940520b100730ad6a7dea1f/image.png) ## Improvements <!-- Explain the benefits of refactoring this code. See also https://about.gitlab.com/handbook/values/index.html#say-why-not-just-what --> Switch to the new clone button used in projects and snippets: ![image](/uploads/dd67bcb7c9c59de282eee00396546d4e/image.png) This will allow us to remove some legacy code which was only used for the old clone panel. ## Involved components <!-- List files or directories that will be changed by the refactoring. --> After switching, the following code can be removed: - `app/views/shared/_clone_panel.html.haml` - `app/helpers/button_helper.rb`: `http_clone_button`, `http_dropdown_description`, `ssh_clone_button` - `ee/app/helpers/ee/button_helper.rb`: overrides for the above methods - `ee/app/views/shared/_kerberos_clone_button.html.haml` - `ee/app/helpers/ee/button_helper.rb`: `kerberos_clone_button` - `qa/qa/page/component/legacy_clone_panel.rb` The new clone button has two implementations as well: - `app/views/projects/buttons/_clone.html.haml` (projects) - There's also a mobile version in `app/views/shared/_mobile_clone_panel.html.haml`. - `app/assets/javascripts/vue_shared/components/clone_dropdown.vue` (snippets) It would probably make sense to use the Vue version, although it doesn't have a proper mobile version yet.
issue