Thread:Project:Support desk/Changing position of the edit link

I am trying to apply this to my site. This code's purpose is to move the [edit] link from the right corner to right next to the header text. But while they gave the syntax, they didn't mention where to place it. How can I do this? What file(s) should I check out? I'm actually using MediaWiki v1.19.2.