উইকিপিডিয়া:সম্পাদনা বিজ্ঞপ্তি: সংশোধিত সংস্করণের মধ্যে পার্থক্য
বিষয়বস্তু বিয়োগ হয়েছে বিষয়বস্তু যোগ হয়েছে
আফতাবুজ্জামান (আলোচনা | অবদান) অ Aftabuzzaman ব্যবহারকারী উইকিপিডিয়া:Editnotice পাতাটিকে উইকিপিডিয়া:সম্পাদনা বিজ্ঞপ্তি শিরোনামে স্থান... |
আফতাবুজ্জামান (আলোচনা | অবদান) সম্পাদনা সারাংশ নেই |
||
১ নং লাইন:
{{active editnotice}}
{{Wikipedia how
{{notice|Many editnotices use <code><nowiki>{{REVISIONUSER}}</nowiki></code> 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 {{Bug|19006}} and {{Bug|31398}}.}}
'''Editnotices''' are message boxes shown
To use editnotices, you should have a basic understanding of the concept of Wikipedia [[Wikipedia:Namespace|namespaces]]; that is
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 [[Help:MediaWiki namespace|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:
<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}}
<div style="clear: both; float: right; margin: 0px 0.8em; padding: 0; line-height: 1em;"> <small>[[Example|Group notice]] [[This page should not exist|Page notice]]</small> </div>
{{clear}}
They are links to the group and page editnotices of the page.
''See also the section
== Editnotices ==
৩০ ⟶ ৩১ নং লাইন:
=== User and user talk ===
When editing a new user page, {{tl|base userpage editnotice}} will show.
Insert as an [[Template:Editnotice userpage|edit notice for a user page]] as <code><nowiki>{{ব্যবহারকারী পাতা সম্পাদনা-বিজ্ঞপ্তি}}</nowiki></code>.
উদাহরণস্বরূপ:
{{ব্যবহারকারী পাতা সম্পাদনা-বিজ্ঞপ্তি}}
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
:<code>User:Example/Editnotice</code>
:<code>User talk:Example/Editnotice</code>
৪৭ ⟶ ৫০ নং লাইন:
=== Other namespaces ===
Editnotices for other namespaces and for user subpages can be created and edited only by admins and
:Namespace notices – Displays on all pages within a namespace.
:Group notices – Displays on a page and all its subpages.
৫৭ ⟶ ৬০ নং লাইন:
:Group notices – <code>Template:Editnotices/Group/''<Full page name of the rootpage>''</code>
:Page notices – <code>Template:Editnotices/Page/''<Full page name>''</code>
=== 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.
{| class="wikitable" style="width: 95%; margin: 0px auto;"
|-
! style="width: 75px;"| Number !! style="width: 125px;"| Namespace !! style="width: 275px;"| Namespace editnotice !! Create page editnotice
|-
| style="height: 50px;"|-1 || [[Special:EmailUser]] || [[MediaWiki:Emailpagetext]] || <inputbox>
break=no
type=create
buttonlabel=Create your own email notice
prefix=Special:MyPage/Emailnotice
preload=MediaWiki:Emailpagetext
hidden=yes
</inputbox>
|-
| style="height: 50px;"|0 || Main: (article) || [[Template:Editnotices/Namespace/Main]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|1 || Talk: (article talk) || [[Template:Editnotices/Namespace/Talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|2 || User: || [[Template:Editnotices/Namespace/User]] || <inputbox>
break=no
type=create
buttonlabel=Create your own user page notice
preload=Template:Editnotice/preload
hidden=yes
</inputbox><!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/User:
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|3 || User talk: || [[Template:Editnotices/Namespace/User talk]] || <inputbox>
break=no
type=create
buttonlabel=Create your own user talk page notice
preload=Template:Editnotice/preload
hidden=yes
</inputbox><!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/User talk:
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|4 || Wikipedia: || [[Template:Editnotices/Namespace/Wikipedia]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|5 || Wikipedia talk: || [[Template:Editnotices/Namespace/Wikipedia talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|6 || File: || [[Template:Editnotices/Namespace/File]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|7 || File talk: || [[Template:Editnotices/Namespace/File talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|8 || MediaWiki: || [[Template:Editnotices/Namespace/MediaWiki]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|9 || MediaWiki talk: || [[Template:Editnotices/Namespace/MediaWiki talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|10 || Template: || [[Template:Editnotices/Namespace/Template]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|11 || Template talk: || [[Template:Editnotices/Namespace/Template talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|12 || Help: || [[Template:Editnotices/Namespace/Help]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|13 || Help talk: || [[Template:Editnotices/Namespace/Help talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|14 || Category: || [[Template:Editnotices/Namespace/Category]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|15 || Category talk: || [[Template:Editnotices/Namespace/Category talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|100 || Portal: || [[Template:Editnotices/Namespace/Portal]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|101 || Portal talk: || [[Template:Editnotices/Namespace/Portal talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|108 || Book: || [[Template:Editnotices/Namespace/Book]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|109 || Book talk: || [[Template:Editnotices/Namespace/Book talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|118 || Draft: || [[Template:Editnotices/Namespace/Draft]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Draft:
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|119 || Draft talk: || [[Template:Editnotices/Namespace/Draft talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Draft talk:
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|710 || TimedText: || [[Template:Editnotices/Namespace/TimedText]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/TimedText:
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|711 || TimedText talk: || [[Template:Editnotices/Namespace/TimedText talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/TimedText talk:
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|828 || Module: || [[Template:Editnotices/Namespace/Module]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Module:
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|-
| style="height: 50px;"|829 || Module talk: || [[Template:Editnotices/Namespace/Module talk]] || <!-- <span class="sysop-show templateeditor-show"> --><inputbox>
break=no
type=create
buttonlabel=Create
prefix=Template:Editnotices/Page/Module talk:
preload=Template:Editnotice/preload
</inputbox><!-- </span> -->
|}
* Open the edit window of the page on which you want the editnotice.
* Place this code on the page: <code><nowiki>[[{{editnotice talkpagename}}]]</nowiki></code>
* 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: <code><nowiki>{{edit template-protected}}</nowiki></code> 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: <code><nowiki>[[{{editnotice pagename}}]]</nowiki></code>
* 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]].
{{Editnotice templates}}
== When displayed ==
Editnotices are displayed when editing a page, but because their content can also be useful when just viewing a page
* Page notices are displayed on top of .css and .js pages in MediaWiki space. See for instance the notice at the top of [[MediaWiki: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.
২৬০ ⟶ ৩৩৩ নং লাইন:
<pre>
{{#ifeq: {{{notice action|}}} | view
| <!-- A non-admin is "viewing the source" of a protected page -->
| <!-- A user with sufficient rights is editing the page -->
}}
</pre>
২৭১ ⟶ ৩৪৪ নং লাইন:
<source lang="css">
/* Hide the red "Group notice" and "Page notice" links. */
.editnotice-area .editnotice-redlink {
display: none !important;
}
২৮০ ⟶ ৩৫৩ নং লাইন:
<source lang="css">
/* 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
The template {{t1|active editnotice}} may be used to indicate that a non-user page has an active (non
== Listing editnotices ==
* [[Special:PrefixIndex/MediaWiki:Editnotice]] – The main MediaWiki namespace notices, and any lingering MediaWiki page notices.
* [[Special:PrefixIndex/Template:Editnotices]] – All templates and sub-templates with names beginning with "Template:Editnotices...".
* [[Special:WhatLinksHere/Template:Editnotice]] – Pages that use the {{tl|editnotice}} template.
* [[:Category:
== Technical details ==
Anything put on the pages [[MediaWiki:Editnotice-0]] through [[MediaWiki:Editnotice-15]] (or Editnotice-100 through Editnotice-109) will appear as
The template {{tl|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 [[Template:Editnotices]]. Template:Editnotices and its subpages are protected by the [[MediaWiki:Titleblacklist]] so that only [[WP:ADMIN|admins]] and
Although all of the namespaces could initially store editnotices directly as MediaWiki messages, this was found to cause performance issues as the [[Help:MediaWiki namespace|MediaWiki namespace]] grew. The display of MediaWiki editnotices for namespaces that have the MediaWiki [[meta:Link#Subpage feature|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.
৩১৫ ⟶ ৩৮৫ নং লাইন:
== Edit intros ==
{{shortcut|WP:EDITINTRO}}
{{for|the editintro parameter of the inputbox extension|mw:Extension:InputBox}}
Edit intros are similar to editnotices, but use different schemes:
* Disambiguation pages include the {{tl|disambiguation}} template; this triggers code at [[MediaWiki:Common.js]] to show {{tl|disambig editintro}}.
* Biographies of living people are placed into [[:Category:Living people]] or [[:Category:Possibly living people]]; this triggers code at [[MediaWiki:Common.js]] to show {{tl|BLP editintro}}.
A feature request at {{phab|T85372}} 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 [[Special:EmailUser]] for their username. Emailnotices are located at [[Special:MyPage/Emailnotice]] (<span class="plainlinks">[{{fullurl:Special:Search|redirs=1&search=%2Femailnotice&fulltext=Search&ns2=1&title=Special%3ASearch&advanced=1&fulltext=Advanced+search}} uses]</span>). The system was implemented in [[MediaWiki:Emailpagetext]] after [[Wikipedia:Village pump (technical)/Archive 66#edit notice for special:emailuser|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 <code>Template:Editnotices/Protection/''<Full page name>''</code>. When this is done, the standard edit notices for the page will not be displayed by default; display them if necessary by including {{tlx|editnotice load| notice action {{=}} view }} in the custom protection notice.
This should generally only be used when the standard notice displayed by [[MediaWiki:Protectedpagetext]] and/or [[MediaWiki:Cascadeprotected]] is misleading users to file {{tl|edit protected}} requests in the wrong place; for example, see the history of [[Template talk: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:Wikipedia Signpost/2008-08-11/Technology report#New features]] – The announcement about editnotices.
* [[Wikipedia:Village pump (technical)/Archive 46#Custom edit messages]] – An archived discussion about editnotices.
* [http://
== Related templates ==
* {{tl|active editnotice}}
* {{tl|editnotice}} – A template for making editnotices.
৩৫২ ⟶ ৪১৮ নং লাইন:
* {{tl|editnotice loader}} – The old suggested extension to make the editnotice system user-friendly. Many of its features have over time been added to {{tl|editnotice load}}.
* {{tl|Editnotice userpage}} – For use on userpages.
{{Wikipedia technical help|collapsed}}
[[Category:Wikipedia editnotices| ]]
|