sub DoEdit { my ($id, $isConflict, $oldTime, $newText, $preview) = @_; my ($header, $editRows, $editCols, $userName, $revision, $oldText); my ($summary, $isEdit, $pageTime); if ($FreeLinks) { $id = &FreeToNormal($id); # Take care of users like Markus Lude :-) } if (!&UserCanEdit($id, 1)) { print &GetHeader('', T('Editing Denied'), ''); if (&UserIsBanned()) { print T('Editing not allowed: user, ip, or network is blocked.'); print "<p>"; print T('Contact the wiki administrator for more information.'); } else { print Ts('Editing not allowed: %s is read-only.', $SiteName); } print &GetCommonFooter(); return; } ...There's not difference between $SiteName is read only and $id is read only (but tt>$SiteName</tt> is write access).
--JuanmaMP