Help:Preview

From The Scuba Wiki

Jump to: navigation, search
MediaWiki Handbook: Contents, Readers, Editors, Moderators, System admins +/-

Below the edit box is a Show preview button. Pressing this will show you what the article will look like without actually saving it. It is strongly recommended that you use this prior to saving. This allows you to check what the page will look like first and to check that you haven't made any errors. It also prevents the need for multiple saves. Saving the same article a large number of times in quick succession makes it harder for people to check what changes have been made, and clogs up the page history.

It is helpful, however, to save the page before moving, breaking apart, or combining sections of the article, if you have been making small edits to the article. The difference display is not good at showing paragraph moves, and will not display the small edits clearly if sections are then moved around.

Saving only once is also a way of avoiding edit conflicts, as people will not see the article on recent changes, and therefore they are less likely to try editing it at the same time as you.

If you are logged in, you can set your preferences to show the preview positioned before the edit box instead of after it. If you select this option, the preview will be displayed above the edit box when you click the "Show preview" button while editing a page.

Preference "Show preview on first edit": - when pressing the edit button or otherwise following a link to an edit page, show not only the edit box but also the rendered page, just like after pressing "Show preview". This is especially useful when viewing a template, because even just viewing, not editing, typically requires both. When preloading wikitext on page creation, the preview of the preloaded wikitext does not show up automatically (example: [1]).

In the case of automatic conversion of wikitext the preview shows the rendering, while the button "show changes" shows the new wikitext. In the case of recursive conversion of wikitext the preview before/without making manual changes to the wikitext is not the same as the rendering of the current page.

Using show preview also prevents your login timing out, which would mean your edits would not be attributed to your user name. Clicking preview regularly will restart the timer, so you remain logged in. Also, if you are no longer logged in, showing a preview will make you aware of this so you can log in and save your work after that. You can check this by seeing if your user name appears in the upper-right corner when you press preview. If you are not logged in, open Special:Userlogin in a separate window (right-click "Log in" and hit "Open link in new window" or similar). Log in, then go back to your editing and hit "preview" again to make sure all is well. Note that this will clear the minor edit and watch checkboxes, so make sure they're set appropriately again before you finally save the page.

When utilizing this feature during a major edit, consider copying the content into your clipboard. On rare occasions servers may have hiccups, and you could lose your work.

When pressing "preview", also a preview of the edit summary is obtained. Thus links can be checked, including existence detection and the working of piped links. Also, while the summary may be too long to be seen in the input box without scrolling, its preview is fully shown up to the total capacity of the input box.

Contents

Limitations, detecting preview mode

If a page transcludes itself (as in often the case in the noinclude-part of a template page) the preview is based on transclusion of the old version. Thus previewing the effect of changes in the transcluded part of a template is only possible without parameter definitions; the preview shows the result for the default values, if provided.

{{REVISIONID}} gives the empty string in preview. This can be used to detect preview mode: {{#if:{{REVISIONID}}|This is the normal page|This is the preview}} gives "This is the normal page".

Preview of a footnote

When creating a footnote using section editing, preview only shows the footnote mark, not the footnote content, if the wikitext "<references />" is in another section. A workaround is putting that code temporarily in the section, just for the preview. If previewing the footnotes of a section is needed more often, it may be convenient to put <!--<references />--> in the section, and to disable this commenting-out temporarily on preview, e.g. by adding a blank space to the opening comment tag: < !--<references />-->.

Preview of an upload

The file upload page does not have a preview for the summary nor for the automatic SVG to PNG translation.

See also


+/-

Links to other help pages

Help contents
Meta | Wikinews | Wikipedia | Wikiquote | Wiktionary | commons: | mw: | b: | s: | mw:Manual | google
Versions of this help page (for other languages see below)
Meta | Wikinews | Wikipediahttp://en.wikipedia.org/Help:Preview | Wikiquote | Wiktionary
What links here on Meta or from Meta | Wikipedia | MediaWiki
Reading
Go | Search | Stop words | URL | Namespace | Page name | Section
Backlinks | Link | Piped link | Interwiki link | Redirect | Category | Image page
Logging in and preferences
Logging in | Preferences | User style
Editing
Advanced editing | Editing FAQ | Edit toolbar | Export | Import | Shortcuts
Tracking changes
Recent changes (enhanced) | Related changes | Watching pages | Diff
Page history | Edit summary | User contributions | Minor edit | Patrolled edit
Style & formatting
Wikitext examples | Reference card | HTML in wikitext | List | Table | Sorting | Colors
Special input and output
Inputbox | Special characters | Displaying a formula | Images (uploads) | EasyTimeline
Advanced functioning
Template | Advanced templates | Parser function | ParserFunctions | Parameter default
Variable | Magic word | System message | Substitution | Array | Calculation
Page management
Starting a new page | Renaming (moving) a page | Protecting pages | Deleting a page
Special pages
Talk page | Testing | Sandbox | CentralNotice

Template:-

Personal tools
support the site