Wikipedia talk:User scripts/Most imported scripts: Difference between revisions
Content deleted Content added
(18 intermediate revisions by 6 users not shown) | |||
Line 23:
Wondered why RefRenamer, which has [https://en.wikipedia.org/w/index.php?search=%22User%3ANardog%2FRefRenamer.js%22+intitle%3A%2F%28common%7Cvector%7Cmonobook%7Cmodern%7Ctimeless%7Ccologneblue%29%5C.js%2F&ns2=1 ~30 users], doesn't show up here, and it looks like it's because it doesn't show up in [https://github.com/siddharthvp/SDZeroBot/blob/master/reports/most-imported-scripts/most-imported-scripts.js#L35 the search] SDZeroBot makes to get the initial list of .js pages, which "should cover every script that has at least 2 backlinks, and many others". I don't care whether my script is included per se, but I'm worried the report might not be accurate or up-to-date. Is <code>incoming_links_desc</code> simply lagging and it will catch up eventually, or is something broken? (cc [[User:SD0001|SD0001]]) [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 10:46, 8 March 2023 (UTC)
=== [[User:Nardog/RefRenamer.js]] not listed in [[WP:TOPSCRIPTS]] ===
{{moved from|User_talk:SDZeroBot#User:Nardog/RefRenamer.js_not_listed_in_WP:TOPSCRIPTS}}
Any reason for why it's not reporting this one? bug?  <span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 07:37, 1 August 2023 (UTC)
:@[[User:Headbomb|Headbomb]] @[[User:Nardog|Nardog]] This could be because of a bug at some level in MediaWiki's search stack, as the script doesn't show up in the search result (which SDZeroBot uses as the base for this report) as well. I'd suggest filing a phab ticket. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 07:27, 4 August 2023 (UTC)
::Are you sure it's not an issue with how the bot makes the search? Because https://en.wikipedia.org/w/index.php?search=contentmodel%3Ajavascript+RefRenamer.js&title=Special:Search&profile=advanced&fulltext=1&ns2=1&ns118=1 seems to find it just fine. So does https://en.wikipedia.org/w/index.php?search=insource%3A%2FRefRenamer%5C.js%2F&title=Special:Search&profile=advanced&fulltext=1&ns2=1&ns118=1 or https://en.wikipedia.org/wiki/Special:WhatLinksHere/User:Nardog/RefRenamer.js  <span style="font-variant:small-caps; whitespace:nowrap;">[[User:Headbomb|Headbomb]] {[[User talk:Headbomb|t]] · [[Special:Contributions/Headbomb|c]] · [[WP:PHYS|p]] · [[WP:WBOOKS|b]]}</span> 07:34, 4 August 2023 (UTC)
:::Yes, the bot needs to make the search with srsort=incoming_links_desc to get the 5000 candidates for top scripts, to avoid having to analyse all the 88343 pages. The page doesn't show up with that parameter set, even though pages with significantly less links (like some users' monobook.js pages) do. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 08:25, 4 August 2023 (UTC)
::::How about, as a tentative measure, including all local .js pages linked from WP:USL? [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 19:11, 4 August 2023 (UTC)
:::::@[[User:Nardog|Nardog]] Can you try making a dummy (but non-null) edit to the page? Should cause it to be reindexed. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 14:13, 12 August 2023 (UTC)
::::::{{re|SD0001}} Which page? You mean RefRenamer.js? [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 01:33, 13 August 2023 (UTC)
:::::::Yes. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 09:34, 13 August 2023 (UTC)
::::::::Done, but it doesn't seem to have worked so far. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 12:11, 13 August 2023 (UTC)
::::Incidentally, the search query should probably be updated to include vector-2022.js. [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 02:23, 5 August 2023 (UTC)
:::::Done. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 14:13, 12 August 2023 (UTC)
::@[[User:SD0001|SD0001]] did you ever uncover anything else about this? There seem to be quite a few scripts on [[WP:USL]] that this applies to... ~ [[User:Eejit43|<b style="color: #00733f">Eejit43</b>]] ([[User talk:Eejit43|<span style="color: #00733f">talk</span>]]) 20:12, 9 November 2023 (UTC)
:::@[[User:Eejit43|Eejit43]] such as? I need to look into querying the [[wikitech:Help:CirrusSearch_elasticsearch_replicas|CirrusSearch relicas]] directly to see if that helps. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 05:15, 10 November 2023 (UTC)
::::I'll give a couple examples, but it likely applies to much more. It still applies to Nardog's RefRenamer script, and I only noticed this issue because it affected my rmtr-helper script. ~ [[User:Eejit43|<b style="color: #00733f">Eejit43</b>]] ([[User talk:Eejit43|<span style="color: #00733f">talk</span>]]) 14:34, 10 November 2023 (UTC)
::::{{re|SD0001}} Again, how about including all local .js pages linked from WP:USL while this issue remains? [[User:Nardog|Nardog]] ([[User talk:Nardog|talk]]) 10:14, 19 November 2023 (UTC)
:::::Done. – [[User:SD0001|<span style="font-weight: bold; color: #C30">SD0001</span>]] ([[User talk:SD0001|talk]]) 14:13, 19 November 2023 (UTC)
::::::Thank you!! ~ [[User:Eejit43|<b style="color: #00733f">Eejit43</b>]] ([[User talk:Eejit43|<span style="color: #00733f">talk</span>]]) 14:23, 19 November 2023 (UTC)
|