FANDOM


(Tags Update)
m (archiving)
Line 1: Line 1:
== Translations ==
+
{{Archivelist}}
 
The script tries to translate itself automatically but it can't do so perfectly. To fully translate it, you will need to provide translations for the following messages:
 
*'Inactive'
 
*'Never Edited'
 
*'New Editor'
 
*'New Account'
 
*'Patroller'
 
*'Rollback'
 
*'Global Bot'
 
Note that the script '''does''' support languages that have male/female nouns (e.g. Amministratore [male] and Amministratrice [female] in Italian) so you can provide per-gender translations as well if needed. Please specify the language and list the messages in the same order as given above, if there are male/female variants then please separate them with slashes. Example:
 
*'Amministratore' / 'Amministratrice' / 'amministratore/trice'
 
(Male, Female, Gender neutral/unknown)
 
 
=== ru ===
 
:Inactive: Неактивный участник
 
:Never Edited: Читатель
 
:New Editor: Новый редактор
 
:New Account: Новый участник
 
:Patroller: Патрульный
 
:Rollback: Откатчик
 
:Global Bot: Глобальный бот
 
I think we don't need all nouns, they're long [[User:Rendann|Rendann]] ([[User talk:Rendann|talk]]) 07:20, November 28, 2015 (UTC)
 
:Fixed translation. [[User:Wildream|<span style="color:#002e54;">'''Wild'''</span>]] <helper /> 17:39, January 8, 2016 (UTC)
 
 
=== de ===
 
: inactive: 'Inaktiv'
 
: never edited: 'Keine Bearbeitungen'
 
: new editor: 'Neuer Bearbeiter' / 'Neue Bearbeiterin' / 'Neuer Bearbeiter'
 
: new account: 'Neuer Benutzer' / 'Neue Benutzerin' / 'Neuer Benutzer'
 
: patroller: 'Kontrolleur' / 'Kontrolleurin' / 'Kontrolleur'
 
: rollback: 'Zurücksetzer' / 'Zurücksetzerin' / 'Zurücksetzer'
 
: global bot : 'globaler Bot'
 
 
: [[User:Arkondi|Arkondi]] ([[User talk:Arkondi|talk]]) 07:09, September 26, 2012 (UTC)
 
 
*Added. Thanks. [[User:Lunarity|Lunarity]] 07:25, September 26, 2012 (UTC)
 
 
=== pl ===
 
:'Inactive': 'Nieaktywny' / 'Nieaktywna' / 'Nieaktywny'
 
:'Never Edited': 'Nigdy nie edytował' / 'Nigdy nie edytowała' / 'Nigdy nie edytował' ''or short'' 'Brak edycji'
 
:'New Editor': 'Nowy edytor' / 'Nowa edytorka' / 'Nowy edytor'
 
:'New Account': 'Nowe konto'
 
:'Patroller': 'Patrol'
 
:'Rollback': 'Rollback'
 
:'Global Bot': 'Bot globalny'
 
 
<span style="background-color:rgb(16,16,16); border:1px solid #DAA520; border-radius: 0.5em;"><span style="border-right:1px solid #DAA520; border-radius: 0.5em; padding: 0 8px;">'''[[User:Vuh|<span style="font-size:95%;"><span style="color:#696969;">V</span><span style="color:#808080;">u</span><span style="color:#A9A9A9;">h</span></span>]]'''</span><span style="font-size:85%; border-radius: 0.5em; padding:0 4px;">[[User talk:Vuh|<span style="color:#EEE;">Dyskusja</span>]]</span><span style="font-size:85%; border-left: 1px solid #DAA520; padding:0 4px;">[[Special:EmailUser/Vuh|<span style="color:#EEE;">E-mail</span>]]</span></span> 19:33, October 4, 2012 (UTC)
 
*Added. <del>It'll go live on the next code rollout (should be in an hour or two).</del> [[User:Lunarity|Lunarity]] 03:30, October 5, 2012 (UTC)
 
**Active Now. Thanks. [[User:Lunarity|Lunarity]] 04:01, October 5, 2012 (UTC)
 
 
=== it ===
 
ENG - IT Male / IT Female / IT Gender neutral or unknown
 
: 'Inactive': 'Inattivo' / 'Inattiva' / 'Inattivo'
 
: 'Never Edited': 'Mai modificato' / = / =
 
: 'New Editor': 'Nuovo contributore' / 'Nuova contributrice' / 'Nuovo contributore'
 
: 'New Account': 'Nuovo account' / = / =
 
: 'Patroller': 'Pattugliatore' / 'Pattugliatrice' / 'Pattugliatore'
 
: 'Rollback': 'Rollback' / = / =
 
: 'Global Bot': 'Bot globale' / = / =
 
<code>'''[[User:Leviathan_89|leviathan_<span style="color:#FF9933;">89</span>]]'''</code> 17:03, August 4, 2013 (UTC)
 
 
:Done. —[[User:Wyz|Wyz]] <helper /> 18:09, August 21, 2013 (UTC)
 
 
===uk===
 
Ukrainian translation.
 
:Inactive: Неактивний користувач
 
:Never Edited: Читач
 
:New Editor: Новий редактор
 
:New Account: Новий користувач
 
:Patroller: Патрульний
 
:Rollback: Відкочувач
 
:Global Bot: Глобальний бот
 
----http://images3.wikia.nocookie.net/callofduty4s/images/8/83/Rarita_reading_a_newspaper_by_joemasterpencil-d4upqmj.png[[User:Капитан Джон Шепард|<span style="text-shadow: 1px 1px 7px #520672 ; font-size: 20px; font-family: TimesNewRoman; color:#F1F1F3">'''''Капитан Джон Шепард'''''</span>]]<sup>[[Message Wall:Капитан Джон Шепард|<span style="text-shadow: 0px 0px 5px #520672 ; font-size: 11px; font-family: TimesNewRoman; color:#F1F1F3">'''''(Talk)'''''</span>]]</sup> 02:58, January 8, 2016 (UTC)
 
 
:Fixed translation. [[User:Wildream|<span style="color:#002e54;">'''Wild'''</span>]] <helper /> 17:38, January 8, 2016 (UTC)
 
 
== Why are some tags overridden and others not? ==
 
I've noticed that the MediaWiki:User-whatever messages are sometimes overridden and sometimes not. The VSTF, Staff and ones of that ilk —the ones that basically most people shouldn't tinker with —are displaying whatever is the current state of the MediaWiki message. For example: [[tardis:User:Sarah Manley]] and [[tardis:User:Sulfur]].
 
 
However, other messages like [[MediaWiki:User-identity-box-group-bureaucrat]] and [[MediaWiki:User-identity-box-group-sysop]] ''are'' being overriden by this script.
 
 
Is that intentional? It seems to me like it'd be more logical for either ''all'' MediaWiki messages to be overridden or none of them —unless I'm just not understanding an underlying theory at work here. — [[User talk:CzechOut|CzechOut]] 16:55, September 30, 2012 (UTC)
 
 
: Those aren't being overridden per se, the mwGroups module fetches the ''core'' names of the groups from the server, it's using [[MediaWiki:group-sysop-member]] instead of [[MediaWiki:User-identity-box-group-sysop]] for those. The Staff/VSTF ones are actually not being touched at all, they're being left exactly as Oasis displayed them which is why they show User-identity-box-group messages. I suppose I can change it to prefer User-identity-box-group in all cases if you think it would make more sense to do that. [[User:Lunarity|Lunarity]] 17:34, September 30, 2012 (UTC)
 
 
:Okay, I've altered the biases to prefer User-identity-... over group-...-member. [[User:Lunarity|Lunarity]] 18:49, September 30, 2012 (UTC)
 
 
== You may want to change the place where the tags attach ==
 
I've noticed by looking at our users that have defined a real name that the tags seem to be attaching to <code>.UserProfileMasthead .masthead-info h2</code>. This is somewhat awkward on our wiki, because we don't accept that the h2 should be the Wikia default of <code>display:inline</code>. Some of our users, like [[tardis:User:Duncs Kinnear-Swift]], have very long "real" names, so we use a <code>display:block</code> instead.
 
 
This makes the tags appear on a separate line ''after'' the h2 information, as is the case at [[tardis:user:Josiah Rowe]].
 
 
It might be a thought to allow end-user definition over where the tags will be placed —a sort of "attachwhere" variable —because tardis would certainly put it inline after the h1, not the h2. — [[User talk:CzechOut|CzechOut]] 16:55, September 30, 2012 (UTC)
 
 
: It's actually just appending them to the end of hgroup tag, i.e. after ''everything''. <del>I forgot about the real names thing, I'll have to look into it. Where does Wikia put them in that case?</del> [[User:Lunarity|Lunarity]] 17:41, September 30, 2012 (UTC)
 
 
:Okay, I am emulating Wikia's tagging correctly but it's not working for you. I'll add a parameter that let's you specify a CSS selector to choose what element to place the things after. [[User:Lunarity|Lunarity]] 17:47, September 30, 2012 (UTC)
 
 
:I've added a selector parameter, <code>oasisPlaceBefore</code>. Just set it to <code>'&gt; h2'</code> and it should place the tags in the right place for you (including the Staff/VSTF ones). By the way, what did you want to change the Staff/VSTF tags for earlier? Tardis Wiki already has customised messages for User-identity for those. If you want to make the tags into links or add hover tooltips, I could try doing that. I'm reluctant to allow the order to be controlled on them, but I could be convinced otherwise. [[User:Lunarity|Lunarity]] 18:49, September 30, 2012 (UTC)
 
 
::I've relaxed the restrictions around Staff/VSTF/etc. tags now. You can make them into links and add hover text to them if you want. You still can't move them or change the text though (order and m/f/u are ignored). [[User:Lunarity|Lunarity]] 01:54, October 3, 2012 (UTC)
 
 
==Preferences==
 
 
My preferences module is finished. I need a ''real'' demo now. Tell me which of the UserTags settings should be user-configurable and I'll build it. My suggestion would be to add languages and technical skills (JS/CSS/templates) and give the users the option to grade themselves on a scale for every ability they advertise. Interested? If so, anything else I should add? -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 21:49, September 30, 2012 (UTC)
 
 
: The module docs are [[UserTags/Extending|here]]. The Preferences specific problem you'd have to figure out is that you need to be able to access the user's settings for some ''other'' arbitrary user (viewer is a different person from the setter), I'm not clear on if the preferences system actually supports accessing some other user's configuration data. There's also a problem that UserTags is a wiki script, not a user script which means it won't follow the user to the preferences wiki when they click the configure button [makes showing the UI hard]. The UserTags specific problem is that tags are inherently static, I'm not sure how you would implement grading except for creating a whole swarm of group/tag pairs, or constructing the tags programmatically as needed; neither is particularly appealing on the customisation or i18n fronts (since localising numbers is really ugly, some languages have [https://developer.mozilla.org/en-US/docs/Localization_and_Plurals 6 different types of plurals]).
 
 
: As far as my scripts go, [[DisplayClock]] is probably the best candidate for converting (it already supports live altering of the format string whilst it's running so a live preview customisation UI wouldn't be too hard to do). It's reasonably light but would work as a proof of concept. I'd also like to convert HideRail2, although that is on the back-burner until I ascertain the amount of damage that occurs on Wednesday. [[User:Lunarity|Lunarity]] 22:57, September 30, 2012 (UTC)
 
 
::<blockquote>The Preferences specific problem you'd have to figure out is that you need to be able to access the user's settings for some ''other'' arbitrary user (viewer is a different person from the setter), I'm not clear on if the preferences system actually supports accessing some other user's configuration data.</blockquote>
 
::True. I would still have to add that. As long as I make those "foreign" settings read-only there should be not much of a problem though. I could make it so that the preferences of the user whose page is visited are loaded by default.
 
 
::Programmatically constructing tags is a bit more complicated, yes, but ask yourselves this: Wouldn't it be cool to see at first sight what languages a user speaks? Or what skills he wants to offer to the community and at what level? You've built a cool library with UserTags. It's time to use it for some cool stuff now! :)
 
 
::DisplayClock strikes me as a very bad candidate btw. I cannot see myself changing the positioning of the clock or the time formatting - at least not where DisplayClock is installed as a site script. If it's good enough for the rest of the wiki, it's good enough for me. I'd rather not build an interface I wouldn't use myself. -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 00:12, October 01, 2012 (UTC)
 
 
:::Constructing the tags themselves won't be hard, although it does prevent the user from customising them since any attempt to override the text will lose the numbers/whatever. That can be worked around by the module taking configuration options to control the text itself instead of relying on the normal core behaviour to take care of that. I find multilingual string processing is a pain but if you want to do it then UserTags will handle it fine, just make sure to set the male and female parameters if they are relevant to the active UI language. [[User:Lunarity|Lunarity]] 01:58, October 1, 2012 (UTC)
 
 
===Interface design suggestion===
 
We need to make a few design choices before we know how difficult the i18n might be...
 
 
Here's what I'd suggest for the tags:
 
 
<p><span style="padding: 2px 6px; margin: 4px; border-radius: 4px; background-color: #0F9;" title="This user is a native speaker">En-4</span><span style="padding: 2px 6px; margin: 4px; border-radius: 4px 4px 4px 4px; background-color: rgb(255, 195, 215);" title="This user can use CSS at an advanced level">CSS-3</span></p>and for the Script Preferences:
 
 
[[File:User-tags-options.png|center]]
 
 
<div class="mw-customtoggle-myDivision" style="text-align: center; color: darkblue; padding: 3px; margin-top: 12px; cursor: pointer; border-bottom: 1px solid darkblue;">Actual HTML used:</div>
 
 
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">
 
<source lang="html5">
 
<fieldset><legend>User Tags</legend>
 
<fieldset><legend>Languages</legend>
 
<p>What languages do you speak and want to be contacted in by other users?</p>
 
<table><tr>
 
<td><input type="button" value="add" id="ub-langs-add" /></td>
 
<td colspan="5"><select id="ub-langs-select"><option>Aafrikaans</option></select></td>
 
</tr><tr>
 
<td><input type="button" value="remove" id="ub-langs-rem" /></td>
 
<td><input type="checkbox" id="ub-langs-en" checked /><label for="ub-skills-js">English</label></td>
 
