Template talk:Sandbox other

Wikipedia talk:WikiProject Templates/Archive 6
See discussion above for a tweak of the template's behaviour. Headbomb {t · c · p · b} 02:00, 27 February 2019 (UTC)
 * I updated the section link so it points to the now-archived discussion. eπi  ( talk  &#124;  contribs ) 17:52, 4 May 2019 (UTC)

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)
 * Yes check.svg Done How do you plan for the templates to be merged? -- / Alex /21  07:21, 22 March 2019 (UTC)
 * I don't really know how to merge templates, so I listed it at WP:TFD/H --DannyS712 (talk) 07:24, 22 March 2019 (UTC)

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)

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)

Template-protected edit request on 28 March 2020
Please replace all template code with all /sandbox code.

Change: expand the catch, so that  and   are detected as being. Uses character count ('sandbox'=7; lc only). -DePiep (talk) 19:45, 28 March 2020 (UTC)
 * ✅ - Evad37 &#91;talk] 00:09, 3 April 2020 (UTC)

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*/. &horbar;Jochem van Hees (talk) 21:29, 21 June 2021 (UTC)
 * It is undetected because there is an extra subpage after the sandbox name. (just  would be detected). -DePiep (talk) 22:41, 21 June 2021 (UTC)

/doc
Why are /doc pages detected as sandboxes? &mdash; Martin (MSGJ · talk) 10:09, 25 February 2023 (UTC)


 * Added by 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 &mdash; Martin (MSGJ · talk) 10:12, 25 February 2023 (UTC)
 * Maybe "unexpected" in a literal, strict sense, but the main goal of 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)
 * I am using it on template documentation to show the documentation of sandbox templates on the sandbox \doc page. For example  &mdash; Martin (MSGJ · talk) 11:58, 25 February 2023 (UTC)
 * 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:  but not categorise  . 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)
 * 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 &mdash; Martin (MSGJ · talk) 12:18, 25 February 2023 (UTC)
 * No again. RL example: just this hour I had to research the meaning (ie functionality) of "", and it appears it does strip strip markers. So here we are. Nearby is something called "unstripmarkers"&mdash;I'll never be able to learn or rmember it from their names. DePiep (talk) 12:36, 25 February 2023 (UTC)
 * 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)
 * 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 &mdash; Martin (MSGJ · talk) 12:00, 25 February 2023 (UTC)
 * 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)
 * agrees with me! See the edit summary &mdash; Martin (MSGJ · talk) 12:30, 25 February 2023 (UTC)
 * 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)
 * 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)

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 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)