User talk:Novem Linguae/Scripts/CiteHighlighter

Make colours lighter
Hi, I really like this script, it's really helpful! I have a minor concern about the colours. They are currently a little bit to dark and make the references hard to read, and have a few accesibility concerns. Have you considered making them lighter? If you don't want to, would you mind if I forked the script to change the colours? — Berrely  • Talk∕Contribs 16:47, 8 June 2021 (UTC)
 * . Hey there. Thanks for the feedback. I don't think forking this would be a good idea. I don't have the source list set up as a separate file, so it would quickly get out of date. I went ahead and added a way to trigger lighter colors. Add  to the top of your common.js file. If you want me to tweak any of the colors, let me know. You can use Google's color picker to let me know what shade you want (the "hex" number is what I need). Hope that helps. – Novem Linguae  (talk) 02:15, 9 June 2021 (UTC)

Lulu.com
This is a self-publishing site, probably needs to be highlighted as generally unreliable. —valereee (talk) 14:36, 21 June 2021 (UTC)
 * . Added. Thanks for the tip. Feel free to post tips anytime. – Novem Linguae (talk) 00:01, 22 June 2021 (UTC)
 * P.S. Looks like lulu.com was already included in CiteHighlighter, since it is in WP:NPPSG, and the highlighter grabs data from there. But still, keep em coming :) – Novem Linguae (talk) 00:05, 22 June 2021 (UTC)
 * Dammit, this is the second time I've wasted someone else's time today lol... —valereee (talk) 00:27, 22 June 2021 (UTC)

issuu.com
isssuu is a publishing platform, so each publication that uses it should be considered by itself, rather than as a group. Vexations (talk) 19:57, 11 December 2021 (UTC)


 * @Vexations. . Thanks. – Novem Linguae (talk) 01:07, 12 December 2021 (UTC)

feature request
maybe this could support the citation style used in articles such as Ike for President (advertisement) and C. J. Cregg? (also, I greatly appreciate the needle/haystack variable :D clever clever) theleekycauldron (talk • contribs) (she/they) 04:26, 20 March 2022 (UTC)


 * @Theleekycauldron. Thanks, I'm glad you like the code. Good feature suggestion. I'm a bit busy with work this week but I'll try to circle back to this. Feel free to remind me in a week or two. Thanks! – Novem Linguae (talk) 05:40, 20 March 2022 (UTC)
 * gotcha! no worries, I'll remind ya :) theleekycauldron (talk • contribs) (she/they) 07:26, 20 March 2022 (UTC)
 * @Theleekycauldron. ✅. Thanks for suggesting. Unfortunately CiteHighlighter doesn't highlight most books, but this feature will be useful for things like C. J. Cregg – Novem Linguae (talk) 15:04, 3 April 2022 (UTC)

What is the best way to add for example Swedish sites? Javascript questions. All scientific journals.
Let's say we want to add the references in this Swedish list and many other Swedish sources to this list, what is the best way? I guess you don't want us to fork the script to our own copy?

Another question: Would it be possible to make this nice script visible outside of the main name space (in non-articles)? For testing and demonstration purposes.

A third question: Many scientific journals have journal rank (score 1, 2 or 3 based on journal impact factor/citation analysis) at Wikidata on my initiative. For example has score 3 out of three. I suggest that all three scores should be dark green - not only medical journals. In non-medicin fields, secondary/meta studies are typically not required. Many of the scientific publications also have other types of scores in that may be useful.SHould the list of scores be imported manually into this list, or should it be imported automatically from Wikidata? Tomastvivlaren (talk) 21:07, 2 April 2022 (UTC)


 * @Tomastvivlaren. Hey there. Good questions.
 * 1) I would love to use WP:RSPs from other Wikipedias as a dictionary for CiteHighlighter. The best way to help with this is to create a page on wiki somewhere (such as in your userspace) in the same format as WP:NPPSG, that is, with  or   or   on a line to indicate the reliability, then   on a line below it to indicate the website. Then let me know and I can import it into CiteHighlighter using an offline tool I made.
 * 2) Yes, you can have CiteHighlighter highlight more aggressively by adding  to the top of your common.js. May increase lag on some pages though.
 * 3) CiteHighlighter currently analyzes journals (and everything) solely based on domain name (e.g. nature.com). It doesn't look at journal name, ISSN, etc. I do like this line of thinking though. If you can find a way to generate a list of high quality journal's domain names, I am happy to add it to CiteHighlighter. For pulling stuff from Wikidata, https://www.wikidata.org/wiki/Special:ApiSandbox or https://query.wikidata.org/ would probably be the way to go. – Novem Linguae (talk) 15:17, 3 April 2022 (UTC)

