Skip to content

Commit

Permalink
PermClerk: remove obsolete HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
MusikAnimal committed Jul 23, 2021
1 parent a8dc041 commit f054ea8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/perm_clerk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def self.prerequisites
if pass.nil?
record_error(
group: 'prerequisites',
message: "Failed to fetch data <tt>#{key}</tt> for User:#{@username}",
message: "Failed to fetch data {{mono|#{key}}} for User:#{@username}",
log_message: " failed to fetch prerequisite data: #{key}"
)
elsif pass
Expand Down Expand Up @@ -890,13 +890,13 @@ def self.get_message(type, params = {})
if params[:permission] == 'autowikibrowser'
"does not appear to have been added to the [[#{AWB_CHECKPAGE}|CheckPage]]<!-- mbNoPerm -->"
else
"does not appear to have the permission <tt>#{params[:permission]}</tt><!-- mbNoPerm -->"
"does not appear to have the permission {{mono|#{params[:permission]}}}<!-- mbNoPerm -->"
end
when :saidPermission
if params[:permission] == 'autowikibrowser'
"is still on the [[#{AWB_CHECKPAGE}|CheckPage]]<!-- mbHasPerm -->"
else
"still holds the <tt>#{params[:permission]}</tt> right<!-- mbHasPerm -->"
"still holds the {{mono|#{params[:permission]}}} right<!-- mbHasPerm -->"
end
when :templateSpaceCount
"has <!-- mb-templateSpaceCount -->#{params[:templateSpaceCount]}<!-- mb-templateSpaceCount-end --> " \
Expand Down

0 comments on commit f054ea8

Please sign in to comment.