Help:Editnotice: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1:
{{Help page}}
'''Editnotices''' are large message boxes that are shown above the edit window when a user edits a page. This is often used to convey important notices and messages, such as warnings and reminders. The Sims Wiki has adopted a sophisticated editnotice system, modelled after the one used on Wikipedia, that allows for more flexibility with editnotices.
 
Line 25 ⟶ 26:
 
===Quick links to creating editnotices===
You can create an editnotice for a page by going to the page you want to create an editnotice for, clicking on "Edit", and then looking at the top-right corner of the page. You should see links that look something like this:
<div style="clear: both; float: right; margin: 0px 0.8em; padding: 0; line-height: 1em;"> <small>[[This page should not exist|Page notice]]</small> </div>
{{clear}}
 
or like this:
 
<div style="clear: both; float: right; margin: 0px 0.8em; padding: 0; line-height: 1em;"> <small>[[Example|Group notice]] &nbsp; [[This page should not exist|Page notice]]</small> </div>
{{clear}}
 
You will only see these links if you have the permission to create these editnotices.
 
You can also use the table below to navigate to the relevant pages. To create an editnotice for a page, enter the page name and click "Create". Page names ''are'' case-sensitive. For your own User: and User talk: pages, you don't need to type anything, just click "Create".
 
{| class="wikitable" style="width: 95%; margin: 0px auto;"
|-
Line 247 ⟶ 261:
</inputbox>
|-
| style="height: 50px;"|8293001 || Fanon talk: || [[Template:Editnotices/Namespace/Fanon talk]] || <inputbox>
break=no
type=create
Line 254 ⟶ 268:
preload=Template:Editnotice/preload
default=<your fanon name here>/Editnotice
</inputbox>
|-
| style="height: 50px;"|3002 || Game guide: || [[Template:Editnotices/Namespace/Game guide]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Game guide:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|3003 || Game guide talk: || [[Template:Editnotices/Namespace/Game guide talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Game guide talk:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|3004 || Custom content: || [[Template:Editnotices/Namespace/Custom content]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Custom content:
preload=Template:Editnotice/preload
</inputbox>
|-
| style="height: 50px;"|3005 || Custom content talk: || [[Template:Editnotices/Namespace/Custom content talk]] || <inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Custom content talk:
preload=Template:Editnotice/preload
</inputbox>
|}
 
==Advanced==
===Hiding the editnotice links===
If you don't want to see red "Group notice" and "Page notice" links and prefer to only be able to see them when those pages actually exist, add the following to your [[Help:Personal JS and CSS|personal CSS]]:
 
<source lang="css">
/* Hide the red "Group notice" and "Page notice" links. */
.editnotice-area .editnotice-redlink {
display: none !important;
}
</source>
 
If you want to hide those links entirely, use this instead:
 
<source lang="css">
/* Hide all the "Group notice" and "Page notice" links. */
.editnotice-area .editnotice-link {
display: none !important;
}
</source>
 
===Technical explanation===
MediaWiki supports [[mw:Manual:Interface/Edit notice|editnotices]] as a part of the [[Help:MediaWiki namespace|MediaWiki namespace]]. Editnotices can be configured as namespace notices. On Wikipedia, this method was found to be inefficient as the MediaWiki namespace grew in size, resulting in performance issues.
 
The current editnotice system replaces the namespace-specific editnotice pages in the MediaWiki namespace with {{tl|editnotice load}}, which causes pages to use a subpage specific to it as its editnotice, rather than a namespace-wide MediaWiki namespace.
 
===Group editnotices and subpages===
Group editnotices do not work in namespaces that do not have [[Help:Subpage|subpages]] enabled, as such a feature would not be useful. Subpages are enabled in all namespaces on The Sims Wiki. Subpages can be enabled or disabled for each individual namespace using the [[Help:ManageWiki|ManageWiki]] interface.
 
==List of editnotices==
* [[Special:PrefixIndex/MediaWiki:Editnotice]]&nbsp;– The main MediaWiki namespace notices, and any lingering MediaWiki page notices.
* [[Special:PrefixIndex/Template:Editnotices]]&nbsp;– All templates and sub-templates with names beginning with "Template:Editnotices...".
* [[Special:WhatLinksHere/Template:Editnotice]]&nbsp;– Pages that use the {{tl|editnotice}} template.
 
==See also==
* [[w:en:Wikipedia:Editnotice|Wikipedia:Editnotice]] on English Wikipedia
* [[mw:Manual:Interface/Edit notice|Manual:Interface/Edit notice]] on MediaWiki.org (technical documentation)
 
{{Seo
|keywords = sims, the sims, the sims wiki, wiki, mediawiki, wikipedia, miraheze, editnotice, editnotices, editing
|description = Editnotices are large message boxes that are shown above the edit window when a user edits a page. This is often used to convey important notices and messages, such as warnings and reminders. The Sims Wiki has adopted a sophisticated editnotice system, modelled after the one used on Wikipedia, that allows for more flexibility with editnotices.
}}