I read in WP's entry on Persian alphabet that the "ye" final form is 'ﯽ', and its medial form is 'ﯿ'.
Logically, when typing "میگفت", most software automagically write "میگفت".
However, the wiktionary, as well as first google results for "میگفت", use the "میگفت" form.
What is the difference between "میگفت" and "میگفت", if any ? And why is the final form used in the middle of this word (there is no space after) instead of the medial form for this particular word ?