উইকিপিডিয়া:সম্পাদনা বিজ্ঞপ্তি
এই সাহায্য পাতাটি একটি কীভাবে করবেন ধরনের নির্দেশিকা। এটি উইকিপিডিয়ার কিছু নিয়ম ও পদ্ধতির বিশদ বর্ণনা করে। এটি উইকিপিডিয়ার কোনো নীতিমালা বা নির্দেশাবলী নয়। |
Many editnotices use {{REVISIONUSER}} to show the name of the user viewing the page. This was always considered a bug and has been fixed. It should now show only the name of the last user to edit the page, but instead it shows nothing. See বাগ 19006 and বাগ 31398 . |
Editnotices are message boxes shown before the edit window when a user edits a page. All users can create editnotices for their user and talk pages, but editnotices for other namespaces can be created and edited only by administrators and template editors.
To use editnotices, you should have a basic understanding of the concept of Wikipedia namespaces; that is a set of Wikipedia pages whose names begin with a prefix recognized by the MediaWiki software, followed by a colon, or, in the case of the main namespace, with no prefix.
Some of the message boxes you see when editing a page (or viewing the source of a protected page) are not editnotices; instead, they are MediaWiki interface messages.
Editnotice links
সম্পাদনাWhen a page is edited, red or blue links are often displayed at the top right of the page looking like this:
or like this:
They are links to the group and page editnotices of the page. Users with administrator or template editor permissions always see both links, even if the notices have not yet been created, since they can create and edit the editnotices. Other users only see the red "Page notice" link on their own user and user talk basepage, since they can create and edit such notices. They also see blue links to group and page notices if they already have been created, so they can find and view the source of the notice. But they still can't edit those notices, except the ones in userspace.
See also the section § Hiding the red links below.
Editnotices
সম্পাদনা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.
User and user talk
সম্পাদনাWhen editing a new user page, {{base userpage editnotice}} will show.
Insert as an edit notice for a user page as {{ব্যবহারকারী পাতা সম্পাদনা-বিজ্ঞপ্তি}}
.
উদাহরণস্বরূপ:
সম্পাদনা করছেন
স্বাগতম। আপনি সম্পাদনা বিজ্ঞপ্তি-এর ব্যবহারকারী পাতা সম্পাদনা করছেন। এটি একটি ব্যবহারকারী পাতা এবং নির্দিষ্ট ব্যবহারকারীরই এই পাতা সম্পাদনা করার কথা, তাই সম্পাদনার ক্ষেত্রে বন্ধুত্বপূর্ণ হন। |
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 template editors.) 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:
Other namespaces
সম্পাদনাEditnotices for other namespaces and for user subpages can be created and edited only by admins and template editors. There are three main types of editnotices:
- Namespace notices – Displays on all pages within a namespace.
- Group notices – Displays on a page and all its subpages.
- Page notices – Displays only on the page it belongs to.
Editnotice names take one of these forms:
- Namespace notices – See below.
- Group notices –
Template:Editnotices/Group/<Full page name of the rootpage>
- Page notices –
Template:Editnotices/Page/<Full page name>
Creating editnotices
সম্পাদনা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.
How to request an editnotice if you are not an administrator or template editor
সম্পাদনাTo request the creation of an editnotice if you are not an admin or a template editor:
- Open the edit window of the page on which you want the editnotice.
- Place this code on the page:
[[{{editnotice talkpagename}}]]
- Preview the page, and without saving, follow the link you see. Your browser may ask if you wish to continue and lose the changes you made. You do.
- Open the edit window of the editnotice's talkpage.
- Add the exact markup you want for the editnotice, and below it write a short request for the administrator who deals with the request, and sign it.
- Finally, place this template:
{{edit template-protected}}
at the top of the page, and when you are satisfied (use preview) that everything is correct, save the page.
Another way to find the link for an editnotice is to:
- Open the edit window of the page where you want to create an editnotice.
- Place this code on the page:
[[{{editnotice pagename}}]]
- Preview the page and follow the link to the editnotice.
- This takes you to the editnotice's page. The request for creation should be made on the editnotice's talkpage.
- Once at the talkpage, follow the latter steps in the first instructions.
Batch of identical editnotices
সম্পাদনা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.
When displayed
সম্পাদনাEditnotices are displayed when editing a page, but because their content can also be useful when just viewing a page, they are also displayed in these cases:
- Page notices are displayed on top of .css and .js pages in MediaWiki space. See for instance the notice at the top of মিডিয়াউইকি:Common.css that begins "This is the CSS for all skins". The namespace notice is not displayed and MediaWiki space doesn't have group notices.
- In any namespace, when a non-admin "views the source" of a protected page, or an IP-user views the source of a semi-protected page. The group and page notices are displayed, but not the namespace notices.
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 | <!-- A non-admin is "viewing the source" of a protected page --> | <!-- A user with sufficient rights is editing the page --> }}
Hiding the red links
সম্পাদনা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;
}
Notices
সম্পাদনাWhen an editnotice is used on an article, administrators and template editors are advised to leave a message on the article's talk page for further discussion of the editnotice on the article.
The template {{active editnotice}} may be used to indicate that a non-user page has an active (non-blank) editnotice. Pages will then be added to Category:Pages with editnotices.
Listing editnotices
সম্পাদনা- বিশেষ:PrefixIndex/MediaWiki:Editnotice – The main MediaWiki namespace notices, and any lingering MediaWiki page notices.
- বিশেষ:PrefixIndex/Template:Editnotices – All templates and sub-templates with names beginning with "Template:Editnotices...".
- বিশেষ:WhatLinksHere/Template:Editnotice – Pages that use the {{editnotice}} template.
- Category:Pages with editnotices – Pages marked with {{active editnotice}}.
Technical details
সম্পাদনাAnything put on the pages মিডিয়াউইকি:Editnotice-0 through মিডিয়াউইকি:Editnotice-15 (or Editnotice-100 through Editnotice-109) will appear as an 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 উইকিপিডিয়া: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:
- For User and User talk space the editnotice is stored as a subpage of the user or talk page named /Editnotice. This method allows users to edit these notices.
- For all other namespaces and for user sub-pages the editnotice is stored as a subpage of টেমপ্লেট:Editnotices. Template:Editnotices and its subpages are protected by the মিডিয়াউইকি:Titleblacklist so that only admins and template editors can create and edit them.
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
সম্পাদনাEdit intros are similar to editnotices, but use different schemes:
- Disambiguation pages include the {{disambiguation}} template; this triggers code at মিডিয়াউইকি:Common.js to show {{disambig editintro}}.
- Biographies of living people are placed into Category:Living people or Category:Possibly living people; this triggers code at মিডিয়াউইকি:Common.js to show {{BLP editintro}}.
A feature request at টেমপ্লেট:Phab asks for per-category editnotices to make it much easier to add and maintain this kind of notices.
Emailnotice
সম্পাদনাEmailnotices allow registered users with a confirmed email to display a custom message at বিশেষ:EmailUser for their username. Emailnotices are located at বিশেষ:MyPage/Emailnotice (uses). The system was implemented in মিডিয়াউইকি:Emailpagetext after this discussion.
Protection notices
সম্পাদনাThe standard message displayed when the source of a protected page is being viewed may be replaced by creating a page of the form Template:Editnotices/Protection/<Full page name>
. When this is done, the standard edit notices for the page will not be displayed by default; display them if necessary by including {{editnotice load| notice action = view}}
in the custom protection notice.
This should generally only be used when the standard notice displayed by মিডিয়াউইকি:Protectedpagetext and/or মিডিয়াউইকি:Cascadeprotected is misleading users to file {{edit protected}} requests in the wrong place; for example, see the history of টেমপ্লেট আলোচনা:Reflist prior to September 2011.
History
সম্পাদনাSince this is a new system this page is not complete. Here are some links to more information:
- উইকিপিডিয়া:Wikipedia Signpost/2008-08-11/Technology report#New features – The announcement about editnotices.
- উইকিপিডিয়া:Village pump (technical)/Archive 46#Custom edit messages – An archived discussion about editnotices.
- [১] – You can search for any pages that mention the editnotice system.
Related templates
সম্পাদনা- {{active editnotice}}
- {{editnotice}} – A template for making editnotices.
- {{editnotice pagename}} – Returns the pagename for the editnotice for the current page.
- {{editnotice talkpagename}} – Returns the talkpage name for the editnotice for the current page.
- {{editnotice explanation}} – For editnotice talk pages. Explains how editnotices are protected, and optionally shows a CSS customization parameter.
- {{editnotice load}} – The template that is doing most of the editnotice loading and also displays the small "Group notice" and "Page notice" links.
- {{editnotice loader}} – The old suggested extension to make the editnotice system user-friendly. Many of its features have over time been added to {{editnotice load}}.
- {{Editnotice userpage}} – For use on userpages.