Extension:HideEditOnPreview

Installation
Installation: Copy the code under "source code" and save it as HideEditOnPreview.php and add that file to your extension folder the following to LocalSettings.php: