Talk:Highlight

Only global.css?
Is there a reason only Special:MyPage/global.css is mentioned as a place to use this feature? -- Fandyllic  (talk &middot; contr) 5:49 PM PST 21 Aug 2010

Not Global
Is there a way to restrict the highlighting code to Wiki Activity, Recent Changes and history pages only? Leviathan_89 12:50, August 12, 2011 (UTC)


 * There are 2 sort of ways:
 * Grab the code (not the import) and copy it 2 times (not possible with history)
 * To the first copy you will add  to the beggining of each class/id call.
 * Repeat the same for the other copy
 * The other option is to call it by JavaScript


 * Thought the drawback is. If the user has disable its JS the names will not be highlight.
 * --Cizagna (Discusión) • Helper • Central hispana 10:11, 06 September 2011 (UTC)

Thank you, that will be helpful. You should add this suggestion to the page as well. Leviathan_89 00:24, September 7, 2011 (UTC)

Can I add the first solution for WikiActivity and Recent changes and the java one for history? Of course I will use different pages (I won't import from dev wiki). Leviathan_89 00:27, September 7, 2011 (UTC)

The script doesn't work... Leviathan_89 20:36, September 7, 2011 (UTC)

I brought up the question here. Leviathan_89 21:26, September 7, 2011 (UTC)
 * Can you show me where you did/test it? --Cizagna (Discusión) • Helper • Central hispana 09:18, 13 September 2011 (UTC)

Problem solved, my bad, I didn't add my wiki to the code

I thought I didn't have to do that if the CSS was on my wiki. Anyway I suggest this solution to whoever use this type of code, this way only the link in those pages are "marked" otherwise every links (tabs, signatures,...) will be marked. Leviathan_89 09:49, September 14, 2011 (UTC)

New version
I propose to change the present selector to This way we will achieve two things: It's a bit more complicated, though. 13:36, July 10, 2012 (UTC)
 * 1) The code will work for non-English wikis as well.
 * 2) The code will apply only in RecentChanges, WikiActivity and history pages.

I have no idea who the maintainer for this is, but you can use this JavaScript instead of importing the CSS directly to get that effect. This will make the CSS work on languages other than English without being tricked by things like. This script is only worth using for your global.js though, you'd be better off just doing a copy/paste/change for a Wiki's site CSS. On an interesting side note, the current CSS doesn't work for red-link users either since the href will have  on the end which breaks the attribute match when they haven't set up a user profile page on the Wiki. Lunarity 13:30, August 24, 2012 (UTC)


 * I'm currently using this version which is a bit complicated, but it works regardless the language and even with red-links. It's true that will get a false-positive if an username ends with colon + STAFFUSERNAME, but I doubt it even exist. I prefer using CSS only if possible, but thanks for the code, it's useful.

Allowed?
Is it allowed if I use this code wiki-wide? Thanks.  Guppie the Third  wall •contribs  06:39, August 10, 2013 (UTC)

Vanguard
Should Vanguard members be included in this "script"? —Monochromatic Bunny | ☎ 22:23, October 16, 2016 (UTC)


 * You got your wish, though I'm not gonna add it without user consensus.

CoH ☎  21:42, December 20, 2016 (UTC)


 * Sorted alphabetically:


 * If you ever wanted to update this list, you can paste


 * in your console
 * I agree with Vanguards being added to highlight. -- Cube - shaped   garbage can  21:55, December 20, 2016 (UTC)
 * Support adding them. --Sophie 02:29, December 21, 2016 (UTC)


 * Since I've heard no complaints, I've added Vanguard to the list. Since Helpers are a higher tier volunteer group than Vanguard, I've placed the list above the Helpers list. In the case of Yatalu, who is both a Helper and Vanguard, this should result in the Vanguard color being overwritten by the Helper color. CoH ☎  12:05, January 3, 2017 (UTC)

MediaWiki
Should the code.css page be moved to the MediaWiki namespace? --Sophie 07:55, November 29, 2016 (UTC)
 * No, because that would break CSS pages of everybody using the stylesheet. -- Cube - shaped   garbage can  16:31, February 7, 2017 (UTC)
 * Doesn't it redirect tho? Highlight/code.css -> MediaWiki:Highlight/code.css? --Sophie 00:37, April 15, 2017 (UTC)
 * Through load.php, no. Through index.php, no. Although we could make a redirect with  like we do with   on code pages. --  Cube - shaped   garbage can  04:47, April 15, 2017 (UTC)
 * It does seem to follow actual redirects, though (redirect page: load.php, index.php), though I swear it never used to… - OneTwoThreeFall talk 07:01, April 15, 2017 (UTC)

