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)

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)

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?