Wikipedia talk:User scripts/Most imported scripts: Difference between revisions

Content deleted Content added
Line 29:
:@[[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 &#32;<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)