Hide wiki edit button when user is already on the edit view
Created by: dvrylc
Fixes #9476 where the edit button may confuse users who are editing a wiki page.
When a user is editing a wiki page, the edit button should be hidden so that the user does not unintentionally click on it again, causing a page refresh and loss of all unsaved changes.