<p>I searched on WCC for "UserTags" and got zero results. "User Tags" showed irrelevant results."
</p><p>I want to know where they go...what file do I edit to change the rights of a group, or create new ones.
</p><p>I am following the tutorial here, but when it gets to the UserTags section, it doesn't tell me which file to put the new UserTags into.
</p><p>
</p><p>After looking at some of the groups on the Special:ListGroupRights for my wikia, I noticed a common url... "<MY WIKIA>Wiki:<GROUP>" but that still doesn't give me the ability to alter the rights of that group.
</p><p>Am I just being blind? Or is there really no clear instruction on how to create an actual file for a user group?
</p>
ALL POSTS
<p>UserTags can't change the rights of a usergroup. That's something that Wikia Staff can do if necessary.
</p><p>If you want to do that, <span class="plainlinks">contact Fandom Staff</span>.
</p>
(Edited by RansomTime)
<p>Alright. Thank you Ransom.
</p><p>What about making now groups? is that done one group per file as in "<MY WIKIA>Wiki:<GROUP1>", "<MY WIKIA>Wiki:<GROUP2>", etcetera?
</p>
(Edited by Revres'Ym)
<p>New groups are also added by staff. Again, not something you can do yourself.
</p>
(Edited by RansomTime)
<p>If that's indeed true, then the tutorial I linked above should reflect that. It states:
</p><p></p><blockquote>Let's make a simple example, let's say you want to create 3 tags: "Editor of the Month", "Featured" and "Templates Guru". To do this, <u>we will create the groups</u> "montheditor", "featured" and "templates":(source )</blockquote>
<p>and
</p><p></p><blockquote>This is a list of all built-in groups for reference if you want to change the text or avoid accidentally picking an already used name for a custom group(source )</blockquote>
(Edited by Revres'Ym)
<p>Those tags aren't real, functional groups with any privileges. They are purely cosmetic. RansomTime is saying you can't create or edit real user groups in the MediaWiki system.
</p><p>You can create and give out arbitrary tags with that script, but they have no real meaning to the wiki.
</p>
(Edited by Iynque)
<p>That's what I figured, and that's fine with me. I just want to have a little more than default. I still think the tutorial should mention th fact that they are only cosmetic groups/display titles, and have no real effect on the wiki.
</p><p>
</p><p>I still don't know how to create the groups/usertags. Do I put them each in to a seperate file with the group's name, or do they go in to some other file as if it was a css file? </p>
</p><p>I still don't know how to create the groups/usertags. Do I put them each in to a seperate file with the group's name, or do they go in to some other file as if it was a css file? </p>
(Edited by Revres'Ym)
<p>If the documentation is incorrect or unclear, it's a wiki! You can edit it and make it clear 😉
</p><p>You add the settings in your Common.js, anywhere <i>above</i> the importArticles you added for the User Tags script.
</p><p>What I would do is copy the entire example configuration to your wiki, and then edit that, commenting-out any settings you don't need.
</p>
<div dir="ltr" class="mw-geshi mw-content-ltr"><div class="javascript source-javascript">
<span class="co1">// Core configuration. We add 2 custom tags and change what the built-in sysop tag says.</span>
window.<span class="me1">UserTagsJS</span> <span class="sy0">=</span> <span class="br0">{</span>
modules<span class="sy0">:</span> <span class="br0">{</span><span class="br0">}</span><span class="sy0">,</span>
tags<span class="sy0">:</span> <span class="br0">{</span>
hello<span class="sy0">:</span> <span class="br0">{</span> m<span class="sy0">:</span> <span class="st0">'Male'</span><span class="sy0">,</span> f<span class="sy0">:</span><span class="st0">'Female'</span><span class="sy0">,</span> u<span class="sy0">:</span> <span class="st0">'No Gender Set'</span><span class="sy0">,</span> order<span class="sy0">:</span> <span class="sy0">-</span><span class="nu0">1</span><span class="sy0">/</span><span class="nu0">0</span><span class="sy0">,</span> link<span class="sy0">:</span><span class="st0">'en.wikipedia.org/wiki/Gender'</span> <span class="br0">}</span><span class="sy0">,</span>
muckraker<span class="sy0">:</span> <span class="st0">'Muckraker'</span><span class="sy0">,</span>
sysop<span class="sy0">:</span> <span class="br0">{</span> u<span class="sy0">:</span><span class="st0">'Addermin'</span><span class="sy0">,</span> link<span class="sy0">:</span><span class="st0">'Project:Administrators'</span> <span class="br0">}</span><span class="sy0">,</span> <span class="co1">// Change "Administrator" to "Addermin"</span>
<span class="st0">'mini-sysop'</span><span class="sy0">:</span> <span class="br0">{</span> u<span class="sy0">:</span> <span class="st0">'Half Administrator'</span><span class="sy0">,</span> link<span class="sy0">:</span><span class="st0">'Project:HalfAdmins'</span> <span class="br0">}</span><span class="sy0">,</span>
<span class="st0">'vandal-patrol'</span><span class="sy0">:</span> <span class="br0">{</span> u<span class="sy0">:</span> <span class="st0">'Spamdal Janitor'</span><span class="sy0">,</span> link<span class="sy0">:</span><span class="st0">'Project:Janitors'</span> <span class="br0">}</span>
<span class="br0">}</span>
<span class="br0">}</span><span class="sy0">;</span>
<span class="co1">// Add custom groups to several users</span>
UserTagsJS.<span class="me1">modules</span>.<span class="me1">custom</span> <span class="sy0">=</span> <span class="br0">{</span>
<span class="st0">'John Doe'</span><span class="sy0">:</span> <span class="br0">[</span><span class="st0">'muckraker'</span><span class="sy0">,</span> <span class="st0">'hello'</span><span class="br0">]</span><span class="sy0">,</span>
<span class="st0">'Someone'</span><span class="sy0">:</span> <span class="br0">[</span><span class="st0">'hello'</span><span class="br0">]</span><span class="sy0">,</span>
<span class="st0">'You'</span><span class="sy0">:</span> <span class="br0">[</span><span class="st0">'inactive'</span><span class="br0">]</span><span class="sy0">,</span> <span class="co1">// Force inactive group instead of relying on the inactive module</span>
<span class="st0">'Other User'</span><span class="sy0">:</span> <span class="br0">[</span><span class="st0">'hello'</span><span class="sy0">,</span> <span class="st0">'muckraker'</span><span class="br0">]</span>
<span class="br0">}</span><span class="sy0">;</span>
UserTagsJS.<span class="me1">modules</span>.<span class="me1">autoconfirmed</span> <span class="sy0">=</span> <span class="kw2">true</span><span class="sy0">;</span>
UserTagsJS.<span class="me1">modules</span>.<span class="me1">newuser</span> <span class="sy0">=</span> <span class="kw2">true</span><span class="sy0">;</span>
UserTagsJS.<span class="me1">modules</span>.<span class="me1">inactive</span> <span class="sy0">=</span> <span class="nu0">35</span><span class="sy0">;</span> <span class="co1">// Inactive if no edits in 35 days</span>
UserTagsJS.<span class="me1">modules</span>.<span class="me1">mwGroups</span> <span class="sy0">=</span> <span class="br0">[</span><span class="st0">'bureaucrat'</span><span class="br0">]</span><span class="sy0">;</span> <span class="co1">// Add bureaucrat group to bureaucrats</span>
UserTagsJS.<span class="me1">modules</span>.<span class="me1">metafilter</span> <span class="sy0">=</span> <span class="br0">{</span>
sysop<span class="sy0">:</span> <span class="br0">[</span><span class="st0">'bureaucrat'</span><span class="br0">]</span><span class="sy0">,</span> <span class="co1">// Remove administrator group from bureaucrats</span>
hello<span class="sy0">:</span> <span class="br0">[</span><span class="st0">'muckraker'</span><span class="br0">]</span><span class="sy0">,</span> <span class="co1">// Remove hello group from people with muckraker group</span>
<span class="st0">'vandal-patrol'</span><span class="sy0">:</span> <span class="br0">[</span><span class="st0">'mini-sysop'</span><span class="br0">]</span> <span class="co1">// Remove vandal-patrol from mini-sysops</span>
<span class="br0">}</span><span class="sy0">;</span>
UserTagsJS.<span class="me1">modules</span>.<span class="me1">userfilter</span> <span class="sy0">=</span> <span class="br0">{</span>
<span class="st0">'John Smith'</span><span class="sy0">:</span> <span class="br0">[</span><span class="st0">'inactive'</span><span class="br0">]</span> <span class="co1">// John Smith is never inactive, even when he is</span>
<span class="br0">}</span><span class="sy0">;</span>
UserTagsJS.<span class="me1">modules</span>.<span class="me1">implode</span> <span class="sy0">=</span> <span class="br0">{</span>
<span class="st0">'mini-sysop'</span><span class="sy0">:</span> <span class="br0">[</span><span class="st0">'patroller'</span><span class="sy0">,</span> <span class="st0">'rollback'</span><span class="sy0">,</span> <span class="st0">'chatmoderator'</span><span class="br0">]</span> <span class="co1">// Remove patroller, rollback and chatmoderator, if ALL 3 exist, and replace with 'mini-sysop'</span>
<span class="br0">}</span><span class="sy0">;</span>
UserTagsJS.<span class="me1">modules</span>.<span class="me1">explode</span> <span class="sy0">=</span> <span class="br0">{</span>
<span class="st0">'vandal-patrol'</span><span class="sy0">:</span> <span class="br0">[</span><span class="st0">'patroller'</span><span class="sy0">,</span> <span class="st0">'rollback'</span><span class="br0">]</span> <span class="co1">// Add 'vandal-patrol' to everyone who has BOTH patroller and rollback</span>
<span class="br0">}</span><span class="sy0">;</span></div></div>
<p>—from UserTags
</p><p>…all of that should precede importArticles({type:'script', article:'w:c:dev:UserTags/code.js'});.
</p><p>You'll notice at the top of the example that it first defines what the custom tag names are. So, it creates a muckraker tag which will display as "Muckraker," a mini-sysop tag that displays as "Half Administrator" and will link to Project:HalfAdmins, etc. It's important to note that tags should be one word (no spaces) and if they are hyphenated, they must be in quotes ('mini-sysop' not just mini-sysop). The "display name" can have spaces (and other special characters).
</p><p>In the next section, tags are actually assigned to users. So, John Doe is given the muckraker tag and the hello tag.
</p><p>The rest should be pretty clear based on the comments in the code.
</p>
(Edited by Iynque)
<div class="quote"><i>Iynque wrote:
If the documentation is incorrect or unclear, it's a wiki! You can edit it and make it clear </i></div>
<p>I am not one hundred percent sure if my interpretation is accurate, and I don't want to make a false information edit. I was hoping someone more..."official" would make that edit. </p><p>Thank you very much, Iynque (Is that "Ink"?). That was much more help than I was expecting. </p>
If the documentation is incorrect or unclear, it's a wiki! You can edit it and make it clear </i></div>
<p>I am not one hundred percent sure if my interpretation is accurate, and I don't want to make a false information edit. I was hoping someone more..."official" would make that edit. </p><p>Thank you very much, Iynque (Is that "Ink"?). That was much more help than I was expecting. </p>
(Edited by Revres'Ym)
<div class="quote"><i>Revres'Ym wrote: I don't want to make a false information edit. I was hoping someone more..."official" would make that edit.</i></div>
<p>
Understandable. 😉 </p> <div class="quote"><i>Revres'Ym wrote: Iynque (Is that "Ink"?) </i></div>
<p>
Yup. </p>
<p>
Understandable. 😉 </p> <div class="quote"><i>Revres'Ym wrote: Iynque (Is that "Ink"?) </i></div>
<p>
Yup. </p>
(Edited by Iynque)