Manual:$wgFixArabicUnicode

Details
Set this to true to replace Arabic presentation forms with their standard forms in the U+0600-U+06FF block. This only works if $wgLanguageCode is set to "ar".

Pages with titles containing presentation forms will become inaccessible, run maintenance/cleanupTitles.php to fix this.