Manual:$wgUseExternalEditor

Details
Activate external editor interface for files and pages.

set as $wgUseExternalEditor = true; // ??