MediaWiki talk:Newarticletext
MediaWiki:Newarticletext is shown as the default editnotice when editing a page which doesn't exist (as long as no specific editnotice has been created), provided the user has the permission to create this page. Note that the output varies dramatically between namespaces. When the user has no such permission, MediaWiki:Nocreatetext is shown instead. MediaWiki:Noarticletext is a related message, shown when simply viewing an article which doesn't exist. This interface message or skin may also be documented on MediaWiki.org or translatewiki.net. The page forms part of the MediaWiki interface, and can only be edited by administrators and interface editors. To request a change to the page, add {{edit fully-protected}} to this page, followed by a description of your request. Consider announcing discussions you add here at Wikipedia:Village pump (technical) to bring more people to the discussion. |
|
||||||
This page has archives. Sections older than 45 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
Detect IP
{{#ifeq:{{#expr:{{PAGENAME}}}} |{{PAGENAME}}||{{#ifeq:{{#expr:{{PAGENAME}}}}|{{#expr:{{PAGENAME}}+deliberatesyntaxerror}}||..}}}}
means:
Do if {{#expr:{{PAGENAME}}}} is neither giving an error message nor something equal (according to #ifeq) to {{PAGENAME}} itself. See also m:Template:detect IP (backlinks edit), and MediaWiki talk:Newarticletext/Archive 2#need direct access to the IP info toolbox below.
You are invited to join the discussion at Wikipedia:Village pump (idea lab)/Archive 31#Improving new article edit notice. Sdkb (talk) 09:10, 2 February 2020 (UTC)Template:Z48
- We could particularly use some input on the feasibility of tailoring this notice so that it would display differently for users who have never created an article before. Please reply there if you have thoughts. Sdkb (talk) 09:41, 2 February 2020 (UTC)
Protected edit request on 2 February 2020
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Per the prevailing consensus at the (still ongoing) Village Pump discussion, please add a link to Article wizard in the first line, like this:
text = <ul class="plainlinks"><li>'''''Before creating an article, please read [[Wikipedia:Your first article]]. We recommend that new editors use the [[WP:Article wizard|Article wizard]].'''''</li>
Per the same discussion, please also remove this line:
<li>To experiment, please use the [[Wikipedia:Sandbox|sandbox]]. To use a wizard to create an article, see the [[Wikipedia:Article wizard|Article wizard]].
Sdkb (talk) 09:58, 2 February 2020 (UTC)
- Done, with the acknowledgement that this discussion was neither well attended nor widely advertised. So I will revert this change on request. — Martin (MSGJ · talk) 14:17, 2 February 2020 (UTC)
- @MSGJ: looks like a syntax error slipped in, made a slight adjustment. — xaosflux Talk 16:45, 2 February 2020 (UTC)
- @MSGJ and Xaosflux: Thanks! I'd certainly like for more editors (including you all, if you're inclined) to engage with this discussion, so if you have suggestions for where else to advertise it, please feel free to share recs. (Before the invitation here, I sent one to the welcoming committee and another to the New Pages Patrol project.) Sdkb (talk) 22:31, 2 February 2020 (UTC)
- @Sdkb: if a substantial support is behind pushing new article creators to something like article wizard, please let the Wikipedia:OTRS noticeboard know. — xaosflux Talk 22:47, 2 February 2020 (UTC)
- @Xaosflux: Hmm, how do I do that? I can't find anything on that page that would seem like the appropriate place to post. Sdkb (talk) 23:29, 2 February 2020 (UTC)
- @Sdkb: just "new section" and place it there. — xaosflux Talk 23:32, 2 February 2020 (UTC)
- @Xaosflux: Hmm, how do I do that? I can't find anything on that page that would seem like the appropriate place to post. Sdkb (talk) 23:29, 2 February 2020 (UTC)
- @Sdkb: if a substantial support is behind pushing new article creators to something like article wizard, please let the Wikipedia:OTRS noticeboard know. — xaosflux Talk 22:47, 2 February 2020 (UTC)
- @MSGJ and Xaosflux: Thanks! I'd certainly like for more editors (including you all, if you're inclined) to engage with this discussion, so if you have suggestions for where else to advertise it, please feel free to share recs. (Before the invitation here, I sent one to the welcoming committee and another to the New Pages Patrol project.) Sdkb (talk) 22:31, 2 February 2020 (UTC)
- @MSGJ: looks like a syntax error slipped in, made a slight adjustment. — xaosflux Talk 16:45, 2 February 2020 (UTC)
You are invited to join the discussion at Wikipedia:Village pump (idea lab) § Notability should come first. {{u|Sdkb}} talk 06:19, 22 October 2020 (UTC)Template:Z48
Protected edit request on 4 November 2020
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Remove the slashes from both instances of "Did you mean/box". JsfasdF252 (talk) 05:16, 4 November 2020 (UTC)
- Done ~ Amory (u • t • c) 12:01, 5 November 2020 (UTC)
Protected edit request on 22 December 2020
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
This notice, when it appears for someone creating a new article, is quite important and something we very much want editors to read, but its current plain white format doesn't draw any attention to it. Please adopt the formatting changes I demoed here, which removes suppression of the icon and colors the box a friendly green similar to {{Instruction editnotice}}. {{u|Sdkb}} talk 06:54, 22 December 2020 (UTC)
- Reviewing. — xaosflux Talk 16:23, 22 December 2020 (UTC)
- Done — xaosflux Talk 16:30, 22 December 2020 (UTC)
- Xaosflux I'd request a restoration of the old version, this is everywhere now and I understand why it exists but it's really distracting (at least for me as an experienced editor, especially with ADHD to have this bright blue box on every new page. I'm not concerned about the text, I understand why it's there but I think the jarring color change warrants at least a discussion since it will impact every editor creating new articles. GRINCHIDICAE🎄 17:03, 22 December 2020 (UTC)
- Undone @Praxidicae: this has been reverted, @Sdkb: I didn't think this would be controversial, however as it has been contested please establish a consensus via discussion if you want to continue. — xaosflux Talk 17:43, 22 December 2020 (UTC)
- I've opened an RfC at WikiProject Usability, since I couldn't think of where else to create discussion around this (VPR would've been a little too high-profile, I think). {{u|Sdkb}} talk 20:46, 22 December 2020 (UTC)
- Undone @Praxidicae: this has been reverted, @Sdkb: I didn't think this would be controversial, however as it has been contested please establish a consensus via discussion if you want to continue. — xaosflux Talk 17:43, 22 December 2020 (UTC)
- Xaosflux I'd request a restoration of the old version, this is everywhere now and I understand why it exists but it's really distracting (at least for me as an experienced editor, especially with ADHD to have this bright blue box on every new page. I'm not concerned about the text, I understand why it's there but I think the jarring color change warrants at least a discussion since it will impact every editor creating new articles. GRINCHIDICAE🎄 17:03, 22 December 2020 (UTC)
- Done — xaosflux Talk 16:30, 22 December 2020 (UTC)
- I'm reopening since the RfC has elapsed. It got disappointingly low participation, but it looks to me like there's enough support to proceed, at least for non-extended confirmed editors. {{u|Sdkb}} talk 19:12, 22 January 2021 (UTC)
- Not done @Sdkb: including the oppose above, I can't see that a sufficient consensus to support this change has emerged, the sparse attendance didn't help. Feel free to advertise wider (e.g. at WP:VPM). — xaosflux Talk 14:20, 22 March 2021 (UTC)
- @Xaosflux: Can we also remove the similar icon in MediaWiki:Editpage-head-copy-warn then? It was added unilaterally by Oshwah. I don't see the necessity, and the fact the icon links to the file page (which is required by the file's license) is likely confusing to newcomers. Nardog (talk) 16:13, 22 March 2021 (UTC)
- Any comment Oshwah? (If no comment please drop open an ER on that page and reference this) and that you want to revert the change. — xaosflux Talk 16:22, 22 March 2021 (UTC)
- I personally find the icon alright, although it invokes the unanswered question of which house style we use for icons—File:Information icon4.svg might be more popular, or it might be good to have an icon that actually relates to copyright (like File:Anti-copyright.svg or File:Copyright-problem.svg. {{u|Sdkb}} talk 18:19, 22 March 2021 (UTC)
- What's the problem with the icon being there? I think it draws attention to the reader, and I believe that it makes it more professional as well. ~Oshwah~(talk) (contribs) 02:58, 26 March 2021 (UTC)
- Any comment Oshwah? (If no comment please drop open an ER on that page and reference this) and that you want to revert the change. — xaosflux Talk 16:22, 22 March 2021 (UTC)
- @Xaosflux: The
oppose above
was also made as a !vote at the RfC, but I take the point that the participation was quite low. (I'm a bit worried about RfCs as a system, since this seems to be a trend...) I'll put an invite at VPM and see if that draws anyone. {{u|Sdkb}} talk 18:11, 22 March 2021 (UTC)
- @Xaosflux: Can we also remove the similar icon in MediaWiki:Editpage-head-copy-warn then? It was added unilaterally by Oshwah. I don't see the necessity, and the fact the icon links to the file page (which is required by the file's license) is likely confusing to newcomers. Nardog (talk) 16:13, 22 March 2021 (UTC)
Talk page of a file hosted at Commons
If you click the Talk tab at File:Example en.svg then you get File talk:Example en.svg instead of commons:File talk:Example en.svg. I suggest adding the below code to guide the user to the Commons talk page.
{{#ifeq:{{NAMESPACENUMBER}}|7 |{{#ifexist:File:{{PAGENAME}}| |{{#ifexist:Media:{{PAGENAME}} |{{Did you mean box|commons:File talk:{{PAGENAME}}}} This is the Wikipedia talk page of a file hosted at [[:commons:|Wikimedia Commons]]. A talk page should rarely be created here where Commons users will not see it. Consider instead the [[:commons:File talk:{{PAGENAME}}|Commons talk page]] of the file. }}}}}}
On File talk:Example en.svg it will produce:
Did you mean: commons:File talk:Example en.svg? |
This is the Wikipedia talk page of a file hosted at Wikimedia Commons. A talk page should rarely be created here where Commons users will not see it. Consider instead the Commons talk page of the file.
The code uses that #ifexist can use File versus Media to see that no local file page exists but Commons has a file. This is documented at mw:Help:Extension:ParserFunctions##ifexist. It cannot be tested whether the Commons talk page exists. PrimeHunter (talk) 02:39, 22 August 2021 (UTC)
- I'm all for centralizing discussion; the fact that we even allow File talk to be hosted here at all for non-local files is a little boggling (but makes sense given the history). For your notice, I'd suggest placing all the text inside the box (just keep only the currently bolded stuff bolded). {{u|Sdkb}} talk 02:45, 22 August 2021 (UTC)
- Hey, thanks a lot! Would suggest a change to the wording:
- "This is the English Wikipedia talk page of a file hosted on Wikimedia Commons. Please keep discussion on the Wikimedia Commons talk page unless discussion is specific to the English Wikipedia." Egroeg5 (talk) 03:02, 22 August 2021 (UTC)
- I also considered inside the box but {{Did you mean box}} doesn't allow additional text. We could just add it as an option so let's include that in the suggestion. PrimeHunter (talk) 03:06, 22 August 2021 (UTC)
- What if we were to create a new box? Please see: Template:File Talk Page on Commons. Egroeg5 (talk) 03:26, 22 August 2021 (UTC)
Would this code work?
{{#ifeq:{{NAMESPACENUMBER}}|7 |{{#ifexist:File:{{PAGENAME}}| |{{#ifexist:Media:{{PAGENAME}} |{{File Talk Page on Commons|commons:File talk:{{PAGENAME}}}} }}}}}}