Editnotice (eller redigeringsbeskeder) er informationsbokse med beskeder som vises oven i redigeringsskærmen når en bruger vil redigere en side.
Oversættelse ønskes. Denne artikel er delvis på et andet sprog end dansk. |
Alle brugere kan oprette brugerbeskeder for deres bruger- og, men editnotices for andre navnerum må kun oprettes af administrators og account creators.
For at bruge editnotices, skal du have lidt indsigt i Wikipedias concept om navnerum; som er et set af Wikipedia sider der begynder med et prefix som genkendes af MediaWikis software, efterfulgt med et kolon, eller i tilfældet med artiklens navnerum, ingen prefix.
Nogle beskeder du ser, mens du redigerer en side (eller ser på kildeteksten fra en beskyttede side) er ikke nogen "editnotice", I stedt for kalder vi dem MediaWiki interface messages.
Når en sider er redigeret, røde eller blå links er vist øverst på siden, som ligner dette:
Or like this:
Disse links er henvisninger til gruppen- og sidebeskeder (group and page editnotices) som tilhører hovedsiden. Administratorer og kontooprettere ser altid begge links, selvom beskederne ikke er oprettet endnu, siden de har mulighed for at oprette og redigere disse "redigeringsbeskeder" (editnotices). andre brugere ser kun den røde "Page notice" link på deres bruger- og brugerdiskussionsside, siden de kon har rettigheden til at oprette og redigere sådanne beskeder. De kan dog også se de blå links til gruppen- og sidebeskeder (group and page editnotices) hvis de allerede er lavet, så de kan finde og se på beskedens kilde. De kan dog ikke redigere dem, bort set fra de to i deres eget brugerområde.
Se også sektionen Skjul de røde links nedenunder.
When creating editnotices, the template {{editnotice}} can be used for formatting; see its template page for how to use it. See Category:Editnotice templates for specialized editnotices.
Insert as an edit notice for a user page as {{Editnotice userpage}}
.
For example:
|
This appears on top of the editing box screen when people would like to edit your page. The ExampleUser part will automatically change to your username.
Anyone can create an editnotice for a user or user talk page. (But editnotices for user sub-pages can only be created by admins and accountcreators.) User page editnotice names take one of these forms:
User:Example/Editnotice
User talk:Example/Editnotice
You can create an editnotice for your own user or talk page with a preloaded {{editnotice}} template by using these links:
Editnotices for other namespaces and for user subpages can be created and edited only by admins and accountcreators. There are three main types of editnotices:
Editnotice names take one of these forms:
Template:Editnotices/Group/
Template:Editnotices/Page/
The editing tools Twinkle and Friendly expect pages to be written in XHTML rather than HTML, so editors are asked to ensure that any editnotices that are created/edited do not cause any problems. A common example of non-XHTML markup is the use of
instead of
; see Wikipedia-diskussion:Twinkle/Bugs/Archive 5#TW-B-422.
To edit a namespace-wide editnotice, click on the respective link below. To create an editnotice for a page, enter the page name and click "Create". For your own User: and User talk: pages, you don't need to type anything, just click "Create".
Page names are case sensitive—if the page shows the first character as capitalized, then it must be capitalized when entered here.
Number | Namespace | Namespace editnotice | Create page editnotice |
---|---|---|---|
0 | Main: (article) | Skabelon:Editnotices/Namespace/Main | |
1 | Talk: (article talk) | Skabelon:Editnotices/Namespace/Talk | |
2 | User: | Skabelon:Editnotices/Namespace/User | |
3 | User talk: | Skabelon:Editnotices/Namespace/User talk | |
4 | Wiki: | Skabelon:Editnotices/Namespace/Wikipedia | |
5 | Wiki talk: | Skabelon:Editnotices/Namespace/Wikipedia talk | |
6 | File: | Skabelon:Editnotices/Namespace/File | |
7 | File talk: | Skabelon:Editnotices/Namespace/File talk | |
8 | MediaWiki: | Skabelon:Editnotices/Namespace/MediaWiki | |
9 | MediaWiki talk: | Skabelon:Editnotices/Namespace/MediaWiki talk | |
10 | Template: | Skabelon:Editnotices/Namespace/Template | |
11 | Template talk: | Skabelon:Editnotices/Namespace/Template talk | |
12 | Help: | Skabelon:Editnotices/Namespace/Help | |
13 | Help talk: | Skabelon:Editnotices/Namespace/Help talk | |
14 | Category: | Skabelon:Editnotices/Namespace/Category | |
15 | Category talk: | Skabelon:Editnotices/Namespace/Category talk | |
100 | Portal | Skabelon:Editnotices/Namespace/Portal | |
101 | Portal talk: | Skabelon:Editnotices/Namespace/Portal talk | |
108 | Book: | Skabelon:Editnotices/Namespace/Book | |
109 | Book talk: | Skabelon:Editnotices/Namespace/Book talk |
To request the creation of an editnotice if you are not an admin:
Another way to find the link for an editnotice is to:
[[{{editnotice pagename}}]]
If you need to display a batch of identical editnotices, please create a single template which you then transclude in each editnotice, to allow easier modification and maintenance. You can place such templates in Category:Editnotice templates.
Skabelon:Editnotice templates
Editnotices are displayed when editing a page, but their content can also be useful when just viewing a page so they are also displayed in these cases:
When the editnotices are shown in "view mode" the loading system feeds them "notice action = view
". This can be used inside the editnotices like this:
{{#ifeq: {{{notice action|}}} | view | | }}
If you don't want to see the red "Group notice" and "Page notice" links, then add the below markup to your personal CSS, then wait a minute, then bypass your browser cache.
/* Hide the red "Group notice" and "Page notice" links. */ .editnotice-area .editnotice-redlink { display: none !important; }
If you don't want to see any of the "Group notice" and "Page notice links, then use this markup instead:
/* Hide all the "Group notice" and "Page notice" links. */ .editnotice-area .editnotice-link { display: none !important; }
When an editnotice is used on an article, administrators and accountcreators are advised to leave notification on the talk page.
The template {{active editnotice}} may be used to indicate that a non-user page has an active (non blank) editnotice. Articles and non-article pages will then be added respectively to Category:Articles with editnotices and Category:Pages with editnotices.
Anything put on the pages MediaWiki:Editnotice-0 through MediaWiki:Editnotice-15 (or Editnotice-100 through Editnotice-109) will appear as a editnotice for every page in an entire namespace. Editnotice-0 is for mainspace pages, Editnotice-1 for the talk space pages, Editnotice-2 for user space pages, etcetera. See Wikipedia:Namespace for the meaning of all of the numbers.
The template {{editnotice load}} has been put on each of those MediaWiki namespace pages. The template causes each article to use a subpage specific to it as its editnotice rather than using a namespace-wide editnotice.
The editnotice load system uses two methods of storing the editnotices:
Although all of the namespaces could initially store editnotices directly as MediaWiki messages, this was found to cause performance issues as the MediaWiki namespace grew. The display of MediaWiki editnotices for namespaces that have the MediaWiki subpage feature has been disabled; even though an editnotice can be created as a MediaWiki message for these namespaces, it will not show. For consistency, and to keep the MediaWiki namespace clean, all editnotices are now stored as subpages of Template:Editnotices. This means we again can create editnotices for all namespaces.
Group notices stored as Template:Editnotices/Group/...
can be created for pages in all namespaces except main (article), File (image), MediaWiki, and Category. The reason is that those namespaces don't have the MediaWiki subpage feature, thus group notices would not be meaningful in those namespaces. The talk spaces of those namespaces understand subpages and can use group notices, although group notices are usually not meaningful there either.
Edit intros are similar to editnotices, but use different schemes:
Edit intros currently only show when editing the entire page or the last section; they do not show when editing other sections.
Emailnotices allow registered users with a confirmed email to display a custom message at Speciel:EmailUser for their username. Emailnotices are located at Speciel:MyPage/Emailnotice (uses). The system was implemented in MediaWiki:Emailpagetext after this discussion.
As of now, editnotices cannot be easily dismissed, there is a request (Skabelon:Bug) to allow this using cookie IDs, similarly to what is done with mediawiki:watchlist-details.
Per-category editnotices could be used to replace the edit intros for biographies of living people and disambiguation pages, which cannot be easily hidden and does not work for section editing. The resolution of Skabelon:Bug should allow the use per-category editnotices.
Since this is a new system this page is not complete. Here are some links to more information:
This article uses material from the Wikipedia Dansk article Wiki:Editnotice, which is released under the Creative Commons Attribution-ShareAlike 3.0 license ("CC BY-SA 3.0"); additional terms may apply (view authors). Indholdet er udgivet under CC BY-SA 4.0 medmindre andet er angivet. Images, videos and audio are available under their respective licenses.
®Wikipedia is a registered trademark of the Wiki Foundation, Inc. Wiki Dansk (DUHOCTRUNGQUOC.VN) is an independent company and has no affiliation with Wiki Foundation.