Help:Dummy edit/pl: Difference between revisions
Updating to match new version of source page |
Updating to match new version of source page |
||
Line 4: | Line 4: | ||
==Dummy edit == |
==Dummy edit == |
||
</div> |
</div> |
||
{{ |
{{main|w:Help:Dummy edit}} |
||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
<div lang="en" dir="ltr" class="mw-content-ltr"> |
||
A '''dummy edit''' is a change in [[wikitext]] that has little or no effect on the rendered page, but saves a useful edit summary in the [[Help:Page history|page history]]. This can be used to correct a previous faulty edit summary, such as an accidental marking of a previous edit as "[[Help:Minor edit|minor]]", or for "text messaging" to other editors. Such text messaging can be used to communicate with [[Unregistered user|unregistered]] or logged-out users who are only identified by their IP addresses. (Since IP addresses can be shared, a message left on an "IP talk page" may not be noticed by the intended recipient.) |
A '''dummy edit''' is a change in [[Special:MyLanguage/wikitext|wikitext]] that has little or no effect on the rendered page, but saves a useful edit summary in the [[Special:MyLanguage/Help:Page history|page history]]. This can be used to correct a previous faulty edit summary, such as an accidental marking of a previous edit as "[[Special:MyLanguage/Help:Minor edit|minor]]", or for "text messaging" to other editors. Such text messaging can be used to communicate with [[Special:MyLanguage/Unregistered user|unregistered]] or logged-out users who are only identified by their IP addresses. (Since IP addresses can be shared, a message left on an "IP talk page" may not be noticed by the intended recipient.) |
||
</div> |
</div> |
||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
<div lang="en" dir="ltr" class="mw-content-ltr"> |
||
This feature should be used sparingly, and never for extended discussions. Text messaging through an edit summary can also be useful to point a problematic editor to relevant discussion on the [[Special:MyLanguage/Talk page|talk page]]. Each edit summary can hold 250 bytes, but the input box for an edit summary is limited to 200 characters (unless a [[Special:MyLanguage/Help:Preferences|preference option]] has been provided to allow expanded edit summaries). A dummy edit should be marked as "minor" by logged-in editors (unless the purpose of the dummy edit is to correct a previous edit accidentally marked "minor"). |
|||
⚫ | |||
</div> |
</div> |
||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
<div lang="en" dir="ltr" class="mw-content-ltr"> |
||
⚫ | |||
⚫ | |||
⚫ | : Changing a space to a line break in running text (or vice versa), for example, or adding or removing a single blank line after a header. Note that adding an extra blank line where there was none may add a paragraph break, which is not a dummy edit. Adding newlines to the end of the article will not save as a dummy edit (see below). |
||
; Changing the number of spaces |
|||
⚫ | |||
</div> |
</div> |
||
⚫ | |||
⚫ | : <span lang="en" dir="ltr" class="mw-content-ltr">Changing a space to a line break in running text (or vice versa), for example, or adding or removing a single blank line after a header. Note that adding an extra blank line where there was none may add a paragraph break, which is not a dummy edit. Adding newlines to the end of the article will not save as a dummy edit (see below).</span> |
||
; <span lang="en" dir="ltr" class="mw-content-ltr">Changing the number of spaces</span> |
|||
⚫ | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
<div lang="en" dir="ltr" class="mw-content-ltr"> |
||
== Null edit == |
== Null edit == |
||
</div> |
</div> |
||
{{ |
{{main|w:Wikipedia:Purge}} |
||
{{seealso|w:Wikipedia:Bypass your cache}} |
{{seealso|w:Wikipedia:Bypass your cache}} |
||
Line 31: | Line 33: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> |
<div lang="en" dir="ltr" class="mw-content-ltr"> |
||
The most useful side-effect of a null edit is that it updates category pages, taking into account categories transcluded via templates. If a category has been added to or removed from a template since it was last transcluded on a page, then purging the cache will not update the category contents, but a null edit to the page (not the category) will – see [[Help:Category#Adding a category by using a template]]. |
The most useful side-effect of a null edit is that it updates category pages, taking into account categories transcluded via templates. If a category has been added to or removed from a template since it was last transcluded on a page, then purging the cache will not update the category contents, but a null edit to the page (not the category) will – see [[Special:MyLanguage/Help:Category#Adding a category by using a template|how to add a category by using a template]]. |
||
</div> |
</div> |
||
Line 38: | Line 40: | ||
</div> |
</div> |
||
< |
; <span lang="en" dir="ltr" class="mw-content-ltr">Opening the edit window and immediately saving</span> |
||
: <span lang="en" dir="ltr" class="mw-content-ltr">Doing this to a section instead of the entire page is sufficient to constitute a null edit, but can sometimes accidentally result in a dummy edit with an empty edit summary.</span> |
|||
;Providing an edit summary without changing the page text: This is also a null edit. It's a good idea to always provide an edit summary such as "null edit" and mark the edit as [[Help:Minor edit|minor]], just in case it shows up in the page history. |
; <span lang="en" dir="ltr" class="mw-content-ltr">Providing an edit summary without changing the page text at all</span> |
||
: <span lang="en" dir="ltr" class="mw-content-ltr">This is also a null edit. It's a good idea to always provide an edit summary such as "null edit" and mark the edit as [[Special:MyLanguage/Help:Minor edit|minor]], just in case it shows up in the page history.</span> |
|||
;Adding newlines only to the end of the page: This is also a null edit, because such newlines are ignored (stripped away) when the page is saved. Note that this true even when [[Help:Section#Section editing|editing a section]] of a page. |
; <span lang="en" dir="ltr" class="mw-content-ltr">Adding newlines only to the end of the page</span> |
||
: <span lang="en" dir="ltr" class="mw-content-ltr">This is also a null edit, because such newlines are ignored (stripped away) when the page is saved. Note that this true even when [[Special:MyLanguage/Help:Section#Section editing|editing a section]] of a page.</span> |
|||
</div> |
|||
==Zobacz też== |
==Zobacz też== |
Revision as of 10:55, 8 August 2022
Dummy edit
A dummy edit is a change in wikitext that has little or no effect on the rendered page, but saves a useful edit summary in the page history. This can be used to correct a previous faulty edit summary, such as an accidental marking of a previous edit as "minor", or for "text messaging" to other editors. Such text messaging can be used to communicate with unregistered or logged-out users who are only identified by their IP addresses. (Since IP addresses can be shared, a message left on an "IP talk page" may not be noticed by the intended recipient.)
This feature should be used sparingly, and never for extended discussions. Text messaging through an edit summary can also be useful to point a problematic editor to relevant discussion on the talk page. Each edit summary can hold 250 bytes, but the input box for an edit summary is limited to 200 characters (unless a preference option has been provided to allow expanded edit summaries). A dummy edit should be marked as "minor" by logged-in editors (unless the purpose of the dummy edit is to correct a previous edit accidentally marked "minor").
Examples of dummy edits
- Changing the number of newlines in the edit text
- Changing a space to a line break in running text (or vice versa), for example, or adding or removing a single blank line after a header. Note that adding an extra blank line where there was none may add a paragraph break, which is not a dummy edit. Adding newlines to the end of the article will not save as a dummy edit (see below).
- Changing the number of spaces
- Changing one space character to two or more (or vice versa) also has no effect on the rendered page. Multiple space characters always render as a single space, unless the line begins with a leading space (see Help:Wikitext examples).
Null edit
A null edit occurs when a page is saved without making any changes at all to the wikitext. This is useful for refreshing the cache. A null edit will not register as an edit and will not create an entry in the page history (or in Recent Changes, etc.), so any edit summary provided by the user will be discarded.
The most useful side-effect of a null edit is that it updates category pages, taking into account categories transcluded via templates. If a category has been added to or removed from a template since it was last transcluded on a page, then purging the cache will not update the category contents, but a null edit to the page (not the category) will – see how to add a category by using a template.
Examples of null edits
- Opening the edit window and immediately saving
- Doing this to a section instead of the entire page is sufficient to constitute a null edit, but can sometimes accidentally result in a dummy edit with an empty edit summary.
- Providing an edit summary without changing the page text at all
- This is also a null edit. It's a good idea to always provide an edit summary such as "null edit" and mark the edit as minor, just in case it shows up in the page history.
- Adding newlines only to the end of the page
- This is also a null edit, because such newlines are ignored (stripped away) when the page is saved. Note that this true even when editing a section of a page.
Zobacz też
Links to other help pages
- Help contents
- Meta · Wikinews · Wikipedia · Wikiquote · Wiktionary · Commons: · Wikidata · MediaWiki · Wikibooks · Wikisource · MediaWiki: Manual · Google
- Versions of this help page (for other languages see further)
- What links here on Meta or from Meta · Wikipedia · MediaWiki
- Reading
- Go · Search · Namespace · Page name · Section · Backlinks · Redirect · Category · Image page · Special pages · Printable version
- Tracking changes
- Recent changes (enhanced) | Related changes · Watching pages · Diff · Page history · Edit summary · User contributions · Minor edit · Patrolled edit
- Logging in and preferences
- Logging in · Preferences
- Editing
- Starting a new page · Advanced editing · Editing FAQ · Export · Import · Shortcuts · Edit conflict · Page size
- Referencing
- Links · URL · Interwiki linking · Footnotes
- Style and formatting
- Wikitext examples · CSS · Reference card · HTML in wikitext · Formula · Lists · Table · Sorting · Colors · Images and file uploads
- Fixing mistakes
- Show preview · Reverting edits
- Advanced functioning
- Expansion · Template · Advanced templates · Parser function · Parameter default · Magic words · System message · Substitution · Array · Calculation · Transclusion
- Others
- Special characters · Renaming (moving) a page · Preparing a page for translation · Talk page · Signatures · Sandbox · Legal issues for editors