Board Thread:Support Requests - Getting Technical/@comment-35257950-20141020014500/@comment-2170536-20141020192913

I get the same UserTagsJS error when I visit the Dumbledore's Army Roleplay Wiki. After checking that wiki's Common.js file, I see the following lines: importScriptPage('UserTags/code.js', 'dev'); UserTagsJS.modules.mwGroups = ['bureaucrat', 'sysop', 'rollback', 'bot']; UserTagsJS.modules.metafilter = { 'sysop': ['bot'], // Remove "Admin" tag from bots 'autoconfirmed': ['user'], 'chatmoderator': ['rollback'], };

Assuming you want to use usertags, that should be changed to the following: UserTagsJS.modules.mwGroups = ['bureaucrat', 'sysop', 'rollback', 'bot']; UserTagsJS.modules.metafilter = { 'sysop': ['bot'], // Remove "Admin" tag from bots 'autoconfirmed': ['user'], 'chatmoderator': ['rollback'], }; importScriptPage('UserTags/code.js', 'dev');

The importScriptPage must come after the definition, as that is what configures how the usertags behave. The script expects UserTagsJS to already exist, and it fails in this case because it isn't defined before it's imported.

I don't know what causes the "FB" error yet, but I'll keep checking.