Wow, that's interesting. I recall load.php not following redirects too, but I guess we could move and redirect it if nobody else complains. -- Cube - shaped   garbage can  12:28, April 15, 2017 (UTC)
 * This has been done. -- Cube - shaped   garbage can  21:10, January 17, 2018 (UTC)

Reorder
This page seems to indicate that Helpers are a higher-tier global rights group than VSTF. As such, I believe the Helpers section should be moved below the VSTF section but above the Staff section. Similarly, I believe the list should be expanded to include voldev members.

If no one has any issues with this, I'm going to reorder the list accordingly. CoH  ☎ 16:27, February 7, 2017 (UTC)


 * Voldev highlight would look like


 * if we remove JCel and TK-999 for already being in other user groups. Yeah, I guess you could reorder it. -- Cube - shaped   garbage can  16:31, February 7, 2017 (UTC)


 * Added and reordered. I left the duplicates in there for completeness' sake if nothing else. Feel free to change that if you want. CoH  ☎ 16:48, February 7, 2017 (UTC)

Global Discussions Moderators
Per this, Global D-Mods will be a global group very soon, & per this, the group will be prioritized over VSTF. So, when the group rolls out, should we include that group above Helpers & below VSTF in the stylesheet? What color should we use? Red  seems like it might go well, primarily because red is one of the only primary colors we haven’t used yet.

I can understand not including them too, as their colors would be seen only outside of their area of control (CSS doesn’t work in Discussions), but I think VolDevs set the precedent for coloring them anyway, & they can still block users outside of Discussions.


 * Im still wondering the same thing too. :-/-- CλVλX 10:51, August 20, 2017 (UTC)
 * LGTM, but idk about red, since redlinks. --Sophie 10:56, August 20, 2017 (UTC)
 * I wasn’t sure on red either, but I figured since redlinks are actually a dull red while this would be brighter, I assumed it wouldn’t matter. Nevertheless I’d be glad to hear any other color recommendations, & assuming we decide on one, I’ll try to write the CSS for it once the group comes online (unless someone else is active first of course).

I'm don't think we should use red; although redlinks are a little duller, it still seems weird. Maybe we could use something bright like a pastel? I'm not sure. Or even something like teal or aqua maybe. I'd suggest going as bright as aesthetically appealing, but make sure it works on maxed-transparency settings for white ect. -- 20:35, August 20, 2017 (UTC)


 * Yeah red was a bad idea, I just couldn’t think of anything else at the time. What about this ?


 * That looks good; it's similar, but not too similar, to the FANDOM palette, so it's good. I agree with that color. -- 00:13, August 21, 2017 (UTC)


 * I'm sorry for butting in but imo that looks a bit similar to the voldev colour. It could just be me tho ¯\_(ツ)_/¯   americhino    <font color="#e0e0e0">talk  10:43, August 22, 2017 (UTC)


 * Actually wait I just scrolled down and saw that I'm not the first to bring that up sorry  <span style="color:#0078ff; font-family:Century Gothic, sans serif;">americhino    <font color="#e0e0e0">talk  10:45, August 22, 2017 (UTC)


 * That’s alright, it’s hard to get another solid color because we’re frankly running out of primaries. If you have another color idea I’d love to hear it, but looking at it myself it appears sufficiently different from Vanguard & VolDev, although perhaps people with partial colorblindness might have trouble distinguishing it (then again I suppose that if they’re partially colorblind this is 100% not the stylesheet for them).


 * Actually, compare the three colors side by side, are they not easily distinguishable?
 * I thought the one on the right was voldev color until I looked at my message below. -- Cube - shaped   garbage can  10:54, August 22, 2017 (UTC)
 * Do you have another color idea then? Seriously, any suggestion is welcome. Should we do red after all? Another color entirely?

Have colors such as pink/purple been taken? We're out of options, so we'll have to move to other types of colors. — 13:59, August 22, 2017 (UTC)


 * Purple yes, pink no.
 * Yeah, maybe pink or orange.  <span style="color:#0078ff; font-family:Century Gothic, sans serif;">americhino    <font color="#e0e0e0">talk  06:23, August 23, 2017 (UTC)


 * How about #FFA500 or #FF1493 ? Orange seems much too similar to the Staff color, but pink might work.


 * I thought the colours further down the page would cancel out the colours further up the page. So if a user was a VSTF, Helper, and Staff then the Staff colour would show up, and if a user was a VSTF and Helper, then the Helper colour would show up. At least those are the results in a relatable situation when I duplicated a bit of some CSS on my wiki with a different output by mistake. And the CSS at the top was ignored and the duplicate CSS further down was what was displayed on my wiki as a result. ― C.Syde  ( talk  |  contribs ) 06:51, August 23, 2017 (UTC)


 * Yes that is how CSS works. More highly prioritized rights are placed lower on the stylesheet so that those rights take color precedence.


 * I like the orange that was suggested. TheOneFootTallBrickWall  (sign!) 20:22, August 23, 2017 (UTC)

