Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:Editnotices/Namespace/Template

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
[edit]

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
[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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

[edit]

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
[edit]

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. FaviFake (talk) 11:06, 2 November 2025 (UTC)Reply

Changes to icon and phrasing

[edit]

I think the wording of this edit notice should be simplified: we don'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
I agree it is off topic; i've moved it in a different section, sorry for the trouble. The majority of the additional changes I proposed hadn't been discussed at Template talk:Documentation, which was about a radically different template. FaviFake (talk) 11:41, 2 November 2025 (UTC)Reply

Protected edit request on 19 February 2026

[edit]

Please change

  | text  = When making major changes to this template please be sure to update its [[{{FULLPAGENAME}}/doc|documentation]].

(line 19) to

  | text  = When making major changes to this template please be sure to update [[{{FULLPAGENAME}}/doc|its documentation]].

It currently makes it seem like the text "documentation" links to a page like WP:TDOC. dot.py 05:59, 19 February 2026 (UTC)Reply

 Done * Pppery * it has begun... 18:57, 19 February 2026 (UTC)Reply