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. |
Key MediaWiki interface messages | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Edit window instructions | |||||||||||||||||||||
Search-related | |||||||||||||||||||||
Article-related | |||||||||||||||||||||
Edit notices | |||||||||||||||||||||
"Can't edit" notices | |||||||||||||||||||||
Admin action messages | |||||||||||||||||||||
Email-related | |||||||||||||||||||||
Preferences | |||||||||||||||||||||
Community notification |
| ||||||||||||||||||||
| |||||||||||||||||||||
For messages relating to Special: pages, see the list at mw:Manual:Interface/Special pages summary |
|
||||||
This page has archives. Sections older than 45 days may be automatically archived by Lowercase sigmabot III when more than 5 sections are present. |
((#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.
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)
Would this code work?
((#ifeq:((NAMESPACENUMBER))|7 |((#ifexist:File:((PAGENAME))| |((#ifexist:Media:((PAGENAME)) |((File Talk Page on Commons|commons:File talk:((PAGENAME)))) ))))))
Egroeg5 (talk) 03:41, 22 August 2021 (UTC)
You are invited to join the discussion at Wikipedia:Teahouse § Is it okay to create a sandbox page without first creating a user page?. ((u|Sdkb)) talk 21:22, 22 October 2021 (UTC)
When creating a template ([https://en.wikipedia.org/w/index.php?title=Template:Foobar123456&action=edit&redlink=1 example), the notice currently says To avoid redundancy, please browse the existing templates before creating this page.
The wikilink goes to WP:Template messages, which I highly doubt is actively maintained, and there's no button to just do a search (like there is for articles). Could we remedy this? ((u|Sdkb)) talk 22:44, 20 November 2021 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Could we adopt these changes, which fix or improve searching for categories, portals, and templates? Thanks, ((u|Sdkb)) talk 22:58, 20 November 2021 (UTC)
&ns10=1
, and the second is to just use the prefix, e.g. to search for "Template:Foobar" rather than "Foobar". I used the latter method, since that's what was already used in this template for the project namespace, and it seems to be working, even though it doesn't show up in the "Search in:" tags. I don't know off the top of my head how to switch to using those tags with Special:Search, so while that might be a better way to code it, I'll leave that for someone else knowledgeable/inclined. Cheers, ((u|Sdkb)) talk 20:59, 24 November 2021 (UTC)This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The edit notice when someone is adding a local description for a file hosted on Wikimedia Commons should look like this:
This media file is on Wikimedia Commons—not on the English Wikipedia. Descriptions should be placed there. This page should rarely be used except to indicate featured pictures. Please see the description page on Commons for file information, a list of pages that use this file, or the direct link to this file. |
It currently looks like this for reference (if you can't find it):
This image is on Wikimedia Commons—not on Wikipedia. Any descriptions should be placed there. This page should rarely be used except to indicate featured pictures. Please see the image description page on Commons for file information, a list of pages that display this image, or view the full-size version of the image. |
"Image" is outdated since files can be non-image media such as Ogg and MIDI. Instances of "image" should be replaced with "file". Eyesnore 18:51, 9 September 2023 (UTC)