Ignore Brick (:P), I like the pink. — 20:28, August 23, 2017 (UTC)

Happening.jpg?
w:Special:Log/rights shows four different users promoted to Global Discussions Mod, but two are tests. Should we color them now or wait for a members page to be drafted?
 * I thought all four of them are tests? They all have 0 edits and GlobalEditcount also says they have 0 global edits. -- Cube - shaped   garbage can  16:53, August 21, 2017 (UTC)
 * Nvm then, I didn’t check their global edit count (usually these global discussions moderators don’t have many edits but thousands of Discussions posts). That said, if we see what looks like legitimate promotions should we go ahead & do it? Or should we wait for a membership page to be drafted? I assume since no one objected to  that it will be color & that it will be below VSTF.
 * #00FFD0 looks kind of similar to the voldev color . But sure. -- Cube - shaped   garbage can  16:57, August 21, 2017 (UTC)

As of now, nobody has been promoted to the group. We can use the JS snippet above to check when the rights are given out. — 17:06, August 21, 2017 (UTC)


 * The promotions are done, I added a list (hopefully I didn’t make too many mistakes) & I went with this as the color, since no one replied what they felt about orange or pink & most people were grudgingly accepting of the teal. It of course can be changed down the road, or immediately if people want to keep discussing it.

Color deficit solution note
Hey lads, just noting that I swapped the bot colors out to be used on the newfangled Global Discussions Moderator group because consensus couldn’t be reached amongst the Mods on the Slack channel. Bots have been given a bright red (to avoid them looking like redlinks) because they are lower priority than Global Discussions Mods. If anyone would like to discuss that decision or suggest another color scheme I would be happy to hear it, I ask only that we avoid edit warring on the code page & that we not make any more changes until we have discussed it fully.

Hierarchy update
It looks like Global Discussions Moderators are getting moved below VSTF. I think we should update the stylesheet when this gets merged. -- Cube - shaped   garbage can  18:12, August 24, 2017 (UTC)


 * What do you mean “when this gets merged”? Is the Tags priority tweak not yet in effect? If it is then I agree it should be reordered.
 * The pull request is still open so I don't think the fix will come out until Monday. -- Cube - shaped   garbage can  20:36, August 24, 2017 (UTC)

Upgrade for this stylesheet
Can we add a thing so that it is easier to identify who is a VSTF, who is a helper etc.? I know this is for coloring the names of these users, but I think it would be nice to identify what they are with their specific colors.

Examples:
 * Sannse • FANDOM Staff
 * Lady Lostris • VSTF
 * Speedit • Global Discussions Moderator
 * BloonsBOT • Bot
 * Dark Yada • Vanguard
 * TK-999 • Volunteer Developer
 * Noreplyz • Helper

etc. ~Signed JustLeafy ( ͡| ͜' ͡| ) <span style="color: darkgreen; border-color: darkgreen; cursor:pointer; padding: 2px 8px;" class="wds-button wds-is-secondary wds-is-squished">USER  <span style="color: darkgreen; border-color: darkgreen; padding: 2px 8px; cursor:pointer;" class="wds-button wds-is-secondary wds-is-squished">WALL  17:14, November 14, 2017 (UTC)
 * That's what MarkGlobalUserRights.css does already. Adding text after their username would just add unnecessary clutter for people that didn't expect it. -- Cube - shaped   garbage can  17:23, November 14, 2017 (UTC)


 * I agree.


 * Maybe upgrade that stylesheet so that it gives a different color and a label to those users? ~Signed JustLeafy ( ͡| ͜' ͡| ) <span style="color: darkgreen; border-color: darkgreen; cursor:pointer; padding: 2px 8px;" class="wds-button wds-is-secondary wds-is-squished">USER  <span style="color: darkgreen; border-color: darkgreen; padding: 2px 8px; cursor:pointer;" class="wds-button wds-is-secondary wds-is-squished">WALL  20:08, November 14, 2017 (UTC)

A Suggested Improvement
The Diep.io wiki has a stylesheet in many ways identical to this one. It colors users who are in global user groups with the exact same colors this one does. However, it has a couple of key advantages: What do you think about merging these two? ~TheGoldenPatrik1 (Talk) 17:06, February 4, 2018 (UTC)
 * 1) Support for PseudoTalkPages.
 * 2) Hover styling.

