Template talk:Sandbox other

From WikiProjectMed
Jump to navigation Jump to search
WikiProject iconCategories
WikiProject iconThis template is within the scope of WikiProject Categories, a collaborative effort to improve the coverage of categories on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.

See discussion above for a tweak of the template's behaviour. Headbomb {t · c · p · b} 02:00, 27 February 2019 (UTC)[reply]

I updated the section link so it points to the now-archived discussion. eπi (talk | contribs) 17:52, 4 May 2019 (UTC)[reply]

Template-protected edit request on 21 March 2019

Please remove the TfD notice - I just closed it as keep this, and merge {{When in sandbox}} into here. Thanks, --DannyS712 (talk) 09:46, 21 March 2019 (UTC)[reply]

 Done How do you plan for the templates to be merged? -- /Alex/21 07:21, 22 March 2019 (UTC)[reply]
@Alex 21: I don't really know how to merge templates, so I listed it at WP:TFD/H#Other --DannyS712 (talk) 07:24, 22 March 2019 (UTC)[reply]

Move discussion in progress

There is a move discussion in progress on Template talk:Main talk other which affects this page. Please participate on that page and not in this talk page section. Thank you. —RMCD bot 04:03, 20 November 2019 (UTC)[reply]

Move discussion in progress

There is a move discussion in progress on Template talk:Main talk other which affects this page. Please participate on that page and not in this talk page section. Thank you. —RMCD bot 03:17, 7 December 2019 (UTC)[reply]

Template-protected edit request on 28 March 2020

Please replace all template code with all /sandbox code.

Change: expand the catch, so that /sandbox1 and /sandboxAnytext are detected as being /sandbox. Uses character count ('sandbox'=7; lc only). -DePiep (talk) 19:45, 28 March 2020 (UTC)[reply]

@DePiep:  Done - Evad37 [talk] 00:09, 3 April 2020 (UTC)[reply]

This template doesn't always properly detect sandboxes

I recently came across the sandbox User:54nd60x/sandbox2/Thank You 2018 which simply transcludes the page Template:Soft redirect/doc. Although that documentation subpage contains this template, the categories still get added, presumably because of the '2' behind the word 'sandbox'. I suggest that this template gets edited so it detects anything like /sandbox\d*/. ―Jochem van Hees (talk) 21:29, 21 June 2021 (UTC)[reply]

It is undetected because there is an extra subpage after the sandbox name. (just /sandbox2 would be detected). -DePiep (talk) 22:41, 21 June 2021 (UTC)[reply]

/doc

Why are /doc pages detected as sandboxes? — Martin (MSGJ · talk) 10:09, 25 February 2023 (UTC)[reply]

Added by S.A. Julio in Dec 2019 with edit summary "adding to prevent categorisation of doc pages transcluding other doc pages". I think this edit should probably be reverted because /doc pages are not sandbox pages and it is producing unexpected results — Martin (MSGJ · talk) 10:12, 25 February 2023 (UTC)[reply]
Maybe "unexpected" in a literal, strict sense, but the main goal of {{sandbox other}} is to prevent polluted template categorisation (now that's an expectation). Do we have example of unintended decat? A ../doc page that is expected to be categorised, where its true ../sandbox would not be? (ie, proof of conflict). So for now, a keep I conclude. DePiep (talk) 10:43, 25 February 2023 (UTC)[reply]
I am using it on template documentation to show the documentation of sandbox templates on the sandbox \doc page. For example {{#invoke:Storm categories{{sandbox other|/sandbox}}|name|severe}} — Martin (MSGJ · talk) 11:58, 25 February 2023 (UTC)[reply]
So this need occurs in documention itself, not in actual usage. I call exception, and I don't support changing of documented functionality to cover this.
BTW, in cases I need a different "xx other" template, for example when not to categorise the rootpage tememplate, but none of its subtemplates: {{Useful_Foo}} but not categorise {{UsefulFoo/calculate_usefulness}}. I could consider & test an extension beyond default behaviour (parameter?), or start a different {xx other} template. DePiep (talk) 12:25, 25 February 2023 (UTC)[reply]
What has happened here is that someone has assumed that their usage of this template matched everyone else's usage of this template. Or at least they did not envisage that this change would break other people uses of this template. It would be better to create another template (or wrapper) called Template:Suppress categories on sandbox or doc for this purpose — Martin (MSGJ · talk) 12:18, 25 February 2023 (UTC)[reply]
No again. RL example: just this hour I had to research the meaning (ie functionality) of "{{KillMarkers}}", and it appears it does strip strip markers. So here we are. Nearby is something called "unstripmarkers"—I'll never be able to learn or rmember it from their names. DePiep (talk) 12:36, 25 February 2023 (UTC)[reply]
I add, it is unrealistic to go by a page title to deduct its documentation or functional definition. DePiep (talk) 10:44, 25 February 2023 (UTC)[reply]
Well I disagree :) The template's name should ideally describe its function. We should consider a rename to {{Sandbox or doc or other}} in that case — Martin (MSGJ · talk) 12:00, 25 February 2023 (UTC)[reply]
No! Who would be helped by this? (only people who did not RTFM anyway). Why do you think they did not put the manual as its name, nor a hint of expectation/functionality? (I hope you are kidding me). DePiep (talk) 12:15, 25 February 2023 (UTC)[reply]
Christian75 agrees with me! See the edit summary — Martin (MSGJ · talk) 12:30, 25 February 2023 (UTC)[reply]
Again, trying to write documentation-in-its-name. (And template name be "sandbox/doc other"??). You said it was "expectations", which is not exactly a good source. And howe do we know that with "doc" we've covered all similar expectations? (Template space be changed to "RTFM:"). DePiep (talk) 12:43, 25 February 2023 (UTC)[reply]
I changed the documentation after solving a problem at Template:/sandbox which depended on the old behavior. Having a template name "sandbox other" is confusing when it includes other kinds of sub-pages. (I didn't remember which template I fixed (checked my history), but I remember it took some time, because of course "sandbox other" is everything but sandbox, but it wasn't). Christian75 (talk) 19:45, 25 February 2023 (UTC)[reply]

functional & naming split

  • recap:
(1) for /doc transclusion: We need a template that does distinguish between main live template versus "../sandbox" and "../sandbox-like" pages (=include like /doc, /testcases?, /[subpage]...). Originally, preventing categorisation when transcluding the /doc page. Is current funtionality of {{sandbox other}} [say 2022].
(2) for /sandbox development: We need a template that does distinguish between "sandbox" and "other" (expect, like {{main other}} strict sense). For example, to switch in-code between live and sandbox (template-)pages.
Unfortunately, current naming is mixed up: name {{sandbox other}} services (1), but name suggests (2).
{sandbox other [2022]} has 220k+ transclusions, mainly in preloaded /doc page. These are hardcoded.
Transition: we need a transition process, that
(a) frees up name {sandbox other} for job (2), and
(b) does not break behaviour of {sandbox other [2022]}
(c) possibly refine functionality of {sandbox other [2022]} (which pages to discern? all subpages? testcases? optionally? always by ns template-vs-other?)
(d) find a useful & hinting/descriptive name for {sandbox other [2022]}. "{maintemplate other}"?
-DePiep (talk) 06:03, 9 March 2023 (UTC)[reply]