<td><input type="radio" class="ub-langs-en-rating" value="1" disabled /> basic</td>
 
<td><input type="radio" class="ub-langs-en-rating" value="2" disabled /> intermediate</td>
 
<td><input type="radio" class="ub-langs-en-rating" value="3" disabled /> advanced</td>
 
<td><input type="radio" class="ub-langs-en-rating" value="4" checked disabled /> native speaker</td>
 
</tr></table>
 
</fieldset>
 
<fieldset><legend>Skills</legend>
 
<p>Do you have any technical skills you would like to make available to the community?<br /><span style="font-size:80%;">(It's in your own interest not to advertise skills you don't have or don't want to share!)<span></p>
 
<table><tr>
 
<td><input type="checkbox" id="ub-skills-wiki" /><label for="ub-skills-wiki">Templates</label></td>
 
<td><input type="radio" class="ub-skills-wiki-rating" value="1" checked disabled /> basic</td>
 
<td><input type="radio" class="ub-skills-wiki-rating" value="2" disabled /> intermediate</td>
 
<td><input type="radio" class="ub-skills-wiki-rating" value="3" disabled /> advanced</td>
 
<td><input type="radio" class="ub-skills-wiki-rating" value="4" disabled /> professional</td>
 
</tr><tr>
 
<td><input type="checkbox" id="ub-skills-css" checked /><label for="ub-skills-css">CSS</label></td>
 
<td><input type="radio" class="ub-skills-css-rating" value="1" /> basic</td>
 
<td><input type="radio" class="ub-skills-css-rating" value="2" /> intermediate</td>
 
<td><input type="radio" class="ub-skills-css-rating" value="3" checked /> advanced</td>
 
<td><input type="radio" class="ub-skills-css-rating" value="4" /> professional</td>
 
</tr><tr>
 
<td><input type="checkbox" id="ub-skills-js" /><label for="ub-skills-js">JavaScript</label></td>
 
<td><input type="radio" class="ub-skills-js-rating" value="1" checked disabled /> basic</td>
 
<td><input type="radio" class="ub-skills-js-rating" value="2" disabled /> intermediate</td>
 
<td><input type="radio" class="ub-skills-js-rating" value="3" disabled /> advanced</td>
 
<td><input type="radio" class="ub-skills-js-rating" value="4" disabled /> professional</td>
 
</tr></table>
 
</fieldset>
 
</fieldset>
 
</source>
 
</div>
 
 
[[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 05:43, October 01, 2012 (UTC)
 
 
:I looked around a little and a scale of 1 to 5 seems to be common for languages:
 
 
:1 basic - 2 intermediate - 3 advanced - 4 near native level - 5 native speaker
 
 
: (I'm a 3.5 btw :) -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 13:11, October 01, 2012 (UTC)
 
 
::Looks good to me, although it should be captioned as the Module name (Something like "Skills &mdash; UserTags" rather than just "UserTags" specifically since UserTags is an engine script rather than standalone and the Wiki will need to enable the relevant module in order for this to actually do something. I think alternating row colors would be a good idea as well, if possible, I find long strips of almost identical rows of data tend to wear on my eyes. These stats might also be useful to other scripts written by other people in the future so maybe it'd be better to store them under a fake addon name ("usersskills" or something) so that anyone can access them.
 
 
::Do you intend to use those tag colors by default? That could be difficult given the large variety of color schemes across Wikia, plus the script isn't tooled for that, you'd have to do mw.util.addCSS manually, and watch out for the cascade order. [[User:Lunarity|Lunarity]] 14:37, October 1, 2012 (UTC)
 
 
:::Um. Let's leave graphic design choices aside for the moment. This is more of a conceptual sketch. I'll surely make a change or two... I will probably use the [http://jqueryui.com/demos/slider/ jQuery UI slider] instead of radio buttons e.g.
 
 
:::I'll leave the CSS for the language and skill tags up to you. The only thing I wanted to suggest was the <language code/skill name>-<level> syntax for the tags' contents.
 
 
:::Any addon can read any other addon's preferences. I don't plan on building in any security restrictions. At least not for the forseeable future. But, yeah, it might be a good idea to add a shared object that all addons can access without any knowledge of one another. I wouldn't want people to store godknowswhat in the shared section though. That creates a few policy problems. I have to mull that over a little... -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 15:02, October 01, 2012 (UTC)
 
 
::::<blockquote>although it should be captioned as the Module name (Something like "Skills — UserTags" rather than just "UserTags" specifically since UserTags is an engine script rather than standalone and the Wiki will need to enable the relevant module in order for this to actually do something.</blockquote>
 
::::That's something I haven't thought about yet. I could either show all possible configurations for all scripts - regardless of whether the user has actually access to them - either through his own global.js or some wiki or other. Or: I could try to determine what addons the user actually has access to... -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 15:12, October 01, 2012 (UTC)
 
 
<small>(Reset indent)</small> That was what tripped me up with the /preferences.js only working on the Preferences Wiki. Wiki-wide scripts won't follow the user off the wiki but they ''are'' present if you stay on the wiki when changing settings. Going off the wiki makes that harder since you're going to have to create some sort of registry. Either every addon the user ever encounters is remembered somewhere (and they are definitely going to want a "never bother me about addon X" option, and a "delete memory" one); or you're going to have to get everyone to add their scripts to a central list page somewhere to pull from, but that could be overwhelming for the user to see every possible option for every script in existence everywhere.
 
 
IMHO, it makes more sense for the prefs page on the prefs wiki to configure global settings for scripts in the user's global.js and the /preferences.js sub-page should work on every wiki and set wiki settings for that wiki (or global settings in cases like this, as decided by the addon itself). [Or just have a mode switch link that refreshes the page with ?mode=global to switch between global and local without having to leave the wiki at all] Admittedly this is more complicated since you'd need to create a portable stylesheet (with the rail and article hiding stuff in it) that could load on any wiki and alter the isPrefsPage function to return a string ('global' for Preferences Wiki, 'local' for single-wiki sub-page, false for everything else). You've got the tabber creation logic in the core so you're already pulling the necessary logic around everywhere, right? You just need to load the tabber JS and whatever else when loading the UI page. [[User:Lunarity|Lunarity]] 16:19, October 1, 2012 (UTC)
 
 
:So I would make a clean division between local and global settings then? If a global user-script has local settings, the user will have to hop from the global page at w:c:preferences to that particular wiki to make that change. And if a local user-script uses global preferences than the user would have to hop from that wiki's settings page to the global settings page. The clean separation will make the interface more intuitive, yes. But spreading the settings over two pages will cause different problems. Some users won't realize there's also the "other" page.
 
 
:I could add not one but two links to the account navigation. That will make the duality a little more obvious right away. I could also add a notice in large letters to both pages (if needed) that says: "This addon also has global/local settings. Click here to go there".
 
 
:That doesn't solve the problem of what extensions to show though. I still need to figure out how to determine which extensions the user and/or the wiki use. One possible solution would be to force every addon to register itself when it loads Preferences.js:
 
 
<div style="margin-left: 25px;"><source lang="javascript">
 
(function (addon) {
 
(((window.dev = window.dev || {}).preferences = window.dev.preferences || {}).usedAddons = window.dev.preferences.usedAddons || []).push(addon);
 
}('UserTags'));
 
</source></div>
 
 
 
:Come to think of it, I could combine that with a loader:
 
 
<div style="margin-left: 25px;"><source lang="javascript">
 
function loadPreferences (addon) {
 
var module = ((window.dev = window.dev || {}).preferences = window.dev.preferences || {}),
 
deferred = new $.Deferred(),
 
prefs = 'User:' + mw.config.get('wgUserName') + '/preferences',
 
link = 'w:c:preferences:',
 
script = 'MediaWiki:Preferences.js',
 
files = mw.config.get('wgDBname') === 'preferences' ? [prefs, script] : [prefs, link+prefs, link+script];
 
(module.registry = module.registry || {})[addon] = { deferred: deferred };
 
if (!module.loaded && !module.loading) {
 
module.loading = true;
 
importArticles({ type: 'script', articles: files });
 
}
 
return deferred.promise();
 
}
 
</source></div>
 
[[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 18:52, October 01, 2012 (UTC)
 
 
::Ah. I thought you already had that solved with the addon() function, since every addon has to call that at some point, and if it calls it then it has configuration, which means it probably has a UI. You could just make the <code>form()</code> function add a tab on demand although the tabber doesn't support that, it'd need to be modified.
 
 
::You could display both sets of settings at the same time using two tabbers but I don't think that'd be very pleasant for the user or scripters. I do think dividing the settings cleanly is a good idea, leaving the global/local distinction entirely in the hands of each addon will probably result in massive amounts of unintuitive inconsistencies across each one. The addon can always just use global() to alter its global settings on the local page if it really needs to.
 
 
::For the preferences menu item, you probably don't want to add 2 items, just direct to the local wiki page and have a "To edit your global settings, click here" link in a slightly oversized font above the tabber, or as a fake tab at the end of the tabber if you can bind the event for it. [[User:Lunarity|Lunarity]] 19:41, October 1, 2012 (UTC)
 
 
:::The function above is meant to be copypasted into the code that uses Preferences.js. I've been through quite a few versions of how to load the preferences most efficiently and least inconveniently. This isn't perfect either, but not bad. Still, this is probably not the last version :)
 
 
:::The more I think about it, the more I like the physical and logical separation of local and global preferences. It sends me back to the drawing board big time, but it makes a lot of sense.
 
 
:::Speaking of the drawing board: You wanted to know how I'll make the preferences of other users available. How about a shared object? The shared object would exist in parallel to the local and the global object. Unlike the local and the global object it can be read by any user. And unlike the local and the global object it can be written to by any addon (that runs under the username). The shared object would be configured on the global page, but in a separate tab from the other addons. -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 20:56, October 01, 2012 (UTC)
 
 
::::<nowiki>*</nowiki>sigh* Wait. What about edit pollution? At preferences.wikia.com it doesn't matter if Special:EditCount and Special:WikiActivity are polluted by edits to User:Name/preferences.js but on pretty much any other wiki that could be a serious problem.
 
::::[[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 21:20, October 01, 2012 (UTC)
 
 
:::::Do you have a list of the design constraints and requirements somewhere? I usually make a list and do a rough UML-ish architectural sketch when I start. [Not that it always helps, UserTags was re-architected 3 times before I was satisfied, and has had an internal refactoring since I've published it :)] [[User:Lunarity|Lunarity]] 21:52, October 1, 2012 (UTC)
 
 
::::When you say "shared object", do you mean a function like "dev.preferences.shared(username)" [readonly] and "prefsObj.shared()" [readwrite] which fetch the relevant subset of the global data from a different user and return a Map?
 
 
::::If you're going to split the shared stuff into a separate UI, who's going to be responsible for the form? If multiple addons use the same property, it isn't clear who should actually assemble the UI. The MediaWiki Gadgets project use a definition block for this sort of stuff where people just declare "I have property X which is a number between A and B and should be displayed as a slider using description message Y" <code>{ property: 'Name', type: 'number', rangeMin: 0, rangeMax: 10, rangeStep: 2, description: 'Example of a shared number property', uiHint: 'slider' }</code> but this starts to walk into framework territory.
 
 
::::I'm not sure what part I'm suggesting is a do-over, it's mainly just a UI change rather than an architectural one; unless you're going to store the preferences data in multiple separate JS files on the prefs wiki, like, one JS file per wiki or such? [[User:Lunarity|Lunarity]] 21:43, October 1, 2012 (UTC)
 
 
::::::''"Speaking of the drawing board: You wanted to know how I'll make the preferences of other users available. How about a shared object?"'' - Pecoes
 
 
:::::1) Apologies for interjecting, since I've been partially but not carefully following this conversation, but why are we considering making preferences of user X available to user Y again (in any way, shape or form)? This seems like a very bad road to travel down in just about every way imaginable: privacy, intuitiveness and code complexity.
 
 
:::::2) Hindsight is 20/20, but you do realize this is the talk page for UserTags and most of this conversation has very little to do with UserTags right? (Just like the previous segment on [[Talk:UserBadges]] :P) {{User:Mathmagician/sig|23:06 UTC|Monday|1 October 2012}}
 
 
::::::# If you skip up to the initial part of the discussion before the image, the problem is that the Preferences framework can't support Pecoes' UserTags module idea in its current state. In order for a user to declare "I can do CSS at an Advanced level", every user needs to be able to open that user's user page and have UserTags pull their settings data in order to find out the value of "CSSSkillLevel" they set.
 
::::::#*There isn't any privacy implication: this is a wiki, the data is stored on a public JavaScript page, anyone can just open the JS page for any user and read their settings data if they want to, the only thing being discussed is formalising that fact as a code interface. [This is not inherently desirable, no, but until MW1.20 is released with its [[mw:API:Options|Options API]] for storing this stuff on the server in the private area alongside the user's [[Special:Preferences]] config options, this is the best we can do]
 
::::::#The initial discussion was about using the preferences framework to create a [[UserTags/Extending|UserTags module]], it branched off when it became clear that the preferences system needs changes to accommodate it.
 
::::::[[User:Lunarity|Lunarity]] 23:41, October 1, 2012 (UTC)
 
 
===Interface part 2===
 
 
<small>(Reset indent)</small>That's my cue to leave isn't it? :) No problem. The concept is clear enough to me to rewrite the code (again). Once the next version is finished I'll also write the documentation and we'll have a proper place for such discussions.
 
[[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 00:22, October 02, 2012 (UTC)
 
 
:Ah-- you don't have to leave. I was just curious about the decision making process behind preferences, as it went in a very different direction than I would have taken it (which is why this isn't my script). Thanks for clarifying. I still have more questions, but I'll wait for you to finish preferences first I suppose :) {{User:Mathmagician/sig|00:53 UTC|Tuesday|2 October 2012}}
 
 
::If by "questions" you mean feature suggestions, we better discuss them now and here.
 
::[[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 01:00, October 02, 2012 (UTC)
 
 
:::Here are my main two concerns, although I'm not sure they're really "feature requests"
 
 
::#Suppose I have a script that uses only localStorage or cookies to save data. I want to use your preferences to help with 1) the UI for options my script uses and 2) as a way to store/get information globally. Underneath, does preferences support "localStorage + cross-domain messaging" as a mutually exclusive alternative to "put the preferences on a page w/ automated edit via MW API". For privacy purposes, I may have a script that I want to save settings... but I don't want other people to see them, and so localStorage really is the only acceptable option.
 
::#How exactly does a UI for options work? Different scripts will need different UIs. I might have a script that needs 3 dropdown boxes and 2 radio buttons for the user to select their settings, or another script that just needs 10 checkboxes. I can build such a UI with HTML, but how do tell preferences to honor it?
 
 
:::# I can't think of a solution without a server-component that has any hope of guaranteeing full privacy. That localStorage/iframe/interwindow-messaging solution isn't any more private. It's more obscure, yes, but no more private. You do realize that localStorage is public to whatever else runs in the window, don't you? The Facebook JS accesses localStorage e.g. If there's ''one'' script I'd worry about, it would be ''that one''.<br /><br />I don't think the lack of full privacy is much of problem though. I cannot really imagine a scenario where an addon would try to store sensitive data like passwords or credit card numbers.<br /><br />
 
:::# The preferences module doesn't interfere with your UI design in any way. It provides a method for inserting your HTML - whatever it may be - at the correct spot. ''And'' it provides an event that is triggered when the user clicks the "Save" button. You can use that event to evaluate your form and alter the preferences before the module saves them.<br /><br />Oh, and one more thing: The module keeps a registry of scripts it should load when and if the preferences page is loaded. That way they can all be loaded very performantly in a single importArticles call. ''And'' you can keep the code that creates and evaluates the form completely separate from the code that uses the data.
 
:::[[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 02:02, October 02, 2012 (UTC)
 
 
::::2) Okay, works for me. 1) It is a bit more private. User X's user scripts don't run in User Y's browser. I do not have any access to what's in your localStorage from a user script level. I suppose I *could* write a site-wide script on a wiki where I'm an admin, and then wait for you to come onto that wiki to expose your localStorage contents. (Since it's running in your browser, the information would then need to be transmitted to me - and you ''might'' detect this hijacking attempt.) Contrast this with preferences just being saved in a JS page via automated edit - you have absolutely no clue who or how many people are viewing that wiki page. {{User:Mathmagician/sig|02:17 UTC|Tuesday|2 October 2012}}
 
 
(Unrelated): When processing another user's preferences data, make sure you '''do not''' execute it. That's a major security flaw if a user modifies their JS settings file by hand to include attack code and then some other unsuspecting user tries to cross-load that user's settings and triggers the attack code in their browser. You'll have to manually extract the data using JSON.parse() instead, the surrounding frame code that makes it executable in the first place is consistent so this shouldn't be difficult to do. [[User:Lunarity|Lunarity]] 02:23, October 2, 2012 (UTC)
 
 
:Good point! That'll be easy though. The current plan is to store the shared data separately from the global and the local data. So that's User:Name/preferences.js and User:Name/shared.js. The idea behind that separation is that it should be possible to request several shared data sets without causing huge traffic. -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 02:30, October 02, 2012 (UTC)
 
 
::P.S. I do agree on the point of "I don't think the lack of full privacy is much of problem though." - in almost all cases, it won't be. To give you an example, in the case of Railgun, I consider the friend's list to be "semi-secure" information: I've always viewed it as more of a "stalking list" than a "guestbook". I'd be perfectly content with obfuscating the data with a crappy encryption algorithm before passing it to preferences though, that way at least it isn't human-readable when placed on the page via automated edit. Anyways -- I'll let you finish preferences now :) {{User:Mathmagician/sig|02:47 UTC|Tuesday|2 October 2012}}
 
 
:::Don't want to put a damper on things but I don't think you can run scripts from the prefs page anymore =/. --[[User:Kangaroopower|'''<span style="color:#009933;font-family:Tempus Sans ITC;">Kangaroopowah</span>''']] ([[User Talk:Kangaroopower|'''<span style="color:#000080;font-family:Tempus Sans ITC;">Talk</span>''']]) 04:25, October 2, 2012 (UTC)
 
 
::::You're a little late to the party on that :). Pecoes is using User:Name/preferences.js to show the UI instead. Adding an extra menu item to the User pulldown in the Wikia Header to link to it. [[User:Lunarity|Lunarity]] 04:52, October 2, 2012 (UTC)
 
 
:::::heh, fail. And if you want any backend support, I have a server begging to be used.... ;). --[[User:Kangaroopower|'''<span style="color:#009933;font-family:Tempus Sans ITC;">Kangaroopowah</span>''']] ([[User Talk:Kangaroopower|'''<span style="color:#000080;font-family:Tempus Sans ITC;">Talk</span>''']]) 05:24, October 2, 2012 (UTC)
 
 
::::::That's kind of you to offer Kangaroo, but I'd rather not take you up on that. Right now this all very small scale. It might stay that way for some time to come. Maybe forever. But if it ''does'' take off, it will obliterate your server. The amount of traffic a site like Wikia can throw at you, is pretty scary. I too have a server or two somewhere whose package offers more traffic than needed and that I could advertise here. But I won't. You shouldn't either! Seriously! The risks are uncalculable.
 
 
::::::I've started a [[Preferences]] page and added a new demo btw :) -- [[w:Message_Wall:Pecoes|peco<span style="vertical-align:-0.2em">e</span>s]] 17:41, October 03, 2012 (UTC)
 
 
::::::Trust me pecoes, we can use it for a demo. ;) --[[User:Kangaroopower|'''<span style="color:#009933;font-family:Tempus Sans ITC;">Kangaroopowah</span>''']] ([[User Talk:Kangaroopower|'''<span style="color:#000080;font-family:Tempus Sans ITC;">Talk</span>''']]) 02:21, October 4, 2012 (UTC)
 
 
== "New Editor" still appears on "User:Wikia" account ==
 
 
Hello, we set
 
 
<source lang="javascript">
 
UserTagsJS.modules.newuser = {
 
days: 7,
 
edits: 15,
 
namespace: 0
 
};
 
</source>
 
 
and "New Editor" still appears on [[w:c:bloons:User:Wikia]] account. I supposed that the tag was shown there, because User:Wikia had no mainspace edits, so I set also
 
 
<source lang="javascript">
 
UserTagsJS.modules.metafilter = {
 
'newuser': ['bot', 'bot-global', 'util', 'council', 'vstf', 'helper', 'staff']
 
};
 
</source>
 
 
however the tag still appears there.
 
 
Please, can you check our [[w:c:bloons:MediaWiki:Common.js]], if there is something wrong there?
 
 
{{User:Spike144/SigReal}} 12:35, October 9, 2012 (UTC)
 
 
:I have checked the issue again, and we have the same problem with <code>inactive</code> tag, that we disabled via ''Meta Filter'' on <code>bot-global</code> group too (appears for example on [[w:c:bloons:User:CreateWiki script]]).
 
 
:BTW, <code>bot-global</code> tag doesn't appear on global bot accounts at all, which is probably the main source of all other problems. -- {{User:Spike144/SigReal}} 13:32, October 9, 2012 (UTC)
 
 
::That's correct, the problem is that you have newuser set to namespace 0 (Main), the Wikia bot does not edit articles, only user talk and message walls. Try running <code><nowiki>{{Special:EditCount/Wikia/0}}</nowiki></code> (this is what the script is doing internally), you get zero. If you do <code><nowiki>{{Special:EditCount/Wikia}}</nowiki></code> then you get 4000-something. Unfortunately, this is functioning as designed.
 
 
::The problem with global bots is a frustrating one, I've actually noticed that myself on the wiki I administer but I didn't know what to do about it. It's a bug in Wikia's servers; the servers don't admit that an account is in the bot-global group, it pretends that the user is normal. Compare this: [http://bloons.wikia.com/api.php?action=query&list=users&ususers=Wikia&usprop=groups] to this: [http://bloons.wikia.com/wiki/Special:ListUsers/bot-global]. This: [http://bloons.wikia.com/api.php?action=query&list=allusers&aufrom=wikia&auto=wikia&augroup=bot-global&auprop=groups] appears to work the way it's supposed to though. I'll cook up a new module that queries ''specifically'' for global bots, shouldn't take long (I hope). [[User:Lunarity|Lunarity]] 21:44, October 9, 2012 (UTC)
 
 
::Okay, I actually modified the way mwGroups behaves to simultaneously query for <code>allusers</code> as well as <code>users</code> so it should work correctly now. [[User:Lunarity|Lunarity]] 22:44, October 9, 2012 (UTC)
 
 
:::I can confirm, that it works perfectly now, thanks. -- {{User:Spike144/SigReal}} 09:05, October 10, 2012 (UTC)
 
 
== "Blocked" tag doesn't appear ==
 
 
Hello, the "Blocked" tag stopped to appear on blocked users, for example on [[w:c:bloons:User:Monkey Engineer]]. If I remember well, it worked on our wiki a day or two ago. -- {{User:Spike144/SigReal}} 20:19, October 10, 2012 (UTC)
 
 
: Sorry, I've corrected the problem. I made a blind idiot mistake when I was trying to make it faster; the code was reading the Wikia tags off the page then just throwing them away instead of passing them on for further processing. I didn't notice when I created the feature because it only happens when your cache is hot, and the cache goes cold every 60 minutes so it worked whenever I looked at it (because my cache was always cold) but it was broken for anyone with a hot cache. [[User:Lunarity|Lunarity]] 01:13, October 11, 2012 (UTC)
 
 
::Now it works perfectly. Thanks -- {{User:Spike144/SigReal}} 08:08, October 11, 2012 (UTC)
 
 
== "newuser" tag ==
 
 
Hello, is it possible to set the <code>newuser</code> tag via <code>UserTagsJS.modules.newuser</code>, that it disappears after "<b>''X'' edits OR ''Y'' days</b>" instead of "<b>''X'' edits AND ''Y'' days</b>"? Or, maybe a more complex condition for example like:
 
 
"<b>30 edits OR (10 edits AND 5 days) OR 14 days</b>"
 
 
{{User:Spike144/SigReal}} 23:06, October 12, 2012 (UTC)
 
 
:Hmm. <code>newuser</code> and <code>mwGroups</code> are the two most complex modules so I'm becoming progressively more hesitant to make large changes to them (I seem to keep breaking them in the various stupid ways each time I try). That said, it should be reasonably easy to support optionally operating as an OR instead of just an AND if you'd like. The more complex expression format is more of a problem; accepting an AbuseFilter style string describing the expression is possible but, frankly, that's overly complicated (involves writing a parser). I could make it accept a JavaScript function that lets you define your own computation if you'd like that?
 
 
<div style="margin-left:1.6em"><source lang="javascript">
 
UserTagsJS.modules.newuser = {
 
namespace: 0,
 
computation: function(days, edits) {
 
// Return false = not newuser, return true = newuser
 
return edits < 30 && (edits < 10 || days < 5) && days < 14;
 
}
 
// NOTE: Computation would be mutually exclusive with days/edits, those params would stop working when you define your own function.
 
};
 
</source></div>
 
 
 
:? [[User:Lunarity|Lunarity]] 04:24, October 13, 2012 (UTC)
 
 
:: It looks very interesting. -- {{User:Spike144/SigReal}} 07:58, October 13, 2012 (UTC)
 
 
::: I've coded it up and deployed it [may take a few minutes to kick through load.php], you can try it out now (syntax is exactly as shown above). I've updated the docs. [[User:Lunarity|Lunarity]] 08:57, October 13, 2012 (UTC)
 
::::We have been testing the "computation funtion", and all seems to work correctly. Thanks. -- {{User:Spike144/SigReal}} 13:38, October 13, 2012 (UTC)
 
 
== Bureaucrat tag bug? ==
 
 
If you have a look at http://bloons.wikia.com/wiki/Special:Contributions?target=AlthaBlade, you'll notice that he has a bureaucrat tag even though [http://bloons.wikia.com/wiki/Special:ListUsers/sysop he's not a bureaucrat], while [http://bloons.wikia.com/wiki/Special:Contributions?target=Rasengan553 User:Rasengan553's contributions page] has both tags although he's not a part of either group. This bug appears with <code>Special:Contributions?target=Blah</code> only, not <code>Special:Contributions/Blah</code>, etc. — [[User:SW8573|SW8573]] <sup>([[User Talk:SW8573|Talk]])</sup> 07:03, October 21, 2012 (UTC)
 
 
: Hmm. I'm not sure what I broke since I haven't touched the loader much recently. <del>The problem you're seeing is that it's not detecting the contributions page properly (again)</del>, it's showing you your own tags on their page (I see "new editor" when I look at it because that's my tag). <del>It's probably just a bad regex</del>, I'll fix it. [[User:Lunarity|Lunarity]] 09:21, October 21, 2012 (UTC)
 
 
::Turns out Special:Contributions is a royal annoyance. I never considered the possibility of URL rewriting happening with ?target on a pretty URL. I've generalised the code to handle all the (currently known) possibilities. Please tell me if you find more of these. [[User:Lunarity|Lunarity]] 09:37, October 21, 2012 (UTC)
 
 
:::It happens [[w:c:clubpenguin:Special:Contributions:Vicyorus|here]] too when i am logged in. Like you said, when you log out it shows the correct tags, but just to point out it seems like it happens again.
 
:::[[user:Penguin-Pal|<span style="color: #0e92cf;">Penguin-Pal</span>]] [[user talk:Penguin-Pal|<span style="color: #2e47aa;">(talk)</span>]] 16:17, July 1, 2013 (UTC)
 
::::Oh, it looks file now. [[user:Penguin-Pal|<span style="color: #0e92cf;">Penguin-Pal</span>]] [[user talk:Penguin-Pal|<span style="color: #2e47aa;">(talk)</span>]] 19:15, July 1, 2013 (UTC)
 
 
==Tags not showing up.==
 
First of all. Sorry if the answer is explained on the [[UserTags]] page but this coding stuff is very new to me and it just is chinese for me. Also sorry for the bad English.
 
 
Some tags are not showing up, bureaucrats only have the "bureaucrat" tag and not the "admin" tag. Same with admins the "admin" tag shows but "chat mod" does not. But others like "rolback" does shown up as second tag.
 
 
I use the basic code because it said that is easier if you wanted to change something. I also put in the part on Wikia.css and Monobook.css as explained on [[UserTags]].
 
window.UserTagsJS = {
 
modules: {},
 
tags: {}
 
};
 
UserTagsJS.modules.inactive = 30;
 
UserTagsJS.modules.newuser = true;
 
UserTagsJS.modules.autoconfirmed = true;
 
UserTagsJS.modules.mwGroups = ['bureaucrat', 'chatmoderator', 'patroller', 'rollback', 'sysop', 'bannedfromchat', 'bot', 'bot-global'];
 
UserTagsJS.modules.metafilter = {
 
sysop: ['bureaucrat', 'founder'],
 
bureaucrat: ['founder'],
 
chatmoderator: ['sysop', 'bureaucrat']
 
};
 
importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});
 
{{User:Aethelhelm/SigReal|15:03,11/9/2012}}
 
 
:That's the purpose of [[UserTags#Meta Filter|<code>metafilter</code>]]. It removes tags as indicated by the rules. You've got it set so that 'sysop' is removed when 'bureaucrat' or 'founder' is present, 'bureaucrat' is removed when 'founder' is present, and 'chatmoderator' is removed when 'sysop' or 'bureaucrat' is present. If you don't want that, just remove the entries from the <code>UserTagsJS.modules.metafilter</code> configuration block. [[User:Lunarity|Lunarity]] 16:24, November 9, 2012 (UTC)
 
 
:::Thank you very much, now I know that aswell.:)
 
:::{{User:Aethelhelm/SigReal|16:48,11/9/2012}}
 
 
== Tags not showing up (2) ==
 
 
So I used the script for bureaucrat and councilor tags could also appear on [[w:c:himym|How I Met Your Mother Wiki]]. It set them in the following order:bureaucrat, admin, councilor. However, only the bureaucrat tag is showing up on my [[w:c:himym:User:Babar Suhail|User Page]]. Here is the code I am using:
 
window.UserTagsJS = {
 
modules: {},
 
tags: {
 
bureaucrat: { order: 0 },
 
sysop: { order: 1 },
 
council: { order: 2 }
 
}
 
};
 
 
<span style="border:6px ridge #FFAA00;"><b><font size="2" face="Monotype Corsiva">[[User:Babar Suhail |<span style="background-color:#FFC34D"><span style="color:#CC6600">Babar&nbsp;Suhail</span></span>]]</font></b></span> 23:09, April 18, 2013 (UTC)
 
 
: You're using the default configuration. The default configuration removes "Admin" and replaces it with "Bureaucrat" for bureaucrats, if you don't want that then you'll have to customise it. For the councillor tag, that's missing because Wikia aren't pushing the councillor tag to users who are local admins and you haven't configured UserTags to look up councillors manually.
 
<source lang="javascript" style="margin-left: 2em">
 
window.UserTagsJS = {
 
modules: {},
 
tags: {
 
bureaucrat: { order: 0 },
 
sysop: { order: 1 },
 
council: { order: 2 }
 
}
 
};
 
UserTagsJS.modules.inactive = 30;
 
UserTagsJS.modules.newuser = true;
 
UserTagsJS.modules.autoconfirmed = true;
 
// NOTE: bannedfromchat displays in Oasis but is not a user-identity group so must be checked manually
 
UserTagsJS.modules.mwGroups = ['bureaucrat', 'chatmoderator', 'patroller', 'rollback', 'sysop', 'bannedfromchat', 'bot', 'bot-global', 'council'];
 
</source>
 
:[[User:Lunarity|Lunarity]] 07:08, April 21, 2013 (UTC)
 
:::Thanks for your help. <span style="border:6px ridge #FFAA00;"><b><font size="2" face="Monotype Corsiva">[[User:Babar Suhail |<span style="background-color:#FFC34D"><span style="color:#CC6600">Babar&nbsp;Suhail</span></span>]]</font></b></span> 08:30, April 21, 2013 (UTC)
 
 
==Tags aren't showing up==
 
 
Okay, I figure I'm messin something up heavily, but nothing is working. I've been trying to add tags for the Blood Brothers Wiki, but nothing is happening at all. Could someone kindly check the code at [http://bloodbrothersgame.wikia.com/wiki/MediaWiki:Common.js http://bloodbro][http://bloodbrothersgame.wikia.com/wiki/MediaWiki:Common.js thersgame.wikia.com/wiki/MediaWiki:Common.js] and tell me what I'm doing wrong? :( Thanks in advance!
 
 
Overmage 12:29, June 18, 2013 (UTC)
 
 
 
 
First, What is the "Moderator" tag you made in the code? There is no "Moderator" in MediaWiki groups.
 
 
That might be the problem why it does not work. <span style='font-variant:small-caps;text-shadow:0 2px 1px #Ff0088, 0 1px 1px red, 0 -1px 1px #8800ff, 0 -2px 1px blue;display:inline-block;color:rbga(0,0,0,0);'>-[[User:Logologologol|Logo]] </span> 08:51, July 15, 2013 (UTC)
 
 
We added a custom mediawiki group called 'Moderator'. Also I was under the impression that the code should be able to tolerate custom groups (for example, the user below is using 'Regalis' and says it works now).
 
 
I'll try removing them and give it a shot, but in the meantime, if you don't mind, could you let me know how I would go about adding a custom mediawiki group that already exists (in this case Moderator) into this custom tag? Thank you so much!
 
 
 
 
Edit: nope, removing doesn't work. I'm putting it back in for now since it's busted either way, can anyone help?
 
 
 
 
Code looks like this atm:
 
 
<source Lang=JavaScript>
 
window.UserTagsJS
 
= {
 
modules: {},
 
tags: {
 
'bureaucrat': { u: 'Bureaucrat' },
 
'inactive': { u: 'Inactive' },
 
'moderator': { u: 'Moderator' }
 
}
 
};
 
 
UserTagsJS.modules.inactive
 
= 50; // 50 days
 
 
UserTagsJS.modules.mwGroups
 
= ['bureaucrat', 'moderator', 'bannedfromchat']; // add corresponding tags to users
 
 
importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});
 
</source>
 
Overmage 15:09, July 26, 2013 (UTC)
 
:There are errors in your Common.js:
 
:<code>SyntaxError: Unexpected EOF</code>''' ~ [[User:UltimateSupreme|<span style="color:blue;">Ultimate</span>]][[User talk:UltimateSupreme|<span style="color:#EE2C2C;">Supreme</span>]]''' 15:48, July 26, 2013 (UTC)
 
 
:Not really sure how to go about fixing them :/
 
:Overmage 17:53, September 13, 2013 (UTC)
 
 
::The messed-up highlighting should give you a clue. This line: UserTagsJS.modules.mwGroups = ['bureaucrat', 'moderator, 'bannedfromchat']; is missing a ' after moderator. Not sure if there are more after that, I'm not familiar with this script. ~[[User:Bobogoobo|Bobogoobo]] ([[User talk:Bobogoobo|talk]]) 20:30, September 13, 2013 (UTC)
 
 
== Tag doesn't show up after Implosion ==
 
 
I made a very long code for the userTag, and it is glitched that the tag doesn't show up. However, It all happened after I made the implode command.
 
 
UserTagsJS.modules.implode = {
 
'lab-guard': ['chatmoderator','rollback']
 
};
 
This is what I made in the code. Then it showed something like "¿Lab_Guard?" in the tag. So i added a tag in UserTagJS.
 
 
window.UserTagsJS = {
 
modules: {},
 
tags: {
 
labguard: {u:'Lab Guardian', order:-1/0},
 
},
 
oasisPlaceBefore:
 
};
 
This is what I added in the UserTagJS, excluding all other tags (Because they worked before the bug exist)
 
 
Oh, and I acutally DID rename 'lab-guard' to labguard in the implode function to check if it would work.
 
 
Can someone tell me if this is actually the correct way to add the tag, or did I made some typing errors in the code? [[User:Logologologol|<span style='font-variant:small-caps;text-shadow:0 2px 2px #F08, 0 1px red, 0 -1px 2px #80f, 0 -2px blue, 1px 0 2px #5F0, 2px 0 #0f0, -1px 0 2px #6f0, -2px 0 #FF0;display:inline;color:white;background:black;'>-Logo</span>]] 09:10, July 15, 2013 (UTC)
 
 
 
 
For the whole code, please look at [http://bloonsconception.wikia.com/wiki/MediaWiki:Common.js here.] [[User:Logologologol|<span style='font-variant:small-caps;text-shadow:0 2px 2px #F08, 0 1px red, 0 -1px 2px #80f, 0 -2px blue, 1px 0 2px #5F0, 2px 0 #0f0, -1px 0 2px #6f0, -2px 0 #FF0;display:inline;color:white;'>-Logo</span>]] 14:58, July 16, 2013 (UTC)
 
 
Someone Help? [[User:Logologologol|<span style='font-variant:small-caps;text-shadow:0 2px 2px #F08, 0 1px red, 0 -1px 2px #80f, 0 -2px blue, 1px 0 2px #5F0, 2px 0 #0f0, -1px 0 2px #6f0, -2px 0 #FF0;display:inline;color:white;'>-Logo</span>]] 11:20, August 18, 2013 (UTC)
 
 
:There were errors in your Common.js I've fixed. I'm not sure your implode would work because there is no one on the wiki having patroller, rollback and chatmoderator rights all together. —[[User:Wyz|Wyz]] <helper /> 13:25, August 18, 2013 (UTC)
 
::Thanks a lot, because I was a rollback+chatmod, so I made that (Asked an admin to add it to the page). However, it did not work, and now I am a bureaucrat in that wiki... [[User:Logologologol|<span style='font-variant:small-caps;text-shadow:0 2px 2px #F08, 0 1px red, 0 -1px 2px #80f, 0 -2px blue, 1px 0 2px #5F0, 2px 0 #0f0, -1px 0 2px #6f0, -2px 0 #FF0;display:inline;color:white;'>-Logo</span>]] 13:42, August 18, 2013 (UTC) Oh, and why is it making everyone a new editor?
 
:::Edit: I fixed it. But still one thing, the bureaucrat does not work...
 
 
::::Bureaucrat works for me... —[[User:Wyz|Wyz]] <helper /> 14:21, August 18, 2013 (UTC)
 
:::::No it doesn't for me... I have refreshed the cache. You sure it is "Conception Grandmaster" instead of "Conception Master"? [[User:Logologologol|<span style='font-variant:small-caps;text-shadow:0 2px 2px #F08, 0 1px red, 0 -1px 2px #80f, 0 -2px blue, 1px 0 2px #5F0, 2px 0 #0f0, -1px 0 2px #6f0, -2px 0 #FF0;display:inline;color:white;'>-Logo</span>]] 14:27, August 18, 2013 (UTC)
 
::::::Edit: Found it. But it only works for the owner? Why?
 
 
:::::As told, works for me: http://imm.io/1fHFz. —[[User:Wyz|Wyz]] <helper /> 18:15, August 21, 2013 (UTC)
 
:::::: This is what I see: http://prntscr.com/1n4hka <br/> is there something wrong with it?
 
 
==Tags don't show up at all==
 
For some reason none of the tags are showing up on any of the user pages on my wiki. I've checked over the page several times and I can't seem to find the solution.
 
 
Here's the page with the code on my wiki: http://containmentbreach.wikia.com/wiki/MediaWiki:Common.js
 
 
Also for some reason whenever I add the new code to the common.js, the scripts on my [http://containmentbreach.wikia.com/wiki/MediaWiki:Wikia.js Wikia.js page] stops working entirely.
 
 
--[[User:Dr.Mark|Dr.Mark]] 23:53, July 15, 2013 (UTC)
 
:You're missing commas. Should look like this:
 
<pre>// Custom User Tags
 
/* Setting up tags */
 
window.UserTagsJS = {
 
modules: {},
 
tags: {
 
founder: { order: -1 },
 
regalis: { u: 'Creator of Containment Breach', order: 1 }
 
}
 
};
 
/* Founders */
 
UserTagsJS.modules.custom = {
 
'Dr.Mark': ['founder', 'sysop'],
 
'Tremorfan94': ['founder', 'sysop'],
 
'Mrpeanut188': ['founder', 'sysop'],
 
'Regalis11': ['regalis', 'sysop']
 
};</pre>
 
:Not sure if there are more problems, but that'll at least fix something. ~[[User:Bobogoobo|Bobogoobo]] ([[User talk:Bobogoobo|talk]]) 00:50, July 16, 2013 (UTC)
 
 
::It's working properly now, thank you. --[[User:Dr.Mark|Dr.Mark]] 02:01, July 16, 2013 (UTC)
 
 
==Banned from chat tag not showing==
 
Banned from chat isn't showing on banned users. Here is my configuration:
 
<pre>window.UserTagsJS = {
 
modules: {},
 
tags: {
 
inactive: { u:'Inactive', order:-1/0 }
 
}
 
};
 
UserTagsJS.modules.inactive = 30;
 
UserTagsJS.modules.newuser = true;
 
UserTagsJS.modules.autoconfirmed = false;
 
UserTagsJS.modules.mwGroups = ['bureaucrat', 'chatmoderator', 'patroller', 'rollback', 'sysop', 'bannedfromchat', 'bot', 'checkuser'];
 
UserTagsJS.modules.metafilter = {
 
sysop: ['bureaucrat', 'founder','bot'],
 
bureaucrat: ['founder'],
 
chatmoderator: ['sysop', 'bureaucrat','bot'],
 
rollback: ['sysop', 'bureaucrat','bot'],
 
patroller: ['sysop', 'bureaucrat','bot']
 
};</pre> Any help? [[User talk:Seaside98|<span title="04 Aug 2013 21:01:36"><choose><option>http://images.wikia.com/legomessageboards/images/e/eb/SeaSig.png</option></choose></span>]] 21:01, August 4, 2013 (UTC)
 
 
:Hi. bannedfromchat user right was removed last year: [[w:User_blog:Sarah_Manley/Updates_to_Wikia_Chat]] —[[User:Wyz|Wyz]] <helper /> 14:46, August 17, 2013 (UTC)
 
 
::Is there any way to keep it on the Masthead? [[User talk:Seaside98|<span title="17 Aug 2013 14:52:10"><choose><option>http://images.wikia.com/legomessageboards/images/e/eb/SeaSig.png</option></choose></span>]] 14:52, August 17, 2013 (UTC)
 
 
:::That is a good question. I don't have much time but I'll try at least to understand how this is pulled... I don't promise to have a fix ready soon. —[[User:Wyz|Wyz]] <helper /> 14:58, August 17, 2013 (UTC)
 
 
::::Ok, thank you. [[User talk:Seaside98|<span title="17 Aug 2013 15:01:57"><choose><option>http://images.wikia.com/legomessageboards/images/e/eb/SeaSig.png</option></choose></span>]] 15:01, August 17, 2013 (UTC)
 
 
== Tags don't show up. ==
 
 
My tags won't show up. [[w:c:club-penguin-music:MediaWiki:Common.js|Here]] is the code. Please help!!
 
 
'''[[User:Spydar007|<span style="color: #ff5a00;">Spydar007</span>]] <span style="color: orange;">([[User_talk:Spydar007|<span style="color: orange;">Talk</span>]]</span><span style="color: orange;">)</span>''' 10:18, August 11, 2013 (UTC)
 
 
:@import url is CSS, not JS. Use importArticles (recommended), importScript, importScriptPage or $.getScript. [[User:TK-999|TK-999]] ([[User talk:TK-999|talk]]) 11:22, August 11, 2013 (UTC)
 
 
::Ok...I've corrected that but it ''still'' doesn't work!!
 
 
::'''[[User:Spydar007|<span style="color: #ff5a00;">Spydar007</span>]] <span style="color: orange;">([[User_talk:Spydar007|<span style="color: orange;">Talk</span>]]</span><span style="color: orange;">)</span>''' 18:03, August 11, 2013 (UTC)
 
 
:::Someone help!!!
 
 
:::'''[[User:Spydar007|<span style="color: #ff5a00;">Spydar007</span>]] <span style="color: orange;">([[User_talk:Spydar007|<span style="color: orange;">Talk</span>]]</span><span style="color: orange;">)</span>''' 15:18, August 16, 2013 (UTC)
 
 
::::Hi.
 
<pre>
 
window.UserTagsJS = {
 
modules: {},
 
tags: {
 
coding: { u:'Templates & Coding' },
 
patroller: { u:'Patroller' },
 
}
 
};
 
</pre>
 
::::Try removing the last comma, after "patroller: { u:'Patroller' }". —[[User:Wyz|Wyz]] <helper /> 20:14, August 16, 2013 (UTC)
 
 
:::::Nope. Still nothing.
 
 
:::::'''[[User:Spydar007|<span style="color: #ff5a00;">Spydar007</span>]] <span style="color: orange;">([[User_talk:Spydar007|<span style="color: orange;">Talk</span>]]</span><span style="color: orange;">)</span>''' 13:32, August 17, 2013 (UTC)
 
 
::::There was an error in MediaWiki:Common.js/editbuttons.js, preventing the rest of MediaWiki:Common.js to load. It's fixed now. —[[User:Wyz|Wyz]] <helper /> 14:36, August 17, 2013 (UTC)
 
 
== VSTF and Helper groups ==
 
 
I'm a member of the VSTF and helper groups. On my wiki, where I'm bureaucrat, I'd like those groups to show up too. Here the [http://it.onepiece.wikia.com/wiki/MediaWiki:Common.js code I'm using]:
 
<source lang="JavaScript">
 
window.UserTagsJS = {
 
modules: {},
 
tags: {}
 
};
 
UserTagsJS.modules.inactive = 30;
 
UserTagsJS.modules.newuser = true;
 
UserTagsJS.modules.autoconfirmed = true;
 
// NOTE: bannedfromchat displays in Oasis but is not a user-identity group so must be checked manually
 
UserTagsJS.modules.mwGroups = ['bureaucrat', 'chatmoderator', 'patroller', 'rollback', 'sysop', 'bannedfromchat', 'bot', 'bot-global', 'staff', 'helper', 'vstf'];
 
UserTagsJS.modules.metafilter = {
 
sysop: ['bureaucrat', 'founder'],
 
bureaucrat: ['founder'],
 
chatmoderator: ['sysop', 'bureaucrat']
 
};
 
</source>
 
 
Thanks. <code>'''[[User:Leviathan_89|leviathan_<span style="color:#FF9933;">89</span>]]'''</code> 18:27, September 7, 2013 (UTC)
 
: [[UserTags#Limitations]]. It should be there by default (Your vstf doesn't appear on [[w:c:vstf|c:vstf]] either).--''' ~ [[User:UltimateSupreme|<span style="color:blue;">Ultimate</span>]][[User talk:UltimateSupreme|<span style="color:#EE2C2C;">Supreme</span>]]''' 07:39, September 8, 2013 (UTC)
 
 
==Tags and errors help==
 
I've got a problem with the tagging information and tried adding but resulted with errors. Can't figure out what it is.
 
 
Could you please check [http://luckyfredipedia.wikia.com/wiki/MediaWiki:Common.js?oldid=12099 it]?
 
 
[[User:RGL Victor The Great]] ([[User talk:RGL Victor The Great|talk]]) 16:42, September 12, 2013 (UTC)
 
 
Having a problem with adding the tag information and errors along with it. Where for example "PL.FOUNDER" appears as "¿PL.FOUNDER?" with no tag information. Dunno what to do so I tried adding the code below, but didn't work. Can you please help?
 
 
Well, Here's the code:
 
 
// Tags
 
importScriptPage('UserTags/code.js', 'dev');
 
window.UserTagsJS = {
 
tags: {
 
founder: {
 
u: 'Founder of Lucky Fred Wiki'
 
},
 
Special Agent Master: {
 
u: 'Bureaucrat and Administrator of Lucky Fred Wiki'
 
},
 
Special Agent: {
 
u: 'Patroller, Rollbacker and Chat Moderator of Lucky Fred Wiki'
 
},
 
es.founder: {
 
u:'Founder of Spanish Lucky Fred Wiki'
 
},
 
es.founder2: {
 
u: 'Founder of Spanish Lucky Fred Wiki'
 
},
 
es.admin: {
 
u: 'Administrator of Spanish Lucky Fred Wiki'
 
},
 
pl.founder: {
 
u: 'Founder of Polish Lucky Fred Wiki'
 
}
 
},
 
modules: {
 
autoconfirmed: true,
 
inactive: {
 
months: 1,
 
namespaces: [0],
 
zeroIsInactive: true
 
},
 
mwGroups: ['bannedfromchat', 'bureaucrat', 'sysop', 'chatmoderator', 'patroller', 'rollback'],
 
newuser: true
 
}
 
};
 
UserTagsJS.modules.custom = {
 
'Felix900': ['es.founder'],
 
'LFO': ['es.founder2'],
 
'Burtbolivia': ['es.admin'],
 
'Azaphen': ['es.admin'],
 
'AgenteAly': ['es.admin'],
 
'MicoTheGreat': ['pl.founder'],
 
};
 
UserTagsJS.modules.implode = {
 
'Special Agent Master': ['sysop', 'bureaucrat'],
 
'Special Agent': ['chatmoderator', 'patroller', 'rollback']
 
};
 
 
[[User:RGL Victor The Great]] ([[User talk:RGL Victor The Great|talk]]) 07:05, September 28, 2013 (UTC)
 
 
: <del>Same thing is happening to me also
 
: --'''[http://steven-universe.wikia.com/wiki/User:Sophiedp <span style="color:yellowgreen;">Erika was here</span>]<br /><sup>[http://steven-universe.wikia.com/wiki/Message_Wall:Sophiedp <span style="color:gold;">Wall</span>][http://steven-universe.wikia.com/wiki/User:Sophiedp/ItsASecret <span style="color:gray;">&nbsp;•&nbsp;</span>][http://steven-universe.wikia.com/wiki/Special:Contributions/Sophiedp <span style="color:teal;">Contribs</span>]<br />[http://erika.uk.tn <span style="Silver;">My Website</span>]</sup>''' 01:54, November 10, 2015 (UTC)</del>
 
:: Found a fix to this problem.
 
:: <span class="button" style="padding: 0px 7px; color: black; background-color: #19FFB2; background-image: -moz-linear-gradient(center top , #FFCCFF 0%, #B2FFB2 50%);">'''[http://steven-universe.wikia.com/wiki/User:Sophiedp <span style="color:black;">Sophie</span>]'''''</span> <span class="wikia-menu-button secondary">[[User:Sophiedp|Profile]] [[User talk:Sophiedp|Talk/Message Wall]] [[Special:Contributions/Sophiedp|Contributions]]</span> 10:54, November 21, 2015 (UTC)
 
 
== Not working ==
 
 
The UserTags won't show up! Please help! Here's my wiki's Common.js: http://aether.wikia.com/wiki/MediaWiki:Common.js --'''[[User:IStoleThePies|<span style="color:#a35a00;">IStoleThePies</span>]]''' | [[Message_Wall:IStoleThePies|<span style="color:#1a099c;">Message Wall</span>]] | [[Special:Contributions/IStoleThePies|<span style="color:#a69e00;">Contributions</span>]] 22:02, September 20, 2013 (UTC)
 
The following code should fix your problems. Add this in your [http://aether.wikia.com/wiki/MediaWiki:Common.js Common.js]
 
<pre>
 
window.UserTagsJS = {
 
modules: {},
 
tags: {
 
devcode: { u:'Aether Team', title:'Developer', order:-1/0 },
 
devtexture: { u:'Aether Team', title:'Texture Artist', link:'Chase', order:-1/0 },
 
devart: { u:'Aether Team', title:'Artist/Concept Artist', link:'OscarPayn', order:-1/0 },
 
devwriter: { u:'Aether Team', title:'Lore Writer', link:'Liberty', order:-1/0 },
 
devmusic: { u:'Aether Team', title:'Music Composer', link:'Emile van Krieken', order:-1/0 },
 
owner: { u:'Current Owner', title:'Adopted Wiki', order:-1/0 },
 
bureaucrat: { u:'Bureaucrat' },
 
founder: { u:'Original Founder' }
 
}
 
};
 
 
UserTagsJS.modules.inactive = 35; // Inactive if no edits in 35 days
 
 
UserTagsJS.modules.userfilter = {
 
'IStoleThePies': ['sysop', 'bureaucrat']
 
};
 
 
UserTagsJS.modules.custom = {
 
'IStoleThePies': ['owner'],
 
'LibertyPrimeTF2': ['devwriter'],
 
'OzzAR0th': ['devart']
 
};
 
importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});
 
</pre>
 
Also you had some Css in your Javascript page and some Javascript in your Css page.<br />
 
So I would suggest you to add the following to this [http://aether.wikia.com/wiki/MediaWiki:Wikia.css page].
 
<pre>
 
.tag.usergroup-bureaucrat {
 
background-color: gold;
 
color: black;
 
}
 
.tag.usergroup-owner {
 
background-color: white;
 
color: black !important;
 
}
 
.tag.usergroup-devmusic,
 
.tag.usergroup-devcode,
 
.tag.usergroup-devwriter,
 
.tag.usergroup-devart,
 
.tag.usergroup-devtexture {
 
background-color: blue;
 
color: white;
 
}
 
</pre>
 
[[User:Captscurvy|Captscurvy]] ([[User talk:Captscurvy|talk]]) 00:19, September 21, 2013 (UTC)
 
 
I put them in but nothing happened! By the way I only put in the Javascript part because I want to make sure it works. --'''[[User:IStoleThePies|<span style="color:#a35a00;">IStoleThePies</span>]]''' | [[Message_Wall:IStoleThePies|<span style="color:#1a099c;">Message Wall</span>]] | [[Special:Contributions/IStoleThePies|<span style="color:#a69e00;">Contributions</span>]] 03:16, September 21, 2013 (UTC)
 
 
: Please help! --'''[[User:IStoleThePies|<span style="color:#a35a00;">IStoleThePies</span>]]''' | [[Message_Wall:IStoleThePies|<span style="color:#1a099c;">Message Wall</span>]] | [[Special:Contributions/IStoleThePies|<span style="color:#a69e00;">Contributions</span>]] 16:29, September 21, 2013 (UTC)
 
:: If anyone could help I'd really appreciate it! --'''[[User:IStoleThePies|<span style="color:#a35a00;">IStoleThePies</span>]]''' | [[Message_Wall:IStoleThePies|<span style="color:#1a099c;">Message Wall</span>]] | [[Special:Contributions/IStoleThePies|<span style="color:#a69e00;">Contributions</span>]] 20:13, September 23, 2013 (UTC)
 
::: Remove the css from the js page.--''' ~ [[User:UltimateSupreme|<span style="color:blue;">Ultimate</span>]][[User talk:UltimateSupreme|<span style="color:#EE2C2C;">Supreme</span>]]''' 15:07, September 24, 2013 (UTC)
 
:::: It still isn't working! What's going on? Did I do it right? --'''[[User:IStoleThePies|<span style="color:#a35a00;">IStoleThePies</span>]]''' | [[Message_Wall:IStoleThePies|<span style="color:#1a099c;">Message Wall</span>]] | [[Special:Contributions/IStoleThePies|<span style="color:#a69e00;">Contributions</span>]] 21:09, September 24, 2013 (UTC)
 
::::: Never mind, got it working. I'm really happy it works, but is there a way to add a tiny bit more spacing between the UserTags? --'''[[User:IStoleThePies|<span style="color:#a35a00;">IStoleThePies</span>]]''' | [[Message_Wall:IStoleThePies|<span style="color:#1a099c;">Message Wall</span>]] | [[Special:Contributions/IStoleThePies|<span style="color:#a69e00;">Contributions</span>]] 21:19, September 24, 2013 (UTC)
 
:::::: Does anyone know? --'''[[User:IStoleThePies|<span style="color:#a35a00;">IStoleThePies</span>]]''' | [[Message_Wall:IStoleThePies|<span style="color:#1a099c;">Message Wall</span>]] | [[Special:Contributions/IStoleThePies|<span style="color:#a69e00;">Contributions</span>]] 20:22, September 28, 2013 (UTC)
 
 
== An easier way to add user tags to more than one user? ==
 
 
Hi. I'm having this problem. I use the user tag set up, the one in the walk through (that seems to be the only one that seems to work for me, like '''''A LOT!). '''''I try adding multiple users to it, like a specified user tag for all the users that I have classified under it. But, as I try it out, it just disappears on either my profile, or the other users profile, or both of our profiles! I need help, on this problem. If anyone can help me, thanks!
 
 
Also, in case if you don't know which one I'm using, I'm using this one
 
 
window.UserTagsJS = {
 
modules: {},
 
tags: {
 
jshelper: { u: 'JavaScript', order: 100 },
 
csshelper: { u: 'CSS', order: 101 },
 
templatehelper: { u: 'Templates', order: 102 },
 
bureaucrat: { order: 1 }
 
}
 
};
 
UserTagsJS.modules.custom = {
 
'Lunarity': ['csshelper', 'templatehelper', 'jshelper'] // NOTE: order of list here does NOT matter
 
};
 
UserTagsJS.modules.mwGroups = ['bureaucrat', 'sysop'];
 
importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});
 
 
If anyone could help, It would make me feel like the happiest user in this wiki!!!
 
 
[[User:Fatal Disease|Do you hear that? That&#39;s the grape roaring.]] ([[User talk:Fatal Disease|talk]]) 23:14, September 28, 2013 (UTC)
 
 
== Emailconfirmed tag text displays oddly. ==
 
 
Just set up emailconfirmed so that it appears properly over at the [http://helmet-heroes.wikia.com Helmet Heroes Wikia], and it's displaying the text very oddly. I would've thought it would say "EMAIL CONFIRMED", but it says "¿EMAILCONFIRMED?". Is this a bug? [[User:404UserNotFound|404UserNotFound]] ([[User talk:404UserNotFound|talk]]) 21:05, October 12, 2013 (UTC)
 
:Ah, I just checked the source code of the tag using FireBug, and saw the following:
 
<nowiki><span class="tag usergroup-emailconfirmed emailconfirmed-user" title="No Tag Information. Broken module or bad configuration!">¿emailconfirmed?</span></nowiki>
 
:So that's why it's broken. [[User:404UserNotFound|404UserNotFound]] ([[User talk:404UserNotFound|talk]]) 21:06, October 12, 2013 (UTC)
 
::UserTagsJS.modules.mwGroups does not contain 'emailconfirmed' in your config [[User:TK-999|TK-999]] ([[User talk:TK-999|talk]]) 00:28, October 13, 2013 (UTC)
 
:::It did earlier, but I've since removed it because it was bugged. [[User:404UserNotFound|404UserNotFound]] ([[User talk:404UserNotFound|talk]]) 02:06, October 13, 2013 (UTC)
 
 
== This doesn't show tags on Message Walls ==
 
 
Just realized this. [http://helmet-heroes.wikia.com/wiki/Message_Wall:Rappy_4187 Take Rappy_4187's Message Wall] for example. If you check his user page, you'll see he's Staff/Utilities, and you'll see the customized tags I've set up for those groups. However, on his Message Wall, it only shows the generic STAFF tag. I believe the fix for this is a simple modification, but I'm no JS expert, so hopefully this can be updated to show the tags on the Message Wall page. [[User:404UserNotFound|404UserNotFound]] ([[User talk:404UserNotFound|talk]]) 08:16, October 17, 2013 (UTC)
 
:Fixed.--''' ~ [[User:UltimateSupreme|<span style="color:blue;">Ultimate</span>]][[User talk:UltimateSupreme|<span style="color:#EE2C2C;">Supreme</span>]]''' 13:56, October 17, 2013 (UTC)
 
::Wonderful, everything is working again! Thanks UltimateSupreme :D [[User:404UserNotFound|404UserNotFound]] ([[User talk:404UserNotFound|talk]]) 19:51, October 17, 2013 (UTC)
 
 
== MHFanon's tags aren't working... ==
 
 
We have all the scripts installed and configured, yet, it doesn't seem to work.
 
 
http://monsterhunterfanon.wikia.com/wiki/MediaWiki:Wikia.js
 
 
http://monsterhunterfanon.wikia.com/wiki/MediaWiki:Wikia.css
 
 
http://monsterhunterfanon.wikia.com/wiki/MediaWiki:Common.css
 
 
http://monsterhunterfanon.wikia.com/wiki/MediaWiki:Common.js
 
 
http://monsterhunterfanon.wikia.com/wiki/MediaWiki:Monobook.css
 
 
http://monsterhunterfanon.wikia.com/wiki/MediaWiki:Monobook.js
 
 
[[User:Master Ceadeus 27|<big><span style="color:#0000ff;">Master</span></big>]][[User Talk:Master Ceadeus 27|<big><span style="color:#0000ff;">'''Ceadeus'''</span></big> ]] 21:54, December 8, 2013 (UTC)
 
 
: Import the script only in '''Common.js''', not all.
 
: Also there is this: <span class="error">Error: JavaScript parse error: Parse error: Unexpected token; token } expected in file 'MediaWiki:Common.js' on line 145</span>--''[[User:UltimateSupreme|<span style="color:#0078ff; text-shadow: 0px 1px 0.4px #0054d3, -1px -1px 1px white, -2px -2px 6px #0093f4;">~Ultimate</span>]][[User talk:UltimateSupreme|<span style="color:#f00; text-shadow: 0px 1px 0.4px #f33, 1px 0px 1px white, 2px 2px 6px #f33, -2px -2px 6px #f33;">Supreme</span>]]'' 10:29, December 9, 2013 (UTC)
 
 
:: I couldn't find the error... but I did fix the imports. [[User:Master Ceadeus 27|<big><span style="color:#0000ff;">Master</span></big>]][[User Talk:Master Ceadeus 27|<big><span style="color:#0000ff;">'''Ceadeus'''</span></big> ]] 22:47, December 9, 2013 (UTC)
 
 
::: You're missing a comma here:
 
<pre>UserTagsJS.modules.custom = {
 
'Master Ceadeus 27': ['test1', 'aauthor', 'mauthor', 'ffauthor']
 
'Setheo': ['mwdesign', 'gigas', 'aauthor', 'mauthor', 'ffauthor']
 
};</pre>
 
:::It should look like this (note the comma at the end of the first line):
 
<pre>UserTagsJS.modules.custom = {
 
'Master Ceadeus 27': ['test1', 'aauthor', 'mauthor', 'ffauthor'],
 
'Setheo': ['mwdesign', 'gigas', 'aauthor', 'mauthor', 'ffauthor']
 
};</pre>
 
:::{{User:RyaNayR/sig}} 11:28, December 10, 2013 (UTC)
 
:::I'm also pretty sure you need to add all those custom tags to UserTagsJS.modules.mwGroups and you need to have window.UserTagsJS above it. {{User:RyaNayR/sig}} 12:39, December 10, 2013 (UTC)
 
 
::::I think I fixed it, but it's not showing up... [[User:Master Ceadeus 27|<big><span style="color:#0000ff;">Master</span></big>]][[User Talk:Master Ceadeus 27|<big><span style="color:#0000ff;">'''Ceadeus'''</span></big> ]] 23:19, December 10, 2013 (UTC)
 
 
== Tags not showing up? ==
 
 
This is my current coding, placed in the [[w:c:shadowhunters:MediaWiki:Common.js|Common.js]] page of the Shadowhunters' wiki. I am particularly concerned about the Bureaucrat & Rollback tags. What did I do wrong?
 
 
<pre>
 
window.UserTagsJS = {
 
modules: {
 
inactive: 30,
 
mwGroups: ['bureaucrat', 'chatmoderator', 'patroller', 'rollback', 'sysop', 'bannedfromchat', 'bot', 'bot-global'],
 
autoconfirmed: true,
 
metafilter: {
 
sysop: ['bureaucrat'],
 
chatmoderator: ['sysop'],
 
rollback: ['sysop'],
 
},
 
newuser: true,},
 
tags: {
 
bureaucrat: { u:'Consul', link:'Administrators' },
 
sysop: { link:'Administrators' },
 
rollback: { u:'Rollback', link:'Administrators' },
 
}
 
};
 
UserTagsJS.modules.custom = {
 
'Redwall64': ['bureaucrat'],
 
};
 
UserTagsJS.modules.mwGroups = ['bureaucrat'];
 
UserTagsJS.modules.mwGroups = ['rollback'];
 
importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});
 
</pre>
 
 
I have also placed codes on the [[w:c:shadowhunters:MediaWiki:Wikia.css|Wikia.css]] and [[w:c:shadowhunters:MediaWiki:Monobook.css|Monobook.css]], as instructed on the page. ~ [[User:Redwall64|<span style="color:#8b0000;">red</span>]][[Message_Wall:Redwall64|wall]][[Special:Contributions/Redwall64|<sup><span style="color:#000099;">64</span></sup>]] 12:03, December 29, 2013 (UTC)
 
 
 
Hello. test with this script :
 
<pre>
 
window.UserTagsJS = {
 
modules: {}
 
tags: {
 
bureaucrat: { u:'Consul', link:'Administrators' },
 
sysop: { link:'Administrators' },
 
rollback: { u:'Rollback', link:'Administrators' }
 
}
 
};
 
UserTagsJS.modules.mwGroups = ['bureaucrat', 'rollback', 'chatmoderator', 'patroller', 'sysop', 'bannedfromchat', 'bot', 'botglobal'];
 
UserTagsJS.modules.autoconfirmed = true;
 
UserTagsJS.modules.inactive = 30;
 
UserTagsJS.modules.newuser = true;
 
UserTagsJS.modules.metafilter = {
 
sysop: ['bureaucrat'],
 
rollback: ['sysop'],
 
chatmoderator: ['sysop']
 
};
 
importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});
 
</pre>
 
 
I've never seen anything in "modules: {}" in the beginning of the script, so i've moved the modules in the end =)
 
I've also deleted the "custom" module, which is useless, because the "mwgroup" module add the "bureaucrat" tag automatically.
 
 
<small><span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); border:1px solid #008B8B; -moz-border-radius-topleft:1ex; border-top-left-radius:1ex; -moz-border-radius-bottomleft:1ex; border-bottom-left-radius:1ex; border-right:0;"><span style="border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-topleft:1ex; -moz-border-radius-bottomleft:1ex;">'''&nbsp;&nbsp; [[User:Maxime Corbin|<span style="color:#008B8B">Maxime</span>]]'''&nbsp;</span><span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff; border:1px solid #008B8B; border-top-left-radius:1ex; border-bottom-left-radius:1ex; -moz-border-radius-bottomleft:1ex; -moz-border-radius-topleft:1ex;">&nbsp;[[Discussion Utilisateur:Maxime Corbin|<span style="color:#ccc">Discuter</span>]]&nbsp;</span><span style="background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#fff">&nbsp;[[Special:Contributions/Maxime Corbin|<span style="color:#ccc">Contributions</span>]]&nbsp;</span></span><span style="border:1px solid #008B8B; border-left:0; border-top-right-radius:1ex; border-bottom-right-radius:1ex; -moz-border-radius-bottomright:1ex; -moz-border-radius-topright:1ex; background-color:#000; background-image:-moz-linear-gradient(top, #444 35%, #000 65%); background-image:-webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, #444), color-stop(65%, #000)); color:#eb0">&nbsp;&nbsp;</span></small> 14:18, December 29, 2013 (UTC)
 
 
::Still nothing, it seems. ~ [[User:Redwall64|<span style="color:#8b0000;">red</span>]][[Message_Wall:Redwall64|wall]][[Special:Contributions/Redwall64|<sup><span style="color:#000099;">64</span></sup>]] 11:50, December 31, 2013 (UTC)
 
:Hey there! Please try this one:
 
<syntaxhighlight lang="javascript">
 
window.UserTagsJS = {
 
modules: {
 
inactive: 30,
 
mwGroups: ['bureaucrat', 'chatmoderator', 'patroller', 'rollback', 'sysop', 'bannedfromchat', 'bot', 'bot-global'],
 
autoconfirmed: true,
 
metafilter: {
 
sysop: ['bureaucrat'],
 
chatmoderator: ['sysop'],
 
rollback: ['sysop']
 
},
 
newuser: true,
 
custom: {
 
'Redwall64': ['bureaucrat']
 
}
 
},
 
tags: {
 
bureaucrat: {
 
u: 'Consul',
 
link: 'Administrators'
 
},
 
sysop: {
 
link: 'Administrators'
 
},
 
rollback: {
 
u: 'Rollback',
 
link: 'Administrators'
 
}
 
}
 
};
 
 
importArticle({
 
type: 'script',
 
article: 'w:c:dev:UserTags/code.js'
 
});
 
</syntaxhighlight>
 
Hope this helps! :D—[[User talk:AnimatedCartoons|'''An[matedCar]oons''']] 12:07, December 31, 2013 (UTC)
 
 
== Inactive Tag ==
 
 
First, [[w:c:alvin:MediaWiki:Common.js]]. I have customized where when someone is a new editor, they lose the tag when they become inactive (no editing to main, talk, thread, and board thread in the last 45 days). However, for example, [[w:c:alvin:User:.Echo|here]] and [[w:c:alvin:User:KateWolf|here]] they are for some reason not inactive (they have no edits in over three years) yet [[w:c:alvin:User:Aloeande|here]] and elsewhere others are inactive. [[User:DEmersonJMFM|DEmersonJMFM]] 03:21, January 10, 2014 (UTC)
 
 
== In need of assistance with user tags ==
 
Hi, I really need help with getting the user tags to show up at my wiki. This is my [http://kuroshitsuji.wikia.com/wiki/MediaWiki:Common.js MediaWiki:Common.js] at the moment. Perhaps you should take a look at my [http://kuroshitsuji.wikia.com/wiki/MediaWiki:Wikia.css MediaWiki:Wikia.css] as well. I know I must have screwed up with the user tag coding somehow but I cannot figure it out at all and it's giving me a headache. In addition, other scripts, such as auto-refresh, display timer, and referencepopups do not work either. I would really appreciate any help regarding this matter. Thank you in advance.--[[User:C. Phantom|C. Phantom]] 20:54, February 17, 2014 (UTC)
 
:You're missing a comma here:
 
<syntaxhighlight lang=javascript>
 
UserTagsJS.modules.metafilter = {
 
sysop: ['bureaucrat', 'founder'], // Remove administrator group from bureaucrats
 
bureaucrat: ['founder']
 
chatmoderator: ['sysop', 'bureaucrat']
 
};
 
</syntaxhighlight>
 
:It needs to go at the end of the <code>bureaucrat: ['founder']</code> line. One little error in Common.js will break the whole thing, so that's why the other scripts aren't working. Once you add that comma everything should work again. {{User:RyaNayR/sig|22:42, February 17, 2014 (UTC)}}
 
::Thank you very much, I've adjusted it accordingly, now I'll just wait for the changes to set in. Thanks again.--[[User:C. Phantom|C. Phantom]] 02:43, February 21, 2014 (UTC)
 
 
==Stopped working==
 
Hi, this script seems to have stopped working at [[w:c:bloons]], despite no recent editing of [[w:c:bloons:MediaWiki:Common.js]]. I've had a look at other wikis, and the script seems to be functioning on all of them. Not sure what could be wrong. Any help is appreciated. — [[User:SW8573|SW8573]] <sup>([[User Talk:SW8573|Talk]])</sup> 08:35, February 22, 2014 (UTC)
 
:Hi, we had found a script being in conflict with UserTags, so the issue has been solved. -- {{User:Spike144/SigReal}} 16:27, March 10, 2014 (UTC)
 
 
==Staff tag not showing up==
 
After changing MediaWiki:User-identity-box-group-staff from "Staff" to "Wikia Staff" UserTags stops the staff tag from appearing
 
 
The code I"m using:
 
<syntaxhighlight lang=javascript>
 
window.UserTagsJS = {
 
modules: {},
 
tags: {
 
sysop: { u:'Administrator', order:-1/0 },
 
newuser: { u:'New Rust Wiki Editor' },
 
headadmin: { u:'Head-Administrator', order:-1/0 },
 
vstf: { link:'Help:SpamTaskForce' },
 
staff: { link:'http://community.wikia.com/wiki/Community_Central:Staff' }
 
},
 
oasisPlaceBefore: ''
 
};
 
UserTagsJS.modules.mwGroups = ['bureaucrat', 'sysop', 'rollback', 'bannedfromchat', 'staff'];
 
UserTagsJS.modules.metafilter = {
 
'newuser': ['sysop', 'bureaucrat', 'bot'],
 
'notautoconfirmed': ['sysop', 'bureaucrat', 'bot'],
 
'headadmin': ['founder']
 
};
 
UserTagsJS.modules.implode = {
 
'headadmin': ['sysop', 'bureaucrat']
 
};
 
UserTagsJS.modules.inactive = {
 
days: 60,
 
namespaces: [0],
 
zeroIsInactive: true // 0 article edits = inactive
 
};
 
UserTagsJS.modules.autoconfirmed = true
 
UserTagsJS.modules.newuser = {
 
days: 5, // Must have been on the Wiki for 5 days
 
edits: 10, // And have at least 10 edits to remove the tag
 
namespace: 0 // Edits must be made to articles to count
 
};
 
</syntaxhighlight>
 
[[User:Jdm280|Jdm280]] ([[User talk:Jdm280|talk]]) 01:25, May 17, 2014 (UTC)
 
:The wiki in question?--''[[User:UltimateSupreme|<span style="color:#0078ff; text-shadow: 0px 1px 0.4px #0054d3, -1px -1px 1px white, -2px -2px 6px #0093f4;">~Ultimate</span>]][[User talk:UltimateSupreme|<span style="color:#f00; text-shadow: 0px 1px 0.4px #f33, 1px 0px 1px white, 2px 2px 6px #f33, -2px -2px 6px #f33;">Supreme</span>]]'' 11:28, May 21, 2014 (UTC)
 
 
::It's the [http://rust.wikia.com/ Rust Wiki]
 
::Here is a link to the All Pages MediaWiki Namespace for convenience: [http://rust.wikia.com/index.php?title=Special%3AAllPages&from=&to=&namespace=8 link]
 
::[[User:Jdm280|Jdm280]] ([[User talk:Jdm280|talk]]) 01:12, May 23, 2014 (UTC)
 
 
::: I can see the staff tag [http://rust.wikia.com/wiki/User:CzechOut?useskin=oasis here]
 
::: Note that the staff tag does not appear in monobook.''[[User:UltimateSupreme|<span style="color:#0078ff; text-shadow: 0px 1px 0.4px #0054d3, -1px -1px 1px white, -2px -2px 6px #0093f4;">~Ultimate</span>]][[User talk:UltimateSupreme|<span style="color:#f00; text-shadow: 0px 1px 0.4px #f33, 1px 0px 1px white, 2px 2px 6px #f33, -2px -2px 6px #f33;">Supreme</span>]]'' 04:52, May 23, 2014 (UTC)
 
 
::::Yes but that is because I have changed it back to the default "Staff" since then. If I change it to anything else the tag will not appear however, disabling UserTags fixes this.
 
::::[[User:Jdm280|Jdm280]] ([[User talk:Jdm280|talk]]) 02:51, May 27, 2014 (UTC)
 
 
== Banned from chat tag ==
 
Hi, I'm using this on my global.js, but any user who is banned from chat and hasn't got a lot of edits has the "Banned from Chat" tag overwritten by New Editor. How do I go about displaying both at once? My global.js is here if needed: [[w:User:SuperSajuuk/global.js]]. Thanks. --[[User:SuperSajuuk|SuperSajuuk]] <sup><small>[[User talk:SuperSajuuk|Talk Page]] | [[w:User:SuperSajuuk/Tabber Code|Tabber Code]] | [http://youtube.com/LPSajuuk Channel]</small></sup> 20:13, July 4, 2014 (UTC)
 
:Hi, it looks like you applied a fix for that, but the script import is commented out so you'll have to uncomment the script to see if it worked. Also if it doesn't, try reversing 'newuser' and 'bannedfromchat' in <code> newuser: ['bannedfromchat']</code> {{User:RyaNayR/sig|20:23, July 04, 2014 (UTC)}}
 
::The fix I tried didn't work, your suggestion also didn't work. If any other suggestions can be found, would appreciate it. :) --[[User:SuperSajuuk|SuperSajuuk]] <sup><small>[[User talk:SuperSajuuk|Talk Page]] | [[w:User:SuperSajuuk/Tabber Code|Tabber Code]] | [http://youtube.com/LPSajuuk Channel]</small></sup> 20:59, July 4, 2014 (UTC)
 
:It seems bannedfromchat is no longer available now. It just shows an error '''USERTAGS(M:OasisTagsModule): Scraped tag was not claimed: Banned From Chat'''--''[[User:UltimateSupreme|<span style="color:#0078ff; text-shadow: 0px 1px 0.4px #0054d3, -1px -1px 1px white, -2px -2px 6px #0093f4;">~Ultimate</span>]][[User talk:UltimateSupreme|<span style="color:#f00; text-shadow: 0px 1px 0.4px #f33, 1px 0px 1px white, 2px 2px 6px #f33, -2px -2px 6px #f33;">Supreme</span>]]'' 09:25, July 6, 2014 (UTC)
 
 
== Various customization attempts making all tags disappear ==
 
 
Basic setup of UserTags was easy, but I am having what seem like some dumb simple problems when trying most of the customization. Turning Admin and Bureucrat tags into links works, so I can be sure I'm adding configuration options to the [http://helloproject.wikia.com/wiki/MediaWiki:Common.js right place of the right file], at least.
 
 
I was trying to get it to show the Admin tag for a bureaucrat. For testing purposes I also tossed in "Inactive".
 
 
<pre>UserTagsJS.modules.custom = {
 
'WonderBuono!': ['sysop', 'inactive']
 
};</pre>
 
 
This did indeed cause both the Admin and Inactive tags to show for her... but it made Bureaucrat stop appearing. It also made every other tag from UserTags stop appearing for everyone else. Commented that out.
 
 
I tried adding the ability for users to choose which languages they know.
 
 
<pre>UserTagsJS.modules.prefLanguages = true;</pre>
 
 
This seemed to work, as far as adding the link to "My scripts" and giving me an EN-5 tag once I'd identified as a native English speaker. However, again all the other UserTags tags disappeared. Commented that out.
 
 
Since it's true for almost every user I find the "AUTOCONFIRMED USER" tag much more of an eyesore than it's worth, so I tried making it go away like so:
 
 
<pre>UserTagsJS.modules.metafilter = {
 
'autoconfirmed': ['autoconfirmed']]
 
};</pre>
 
 
Again the result was that ''every'' UserTags tag disappeared. This time the Admin tag wasn't even a link any more. [[User:JoshuaJSlone|JoshuaJSlone]] ([[User talk:JoshuaJSlone|talk]]) 10:06, August 4, 2014 (UTC)
 
 
:Tried setting it up on another fresher wiki where there shouldn't be other scripts to conflict with it. Again the prefLanguages made other tags disappear. Does anyone have this working properly so I can look at your MediaWiki files? [[User:JoshuaJSlone|JoshuaJSlone]] ([[User talk:JoshuaJSlone|talk]]) 18:35, August 11, 2014 (UTC)
 
 
==Need Help==
 
Hello I need help on giving me a Founder title because I am the original founder but it says my other account is and I am not so good with CSS and I put
 
 
// Custom User Tags /* Setting up tags */window.UserTagsJS = { modules: {}, tags: { founder: { order: -1 }, 'BeyonderGod': { u: 'Founder', order: 1 } } }; /* Founders */UserTagsJS.modules.custom = {
 
 
'BeyonderGod': ['founder', 'sysop'],
 
 
And nothing changed is there i way I can make the founder title show? {{Unsigned|Groyolo}}
 
 
:There is no such thing as a founder group. It can only be placed on the user account used to create the wiki and it can't be changed. --[[User:SuperSajuuk|SuperSajuuk]] <sup><small>[[User talk:SuperSajuuk|Talk Page]] | [[w:User:SuperSajuuk/Tabber Code|Tabber Code]] | [http://youtube.com/LPSajuuk Channel]</small></sup> 13:50, August 5, 2014 (UTC)
 
 
== newuser tag ==
 
So I'm using the newuser module and I'd like to make it so that the "newuser" tagged gets removed if "bannedfromchat" is present. However, my metafilter code isn't working. I think this might come back to my previous question about the 'bannedfromchat' tag above, but just want to check if this would be valid:
 
:''<nowiki>'</nowiki>newuser': ['bannedfromchat']''
 
Thanks for any help (if any) for this issue. --[[User:SuperSajuuk|SuperSajuuk]] <sup><small>[[User talk:SuperSajuuk|Talk Page]] | [[w:User:SuperSajuuk/Tabber Code|Tabber Code]] | [http://youtube.com/LPSajuuk Channel]</small></sup> 15:37, August 29, 2014 (UTC)
 
 
== removed when blocked bug ==
 
 
I believe i have found a bug with the remove when blocked module,when you ban a user from chat,it not only removes all user tags,but it also removes the banned from chat user tag.
 
 
<b><font COLOR="#04B404">Rider ranger47</font></b> 19:52, September 26, 2014 (UTC)
 
:The bannedfromchat tag hasn't worked for a while unfortunately, I believe because it expects it to be a user right (which it was, but isn't anymore). It's also the likely cause of the bug just above your report too. {{User:Cqm/Signature|10:09, 27 Sep 2014 (UTC)}}
 
 
== Tag error ==
 
 
I recently added some more modules to my wikis common.js file:
 
 
<pre>
 
//Usertags config
 
window.UserTagsJS = {
 
modules: {},
 
tags: {
 
sysop: { link:'Project:Administrators ' },
 
rollback: { u:'Bagger' },
 
bot: { link:'Help:Bots' },
 
}
 
};
 
UserTagsJS.modules.isblocked = true;
 
 
UserTagsJS.modules.mwGroups = ['bot', 'bot-global', 'rollback'];
 
 
UserTagsJS.modules.inactive = {
 
days: 60,
 
namespaces: [0],
 
zeroIsInactive: true
 
};
 
UserTagsJS.modules.metafilter = {
 
'rollback': ['sysop'],
 
};
 
UserTagsJS.modules.autoconfirmed = true;
 
 
UserTagsJS.modules.implode = {
 
'Administrative Bot ': ['sysop', 'bot']
 
};
 
 
importArticle({type:'script', article:'w:c:dev:UserTags/code.js'});
 
 
</pre>
 
 
And the implode function is not working correctly. When the tag is displayed, it has 2 question marks in front and at the end of it, which can be seen here: [http://mazerunner.wikia.com/wiki/User:Rangerbot] Can anyone tell me why this is happening? Everything else is working correctly. -- '''[[User:Rider ranger47|<font COLOR="#04B404">Rider ranger47</font>]]''' 22:41, November 3, 2014 (UTC)
 
 
 
== I having a bit of trouble... ==
 
Hi, I've been experimenting with this page and it seems I'm having some issues.
 
 
How do I have the Admin tag be hidden for Bureaucrats, and the Bureaucrats-specific tag be visible for them?
 
 
Thanks. [[User:HoneyCandiez|HoneyCandiez]] ([[User talk:HoneyCandiez|talk]]) 20:55, February 10, 2015 (UTC)
 
 
: Please add a link to the wiki. [[User:Arkondi|Arkondi]] ([[User talk:Arkondi|talk]]) 21:29, February 10, 2015 (UTC)
 
 
::If I remember correctly, it was [[w:c:youtube|Youtube Wiki]]. [[User:Underscorre|Underscorre]] ([[User talk:Underscorre|talk]]) 09:58, February 11, 2015 (UTC)
 
 
::: At first the css rule in lines 43 to 50 on [[w:c:youtube:MediaWiki:Common.js]] should be removed. It prevents the execution of the JS code. [[User:Arkondi|Arkondi]] ([[User talk:Arkondi|talk]]) 13:19, February 11, 2015 (UTC)
 
 
::::: It was the YouTube wiki. The code was removed but it doesn't appear to have worked. [[User:HoneyCandiez|HoneyCandiez]] ([[User talk:HoneyCandiez|talk]]) 23:49, February 11, 2015 (UTC)
 
 
:::::: You also removed lines 42 and 51 with [http://youtube.wikia.com/index.php?title=MediaWiki%3ACommon.js&diff=121024&oldid=120826 your first edit]. The last part should look like this:<syntaxhighlight lang="jquery" enclose="div">
 
importArticles({
 
type: 'script',
 
articles: [
 
//other scripts,
 
'u:dev:MessageWallUserTags/code.js'
 
]
 
});
 
</syntaxhighlight>[[User:Arkondi|Arkondi]] ([[User talk:Arkondi|talk]]) 05:00, February 12, 2015 (UTC)
 
 
:::::::: I'm sorry this pattern keeps happening, but it stil has not worked. [[User:HoneyCandiez|HoneyCandiez]] ([[User talk:HoneyCandiez|talk]]) 16:53, February 12, 2015 (UTC)
 
 
::::::::: Because you forgot to delete a line. :)
 
::::::::: Replace <syntaxhighlight lang="javascript" enclose="div">
 
addOnloadHook(UserNameReplace);
 
 
});
 
 
importArticles({
 
</syntaxhighlight> with <syntaxhighlight lang="javascript" enclose="div">
 
addOnloadHook(UserNameReplace);
 
 
importArticles({
 
</syntaxhighlight>[[User:Arkondi|Arkondi]] ([[User talk:Arkondi|talk]]) 17:45, February 12, 2015 (UTC)
 
 
::::::::::: Nothing. It didn't work. Do I have to do anything in a different part of the MediaWiki? [[User:HoneyCandiez|HoneyCandiez]] ([[User talk:HoneyCandiez|talk]]) 23:03, February 14, 2015 (UTC)
 
:::::::::::: The problem is now, that you try to change the undefined variable <code>UserTagsJS</code>. Replace <syntaxhighlight lang="javascript" enclose="div">
 
UserTagsJS.modules.userfilter = {
 
'Purzyckij': ['sysop'],
 
'placeholder name 2': ['sysop'],
 
'placeholder name 3': ['sysop']
 
};
 
 
UserTagsJS.modules.mwGroups = ['Bureaucrat'];
 
</syntaxhighlight> with <syntaxhighlight lang="javascript" enclose="div">
 
window.UserTagsJS = {
 
modules: {
 
userfilter: {
 
'Purzyckij': ['sysop'],
 
'placeholder name 2': ['sysop'],
 
'placeholder name 3': ['sysop']
 
},
 
mwGroups: ['Bureaucrat']
 
}
 
}
 
</syntaxhighlight> [[User:Arkondi|Arkondi]] ([[User talk:Arkondi|talk]]) 23:37, February 14, 2015 (UTC)
 
 
==Where to add the code?==
 
Where should the code on this page added? On MediaWiki:Commons.js?
 
 
Thanks!
 
 
[[User:NemiS|'''<span style="color:#007FFF; font-family:'Papyrus'; font-size:150%;">NemiS</span>''']] [[Message Wall:NemiS|<span style="color: #12B7AA ;"><sub>'''''Message Wall'''''</sub></span>]] 17:57, February 25, 2015 (UTC)
 
 
: Yes, but there is some code that has to go on a css page too... -- '''[http://steven-universe.wikia.com/wiki/User:Sophiedp <span style="color:#19FFB2;">Sophie</span>]'''[http://steven-universe.wikia.com/wiki/User:Sophiedp/ItsASecret <span style="color:#73A9C2;">&nbsp;✪&nbsp;</span>]<span class="wikia-menu-button secondary">[[User:Sophiedp|Profile]] [[User talk:Sophiedp|Talk/Message Wall]] [[Special:Contributions/Sophiedp|Contributions]]</span> 23:29, December 5, 2015 (UTC)
 
 
==Banned from Chat Tag disappearing==
 
For some reason, the banned from chat tag keeps on dissappearing:
 
 
Code: [http://spongebob.wikia.com/wiki/MediaWiki%3ACommon.js MediaWiki:Common.js]
 
 
Banned from Chat User: [http://spongebob.wikia.com/wiki/Special:Contributions/User User]
 
 
<span style="background-color:lime;background-image:-moz-linear-gradient(left, lime, blue);background-image:-ms-linear-gradient(left, lime, blue);background-image:-o-linear-gradient(left, lime, blue);background-image:-webkit-gradient(linear, left top, right top, from(lime), to(blue));border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;-khtml-border-radius:10px;-icab-border-radius:10px;-o-border-radius:10px;font-family:'Cuckoo';font-size:110%;border:6px ridge red;white-space:no-wrap;">&nbsp;<b>[[User:Nicko756|<font color="black">Nicko</font><font color="white">756</font>]]</b>&nbsp;<sup><b><font color="white">(</font>[[User talk:Nicko756|<font color="white">T</font>]]</b><font color="white">•</font><b>[[Special:Contributions/Nicko756|<font color="white">C</font>]]<font color="white">)</font></b></sup>&nbsp;</span><span style="background-color:orange;cursor:no-drop;font-size:9px;border:6px ridge purple;white-space:no-wrap;"><b><font color="black">&nbsp;18:18, April 5, 2015 (UTC)&nbsp;</font></b></span>
 
 
== custom tag get covered by usertags tags ==
 
 
I used this code:
 
<pre>
 
/******************** Level system ********************/
 
//When looking at a user profile page,
 
if ($("#UserProfileMasthead").size()) {
 
//get the displayed editcount,
 
editCount = $("#UserProfileMasthead .tally em").html().replace(",","");
 
//compare it to a predefined list of levels,
 
editRanks = {
 
1:"LEVEL 1",
 
10:"LEVEL 2",
 
25:"LEVEL 3",
 
50:"LEVEL 4",
 
90:"LEVEL 5",
 
...
 
76350:"LEVEL 46",
 
81535:"LEVEL 47",
 
86950:"LEVEL 48",
 
93110:"LEVEL 49",
 
100000:"LEVEL 50",
 
};
 
for(i in editRanks) if (editCount >= parseInt(i)) editRank = editRanks[i];
 
//and display the corresponding level as a tag.
 
if (editCount) $($("<span>").addClass("tag").html(editRank)).appendTo(".masthead-info hgroup");
 
}
 
</pre>
 
Either I put it before import usertags script or after it in my [[w:c:agk:mediawiki:common.js|Common JS]], the level system tag disappears right before usertags tags are loaded. This makes me unable to see the level system tag.
 
 
Try importing [[w:c:community:User:Yhynerson1/LevelSystem.js|this script]] and you'll see it. How to resolve this? --<span style="font:bold 100% Segoe Print, sans-serif; text-shadow:1px 1px 3px rgba(0, 0, 0, 0.25)">[[User:Yhynerson1|yhynerson1]] <small>([[User_talk:Yhynerson1|talk]], [[Special:Contributions/Yhynerson1|contribs]])</small></span> 14:40, April 28, 2015 (UTC)
 
 
==Banned from Chat Tag only shows up for one second==
 
The Banned from chat tag only shows up for one second on banned users, before it disappears. And I don't know how to fix it.
 
 
Here is my [http://csydes.wikia.com/wiki/MediaWiki%3ACommon.js Common.js]. -- '''[[User:C.Syde65|<font color="maroon">C.Syde</font>]]''' ([[User talk:C.Syde65|<font color="black">talk</font>]] &#124; [[:Special:Contributions/C.Syde65|<font color="black">contribs</font>]]) 05:43, May 23, 2015 (UTC)
 
 
==Tag coloring not working==
 
Hi, I'm Legofan100, an administrator on the [[w:c:poptropica|Poptropica Wiki]]. I tried changing the colors of some tags and it is not working. [[w:c:poptropica:MediaWIki:Common.js|the js]] [[w:c:poptropica:MediaWiki:Wikia.css|the css]]
 
 
Thanks,
 
[[w:c:poptropica:User:Legofan100|Legofan100]]
 
 
:When editing CSS, make sure you're looking out for red warning symbols for your code. I fixed this by closing a previous selector [http://poptropica.wikia.com/wiki/MediaWiki:Wikia.css?diff=98058 here]. [[User:Rappy 4187|Rappy]] <staff/> 14:23, July 3, 2015 (UTC)
 
 
==Global User Tags Bug with User Tags enabled==
 
I find it weird how with user tags enabled, RansomTime, TK-999, Abuse Filter, and Monchoman45 have the administrator tag on all wikis, while TyA, CallofDuty4 and Sactage have the chat moderator tag on all wikis. And I've never found any explanation as to why that bug exists. I don't find this particular bug to be a major problem, but then again I've always wondered if there was anything that could be causing the bug to occur. ― '''[[User:C.Syde65|<font color="maroon">C.Syde</font>]]''' ([[User talk:C.Syde65|<font color="black">talk</font>]] &#124; [[:Special:Contributions/C.Syde65|<font color="black">contribs</font>]]) 05:24, July 9, 2016 (UTC)
 
:It happens to another user ([[User:Robin Patterson]]) who has no flags at all on Wikia. Not a major problem though. --'''''[[User:SuperSajuuk|Sa]][[User talk:SuperSajuuk|ju]][[Special:Contributions/SuperSajuuk|uk]]''''' 18:40, July 9, 2016 (UTC)
 
::The user doesn't even exist according to their masthead. ― '''[[User:C.Syde65|<font color="maroon">C.Syde</font>]]''' ([[User talk:C.Syde65|<font color="black">talk</font>]] &#124; [[:Special:Contributions/C.Syde65|<font color="black">contribs</font>]]) 22:51, July 9, 2016 (UTC)
 
:::I typo'ed the user's name, fixed. --'''''[[User:SuperSajuuk|Sa]][[User talk:SuperSajuuk|ju]][[Special:Contributions/SuperSajuuk|uk]]''''' 15:24, July 13, 2016 (UTC)
 
 
== Where does this happen? ==
 
 
The "walkthrough" section excludes '''where you go to type that coding'''. Or did I not look in the right place....
 
 
'''<b>[[User:HiddenVale|<font color="grey">'''HiddenVale''' -</font>]]<font color="grey"> [[File:HV_logo.png|27px]] </font>[[User talk:HiddenVale|<font color="blue">TalkPage</font>]]</b>''' 15:40, July 20, 2016 (UTC)
 
 
: You place the code in [[MediaWiki:Common.js]] on your wiki. If the directions seem complicated, there is another script named [[ProfileTags]] which has the same function and is easier to configure.
 
: [[User:Monochromatic Bunny|-- Monochromatic Bunny]] 17:13, July 20, 2016 (UTC)
 
 
 
==Tags Update==
 
==Tags Update==
 
These tags should be updated to include the user tag for content moderators. Content Moderators don't have an existing user-identity box, unlike Administrators - User-identity-box-group-sysop - but then Roll-backers don't have an existing user-identity box either, and this script still allows Roll-backers to have the rollback user tag next to their username. Similarly because this script is still outdated, with Discussions Moderators still being tagged as Moderators. I tried to update the user tag name for Discussions Moderators on my wiki, but it broke, so I had to revert back to the user tag saying Moderator. ― '''[[User:C.Syde65|<font color="maroon">C.Syde</font>]]''' ([[User talk:C.Syde65|<font color="black">talk</font>]] &#124; [[:Special:Contributions/C.Syde65|<font color="black">contribs</font>]]) 09:14, August 12, 2016 (UTC)
 
These tags should be updated to include the user tag for content moderators. Content Moderators don't have an existing user-identity box, unlike Administrators - User-identity-box-group-sysop - but then Roll-backers don't have an existing user-identity box either, and this script still allows Roll-backers to have the rollback user tag next to their username. Similarly because this script is still outdated, with Discussions Moderators still being tagged as Moderators. I tried to update the user tag name for Discussions Moderators on my wiki, but it broke, so I had to revert back to the user tag saying Moderator. ― '''[[User:C.Syde65|<font color="maroon">C.Syde</font>]]''' ([[User talk:C.Syde65|<font color="black">talk</font>]] &#124; [[:Special:Contributions/C.Syde65|<font color="black">contribs</font>]]) 09:14, August 12, 2016 (UTC)

Revision as of 18:58, August 12, 2016

Replacement filing cabinet Archive

Tags Update

These tags should be updated to include the user tag for content moderators. Content Moderators don't have an existing user-identity box, unlike Administrators - User-identity-box-group-sysop - but then Roll-backers don't have an existing user-identity box either, and this script still allows Roll-backers to have the rollback user tag next to their username. Similarly because this script is still outdated, with Discussions Moderators still being tagged as Moderators. I tried to update the user tag name for Discussions Moderators on my wiki, but it broke, so I had to revert back to the user tag saying Moderator. ― C.Syde (talk | contribs) 09:14, August 12, 2016 (UTC)

Did you add "content-moderator" to both, tags and default groups?
window.UserTagsJS = {
	modules: {},
	tags: {
		threadmoderator: { u:'Discussions Moderator' },
		content-moderator: { u: 'Content Moderator' }
	}
};
 
UserTagsJS.modules.mwGroups =  ['bureaucrat', 'chatmoderator', 'threadmoderator', 'rollback', 'content-moderator', 'sysop', 'bannedfromchat'];
 
importArticle({type:'script', article:'u:dev:MediaWiki:UserTags/code.js'});

Could you provide a link to your edit, where changing the default groups and labels (like above) didn't give you the correct result? AmonFatalis@fandom 10:15, August 12, 2016 (UTC)

Yes for the Discussions Moderator identity box, but the change prevented the tag from appearing altogether. So I was forced to undo the changes.
I haven't updated the tags on my wiki to add content moderators, because I don't know how to get it to work. And I've never felt quite the same about editing Java Script pages since they became covered by the review process. ― C.Syde (talk | contribs) 10:31, August 12, 2016 (UTC)
[1] I've integrated the groups you were missing into your script configuration.AmonFatalis@fandom 12:00, August 12, 2016 (UTC)
The only problem is that now the Custom Java Script review module is in a different language. And I don't know why it's like that, or how to fix it. ― C.Syde (talk | contribs) 12:04, August 12, 2016 (UTC)
Known bug. It doesn't change the overall behavior of the module (same colors and layout as before), so you can just wait it out and report it through Special:Contact.AmonFatalis@fandom 12:29, August 12, 2016 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.