Jump to content

Module talk:Sandbox

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hex (talk | contribs) at 16:10, 5 March 2014 (Rationale for this module: VPT archive link). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Rationale for this module

This module was created as a result of this discussion at the technical pump. As Lua support is brand new, please give it a while to see if the convention takes off before nominating this page for deletion. — Hex (❝?!❞) 16:18, 24 February 2013 (UTC)[reply]

"Existing convention"

This, that, and the other added the following, referring to an "existing convention" in the edit summary. I've removed it because it's a discussion, which shouldn't take place inside a module, contradicting it.

-- Even better, use this naming convention: -- Module:User:XYZ -- or -- Module:User:XYZ/blahblahblah

Where is that convention documented? I can see the argument for simply naming modules after users instead of grouping them in a sandbox area. However, Johnuniq makes a good point above that modules under this are searchable with PrefixIndex, which is useful for discovering and sharing code. — Hex (❝?!❞) 12:05, 25 February 2013 (UTC)[reply]

I agree that a subpage format is more helpful. Further, programmers are used to abc/def/file as a way of organizing files, while Module:User:Example is unnatural and confusing, and looks like a copy/paste error. I think the details should be spelled out:
For example, User:Example working on module Length would use Module:Sandbox/Example/Length.
I have recently realized that "sandbox" has a lowercase "s" by convention (and "Sandbox" is different from "sandbox" when a subpage), so perhaps this page should be renamed? Johnuniq (talk) 22:16, 25 February 2013 (UTC)[reply]
Hmmm, I just noticed the title of this page on my watchlist, and of course the "Sandbox" is not a subpage, so scrub the above, I suppose. Johnuniq (talk) 22:56, 25 February 2013 (UTC)[reply]
Doesn't matter, one way or the other. However, you will see that users have begun creating modules with the User: convention on this wiki and others, while the Sandbox convention is unused. — This, that and the other (talk) 06:59, 26 February 2013 (UTC)[reply]
"The convention is unused" - dude, it was two days old, and barely newer than Lua support itself, what did you expect? Anyway, people have now started using it. — Hex (❝?!❞) 20:31, 1 March 2013 (UTC)[reply]