When checking permissions for wiki look at dot format role names too.

CourseRole names have a new format (type_org.number.run). Previously
when checking if a user was staff for a course wiki only type_org/number/run
and type_number format role names were checked. Now type.org.number.run
format names are also checked.

LMS-2136