KXRR bug
Hi again! Thanks for tackling my previous thing :) The program seems to be throwing a red flag for worldradiohistory.com over at KXRR, despite the source not being listed in the program – what's going on there? theleekycauldron (talk • contribs) (she/they) 22:24, 1 July 2022 (UTC)


 * @Theleekycauldron. Hey there. Unable to reproduce. Perhaps a different user highlighter is highlighting that one, such as unreliable or CiteUnseen? Screenshot. – Novem Linguae (talk) 23:22, 1 July 2022 (UTC)
 * @Novem Linguae: I don't have either of those – strangely, it doesn't show in the "references" section for me, but it does show up in the tooltips... theleekycauldron (talk • contribs) (she/they) 23:28, 1 July 2022 (UTC)
 * Unable to reproduce with your common.js loaded. Screenshot. Any other hints? – Novem Linguae (talk) 23:40, 1 July 2022 (UTC)
 * @Novem Linguae: If that's the case, it's probably something client-side – thanks for digging into it anyway! theleekycauldron (talk • contribs) (she/they) 01:04, 3 July 2022 (UTC)

Interface-protected page edit request
Line 60 contains an error;  should be. See GH#135. elijahpepe@wikipedia (he/him) 03:31, 28 August 2022 (UTC)
 * PR accepted and deployed. Thanks for reporting and for writing a patch. No need to use interface administrator edit request in the future for user scripts with active maintainers, I'll just edit it :) – Novem Linguae (talk) 04:28, 28 August 2022 (UTC)

The script is highlighting
I was looking at draft:Creepy Nuts and I think the script highlights one of the headers in the contents. Image example link: https://imgur.com/a/W6BXZYq BhamBoi (talk) 18:02, 8 December 2022 (UTC)
 * – Novem Linguae (talk) 12:46, 26 December 2022 (UTC)

Another weird problem, at w:Draft:Me_vs._Myself, there is a highlighted link within a differently-highlighted ref... Example image: https://imgur.com/a/Y4S1eCV BhamBoi (talk) 19:11, 8 December 2022 (UTC)
 * Probably by patch above – Novem Linguae  (talk) 12:46, 26 December 2022 (UTC)

