Thread:Extension talk:Topbar/adding edit button

how would I add a button that allows a user to edit which ever current page they are on?