Go to Wiki tool
Click Info tab
Be sure, student role has disabled Edit permission
Enter as a student
Now, a student can't click Edit tab.
I think Edit text shouldn't appears.
<li><span id="editLink" class="pageLinkInactive">Edit</span> </li>
Appears Edit tab when remove Edit permission to a Student