Script seems to highlight random things sometimes
When viewing this for some reason the script will highlight the following things: the Draft assessment icon, the pagieviews link, the full page statistics link, the links to view the current and prior revision, the edit button on both revisions, the undo button, my talk page and the IPs talk page, the rollback button, the previous edit button, and the changes since my last edit button (as well as the "welcome" button from Twinkle).On the draft the script will also highlight the center of the image (presumably where the link would be if it weren't displaying the image). All of these are highlighted in orange. This doesn't happen on every article either. ― Blaze WolfTalkBlaze Wolf#6545 21:00, 15 December 2022 (UTC)


 * It also appears to highlight the "improve it" link in the maintenance template as well as the "talk page" link in the same template. I dunno what the hell is going on here, but I"ve noticed that the script really seems to enjoy highlighting whatever the hell it feels like. ― Blaze WolfTalkBlaze Wolf#6545 21:02, 15 December 2022 (UTC)
 * Happening to me too when I click on your link. Maybe related to my previous report one talk section above. BhamBoi (talk) 04:30, 21 December 2022 (UTC)
 * – Novem Linguae (talk) 12:54, 26 December 2022 (UTC)

McClatchy
Should all of McClatchy's newspapers be added as RS? Every time it's mentioned briefly on RSN, its saying it's not unreliable, but maybe a little bit more consensus should be reached and/or only the News Agency and not their subsidiary papers should be added? BhamBoi (talk) 04:36, 21 December 2022 (UTC)


 * The standard used at WP:NPPSG, where CiteHighlighter gets a lot of our sources from, is RSN discussions with at least 2 participants. Are there any RSN discussions with at least 2 participants stating something like "all McClatchy newspapers" are reliable? At first glance, looks like a pretty standard WP:NEWSORG so is probably reliable, but would like to see it at WP:RSN to make it official. – Novem Linguae (talk) 13:02, 26 December 2022 (UTC)

Distinction between GU and Depreciated/Blacklisted?
I feel as though it's an important distinction between the quality, same as the light green/dark green distinction. DecafPotato (talk) 05:56, 15 January 2023 (UTC)


 * Unreliable, deprecated, and blacklisted have a lot in common though. They shouldn't normally be used, they don't pass WP:GNG, etc. – Novem Linguae (talk) 09:33, 16 January 2023 (UTC)

Digital Trends
Digital Trends is currently highlighted in Orange (see Draft:The Crew Motorfest) however WP:VG/S shows that it's reliable based on 2 discussions. This should be changed to be highlighted in green. ― Blaze WolfTalkBlaze Wolf#6545 19:50, 1 February 2023 (UTC)


 * @Blaze Wolf. Howdy! That one is getting highlighted orange because it has the spammy keyword "announce" in the URL. Orange highlights can override the other colors, and it means a spammy keyword was found in a particular URL. I think if you check some other Digital Trends cites, you'll find they are highlighted normally. Do you think "announce" has enough false positives that I should remove it? – Novem Linguae (talk) 06:57, 2 February 2023 (UTC)
 * Probably. Especially regarding video games since usually "announce" is referring to a new video game. ― Blaze WolfTalkBlaze Wolf#6545 12:00, 2 February 2023 (UTC)

The Philadelphia Inquirer
inquirer.com should be treated as generally reliable, I assume? theleekycauldron (talk • contribs) (she/her) 22:09, 1 February 2023 (UTC)


 * @Theleekycauldron. Howdy! I try to only add sources to CiteHighlighter after they've had a discussion at RSN, or they show up on a semi-vetted list of sources such as WP:RSPSOURCES, WP:NPPSG, or a WikiProject source list. While inquirer.com looks pretty reliable and WP:NEWSORG-ish at first glance, do you know if it meets the criteria I just mentioned? If it does I'll be happy to add it. – Novem Linguae (talk) 07:00, 2 February 2023 (UTC)
 * it doesn't, but The Philadelphia Inquirer is basically a run-of-the-mill major U.S. newspaper, and the paper of record in its area (including parts of South Jersey). I don't think it was something that ever really needed discussion, it's just treated like an RS. theleekycauldron (talk • contribs) (she/her) 18:49, 2 February 2023 (UTC)
 * Sounds good. Will add in the next update. Thanks. – Novem Linguae (talk) 17:47, 3 March 2023 (UTC)

More sources to add
@Novem Linguae I listed some unreliable sources at add to this script at User:137a/sandbox/sources. 137a (talk • edits) 16:09, 3 March 2023 (UTC)


 * Hey @137a. Thanks for making this list. Looks good. I don't have much time right now. If you want you can do the following, and after you make the changes, I will run a script that updates CiteHighlighter:
 * Add any of the sources on your list with an RSN consensus of at least 2 people to WP:NPPSG, copying the format there (include the domain, ref to the RSN discussion, put in correct country/topic section, put in correct reliable/no consensus/unreliable subsection, etc.)
 * Add any of the sources on your list without an RSN consensus to User:Novem Linguae/Scripts/CiteHighlighter/AllSourcesExceptNPPSG, copying the format there (include the domain, put in correct reliable/no consensus/unreliable subsection, etc.)
 * Maybe make your own heading called "== 137a's Miscellaneous ==" at the very bottom. You can include your "overrides" of existing colors there, along with redice.tv, vk.net, gamepedia.com, etc.
 * You can use "; Reliable" "; No consensus" "; Unreliable" "; News aggregator" followed by a series of bullets to set their reliability level.
 * Feel free to leave comments for all your entries.
 * Good idea on "essay". I will add that to CiteHighlighter's code.
 * Note to self: Update the code so that if there are duplicate entries, only the last entry is actually added to the dictionary. That should get 137a's overrides working without having to hard-code a bunch of stuff.
 * Maybe ping me when you're done with that and I will run the update script. How's that sound? – Novem Linguae (talk) 17:46, 3 March 2023 (UTC)
 * @Novem Linguae
 * I added a few sources to your subpage (one was blacklisted), and some to NPPSG. I might have more.
 * 137a (talk • edits) 17:30, 10 March 2023 (UTC)
 * Thanks! Would you mind moving any that have an RSN consensus with at least 2 participants to NPPSG? That's a better spot for them. – Novem Linguae (talk) 22:36, 10 March 2023 (UTC)

science.org
As you probably know, Science is a top-tier academic journal and is likely okay to be listed here considering is it on WP:NPPSG. But the link added to the highlighter is sciencemag.org, which is the outdated URL and now a redirect to science.org. Please add the new URL. Thanks! BhamBoi (talk) 04:03, 16 March 2023 (UTC)
 * by editing New page patrol source guide. Diff. Feel free to fix URLs on this page yourself if you see any other broken ones. – Novem Linguae (talk) 21:12, 6 April 2023 (UTC)

Also, what about the URL for Wired UK? BhamBoi (talk) 18:47, 6 April 2023 (UTC)


 * by adding the URL to NPPSG in this diff. Again, feel free to add URLs yourself if you catch any more. – Novem Linguae (talk) 21:16, 6 April 2023 (UTC)

thoughtco
thoughtco should be yellow, not green. it falls under dotdash (about.com). lettherebedarklight晚安 08:00, 8 May 2023 (UTC)


 * @Lettherebedarklight. Thanks. Feel free to update its entry at WP:NPPSG, which is where CiteHighlighter is getting this rating from. – Novem Linguae (talk) 09:03, 8 May 2023 (UTC)

add user-review as suspicious word
Some otherwise-reliable websites let users post reviews about video games and movies, stuff life that. Here is an example. 137a (talk • edits) 16:11, 10 May 2023 (UTC)


 * ✅. Thank for the idea. – Novem Linguae (talk) 09:19, 11 May 2023 (UTC)
 * also add "viewtopic" since it is used in some forum URLs. 137a (talk • edits) 17:15, 24 May 2023 (UTC)
 * ✅ – Novem Linguae (talk) 18:26, 24 May 2023 (UTC)

Source lists
Hey Novem, have you added the links from here? Reliable sources/Perennial sources BhamBoi (talk) 17:25, 11 June 2023 (UTC)


 * Hello! I think I have most of those either in CiteHighlighter or on my todo list, but I see at least one there that I haven't found before. So thank you for pointing this out. Also, I can only use lists with reliability ratings. – Novem Linguae (talk) 19:19, 11 June 2023 (UTC)

Does this work in other language versions of wiki?
Hey, I edit in French Wikipedia as well, this would be a useful tool there, does the script work on other language versions of wiki? Oaktree b (talk) 01:27, 14 June 2023 (UTC)


 * Hello @Oaktree b. I checked just now and it works on testwiki. Looks like I added this feature on some point. Try adding  to your common.js. – Novem Linguae  (talk) 14:02, 14 June 2023 (UTC)
 * cool, thanks! Oaktree b (talk) 14:38, 14 June 2023 (UTC)

Press releases on AP site
The AP's site is generally highlighted green, however press releases (under the pattern apnews.com/press-release/pr-newswire/), such as, should probably note be. LittlePuppers (talk) 01:48, 19 June 2023 (UTC)


 * . Although this will increase the false positive rate for orange highlighting. I may roll it back if I get complaints. Thanks for the idea. – Novem Linguae (talk) 05:14, 19 June 2023 (UTC)
 * I got complaints, so I rolled it back. – Novem Linguae (talk) 04:54, 23 June 2023 (UTC)

Kirkus Reviews marked red
Hello, I noticed that Kirkus Reviews has been marked red on articles despite WP:KIRKUS suggesting that it is generally reliable. Thank you for this great tool! ⇒ Lucie Person (talk&#124;<b style="color:purple">contribs)</b> 01:55, 1 August 2023 (UTC)


 * Looks like it's mostly green, but has some paid reviews that are considered red. I'll average it out to yellow in the next release. Thanks for reporting. – Novem Linguae (talk) 02:07, 1 August 2023 (UTC)

the guardian marked yellow
hi, the guardian is marked yellow despite rsp and nppsg saying it is reliable. ltbdl (talk) 02:21, 3 August 2023 (UTC)


 * At RSP, there's a "Guardian Blogs" right below the Guardian that is marked yellow. That's the reason for The Guardian being yellow. I think they both use the same domain name. – Novem Linguae (talk) 10:56, 3 August 2023 (UTC)
 * is it possible to switch it to green? ltbdl (talk) 06:32, 5 August 2023 (UTC)

Bug report
Hi! I'm not sure why, but Politico is not highlighted by CH. It has an entry at WP:RSPSS. I noticed this on this article. Other sources are still appropriately highlighted. Actualcpscm (talk) 15:52, 4 August 2023 (UTC)

Sources to Highlight
Hello, thank you for writing this script 🙏, as an AfC reviewer (and formerly NPR) and an editor who works heavily on music, I noticed the script does not recognize roughly 98% of the sources listed under WP:RSMUSIC (it highlights Billboard and maybe few others), and also marks Rolling Stone as marginally reliable or no census. Could you please adjust the script to recognize the reliable sources and of course unreliable source listed under RSMUSIC, thank you.  dxneo  (talk) 13:23, 16 October 2023 (UTC)


 * Hey . Looks like I already have WP:RSMUSIC in CiteHighlighter, but I did it a year or two ago so it got out of date. RSMUSIC looks like it has the websites in a format that will be easy to add. I'll try to do an update after lunch :) – Novem Linguae (talk) 21:34, 30 October 2023 (UTC)
 * Thank you, if you can, please notify me when it is done. Can't wait.  dxneo  (talk) 21:51, 30 October 2023 (UTC)
 * . Updated. Give it a try now. – Novem Linguae (talk) 07:25, 31 October 2023 (UTC)
 * Perfection .  dxneo  (talk) 19:31, 1 November 2023 (UTC)
 * , sorry to disturb but I think as much as Billboard is a "chart site", news publishing site, and green source, maybe The Official South African Charts (launched by RiSA) should also be highlighted as they release news and is also a "chart site" and sources listed here.  dxneo  (talk) 00:39, 8 November 2023 (UTC)

TimesLIVE and IOL
Hello, I've just noticed that the above mentioned domains are now highlighted yellow (from green), is there something I'm missing?  dxneo  (talk) 05:47, 22 March 2024 (UTC)


 * @Dxneo. Looks like TimesLIVE and IOL are yellow over at Reliable South African Sources, but green at WP:NPPSG. NPPSG cites Reliable sources/Noticeboard/Archive 418.
 * Thoughts on how to reconcile? Do you want to try boldly editing Reliable South African Sources and moving those sources from no consensus to reliable, linking to Reliable sources/Noticeboard/Archive 418? Or maybe start a discussion at Wikipedia talk:Reliable South African Sources and ping the list's maintainer, TapticInfo? Up to you.
 * As long as those sources are on two lists, CiteHighlighter will pick the lowest reliability as a precaution. – Novem Linguae (talk) 03:36, 29 March 2024 (UTC)
 * , I think running it through TapticInfo is the better option. However, I think consensus reached by various editors is better than that decided by one person as I see no discussions on the project's talk page.  dxneo  (talk) 00:46, 1 April 2024 (UTC)

Billboard and other sources
Hi Novem Linguae, I took a deeper look at Billboard sites that were added to your script and found Brazil is owned by Penske (same as US) so is under the same editorial board ("While Billboard takes on editorial claims...") but the others are brand licensing agreements with different ownership: Japan (see bottom right), Argentina, Arabia. Looking at WP:CHARTS, Billboard Japan, Brazil and Argentina are listed but not Arabia. Just an FYI, Forbes is another one that has licensing agreements to use their name. It appears the script only lists Forbes.com but something to be aware of. As for the ones from WP:WikiProject Africa/Africa Sources List, I noticed this discussion back in 2021 where a couple editors urged caution because it was not clear they had gone through any discussion. Looking at now, it appears to be a mixed bag. S0091 (talk) 15:07, 2 April 2024 (UTC)


 * I formally request you remove any changes/additions to your script you implemented that were directly made by now CU blocked . S0091 (talk) 19:51, 7 April 2024 (UTC)
 * ✅. Too much work to check them all, so best to just remove them. – Novem Linguae (talk) 21:09, 7 April 2024 (UTC)

Pakistani sources
Hello - The Express Tribune tribune.com.pk is marked in orange, but it’s actually a RS. It's the Pakistani partner of the NYT. Can it be switched to green, please? Thank you!<span id="Saqib:1718458378207:User_talkFTTCLNNovem_Linguae/Scripts/CiteHighlighter" class="FTTCmt"> — Saqib (talk) 13:32, 15 June 2024 (UTC)
 * Also The Friday Times thefridaytimes.com is also a reputable RS. --Saqib (talk) 13:35, 15 June 2024 (UTC)
 * Hey @Saqib. CiteHighlighter gets its ratings from various reliable sources lists onwiki, which are usually the summary of consensuses somewhere such as WP:RSN or WikiProject talk pages. In the case of tribune.com.pk, that comes from New page patrol source guide, which itself comes from Reliable sources/Noticeboard/Archive 423. I don't see thefridaytimes.com in CiteHighlighter at all.
 * Anyway, long story short, to get a source changed in CiteHighlighter, it should be done with a discussion downstream, that then results in one of the lists CiteHighlighter uses getting updated. Hope that makes sense. – Novem Linguae (talk) 17:17, 15 June 2024 (UTC)
 * Novem Linguae, Noted. But if that is the case, tribune.com.pk should be marked yellow, not orange because [no consensus] and bolnews.com should be marked in red, but it is not.<span id="Saqib:1718487424432:User_talkFTTCLNNovem_Linguae/Scripts/CiteHighlighter" class="FTTCmt"> —  Saqib  ( talk  |  contribs ) 21:37, 15 June 2024 (UTC)
 * #1 is correctly showing as yellow for me. Any regular citation can turn orange if that particular url has a suspicious word in it such as blog. #2 is correctly showing as no color for me, which is the default. – Novem Linguae (talk) 22:04, 15 June 2024 (UTC)
 * Novem Linguae, But don't you think #2 should show as red.<span id="Saqib:1718489359345:User_talkFTTCLNNovem_Linguae/Scripts/CiteHighlighter" class="FTTCmt"> — Saqib  ( talk  I  contribs ) 22:09, 15 June 2024 (UTC)
 * Has there been a discussion about its reliability somewhere? – Novem Linguae (talk) 22:13, 15 June 2024 (UTC)
 * Novem Linguae, Bol News at New page patrol source guide.<span id="Saqib:1718489679763:User_talkFTTCLNNovem_Linguae/Scripts/CiteHighlighter" class="FTTCmt"> — Saqib  ( talk  I  contribs ) 22:14, 15 June 2024 (UTC)

Please add dark mode support ?
Hi @Novem Linguae! Dark mode support is rolling out shortly! Could you modify this script to work with it? I think the quickest way to do this is by adding the notheme class whenever you add the classes cite-highlighter-red, cite-highlighter-yellow etc.. Let me know if I can help in any way! Jon (WMF) (talk) 22:30, 28 June 2024 (UTC)


 * ✅. Adding  changed the foreground text color from white to black, which seems like an improvement. – Novem Linguae  (talk) 10:07, 15 July 2024 (UTC)

www.panarmenian.net
Hi! I've come here from Reliable_sources/Noticeboard. As far as I can see there has been no community consensus to declare this source unreliable. Unless I'm missing something, could you remove this source from the script's list of unreliable sources? Alaexis¿question? 22:02, 6 July 2024 (UTC)


 * https://panarmenian.net is currently highlighted as yellow for "no consensus". The source for this is WP:NPPSG, which analyzed 2 RSN discussions about it. Please see New page patrol source guide, citations 57 and 58. With that in mind, do you still think I need to take action here? – Novem Linguae (talk) 06:33, 15 July 2024 (UTC)