User:Bugghost/Scripts/UserRoleIndicator.js: Difference between revisions

Content deleted Content added
whoops
bugfix: wmf icon couldn't be customised
Line 269:
// highlight anybody with "WMF" in their name, case insensitive. this should not generate false positives because "WMF" is on the username blacklist. see https://meta.wikimedia.org/wiki/Title_blacklist
if ( this.user.match( /^[^/]*WMF/i ) ) {
this.addRoleIcon( '🌐'this.roleInfoLookup.wmf[0], 'Wikimedia Foundation (WMF)'this.roleInfoLookup.wmf[1] );
}