ConVol
Staff have added two users to the ConVol group & I think we need to decide on a color for them in this stylesheet. Any recommendations?
 * Maybe red? ~TheGoldenPatrik1 (Talk) 19:08, March 14, 2018 (UTC)
 * Both  and   look good to me. ~TheGoldenPatrik1 (Talk) 01:57, March 15, 2018 (UTC)

https://vignette.wikia.nocookie.net/central/images/a/a4/Leo-watch-wikia.png/revision/latest?cb=20180114002549<span title="Profile" style="font-family:Century Gothic, Trebuchet MS, sans serif; color:#eee;"> americhino   <span class="nounderlinelink" style="padding:5px 5px;background:#248bff; border-radius:20px; box-shadow:2px 2px"><font color="#248bff"> 💬   03:21, March 15, 2018 (UTC)
 * I had numerous complaints last time I used reds back when we chose GDM colors, primarily due to the similarity to redlinks. I’m personally ok with red, but I think some folks won’t like it. I hope for more people to speak up now rather than having to run around like a headless chicken fielding complaints later.
 * Personally, I like the red better than the yellowgreen, but that's just me.


 * To avoid confusion with red links for not created user pages, I would prefer a different color personally.--<span style="border: 2px solid #FFE000; border-radius: 15px 5px 15px 5px; -webkit-border-radius: 15px 5px 15px 5px; background-color:#00008e;">http://vignette3.wikia.nocookie.net/mlp/images/1/1e/FANMADE_Rainbow_Dash_Flying.gif/revision/latest/scale-to-width-down/35?cb=20130911015810 Rain   talk   20:03, March 15, 2018 (UTC)
 * Makes sense. We could maybe do indigo...? ~TheGoldenPatrik1 (Talk) 02:12, March 16, 2018 (UTC)
 * So...? ~TheGoldenPatrik1 (Talk) 16:53, March 19, 2018 (UTC)

Helper color
Just a note that I'll be updating the Helper color from <b style="color: #4c5f1d;">◼#4c5f1d</b> to <b style="color: #bf6240;">◼#bf6240</b> - if there's any issues, feel free to gripe here and I'll probs revert. • speedy • 🔔&#xFE0E; • 🚀&#xFE0E; • 11:57, July 4, 2018 (UTC)
 * How does your red compare to the redlinks color? --Sophie 02:43, July 8, 2018 (UTC)

https://vignette.wikia.nocookie.net/central/images/a/a4/Leo-watch-wikia.png/revision/latest?cb=20180114002549<span title="Profile" style="font-family:Century Gothic, Trebuchet MS, sans serif; color:#eee;"> americhino <span class="nounderlinelink" style="padding:6px 9px;background:#005eb6;font-family:Century Gothic, Trebuchet MS, sans serif; border-radius:5px;"> talk  <span class="nounderlinelink" style="padding:6px 9px; background:#02407a;font-family:Century Gothic, Trebuchet MS, sans serif; border-radius:50%;"> ✎  <span class="mw-customtoggle-ameridate" title="Date" style="background-color: #002950; border: none; border-radius: 50%; padding: 6px 10px; cursor: pointer; color: white;">+ <span class="nounderlinelink" title="Date" style="padding:7px 11px; background:#002950;font-family:Century Gothic, Trebuchet MS, sans serif; border-radius:5px; color: white">
 * Personally not a big fan; may be either the shade of brown or my own habit, but it is truer to “brown”.


 * I’m also not a fan of this new color, the older version stood out on more Wikis & heck, it even seemed an appropriate shade for the group itself

Change
Could the : be removed, which would allow contribs links (and maybe others?) to be highlighted as well. --Sophie 02:42, July 8, 2018 (UTC)
 * Could it be added back? It is making so many things the highlight color now it is kinda excessive. ~ty  01:33, July 15, 2018 (UTC)
 * How would you suggest highlighting contribs and etc then? --Sophie 02:11, July 15, 2018 (UTC)
 * Not worry about it as per the norm since the stylesheet's creation. ~ty  02:14, July 15, 2018 (UTC)

Automation
I understand HighlightUsers exists, but would it be possible to automate this while still basing it in CSS? Perhaps via the use of a bot that automatically updates the stylesheet based upon rights changes? We could still have the speed of CSS while still enjoying the hands-off nature of JS automation if we went that route.