Jump to content

Template talk:Editnotices/Namespace/Template

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Andrybak (talk | contribs) at 11:34, 2 November 2025 (Links to sandbox and testcases regardless of their existence: additional proposals are off topic). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

I propose the following addition to this page, which will remind editors to update the documentation subpage (if it exists) when editing the template. Any comments welcome. — Martin (MSGJ · talk) 13:28, 29 May 2009 (UTC)[reply]

{{#ifexist:{{FULLPAGENAME}}/doc
 |{{editnotice
  | text  = When making changes to this template please be sure to update its [[{{FULLPAGENAME}}/doc|documentation]].
  | image = Attention yellow.png
 }}
}}
I've stuck it in. I probably should have discussed this somewhere first, but couldn't think of the best place. Anyhow, revert at will, if it's not wanted. — Martin (MSGJ · talk) 11:24, 30 May 2009 (UTC)[reply]
Sweet. Amalthea 15:43, 30 May 2009 (UTC)[reply]

I've stuck in a link to the template /sandbox, if it exists. Hope this is useful, if not please revert. — Martin (MSGJ · talk) 09:50, 9 June 2010 (UTC)[reply]

Edit request

Could a CSS ID be added for each individual edit notice, so that they're inline with other generic namespace editnotices. Thanks in advance, —James (TalkContribs)11:34pm 13:34, 11 June 2011 (UTC)[reply]

Which individual editnotices ? This is a namespace editnotice. Suggestions for naming patterns ?? —TheDJ (talkcontribs) 19:31, 12 June 2011 (UTC)[reply]
There are 5 separate editnoticed loaded by this page. I guess the OP is asking for each of them to have a separate ID. — Martin (MSGJ · talk) 11:05, 14 June 2011 (UTC)[reply]
James, could you please make the required changes in a sandbox somewhere and reactivate the request? — Martin (MSGJ · talk) 09:04, 15 June 2011 (UTC)[reply]

Editnotice text change

Hi all,

at the helpdesk a question was posted about the text "When making changes to this template please be sure to update its documentation". This text is an editnotice on templates that have a documentation page (example). The user was making a minor content change and got scared by the editnotice. I propose changing the text. I propose: "When making major changes to this template please be sure to update its documentation". Feedback is very welcome.

Sincerely, Taketa (talk) 15:10, 11 October 2014 (UTC)[reply]

A link to this discussion has been placed at Wikipedia talk:Editnotice
Since it has been two weeks without feedback, and considering that it is a minor change, I would like to request that an admin make the suggested change. Sincerely, Taketa (talk) 15:05, 25 October 2014 (UTC)[reply]
I don't have the rights to make this change. But for the record, I agree with it. --ais523 00:35, 27 October 2014 (UTC)a
 Done --j⚛e deckertalk 00:05, 28 October 2014 (UTC)[reply]
Thank you. - Taketa (talk) 08:44, 28 October 2014 (UTC)[reply]

Protected edit request on 23 July 2021

Copy from Template:Editnotices/Namespace/Template/sandbox to remove a bunch of obsolete code related to print versions of templates (see Wikipedia:Templates for discussion/Log/2021 July 13#Print subpages) * Pppery * it has begun... 00:03, 24 July 2021 (UTC)[reply]

 Done @Pppery: this just went live, if there are any issues you see please ping me here. — xaosflux Talk 18:18, 22 September 2021 (UTC)[reply]

Edit request 1 August 2022

I suggest removing This is the [[Wikipedia:Template documentation|documentation page]] of the template ''[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]''.. It pops up in VE and on mobile and it seems just like Captain Obvious?

Alternatively it could be wrapped within <span class="nomobile"></span>, that won't help on desktop but it's something. Alexis Jazz (talk or ping me) 22:52, 1 August 2022 (UTC)[reply]

 Done @Alexis Jazz: I added the nopopupnotice class to it, that should exempt it from WP:ENOM. — xaosflux Talk 00:54, 3 August 2022 (UTC)[reply]
As far as if it should be otherwise removed - a bit more discussion may be useful there first. — xaosflux Talk 00:55, 3 August 2022 (UTC)[reply]

Protected edit request on 9 April 2024

Change links to plainlinks without the "external link logo" as described here Toadette (Let's talk together!) 17:16, 9 April 2024 (UTC)[reply]

 Donexaosflux Talk 17:23, 9 April 2024 (UTC)[reply]
@ToadetteEdit and Xaosflux: The construct
<small style="font-style: normal"><span class="plainlinks">...</span></small>
can nearly always be simplified - the class= attribute is valid on all HTML elements (without exception), so we may put
<small style="font-style: normal" class="plainlinks">...</small>
- but even that can be simplified, because the {{editnotice}} template accepts a |class= parameter, so this is all that is necessary. --Redrose64 🌹 (talk) 20:43, 9 April 2024 (UTC)[reply]

As of Special:Permalink/1319897812, the editnotice for the template namespace shows the message "Editors can experiment in this template's sandbox [...]" only when the /sandbox subpage exists. Would it be helpful if it was shown all the time? In particular, the so called "link box" of Template:Documentation already has this text with a lot more functionality, which could be reused here.

Using function makeExperimentBlurb of Module:Documentation requires either changes to Module:Documentation or a separate new module. The suggestion is implemented in the sandbox using my module sandbox (permalink). The text  (from [[Template:Editnotices/Namespace/Template/sandbox]]) is just for clarity of the demonstration. Demonstration URLs use editintro=Template:Editnotices/Namespace/Template/sandbox, so there are unintended differences in styling of {{editnotice}}:

What do you think? —⁠andrybak (talk) 01:47, 2 November 2025 (UTC)[reply]

I strongly support this change. I've wanted to suggest it for weeks, but never had the time. The links to create a sandbox or mirror it are essential and there's no reason to add them to the editnotice.
Can I suggest a couple more changes, since we're modifying this?
1) i think the wording should be simplified: we doon't call the sandbox "the sandbox page", just as we don't call the test cases "the tat cases page". Thus, I think the last word of the sentence should be removed. Also, the word "test cases" is used as two words everywhere else. See, for example: {{Template sandbox notice}}, {{Template test cases}}, and Wikipedia:Template sandbox and test cases. Since it is not styled as "/testcases", I think it should use the more widely accepted version.

Editors can experiment in this template's sandbox (edit | diff) and testcases  (edit) pages.

Editors can experiment in this template's sandbox (edit | diff) and test cases (edit).


2) After the sandbox icon was updated, the two lines of text no longer start at the same point. This is an opportunity to also update the image for the first notice (telling editors to update the documentation). It's best to not use default icons for specific use cases, so I think we should replace the generic warning icon (which is still a PNG file, for some reason) with the standard "template documentation" icon (SVG and CC0), used in the {{Documentation}} module itself at § L-569. This both reduces banner blindness and is more recognisable.
Thoughts on these additional proposals? FaviFake (talk) 11:06, 2 November 2025 (UTC)[reply]
The additional proposals are off topic, some of them have already been discussed at Template talk:Documentation. This kinda feels like WP:FORUMSHOPPING. —⁠andrybak (talk) 11:34, 2 November 2025 (UTC)[reply]