Commons:Deletion requests/Module:No globals

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This deletion discussion is now closed. Please do not make any edits to this archive. You can read the deletion policy or ask a question at the Village pump. If the circumstances surrounding this file have changed in a notable manner, you may re-nominate this file or ask for it to be undeleted.
  • Add {{subst:delete-subst|REASON (mandatory)}} on the page
  • Notify the uploader with {{subst:idw|Module:No globals}}--~~~~
  • On the log, add :
    {{Commons:Deletion requests/Module:No globals}}

The module is not used anymore mw:Extension:Scribunto/Lua_reference_manual#strict. The seeming almost 3'000'000 transclusions result from slow update of this huge wiki. Deletion will not break those, still maybe accelerate emptying of that essentially dishonest list. Taylor 49 (talk) 01:11, 30 March 2024 (UTC)[reply]

 Oppose. Please demonstrate that it's actually unused. Otherwise, wait for the update. Enhancing999 (talk) 21:34, 15 April 2024 (UTC)[reply]
After tracking it down, this is due to phab:T209310. Uses should be deprecated, but it will take a while. Thanks. Mike Peel (talk) 21:41, 15 April 2024 (UTC)[reply]
 Comment Check the search link. It's obvious that it's unused. Please demonstrate how it is useful or where it is transcluded from. Taylor 49 (talk) 19:19, 17 April 2024 (UTC)[reply]
Once the transclusions reduce, then we can be confident that it's not being included in some unusual way. They are going down. Thanks. Mike Peel (talk) 20:22, 17 April 2024 (UTC)[reply]
I have done this on other wikis before. The wrong transclusion count sinks asymptotically towards ZERO, thus it can take years. It's obvious that the module is NOT used anymore NOW. Taylor 49 (talk) 14:53, 18 April 2024 (UTC)[reply]
It's easy enough to clear them by making touch edits by bot, let's see how the count goes down for now. There's no urgency here. Thanks. Mike Peel (talk) 15:04, 18 April 2024 (UTC)[reply]
  •  Comment the module should not be used anymore and deleting it would ensure that. However I think we should wait for the number of transclusions to drop down, to ensure that it is not used somehow. Another thing to consider is to maybe just leave it be after blanking he code and convert the /doc page to explanation of what the page was and what it was replaced by. That way in the future people can inspect the edit history, and the source-code itself. --Jarekt (talk) 01:24, 16 April 2024 (UTC)[reply]
 Delete: I am sure the transclusion count issue is basically another version of phab:T243602 (despite it having been closed invalid) as the actual usage can be seen by searches like: all: contentmodel:Scribunto insource:/[Nn]o globals/. Remember this module exports an empty package (which gets turned into nil) with no functions so there is no need to search in wikitext for #invoke references (as doing such will only render a permanent script error). We can still wait and watch the transclusion count drain after the page is deleted (it is just harder to find then). An argument could be made for keeping it for historic purposes (especially since mediawiki:Module:No globals is different with Module:TNT) but remember its replacement strict is now a part of Scribunto and thus goes beyond WMF and keeping historic things for such value is questionable at best. —Uzume (talk) 18:43, 16 April 2024 (UTC)[reply]
 Comment Historic things can be preserved at MediaWiki or a dedicated place, not if the form of an obscure module with instances on every single wiki. Taylor 49 (talk) 19:25, 17 April 2024 (UTC)[reply]
I think we'd need the version available here, not at some unknown place. In Commons it's assumed that no space is saved by deletion. It's just a matter of visibility. Enhancing999 (talk) 19:36, 17 April 2024 (UTC)[reply]
 Comment Out of project scope. Commons is a collection of images, videos and audio files with educational value, not a collection of dead code. Taylor 49 (talk) 14:46, 18 April 2024 (UTC)[reply]
In order to ensure Module:No globals is not used, I alter it so any code that might call it will throw an error. Lets watch Category:Pages_with_script_errors for a bit to see if we see anything show up there. --Jarekt (talk) 04:00, 22 April 2024 (UTC)[reply]
@Jarekt: Well now you have killed its historic value save its history (not that I am complaining). BTW, you might want to look at the spelling of "depriciated" vs. "depreciated" (you also might want to add "strict" in the error message instead of just do not use it). Your edit will requeue the page cache updates and cause the remaining links to drain faster. Thank you, —Uzume (talk) 06:15, 22 April 2024 (UTC)[reply]
@Uzume: Good suggestions, I implemented them. As for historic value, what I meant was to preserve history of the page, and that is intact. --Jarekt (talk) 00:39, 23 April 2024 (UTC)[reply]
@Jarekt: Agreed, but I notice you still have not corrected the misspelling "depriciated". —Uzume (talk) 06:11, 23 April 2024 (UTC)[reply]
@Jarekt: "Depreciated" has a different meaning than "deprecated" (notice no "i"). Cool, your timely edits to this module may have removed more transclusion links than JarektBot did by replacing template redirects. This module is now finally down to less than a quarter million transclusions. Thanks, —Uzume (talk) 00:08, 25 April 2024 (UTC)[reply]
Indeed any edit accelerates the decay of wrong translusion claims. The module is obviously unused, and can be deleted. It's not about storage space (this silly discussion is now much more bloated than the code was), it's about maitainability. Any transclusion attempt should give an error and nothing else. Taylor 49 (talk) 21:40, 28 April 2024 (UTC)[reply]
@Taylor 49:Actually, there is a storage space element to it. I recall not long after this was removed from usage here and it still had over 50 million transclusion links. That takes space in the database tables. Moving to strict and draining those obsolete links from the tables can improve performance across Commons (unfortunately there are many other elements in the opposite direction but every bit helps). Sadly due to numerous reasons (not the least of which is related to parser cache splits most commonly because "File:" pages want to render in the user preference language due constructs like {{int:lang}}, which can be different for every user/web request), the job queue cannot keep up with requests to update stale cached pages and thus they do not get entirely updated. —Uzume (talk) 03:03, 1 May 2024 (UTC)[reply]
Transclusions are now at zero, I think this can be deleted now. Thanks. Mike Peel (talk) 05:18, 11 May 2024 (UTC)[reply]

Kept: no consensus to delete. --Ellywa (talk) 20:49, 8 July 2024 (UTC)[reply]