User talk:Shubinator/DYKcheck.js

DYK RfC

 * As a listed DYK participant, you are invited to contribute to a formal Request for Comment on the question of whether Good Articles should appear in the Did You Know? slot in future. Please see the proposal on its subpage here, or on the main DYK talk page. To add the discussion to your watchlist, click this link. Thank you in advance. Gilderien Chat&#124;Contributions 00:21, 1 August 2013 (UTC)

Legacy JavaScript
Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include  needs to be replaced with   or   (depending on use);  all wgGlobalVariables need to be properly gotten with  ; and   needs to be called with. Please see ResourceLoader/Legacy JavaScript for details. Thank you. —  22:11, 19 January 2015 (UTC)

0 prose characters
If you, like me, are looking for the solution for the script showing every article as "0 characters" in prose, see User talk:Shubinator. (I'm using prosesize until it's resolved.) czar  04:19, 5 June 2017 (UTC)

onttydk?
Just a nit: the variable "onttydk" would probably be better named onttdyk. -- RoySmith (talk) 16:11, 17 November 2019 (UTC)

Weirdness that goes away when I uninstall this script
Starting earlier today, I started having a problem that goes away when I uninstalled DYKcheck:

Drop-down gadget menus aren't displaying right.

I have Twinkle, MoreMenu, and the AFC Helper Script turned on, among other things. I have the default vector skin with no custom CSS and a custom JavaScript that has one line: Until a few minutes ago this line was NOT commented out.

The problem is that MoreMenu sub-menus are "transparent" and sub-menu items cannot be chosen.

Commenting out the DYCheck.js line in my vector.js file, logging out, purging my web browser cookies, quitting and restarting my web browser, and logging back in fixed the problem.

Nothing else I tried, including turning off Twinkle and the AFC Helper Script, worked.

Has anyone else reported this problem? davidwr/ (talk)/(contribs)  18:29, 9 February 2021 (UTC)
 * Disregard, it's being/been fixed, see T273143. I've added the DYN script back, cleared cookies, rebooted browser, and my problem has not come back. davidwr/  (talk)/(contribs)  18:36, 9 February 2021 (UTC)

In the news search
DYKcheck will flag an article if it appears on "In the news" as a recent death. theleekycauldron (talk • contribs) (they/them) 05:30, 17 August 2021 (UTC)
 * Hm, I just checked a couple articles quickly - 2021 Haiti earthquake currently featured on In the News is tagged with ITN talk, Jerry Harkness currently listed as a recent death is not. Since DYKcheck keys off of that ITN template, I'd expect it to not flag articles that appeared at ITN purely as recent deaths. Are there examples where it is flagging such articles? Shubinator (talk) 04:17, 27 August 2021 (UTC)

Interface-protected edit request on 28 May 2023
Currently, the script isn't really aware of the presence of VisualEditor and the HTML generated when the script is run keeps showing inside the VisualEditor UI when VisualEditor's edit mode is used (since VisualEditor does not reload the page). Due to this, I would suggest the following changes be made to the script to make it work better with VisualEditor. The changes make sure that the HTML generated by DYKCheck is not shown when the visual editor is loaded by leveraging some of the APIs/Hooks defined at VisualEditor/API. (Ping Shubinator as maintainer of the script) Sohom Datta (talk) 00:46, 28 May 2023 (UTC)
 * ❌ (as to the immediate edit request for an interface administrator). This user is active and can maintain their own scripts if they choose. Ping to . — xaosflux  Talk 15:53, 28 May 2023 (UTC)
 * @Xaosflux I forgot to deactivate the edit request, sorry for the inconvinience caused :( Sohom Datta (talk) 19:33, 28 May 2023 (UTC)
 * I'm a bit confused as to the repro steps for the issue - is this for article namespace? Shubinator (talk) 04:23, 30 June 2023 (UTC)
 * @Shubinator The repro steps would be as follows:
 * Open any article
 * Click on "DYK check" on the sidebar
 * Click on "Edit" on the top right corner
 * If you do not see a "Edit" link, it could be because
 * You do not have VisualEditor enabled in your Beta preferences
 * (and/or)
 * Your editing mode is set to "Remember last editor" in Editing preferences (for reproing this issue you need to set it to eithier "Always give me Visual editor if possible" or "Show me both editor tabs")
 * Sohom (talk) 06:41, 30 June 2023 (UTC)