MediaWiki:CustomModIcons.js

// ClassicModIcons script // To-do: convert class addition to ES5 mainRoom.viewUsers.model.users.models.map(u => u.attributes).forEach(u => $(`.User[data-user="${u.name}"]`).addClass(`${u.groups.join(" ")}`)); importStylesheetURI("http://dev.wikia.com/load.php?mode=articles&articles=MediaWiki:ClassicModIcons.css&only=styles");