CINXE.COM

View source for Help:Editing - Wikibooks, open books for an open world

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>View source for Help:Editing - Wikibooks, open books for an open world</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-not-available";var cookie=document.cookie.match(/(?:^|; )enwikibooksmwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"13f87612-89ff-4dda-8193-75251f057a82","wgCanonicalNamespace":"Help","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":12,"wgPageName":"Help:Editing","wgTitle":"Editing","wgCurRevisionId":4288843,"wgRevisionId":0,"wgArticleId":50573,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Help:Editing","wgRelevantArticleId":50573,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["autoconfirmed"],"wgRestrictionMove":["sysop"],"wgNoticeProject":"wikibooks","wgCiteReferencePreviewsActive":true,"wgFlaggedRevsParams":{"tags":{"value":{"levels":3}}},"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true ,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":70000,"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"visual","wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"wgSiteNoticeId":"2.24"};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles":"ready", "user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.tablesorter.styles":"ready","ext.charinsert.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.discussionTools.init.styles":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready","ext.dismissableSiteNotice.styles":"ready"};RLPAGEMODULES=["mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","jquery.tablesorter","skins.vector.js","ext.centralNotice.geoIP","ext.charinsert","ext.gadget.wikidialog","ext.gadget.commons-file","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init", "ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.checkUser.clientHints","wikibase.sidebar.tracking","ext.dismissableSiteNotice"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.charinsert.styles%7Cext.discussionTools.init.styles%7Cext.dismissableSiteNotice.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cjquery.tablesorter.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="View source for Help:Editing - Wikibooks, open books for an open world"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikibooks.org/wiki/Help:Editing"> <link rel="icon" href="/static/favicon/wikibooks.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikibooks (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikibooks.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikibooks.org/wiki/Help:Editing"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikibooks Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-12 ns-subject page-Help_Editing rootpage-Help_Editing skin-vector-2022 action-edit"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main Page</span></a></li><li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Find help on how to use and edit Wikibooks"><span>Help</span></a></li><li id="n-Browse" class="mw-list-item"><a href="/wiki/Wikibooks:Card_Catalog_Office" title="Check out what Wikibooks has to offer"><span>Browse</span></a></li><li id="n-Cookbook" class="mw-list-item"><a href="/wiki/Cookbook:Table_of_Contents" title="Learn recipes from around the world"><span>Cookbook</span></a></li><li id="n-Wikijunior" class="mw-list-item"><a href="/wiki/Wikijunior" title="Books for children"><span>Wikijunior</span></a></li><li id="n-Featured-books" class="mw-list-item"><a href="/wiki/Wikibooks:Featured_books" title="The best of Wikibooks"><span>Featured books</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-randomrootpage" class="mw-list-item"><a href="/wiki/Special:RandomInCategory/Book:Wikibooks_Stacks/Books"><span>Random book</span></a></li><li id="n-Using-Wikibooks" class="mw-list-item"><a href="/wiki/Using_Wikibooks"><span>Using Wikibooks</span></a></li> </ul> </div> </div> <div id="p-community" class="vector-menu mw-portlet mw-portlet-community" > <div class="vector-menu-heading"> Community </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-Reading-room-forum" class="mw-list-item"><a href="/wiki/Wikibooks:Reading_room"><span>Reading room forum</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikibooks:Community_Portal" title="Find your way around the Wikibooks community"><span>Community portal</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Wikibooks:Reading_room/Bulletin_Board" title="Important community news"><span>Bulletin Board</span></a></li><li id="n-maintenance" class="mw-list-item"><a href="/wiki/Wikibooks:Maintenance" title="Frequent tasks that you can help with"><span>Help out!</span></a></li><li id="n-Policies-and-guidelines" class="mw-list-item"><a href="/wiki/Wikibooks:Policies_and_guidelines" title="Pages detailing important rules and procedures"><span>Policies and guidelines</span></a></li><li id="n-contact" class="mw-list-item"><a href="/wiki/Wikibooks:Contact_us" title="Alternative methods of communication"><span>Contact us</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikibooks.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikibooks" src="/static/images/mobile/copyright/wikibooks-wordmark-vi.svg" style="width: 7.5em; height: 0.9375em;"> <img class="mw-logo-tagline" alt="The Free Textbook Project" src="/static/images/mobile/copyright/wikibooks-tagline-en.svg" width="120" height="10" style="width: 7.5em; height: 0.625em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikibooks [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikibooks" aria-label="Search Wikibooks" autocapitalize="sentences" title="Search Wikibooks [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikibooks.org&amp;uselang=en" class=""><span>Donations</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&amp;returnto=Help%3AEditing&amp;returntoquery=action%3Dedit" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&amp;returnto=Help%3AEditing&amp;returntoquery=action%3Dedit" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="More options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="//donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikibooks.org&amp;uselang=en"><span>Donations</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Help%3AEditing&amp;returntoquery=action%3Dedit" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Help%3AEditing&amp;returntoquery=action%3Dedit" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Discussion for this IP address</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><div id="mw-dismissablenotice-anonplace"></div><script>(function(){var node=document.getElementById("mw-dismissablenotice-anonplace");if(node){node.outerHTML="\u003Cdiv class=\"mw-dismissable-notice\"\u003E\u003Cdiv class=\"mw-dismissable-notice-close\"\u003E[\u003Ca tabindex=\"0\" role=\"button\"\u003Edismiss\u003C/a\u003E]\u003C/div\u003E\u003Cdiv class=\"mw-dismissable-notice-body\"\u003E\u003C!-- CentralNotice --\u003E\u003Cdiv id=\"localNotice\" data-nosnippet=\"\"\u003E\u003Cdiv class=\"anonnotice\" lang=\"en\" dir=\"ltr\"\u003E\u003Cdiv style=\"width: fit-content; padding: 5px; border: 3px solid gray; background-color: #fafafa; text-align: center; margin: auto;\"\u003E\n\u003Cp\u003E\u003Cspan typeof=\"mw:File\"\u003E\u003Ca href=\"/wiki/File:OOjs_UI_icon_robot.svg\" class=\"mw-file-description\"\u003E\u003Cimg src=\"//upload.wikimedia.org/wikipedia/commons/thumb/7/71/OOjs_UI_icon_robot.svg/40px-OOjs_UI_icon_robot.svg.png\" decoding=\"async\" width=\"40\" height=\"40\" class=\"mw-file-element\" srcset=\"//upload.wikimedia.org/wikipedia/commons/thumb/7/71/OOjs_UI_icon_robot.svg/60px-OOjs_UI_icon_robot.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/71/OOjs_UI_icon_robot.svg/80px-OOjs_UI_icon_robot.svg.png 2x\" data-file-width=\"20\" data-file-height=\"20\" /\u003E\u003C/a\u003E\u003C/span\u003E The Wikibooks community is developing a policy on the use of generative AI. Please review the \u003Ca href=\"/wiki/Wikibooks:Artificial_Intelligence\" title=\"Wikibooks:Artificial Intelligence\"\u003Edraft policy\u003C/a\u003E and provide feedback on \u003Ca href=\"/wiki/Wikibooks_talk:Artificial_Intelligence\" title=\"Wikibooks talk:Artificial Intelligence\"\u003Eits talk page\u003C/a\u003E.\n\u003C/p\u003E\n\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E";}}());</script></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <h1 id="firstHeading" class="firstHeading mw-first-heading">View source for Help:Editing</h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="This article exist only in this language. Add the article for other languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-0" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">Add languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span></div> </div> </div> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-help" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Help:Editing" title="View the help page [c]" accesskey="c"><span>Help page</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Help_talk:Editing" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="vector-tab-noicon mw-list-item"><a href="/wiki/Help:Editing"><span>Read</span></a></li><li id="ca-viewsource" class="selected vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:Editing&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e"><span>View source</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Help:Editing&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="vector-more-collapsible-item mw-list-item"><a href="/wiki/Help:Editing"><span>Read</span></a></li><li id="ca-more-viewsource" class="selected vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:Editing&amp;action=edit"><span>View source</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Help:Editing&amp;action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Help:Editing" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Help:Editing" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard?uselang=en" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Help:Editing&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fen.wikibooks.org%2Fw%2Findex.php%3Ftitle%3DHelp%3AEditing%26action%3Dedit"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fen.wikibooks.org%2Fw%2Findex.php%3Ftitle%3DHelp%3AEditing%26action%3Dedit"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-sister_projects" class="vector-menu mw-portlet mw-portlet-sister_projects" > <div class="vector-menu-heading"> Sister projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-Wikipedia" class="mw-list-item"><a href="https://en.wikipedia.org/wiki/Main_Page"><span>Wikipedia</span></a></li><li id="n-Wikiversity" class="mw-list-item"><a href="https://en.wikiversity.org/wiki/Wikiversity:Main_Page"><span>Wikiversity</span></a></li><li id="n-Wiktionary" class="mw-list-item"><a href="https://en.wiktionary.org/wiki/Wiktionary:Main_Page"><span>Wiktionary</span></a></li><li id="n-Wikiquote" class="mw-list-item"><a href="https://en.wikiquote.org/wiki/Main_Page"><span>Wikiquote</span></a></li><li id="n-Wikisource" class="mw-list-item"><a href="https://en.wikisource.org/wiki/Main_Page"><span>Wikisource</span></a></li><li id="n-Wikinews" class="mw-list-item"><a href="https://en.wikinews.org/wiki/Main_Page"><span>Wikinews</span></a></li><li id="n-Wikivoyage" class="mw-list-item"><a href="https://en.wikivoyage.org/wiki/Main_Page"><span>Wikivoyage</span></a></li><li id="n-Commons" class="mw-list-item"><a href="https://commons.wikimedia.org/wiki/Main_Page"><span>Commons</span></a></li><li id="n-Wikidata" class="mw-list-item"><a href="https://www.wikidata.org/wiki/Wikidata:Main_Page"><span>Wikidata</span></a></li><li id="n-MediaWiki" class="mw-list-item"><a href="https://www.mediawiki.org/wiki/Main_Page"><span>MediaWiki</span></a></li><li id="n-Meta-Wiki" class="mw-list-item"><a href="https://meta.wikimedia.org/wiki/Main_Page"><span>Meta-Wiki</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q151637" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> </div> <div id="contentSub"><div id="mw-content-subtitle">← <a href="/wiki/Help:Editing" title="Help:Editing">Help:Editing</a></div></div> <div id="mw-content-text" class="mw-body-content"><p>You do not have permission to edit this page, for the following reasons: </p> <ul class="permissions-errors"><li class="mw-permissionerror-protectedpagetext"><table id="mw-semiprotectedpagetext" class="plainlinks fmbox fmbox-system" style="border-style:none;"> <tbody><tr> <td class="mbox-text" style=""> <style data-mw-deduplicate="TemplateStyles:r4440586">.mw-parser-output .ombox{margin:4px 0;border-collapse:collapse;border:1px solid #a2a9b1;background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizing:border-box;color:var(--color-base,#202122)}.mw-parser-output .ombox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .ombox-speedy{border:2px solid #b32424;background-color:#fee7e6}.mw-parser-output .ombox-delete{border:2px solid #b32424}.mw-parser-output .ombox-content{border:1px solid #f28500}.mw-parser-output .ombox-style{border:1px solid #fc3}.mw-parser-output .ombox-move{border:1px solid #9932cc}.mw-parser-output .ombox-protection{border:2px solid #a2a9b1}.mw-parser-output .ombox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .ombox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .ombox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .ombox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ombox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .ombox{margin:4px 10%}.mw-parser-output .ombox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}body.skin--responsive .mw-parser-output table.ombox img{max-width:none!important}@media screen{html.skin-theme-clientpref-night .mw-parser-output .ombox-speedy{background-color:#310402}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .ombox-speedy{background-color:#310402}}</style><table class="plainlinks ombox ombox-protection" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Semi-protection-shackle-keyhole.svg/40px-Semi-protection-shackle-keyhole.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Semi-protection-shackle-keyhole.svg/60px-Semi-protection-shackle-keyhole.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Semi-protection-shackle-keyhole.svg/80px-Semi-protection-shackle-keyhole.svg.png 2x" data-file-width="512" data-file-height="512" /></span></span></td><td class="mbox-text" style="font-weight:bold;font-size:130%;">This page is currently semi-protected and can be edited only by established registered users.</td></tr></tbody></table> <table class="wikitable" width="100%"> <tbody><tr> <th>Why is the page protected?</th> <th>What can I do?</th> </tr> <tr style="vertical-align:top;"> <td style="width:35%;"> <ul> <li> While most pages can be edited by anyone, semi-protection is sometimes necessary to prevent vandalism to popular pages.</li> <li> The reason for protection can be found in the <a class="external text" href="https://en.wikibooks.org/w/index.php?title=Special:Log&amp;type=protect&amp;page=Help:Editing">protection log</a>. If there are no relevant entries in the protection log, the page may <a class="external text" href="https://en.wikibooks.org/w/index.php?title=Special:Log&amp;type=move&amp;page=Help:Editing">have been moved</a> after being protected.</li></ul> </td> <td><ul><li> If you have a user account, <a href="/wiki/Special:UserLogin" title="Special:UserLogin">log in</a> first. If you do not yet have an account, you may <a class="external text" href="https://en.wikibooks.org/w/index.php?title=Special:UserLogin&amp;type=signup">create one</a>; after 4 days, you will be able to edit semi-protected pages.</li> <li><a href="/wiki/Help_talk:Editing" title="Help talk:Editing">Discuss this page</a> with others.</li> <li><a href="/wiki/Wikibooks:Reading_room/Administrative_Assistance" title="Wikibooks:Reading room/Administrative Assistance">Request unprotection</a> of the page.</li> </ul> </td> </tr> </tbody></table> </td> </tr> </tbody></table></li><li class="mw-permissionerror-globalblocking-blockedtext-range"><b>Your IP address is in a range that has been <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Global_blocks" class="extiw" title="m:Special:MyLanguage/Global blocks">blocked on all Wikimedia Foundation wikis</a>.</b> <p>The block was made by <a href="/wiki/User:Jon_Kolbert" title="User:Jon Kolbert">‪Jon Kolbert‬</a>. The reason given is <i><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/NOP" class="extiw" title="m:Special:MyLanguage/NOP">Open proxy/Webhost</a>: See the <a href="https://meta.wikimedia.org/wiki/WM:OP/H" class="extiw" title="m:WM:OP/H">help page</a> if you are affected </i>. </p> <ul><li>Start of block: 15:12, 27 August 2023</li> <li>Expiry of block: 15:12, 27 August 2028</li></ul> <p>Your current IP address is 8.222.208.146. The blocked range is 8.222.128.0/17. </p><p>Please include all above details in any queries you make. If you believe you were blocked by mistake, you can find additional information and instructions in the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/No_open_proxies" class="extiw" title="m:Special:MyLanguage/No open proxies">No open proxies</a> global policy. </p> Otherwise, to discuss the block please <a href="https://meta.wikimedia.org/wiki/Steward_requests/Global" class="extiw" title="m:Steward requests/Global">post a request for review on Meta-Wiki</a>. You could also send an email to the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards" class="extiw" title="m:Special:MyLanguage/Stewards">stewards</a> <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/VRT" class="extiw" title="m:Special:MyLanguage/VRT">VRT</a> queue at <kbd>stewards@wikimedia.org</kbd> including all above details.</li></ul><hr /> <p>You can view and copy the source of this page. </p><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="en" dir="ltr" name="wpTextbox1">{{shortcut|WB:EDIT}} {{Wikibooks help}} Wikibooks is a [[w:Wiki|wiki]], which means that anyone can easily edit any unprotected page and save those changes immediately to that page. After your first edit, you are a Wikibooks editor! To request a change to a protected page, you may add your suggestion to the talk page. If you just want to experiment, please do so in the [[Wikibooks:sandbox|sandbox]]. Editing a Wikibooks page is very easy. Simply click on the ''Edit'' tab at the top of a Wikibooks page. This will bring you to a new page with a text box containing the editable text of the original page. Once you're done, write a short edit summary in the small field below the edit box. You may use shorthand to describe your changes, and when you have finished, press the ''Show preview'' button to see how your changes will look. You can also see the difference between the page with your edits and the previous version of the page by pressing the ''Show changes'' button. If you're satisfied with what you see, be bold and press the ''Save page'' button. Your changes will immediately be visible to other Wikibooks users. {{TOC left|limit=3}} [[File:English Wikibooks editing.png|475px|thumb|center|What you'll see when you go to edit a page and choose the ''Edit'' option.]] {{Clear}} == Composition of an edit page == The editing page consists of these sections: * [[#Edit toolbar|Edit toolbar]] * Editing text box * [[#Edit summary|Edit summary]] box * [[#Minor edit checkbox|Minor edit]], [[Help:Tracking changes#Watching pages|Watch this page]] checkboxes * Save page, [[#Show preview button|Show preview]], [[Help:Tracking changes#Viewing diffs|Show changes]] buttons * Cancel, Editing help links * A list of [[Help:Template|template]]s used on the page * A preview, if you have requested one. Your preferences may place the preview at the top of the page instead. ===Edit toolbar=== The '''edit toolbar''' above the editing text box helps you produce '''wiki markup''', instructions used to stylize text on a wiki page. In the edit toolbar above the editing text box seen when editing a page, if you click ''Help'' you can see what effects are possible with wiki markup. Another way you can learn how to produce specific effects is to click ''Edit'' on a page that contains the effect you wish to copy and see what markup is used. {| class="wikitable" style="width:100%;" ! width="26%" | Name ! width="36%" | Markup ! width="37%" | Displays |- ! colspan="3" style="text-align:left; background-color:#cccccc;" | Basic |- | [[File:Toolbaricon_bold_B.png|link=]] Bold | &lt;syntaxhighlight lang="wikitext">Make text '''bold'''&lt;/syntaxhighlight> | Make text '''bold''' |- | [[File:Toolbaricon_italic_I.png|link=]] Italic | &lt;syntaxhighlight lang="wikitext">Make text ''italic''&lt;/syntaxhighlight> | Make text ''italic'' |- | [[File:Button_underline_he.png|link=]] Underline | &lt;syntaxhighlight lang="wikitext">Make text&lt;u>underlined&lt;/u>&lt;/syntaxhighlight> | Make text &lt;u>underlined&lt;/u> |- | [[File:Vector_strikeout.png|link=]] Strikeout | &lt;syntaxhighlight lang="wikitext">&lt;s>Strike out&lt;/s> text&lt;/syntaxhighlight> | &lt;s>Strike out&lt;/s> text |- | [[File:Vector_toolbar_insert_link_button.png|link=]] [[#Links|Link]] | &lt;syntaxhighlight lang="wikitext">Link to [[Help:Contents|a page]], [[#Sections|a section of a page]] or an [http://www.wikimedia.org external page].&lt;/syntaxhighlight> | Link to [[Help:Contents|a page]], [[#Sections|a section of a page]] or an [http://www.wikimedia.org external page]. |- | [[File:Vector toolbar insert image button.png|link=]] Embed [[Help:Files|file]] | &lt;syntaxhighlight lang="wikitext">[[File:Vector toolbar insert image button.png]]&lt;/syntaxhighlight> | [[File:Vector toolbar insert image button.png]] |- | [[File:Vector toolbar insert reference button.png|link=]] Insert [[#References|references]] | &lt;syntaxhighlight lang="wikitext">Example text&lt;ref>It is a note!&lt;/ref>&lt;/syntaxhighlight> | Example text&lt;span style="color:#002bb8">&lt;sup>[1]&lt;/sup>&lt;/span> |- | [[File:Vector toolbar signature button.png|link=]] Signature | &lt;syntaxhighlight lang="wikitext">Thanks guys --~~~~&lt;/syntaxhighlight> | Thanks guys --[[User:Example|Example]] 07:46, 27 November 2005 (UTC) |- ! colspan="3" style="text-align:left; background-color:#cccccc;" | Advanced |- | &lt;span style="padding: 4px; color: #333; border:1px solid silver; background: white; cursor: pointer"> Heading [[File:MediaWiki_Vector_skin_action_arrow.png|link=]]&lt;/span> Dropdown list for headings of different levels | &lt;syntaxhighlight lang="wikitext"> == Level 2 (Section heading) == === Level 3 === ==== Level 4 ==== ===== Level 5 =====&lt;/syntaxhighlight> | {{hiddenh2|Level 2 (Section heading)}}{{hiddenh3|Level 3}}{{hiddenh4|Level 4}}{{hiddenh5|Level 5}} |- | &lt;span style="padding: 4px; color: #333; border:1px solid silver; background: white; cursor: pointer"> Text Type [[File:MediaWiki_Vector_skin_action_arrow.png|link=]]&lt;/span> Dropdown list for text or programming code of different types | &lt;syntaxhighlight lang="wikitext">&lt;tt>Teletype text&lt;/tt>, &lt;code>inline code&lt;/code>, &lt;source lang="text">generic source code&lt;/source>&lt;/syntaxhighlight> | &lt;tt>Teletype text&lt;/tt>, &lt;code>inline code&lt;/code>, &lt;syntaxhighlight lang="text">generic source code&lt;/syntaxhighlight> |- | [[File:Vector toolbar bulleted list button.png|link=]] Insert a bulleted [[#Lists|list]] item | &lt;syntaxhighlight lang="wikitext">* Bulleted list item&lt;/syntaxhighlight> | * Bulleted list item |- | [[File:Vector toolbar numbered list button.png|link=]] Insert a numbered [[#Lists|list]] item | &lt;syntaxhighlight lang="wikitext"># Numbered list item&lt;/syntaxhighlight> | # Numbered list item |- | [[File:Vector toolbar indentation button.png|link=]] Text indentation | &lt;syntaxhighlight lang="wikitext">:Indented line&lt;/syntaxhighlight> | :Indented line |- | [[File:Vector toolbar no wiki formatting button.png|link=]] Ignore wiki markup | &lt;syntaxhighlight lang="wikitext">&lt;nowiki>&lt;math>2^3&lt;/math>&lt;/nowiki>&lt;/syntaxhighlight> | &lt;syntaxhighlight lang="wikitext">&lt;math>2^3&lt;/math>&lt;/syntaxhighlight> |- | [[File:Vector toolbar insert new line button.png|link=]] Insert new line | &lt;syntaxhighlight lang="wikitext"> example &lt;br /> text&lt;/syntaxhighlight> | example &lt;br /> text |- | [[File:Vector toolbar big text button.png|link=]] Big text | &lt;syntaxhighlight lang="wikitext">&lt;big>Big text&lt;/big>&lt;/syntaxhighlight> | &lt;big>Big text&lt;/big> |- | [[File:Vector toolbar small text button.png|link=]] Small text | &lt;syntaxhighlight lang="wikitext">&lt;small>Small text&lt;/small>&lt;/syntaxhighlight> | &lt;small>Small text&lt;/small> |- | [[File:Vector toolbar superscript button.png|link=]] Superscript text | &lt;syntaxhighlight lang="wikitext">&lt;sup>Superscript text&lt;/sup>&lt;/syntaxhighlight> | &lt;sup>Superscript text&lt;/sup> |- | [[File:Vector toolbar subscript button.png|link=]] Superscript text | &lt;syntaxhighlight lang="wikitext">&lt;sub>Subscript text&lt;/sub>&lt;/syntaxhighlight> | &lt;sub>Subscript text&lt;/sub> |- | [[File:Vector toolbar insert picture gallery button.png|link=]] Insert picture [[Help:Files#Galleries|gallery]] | &lt;syntaxhighlight lang="wikitext"> &lt;gallery> File:Example.jpg|Caption1 File:Example.jpg|Caption2 &lt;/gallery>&lt;/syntaxhighlight> | &lt;gallery> File:Example.jpg|Caption1 File:Example.jpg|Caption2 &lt;/gallery> |- | [[File:Vector toolbar insert table button.png|link=]] Insert [[Help:Tables|table]] (opens a configuration window to select the number of rows and columns and some other options) | &lt;syntaxhighlight lang="wikitext"> {| class="wikitable" |- ! Header text |- | Example |} &lt;/syntaxhighlight> | {| class="wikitable" |- ! Header text |- | Example |} |- | [[File:Vector toolbar redirect button.png|link=]] Page [[#Redirecting|redirect]] | &lt;syntaxhighlight lang="wikitext">#REDIRECT [[WB:HELP]]&lt;/syntaxhighlight> | [[File:Redirect arrow without text.svg|link=|#REDIRECT]] [[WB:HELP]] |- | [[File:Vector toolbar search-replace button.png|link=]] Search and replace | Opens the search and replace window |} ==={{anchor|Edit summaries}}Edit summary=== {{shortcut|WB:ES}} An '''edit summary''' is a brief explanation of an edit to a Wikibooks page. When you edit a page, there is a small text entry field, which is labeled "Edit summary", located under the main edit box and above the "Save page" button. Edit summaries are displayed in lists of changes (such as [[Help:Tracking changes#Page history|page histories]] and [[Help:Tracking changes#Watching pages|watchlists]]), and at the top of [[Help:Tracking changes#Viewing diffs|diff]] pages. It is good practice to fill in the "Edit summary" field, or add to it in the case of [[#Sections|section editing]], as this helps others to understand the intention of your edit. To avoid accidentally leaving edit summaries blank, you can select "Prompt me when entering a blank edit summary" on the Editing tab of your [[Special:Preferences|user preferences]], if you have created an account. ====Always provide an edit summary==== It is considered good practice to always provide an edit summary, but it is especially important when [[#Reverting|reverting]] the actions of other editors, or if you delete any text; otherwise, people may question your motives for the edit. Accurate summaries help other editors decide whether it is worthwhile for them to check a change, and to understand it if they choose to check it. Summaries are less essential for "[[#Minor edit|minor changes]]", but a summary like "fixed spelling" is helpful even then. ====Qualities of good summaries==== * ''Summarize''. Summarize the change, even if only briefly; even a short summary is better than no summary. * ''Explain''. Give reasons for the change, if there is a reasonable chance that other editors may be unclear as to why it was made. * ''Abbreviations''. Experienced users, especially those with many edits to make, will often use abbreviations in order to save time; for example, "rv" for "[[#Reverting|revert]]", or shortcuts for Wikibooks policies and related pages, e.g., "WB:WIW" for [[Wikibooks:What is Wikibooks]] (see [[Wikibooks:Shortcuts]]). Abbreviations should be used with care, although they save one editor time they may cost readers much more time to figure out what they mean, they can be confusing for inexperienced users, but they are generally fine for small edits such as formatting and grammar changes. * ''Talk pages''. When editing [[WB:TALK|talk pages]], consider copying your comment to the edit summary, especially if it is brief; this allows users to check Recent changes, Page history and User contributions very efficiently. It also reduces the load on the servers. * ''Harmony between text and edit summary''. Make sure that important information is not only included in the edit summary. This applies especially on talk pages. Readers who only see the text may miss that important information, and they may then respond inappropriately through no fault of their own. Try to prevent misunderstandings. If an edit requires more explanation than will fit in the edit summary box, use the ''Discussion'' page instead, and put in the edit summary "see talk" or "see discussion". * ''Avoid misleading summaries''. Mentioning one change but not another one can be misleading to someone who finds the other one more important; add "and misc." to cover the other changes. * ''Avoid inappropriate summaries''. Editors should explain their edits, but not be overly critical or harsh when editing or reverting others' work. This may be perceived as uncivil, and cause tension or bad feelings, which makes collaboration more difficult. Explain what you changed, and cite the relevant policies, guidelines, or principles of good writing, but try not to single out others in a way that may come across as an attack. ====Properties==== * ''Limited to 200 characters''. The edit summary box can hold one line of 200 characters. If you attempt to type or paste more, only the first 200 characters will be displayed—the rest will be discarded. For example attempting to add 10 new characters (at the end or in between) to a summary already containing 195 characters will result in the first 5 new characters being inserted and the second 5 being disregarded. * ''Can be previewed''. The [[#Show preview button|"Show preview" button]] also provides a preview of the edit summary to facilitate checking links. * ''Can't be changed after saving''. After you save the page, you cannot change the edit summary. * ''Doesn't appear in searches''. The [[WB:SEARCH|search function]] cannot search edit summaries, and they are not indexed by external search engines. * ''Wikilinks always rendered; other wikitext coding ignored''. Text in edit summaries renders internal links, including [[#Pipe links|piped links]], and [[#Interwiki links|interwiki links]], even when enclosed within &lt;nowiki>&lt;nowiki> and &lt;/nowiki>&lt;/nowiki>. Therefore, copying wikitext in the edit summary box may be preferable to copying text from the preview, except when one wants to save space. Other wikitext coding is not interpreted. * ''URLs''. When copying an external link from the preview into the edit summary box then, depending on the operating system, the "printable version" is copied, i.e., how it is normally rendered, and in addition, between parentheses, the URL; hence the same information as in the wikitext, but in a different format, as well as a possible sequential number. === {{anchor|Minor edits|Minor edit}}Minor edit checkbox === {{shortcut|WB:MINOR}} A check to the '''minor edit''' box signifies that only superficial differences exist between the current version and the previous version. Examples include typographical corrections, formatting and presentational changes, rearrangement of text without modification of content, etc. A ''minor edit'' is one that the editor believes requires no review and could never be the subject of a dispute, such as changing "teh" to "the". An edit of this kind is marked in its page's [[Help:Tracking changes#Page history|revision history]] with a lower case, bolded "m" character ('''m'''). By contrast, a major edit is one that should be reviewed for its acceptability to all concerned editors. Therefore, any change that affects the ''meaning'' of a page is not minor, even if the edit concerns a single word; for example, the addition or removal of "not", which can change the meaning of a sentence, is a major edit. Because editors may choose to ignore minor edits when reviewing [[Help:Tracking changes#Recent changes|recent changes]], the distinction between major and minor edits is significant. Logged-in users might even set their preferences to not display minor edits. If there is any chance that another editor might dispute a change, it is best not to mark the edit as minor. Users who are not [[WB:LOGIN|logged in]] to Wikibooks are not permitted to mark changes as minor because of the potential for vandalism. The ability to mark changes as minor is one of many reasons to register. A good rule of thumb is that edits consisting solely of spelling corrections, formatting changes, or rearrangement of text without modification of content should be flagged as minor edits. ==== When to mark an edit as a minor edit ==== * Spelling and grammatical corrections. * Simple formatting (''e.g.'', capitalization, punctuation, or properly adding italics to non-English words, like ''folie des grandeurs''). * Formatting that does not change the meaning of the page (''e.g.'', moving a picture, splitting one paragraph into two—where this is not contentious). * Obvious factual errors (''e.g.'', changing "Nixon resigned in 1874" to "Nixon resigned in 1974"). * Fixing layout errors. * Adding or correcting [[#Wikilinks|wikilinks]], or fixing broken references already present in the page. * Removing [[Wikibooks:Vandalism|vandalism]] and graffiti. ==== Things to remember ==== * Any change to the source text, even if it does not affect the presentation of the page in [[HTML]] (if it involves adding a space or a line break, for example) will still be treated as a change according to the database. * Marking a major change as a minor one is considered poor etiquette, especially if the change involves the deletion of some text. * [[#Reverting|Reverting]] a page is not likely to be considered minor under most circumstances. When the status of a page is disputed, and particularly if an [[Help:Glossary#edit war|edit war]] is brewing, then it is better not to mark ''any'' edit as minor. Reverting blatant vandalism is an exception to this rule. * If you ''accidentally'' mark an edit as minor when it was in fact a major edit, you should make a second edit, or dummy edit, noting in the dummy's edit summary that the previous edit was major. As a trivial edit to be made for this purpose, just opening the edit box and saving (''i.e.'' changing nothing) will not work; neither will adding a blank space at the end of a line or a blank line at the end of the page—in these cases the edit is cancelled and the edit summary discarded. However, one can, for example, add an extra space between two words. This will be preserved in the wikitext and recorded as a change, although it will not change the page's appearance when rendered. * It may be worth communicating any disagreement about what is minor via Talk or a message to the contributor, being careful to avoid a flame war ("I thought your change was a bit more than minor—maybe I am being over-sensitive?"). There is a grey area, and many contributors will appreciate feedback on whether they've got it right. * Marking your change as minor affects how it displays in some [[Help:Tracking changes#Watching pages|editors' watchlists]]. If, for example, you mark your talk page comments as "minor", then fewer editors are likely to notice your comment. ==== Exceptions ==== [[Wikibooks:Administrators|Administrators]] and [[Wikibooks:Reviewers|reviewers]] can semi-automatically revert the edits of the last editor of a page; all such [[#Rollback|rollback]] reversions are marked as minor by the wiki software. The intended use of the rollback feature is for cases of vandalism, where the act of reverting any vandalism should be considered minor (and can be ignored in the recent changes list). ==={{anchor|Showing previews|Show preview}}Show preview button=== {{shortcut|WB:PREVIEW}} Below the edit box is a '''Show preview''' button. Pressing this will show you what the page 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 page numerous times in quick succession makes it harder for people to check what changed, and clogs up the [[Help:Tracking changes#Page history|page history]]. It is helpful, to save the page before moving, breaking apart, or combining sections of the page, if you have been making small edits to the page. 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 conflict|edit conflicts]], as people will not see the page on [[Help:Tracking changes#recent changes|recent changes]], and therefore they are less likely to try editing it at the same time as you. If you are [[WB:LOGIN|logged in]], you can set your [[Special:Preferences|preferences]] to show the preview 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. See [[Help:Account management#Preferences]]. Using show preview also prevents your login timing out, which would mean your edits would not be attributed to your username. 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 username 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 [[w:clipboard (software)|clipboard]]. On extremely rare occasions, the Wikibooks servers have hiccups, and you could lose your work. When pressing "Show preview", a preview of the [[#Edit summary|edit summary]] is also obtained; thus (for example) links can be checked. ==Composition of a book page== {{shortcut|WB:SECTION}} ==={{anchor|Section}}Sections=== '''Sections''' are created by creating their headings, as below. &lt;pre> ==Section== ===Subsection=== ====Sub-subsection==== &lt;/pre> Please ''do not'' use only one equals sign on a side (&lt;nowiki>=Heading=&lt;/nowiki>). This would cause a section heading to be as large as the page's name (title). Heading names of sections (including subsections) should be unique on a page. Using the same heading more than once on a page causes problems: * An [[#Wikilinks|internal link (wikilink)]] to a section, in the form &lt;nowiki>[[Pagename#Section heading]]&lt;/nowiki>, will only link to the first section on the page with that name, which may not be the intended target of the link. See [[#Section linking (anchors)|section linking]] on linking to a section. * When a section with a duplicate name is edited, the [[Help:Tracking changes#Page history|edit history]] and [[#Edit summary|summary]] will be ambiguous as to which section was edited. * When saving the page after a section edit, the editor's browser may navigate to the wrong section. ===={{anchor|TOC|Table of contents}}Table of contents (TOC)==== {{Shortcut|WB:TOC}} For each page with more than three section headings, a '''table of contents (TOC)''' is automatically generated from the section headings, unless: *(for a user) [[WB:PREFS|preferences]] are set to turn it off *(for a page) the [[Help:Variables|magic word]] &lt;tt>&lt;nowiki>__NOTOC__&lt;/nowiki>&lt;/tt> (with ''two underscores'' on either side of the word) is added to the page {{anchor|Positioning the TOC}}'''Positioning the TOC''' When either &lt;tt>&lt;nowiki>__FORCETOC__&lt;/nowiki>&lt;/tt> or &lt;tt>&lt;nowiki>__TOC__&lt;/nowiki>&lt;/tt> (with ''two underscores'' on either side of the word) is placed in the wikitext, a TOC is added even if the page has fewer than four headings. With &lt;tt>&lt;nowiki>__FORCETOC__&lt;/nowiki>&lt;/tt>, the TOC is placed before the first section heading. With &lt;tt>&lt;nowiki>__TOC__&lt;/nowiki>&lt;/tt>, it is placed at the same position where this code is placed. There may be some introductory text before the TOC, known as the "lead". Although usually a heading after the TOC is preferable, &lt;tt>&lt;nowiki>__TOC__&lt;/nowiki>&lt;/tt> can be used to avoid being forced to insert a meaningless heading just to position the TOC correctly, i.e., not too low. {{anchor|Floating the TOC}}'''Floating the TOC''' The TOC can, in some instances, be floated either right or left using {{tl|TOC right}} or {{tl|TOC left}} when it is beneficial to the layout of the page, or when the default TOC gets in the way of other elements. Before changing the default TOC to a floated TOC, consider the following guidelines: # If a page will be adversely affected by the change, don't float the TOC. # When floating a TOC, check whether the page layout will be harmed if the TOC is hidden by the user. # Long lists may create very long TOCs. The TOC should not be longer than necessary, whether it is floated or not. Limiting the depth of the TOC can be used to reduce the length of the TOC by hiding nested subsections, rather than using a floating TOC (see below). # The default TOC is placed before the first headline, but after any introductory text (unless changed by the page's editors). If the introductory summary is long enough that a typical user has to scroll down to see the top of the TOC, you may float the TOC so it appears closer to the top of the page. # Floating a wide TOC will produce a narrow column of text for users with low resolutions. If the TOC's width exceeds 30% of the user's visible screen (about twice the size of the Wikibooks navigation bar to the left), then it is not suitable for floating. (Percentages assume a typical user setup.) # If the TOC is placed in the general vicinity of other floated images or boxes, it can be floated as long as the flowing text column does not become narrower than 30% of the average user's visible screen width. # A left-floated TOC may affect bulleted or numbered lists. {{anchor|Limiting the depth of the TOC}}'''Limiting the depth of the TOC''' When a page has a very large number of subsections (such as this page), it may be appropriate to hide lower-level subsections from the TOC. You can specify a limit for the lowest-level section that should be displayed using {{tlx|TOC|limit{{=}}''n''}}, where ''n'' is the number of = signs that are used on each side of the lowest-level section header that should be displayed (e.g. 3 to show ===sections=== but hide ====sections====). The limit=''n'' parameter can also be given to {{tl|TOC left}} or {{tl|TOC right}} the same way. {{anchor|Linking to the TOC}}'''Linking to the TOC''' You can make a link to the TOC using the following: * Same page: ** wikicode: &lt;nowiki>[[#toc|Contents]]&lt;/nowiki> ** link: [[#toc|Contents]] * Different page: ** wikicode: &lt;nowiki>[[Help:Wiki markup#toc|Contents]]&lt;/nowiki> ** link: [[Help:Templates#toc|Contents of Templates Help page]] ====Sections vs. separate pages==== Advantages of separate pages: # [[WB:WLH|what links here]] feature # separate [[WB:PH|edit histories]] # some [[Help:Templates|template]] limits apply ''per page'' # automatic [[#Redirect|redirect]] on renaming # loading ''one'' small page is faster than loading ''one'' large page—but are readers more likely to want to use just one section or to browse many of the sections of the topic?—see advantages of combined pages # ''one'' small page is easier to navigate than ''one'' large page—but see above # can separately be put in [[Help:Categories|categories]] Advantages of one combined page with sections: # loading ''one combined'' page is ''faster and more convenient'' than loading ''several divided'' ones # searching within one large page or its wikitext with a local search function is faster and has advantages over searching several pages using the site search engine or a web search engine # the automatic table of contents provides for convenient navigation. # more likelihood of editorial cohesion of a concept compared to having several pages likely to be independently edited # duplication of items relevant to each section is avoided ==={{anchor|Link}}Links=== {{shortcut|WB:LINK}} {{Meta|Help:Link}} '''Links''' give readers one-click access to other Wikibooks pages, other [[w:Wikimedia project|Wikimedia project]]s, and external websites. ===={{anchor|Wikilink}}Wikilinks==== A '''wikilink''' or '''internal link''' links a page to another page within English Wikibooks. *&lt;nowiki>[[Main Page]]&lt;/nowiki> gives [[Main Page]] (link to ''Main Page'', labeled ''Main Page''). *&lt;nowiki>[[Main Page|Home]]&lt;/nowiki> gives [[Main Page|Home]] (link to ''Main Page'', labeled ''Home''). *&lt;nowiki>[[Main Page]]s&lt;/nowiki> gives [[Main Page]]s, just like &lt;nowiki>[[Main Page|Main Pages]]&lt;/nowiki> does: [[Main Page|Main Pages]]. *&lt;nowiki>[[Main Page|Home]]s&lt;/nowiki> gives [[Main Page|Home]]s, just like &lt;nowiki>[[Main Page|Homes]]&lt;/nowiki> does: [[Main Page|Homes]]. *&lt;nowiki>[[Main Page]]'s&lt;/nowiki> gives [[Main Page]]'s (''punctuation'' is not appended to the link). *&lt;nowiki>[[Main Page]]&lt;&lt;/nowiki>nowiki>s&lt;/nowiki> gives [[Main Page]]&lt;nowiki>s&lt;/nowiki>. *&lt;nowiki>[[Main Page]]''s''&lt;/nowiki> gives [[Main Page]]''s''. *&lt;nowiki>''[[Main Page]]s''&lt;/nowiki> gives ''[[Main Page]]''s. *&lt;nowiki>[[Cookbook|Cook]]book&lt;&lt;/nowiki>nowiki>s&lt;/nowiki> gives [[Cookbook|Cook]]book&lt;nowiki>s&lt;/nowiki>. Links with a specified label are said to be "[[#Piped links|piped]]" because of the pipe symbol used ( | ). For certain types of link, the label will be generated automatically if a pipe is typed with no label after it (thus saving you typing). See [[#Piped links|piped links]] below. The link target is ''case-sensitive except for the first character'' (so [[calculus]] links to [[Calculus]], but [[CAlculus]] does not). If the target of a wikilink does not exist, it is displayed red, and is called a [[Help:Glossary#red link|red link]]. If a red link is clicked, the user is taken to a page where it is possible to create a page under the red-linked title. Red links to a particular (non-existent) title can be detected using the [[WB:WLH|What links here]] feature. If the target of a link is the same as the page on which it appears (a self-link), it is displayed in bold, as in [[Help:Editing]]. Attempting to link normally to a [[Help:Files|file]] page, [[Help:Categories|category]] page or [[#Interlanguage links|interlanguage link]] will produce a different effect: it will place the image on the page, add the page to the category or create an interlanguage link at the edge of the page. To override this behavior, add an initial colon, as in &lt;code>&lt;nowiki>[[:File:Mediawiki.png]]&lt;/nowiki>&lt;/code>, &lt;code>&lt;nowiki>[[:Category:Help]]&lt;/nowiki>&lt;/code>, &lt;code>&lt;nowiki>[[:fr:Help:Contents]]&lt;/nowiki>&lt;/code>. ===={{anchor|Piped link|Pipe trick}}Piped links==== A '''piped link''' is an internal [[#Wikilinks|link]] or [[#Interwiki links|interwiki link]] where the link target and link label are both specified. This is needed in the case that they are not equal, while also the link label is not equal to the link target with the last word extended. This allows linking a word or phrase within the text of a page rather than using "see also", even if the wording does not exactly correspond with the name of the target page. With a suitable browser and depending on the [[WB:PREFS|preferences]] set, one can still see the link target: when you point at the link, the name shows up in a hover box and is also shown in the status bar. For instance: &lt;nowiki>[[Help:Contents|Help]]&lt;/nowiki> will show as [[Help:Contents|Help]]. If in a piped link the part after the "|" is left empty, it is converted to an abbreviated form of the page name on the left, as follows: #any word before the first colon (:), as well as the colon itself, is removed. This word may or may not be a namespace prefix (such as "Help:") or an [[#Interwiki links|interwiki prefix]] (such as "commons:"). #if there is text in parentheses at the end it will be removed #if there are no parentheses but there is a comma, the comma and everything after it is removed #the link will be in whatever case is used. Just like for the four tildes when adding a signature, in a preview, the result already shows up in the preview itself, but the conversion in the edit box is not yet shown. Press "Show changes" to see the change in the wikitext. '''Colon''' * &lt;nowiki>[[Help:Templates|]]&lt;/nowiki> is converted to &lt;nowiki>[[Help:Templates|Templates]]&lt;/nowiki>, which is rendered as [[Help:Templates|Templates]] * &lt;nowiki>[[Programming:C++|]]&lt;/nowiki> is converted to &lt;nowiki>[[Programming:C++|C++]]&lt;/nowiki>, which is rendered as [[Programming:C++|C++]] - even though "Programming:" is not a [[Help:Pages#Namespaces|namespace]] the shortcut works anyway * &lt;nowiki>[[w:Key Largo (film)|]]&lt;/nowiki> is converted to &lt;nowiki>[[w:Key Largo (film)|Key Largo]]&lt;/nowiki>, which is rendered as [[w:Key Largo (film)|Key Largo]] '''Case''' *&lt;nowiki>[[w:pipeline (Unix)|]]&lt;/nowiki> is converted to &lt;nowiki>[[w:pipeline (Unix)|pipeline]]&lt;/nowiki> which is rendered as [[w:pipeline (Unix)|pipeline]]. *&lt;nowiki>[[w:Pipeline (Unix)|]]&lt;/nowiki> is converted to &lt;nowiki>[[w:Pipeline (Unix)|]]&lt;/nowiki> which is rendered as [[w:Pipeline (Unix)|Pipeline]]. '''Comma''' * &lt;nowiki>[[commons:Boston, Massachusetts|]]&lt;/nowiki> is converted to &lt;nowiki>[[commons:Boston, Massachusetts|Boston]]&lt;/nowiki>, which is rendered as [[commons:Boston, Massachusetts|Boston]]. ===={{anchor|Relative link|Relative links|Subpage link}}Subpage links==== Subpages can be linked to with relative links, without giving the full page name. The following example shows how we link to various pages from the hypothetical &lt;code>Snappy&amp;nbsp;Title/Logical&amp;nbsp;section&lt;/code>. Note that that the full page name in the link title can be suppressed by appending another slash. For more flexibility, use a [[#Piped links|piped link]] as normal. {| class="wikitable" ! Full page name of the link target || Relative link || Displays as |- | &lt;code>Snappy Title&lt;/code> || &lt;code>&lt;nowiki>[[../]]&lt;/nowiki>&lt;/code> | &lt;code>Snappy Title&lt;/code> |- | &lt;code>Snappy Title/Sister page&lt;/code> || &lt;code>&lt;nowiki>[[../Sister page]]&lt;/nowiki>&lt;/code> | &lt;code>Snappy Title/Sister page&lt;/code> |- | &lt;code>Snappy Title/Sister page&lt;/code> || &lt;code>&lt;nowiki>[[../Sister page/]]&lt;/nowiki>&lt;/code> | &lt;code>Sister page&lt;/code> |- | &lt;code>Snappy Title/Logical section/interesting topic&lt;/code> || &lt;code>&lt;nowiki>[[/interesting topic]]&lt;/nowiki>&lt;/code> | &lt;code>Snappy Title/Logical section/interesting topic&lt;/code> |- | &lt;code>Snappy Title/Logical section/interesting topic&lt;/code> || &lt;code>&lt;nowiki>[[/interesting topic/]]&lt;/nowiki>&lt;/code> | &lt;code>interesting topic&lt;/code> |} '''Note''' that the first character of sub-pages is case-sensitive. ===={{anchor|External link}}External links==== '''External links''' use absolute [[w:URL|URL]]s to link directly to any webpage. External links are in the form &lt;code>&lt;nowiki>[http://www.example.org link name]&lt;/nowiki>&lt;/code> (resulting in [http://www.example.org link name]), with the link name separated from the URL by a space. Links without link names appear numbered: &lt;code>&lt;nowiki>[http://www.example.org]&lt;/nowiki>&lt;/code> becomes [http://www.example.org]. Links with no square brackets display in their entirety: http://www.example.org . [[Special:LinkSearch]] finds all pages linking to a given site. The external link syntax can also be used to link to particular page versions within Wikibooks that are not accessible by wikilinks, such as page [[Help:Tracking changes#Page history|history]], edit view, an old version of a page, the [[Help:Tracking changes#Viewing diffs|diff]] between two versions, etc. To display a link without the arrow icon, place the external link syntax between &lt;tt>&amp;lt;span class="plainlinks">...&amp;lt;/span>&lt;/tt> tags. ===={{anchor|Section link|Section links}}Section links (anchors)==== To link to a section in the same page you can use: &lt;tt>&lt;nowiki>[[#Section name|displayed text]]&lt;/nowiki>&lt;/tt>, and to link to a section in another page: &lt;tt>&lt;nowiki>[[Page Name#Section name|displayed text]]&lt;/nowiki>&lt;/tt>. The section title in fact points to an "anchor" on the target page. It is possible to define anchors other than explicit section titles, using the [[Help:Templates|template]] {{tlx|anchor|anchor name}}. However &lt;code>&lt;nowiki>[[#top]]&lt;/nowiki>&lt;/code> and &lt;code>&lt;nowiki>[[#toc]]&lt;/nowiki>&lt;/code> are reserved names that link to the top of a page and the table of contents, respectively. Section links still work if the wikilink is a [[#Redirect|redirect]] (for example, if [[Help:About]] redirects to [[Wikibooks:Welcome]], then [[Help:About#General Information]] will link to the "General Information" section of [[Wikibooks:Welcome]]). It is also possible to put section links inside redirects. For example, [[WB:LINK]] redirects to [[Help:Editing#Links]]. Note that an explicit section link overrides any section link in a redirect, so [[WB:LINK#Interwiki links]] will go to the "Interwiki links" section of this page. Anchor links can also be added to [[#External links|external links]] and to [[#Interwiki links|interwiki links]], again using the # syntax. ===={{anchor|Interlanguage link}}Interlanguage links==== '''Interlanguage links''' are links from any page at here at the English language Wikibooks to nearly equivalent or exactly equivalent pages in another language Wikibooks. The interlanguage links take the following form: :&lt;nowiki>[[language code:Title]]&lt;/nowiki> where the language code is the two-letter code as per [[w:ISO 639-1|ISO 639-1]]. (See [[m:List of Wikibooks|Complete list of language Wikibooks available]]. English is "en", Japanese is "ja", etc.) So for example in the English language book on [[Calculus]], which is available on many other wikis, the interlanguage links might look like this: :&lt;nowiki>[[ja:解析学基礎]]&lt;/nowiki> :&lt;nowiki>[[nl:Analyse]]&lt;/nowiki> :&lt;nowiki>[[zh:微积分学]]&lt;/nowiki> Note: These links are treated specially, and don't show up in the body of the text, but rather in a special sidebar section "in other languages" listed by language name. Technically they can go anywhere in the page; placement does not alter the visual appearance of the links on the rendered page except for the order. However, the convention is to put them at the bottom of the wikitext. ===={{anchor|Interwiki link}}Interwiki links==== {| class="wikitable sortable" style="margin-bottom:0; float:right;" ! Project !! Long form !! Shortcut |- | [[w:Wikipedia|Wikipedia]] | &lt;code>[[[[wikipedia:]]]]&lt;/code> | &lt;code>[[[[w:]]]]&lt;/code> |- | [[w:Wiktionary|Wiktionary]] | &lt;code>[[[[wiktionary:]]]]&lt;/code> | &lt;code>[[[[wikt:]]]]&lt;/code> |- | [[w:Wikinews|Wikinews]] | &lt;code>[[[[wikinews:]]]]&lt;/code> | &lt;code>[[[[n:]]]]&lt;/code> |- | [[w:Wikiquote|Wikiquote]] | &lt;code>[[[[wikiquote:]]]]&lt;/code> | &lt;code>[[[[q:]]]]&lt;/code> |- | [[w:Wikisource|Wikisource]] | &lt;code>[[[[wikisource:]]]]&lt;/code> | &lt;code>[[[[s:]]]]&lt;/code> |- | [[w:Wikispecies|Wikispecies]] | &lt;code>[[[[wikispecies:]]]]&lt;/code> | &lt;code>[[[[species:]]]]&lt;/code> |- | [[w:Wikiversity|Wikiversity]] | &lt;code>[[[[wikiversity:]]]]&lt;/code> | &lt;code>[[[[v:]]]]&lt;/code> |- | [[w:Wikivoyage|Wikivoyage]] | &lt;code>[[[[wikivoyage:]]]]&lt;/code> | &lt;code>[[[[voy:]]]]&lt;/code> |} An '''interwiki link''' links to a page on another Wikimedia project website, such as [[w:|Wikipedia]] or another language Wikibooks. Other sites are listed in the [[m:Interwiki map|interwiki map]]. These links have the same &lt;nowiki>[[...]]&lt;/nowiki> syntax as [[#Wikilinks|wikilinks]] (see above), but take a prefix which specifies the target site. For example, &lt;nowiki>[[w:Help:Contents]]&lt;/nowiki> links to the "Help:Contents" page on Wikipedia. Links can be piped as with wikilinks. Remember that an [[#Interlanguage links|interlanguage link]] should be preceded by a colon if it is to be displayed where it appears in the text; otherwise it will be listed at the side of the page (which is appropriate only if it is the most closely corresponding page in the other language Wikibooks). Interwiki links (like external links) are displayed in a slightly paler blue than ordinary wikilinks. MediaWiki does not detect whether these target pages exist, so they are never displayed red. The interwiki links for the major Wikimedia projects are shown at right. Some people prefer to use templates that wrap the above interwiki link syntax with some nice formatting -- {{tl|Wikipedia}}, {{tl|Wikipediapar}}, {{tl|Wikipedia-inline}}, {{tl|Wikiversity}}, {{tl|Wikisource}}, {{tl|Wikiquote}}, {{tl|Wikivoyage}}, etc. {{clear}} ==={{anchor|Footnote|Footnotes|Reference}}References=== {{shortcut|WB:REFS}} '''References''' present [[w:citation|citation]]s to reliable sources that support assertions. '''Footnotes''' add explanatory material and are useful if the added information would be distracting if written out in the main text. ====Inserting references==== {{anchor|Single citation of a reference or footnote}}'''Single citation of a reference or footnote''' At the point of citation in the page, enter the footnote or reference like this: :&lt;code>&lt;nowiki>&lt;ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.&lt;/ref>&lt;/nowiki>&lt;/code> You can include formatting and links in the footnote or reference in the usual way. The reference becomes visible in the &lt;nowiki>&lt;references/>&lt;/nowiki> list at the bottom, if there is one. {{anchor|Creating the list of references or footnotes}}'''Creating the list of references or footnotes''' At the point where you want the text of the footnotes or references to appear (usually at the end of the page in a '''Notes''' or '''References''' section), insert the tag: :&lt;code>&lt;nowiki>&lt;references/>&lt;/nowiki>&lt;/code> The template {{tl|reflist}} is an alternative, mostly used if there are many footnotes. {{anchor|Multiple citations of the same reference or footnote}}'''Multiple citations of the same reference or footnote''' To cite the same reference or footnote several times, identify it using the &lt;code>name&lt;/code> parameter of the &lt;code>&lt;nowiki>&lt;ref>&lt;/nowiki>&lt;/code> tag. At one of the citation points (it makes sense to choose the first), enter the reference like this: :&lt;code>&lt;nowiki>&lt;ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.&lt;/ref>&lt;/nowiki>&lt;/code> Then at all the other citation points, just enter: :&lt;code>&lt;nowiki>&lt;ref name="Perry"/>&lt;/nowiki>&lt;/code> You are free to pick any footnote name, subject to a few rules. The footnote name is internal and will not be displayed anywhere when the page is viewed. Footnote names are case sensitive and may not be a numeric integer. Names and groups should be kept simple and restricted to the standard English alphabet and numerals. {{anchor|Using templates to insert reference text}}'''Using templates to insert reference text''' A number of [[Help:Templates|templates]], such as a generic {{tl|citation}}, or more specific {{tl|cite book}}, {{tl|cite web}}, etc., are available to format the text between &lt;code>&lt;nowiki>&lt;ref>&lt;/nowiki>&lt;/code> and &lt;code>&lt;/ref>&lt;/code> tags in a more structured way. These are listed at [[:Category:Citation templates]]. Their use is optional: they do aid with consistent formatting, but on the other hand they can make editing more cumbersome. ====Appearance of references==== The &lt;code>&lt;nowiki>&lt;ref>&lt;/nowiki>&lt;/code> tags in the main text are converted to auto-numbered superscripts, like this: {|class="wikitable" | The only reference to Excel For Dummies.&lt;ref>Excel For Dummies, First Edition, Hungry Minds, Inc., 1980.&lt;/ref> The first reference to Perry's Handbook.&lt;ref name="Perry">Perry's Handbook, Sixth Edition, McGraw-Hill Co., 1984.&lt;/ref> The second reference to Perry's Handbook and to another, related book.&lt;ref name="Perry"/>&lt;ref>Nuclear Chemical Engineering (2nd Edition), McGraw-Hill Co., 1981.&lt;/ref> A statement that requires a reference. The only reference to Linux in a Nutshell.&lt;ref>Linux in a Nutshell, O'Reily Co., 2003.&lt;/ref> And third reference to Perry's Handbook.&lt;ref name="Perry"/> |} Clicking on a numbered superscript takes you straight to the text of the corresponding footnote or reference. The &lt;code>&lt;nowiki>&lt;references/>&lt;/nowiki>&lt;/code> tag is expanded to show the text of the footnotes or references against their corresponding numbers, like this: {| class="wikitable" | &lt;references/> |} For single citations, clicking on the arrow (&lt;span style="color:blue;">'''↑'''&lt;/span>) takes you to the point of citation in the main text. For multiple citations, the links back to the main text are distinguished by letter superscripts (&lt;span style="color:blue;">'''''a'''''&lt;/span>, &lt;span style="color:blue;">'''''b'''''&lt;/span>, &lt;span style="color:blue;">'''''c'''''&lt;/span> etc.). Clicking on a letter superscript takes you to the corresponding citation in the main text. ====Separate lists of references and footnotes==== Sometimes it is convenient to separate explanatory footnotes from references. This can be accomplished with the "group" parameter: &lt;syntaxhighlight lang="wikitext"> This part of the text requires clarification,&lt;ref group="note">Listed separately from the citation&lt;/ref> whereas the entire text is cited.&lt;ref>Citation.&lt;/ref> ;Notes &lt;references group="note"/> ;References {{reflist|close=1}} &lt;/syntaxhighlight> This part of the text requires clarification,&lt;ref group="note">Listed separately from the citation&lt;/ref> whereas the entire text is cited.&lt;ref>Citation.&lt;/ref> ;Notes &lt;references group="note"/> ;References {{Reflist|close=1}} Note that, at present, such footnotes cannot themselves contain reference links. Footnotes may also be listed at the ends of each section of text by closing the {{tl|reflist}} template with the "close" parameter, as shown in the box just above. ====List-defined references==== The software also allows named references to be defined within the reference list rather than in the main text. This can make editing pages much easier, particularly on heavily cited sections. For example: &lt;syntaxhighlight lang="wikitext">The quick brown fox jumps over the lazy dog.&lt;ref name="LazyDog"/> &lt;references> &lt;ref name="LazyDog">This is the lazy dog reference.&lt;/ref> &lt;/references>&lt;/syntaxhighlight> The quick brown fox jumps over the lazy dog.&lt;ref name="LazyDog"/> &lt;references> &lt;ref name="LazyDog">This is the lazy dog reference.&lt;/ref> &lt;/references> This can also be done using the {{tl|reflist}} template with a {{para|refs}} parameter. If desired, the {{para|group}} parameter can be used to group references for the template: &lt;syntaxhighlight lang="wikitext">How razorback-jumping frogs&lt;ref name="Batteries" group="note"/> can level six piqued gymnasts.&lt;ref name="JumpingFrogs"/> ;Notes {{reflist|group="note"| refs= &lt;ref name="Batteries" group="note">Batteries not included.&lt;/ref> }} ;References {{reflist| refs= &lt;ref name="JumpingFrogs">This is the jumping frogs reference.&lt;/ref> }}&lt;/syntaxhighlight> How razorback-jumping frogs&lt;ref name="Batteries" group="note"/> can level six piqued gymnasts.&lt;ref name="JumpingFrogs"/> ;Notes {{reflist|group="note"| refs= &lt;ref name="Batteries" group="note">Batteries not included.&lt;/ref> }} ;References {{reflist| refs= &lt;ref name="JumpingFrogs">This is the jumping frogs reference.&lt;/ref> }} ==={{anchor|List}}Lists=== {{shortcut|WB:LIST}} There are three types of lists: '''unordered lists''', '''ordered lists''', and '''definition lists'''. {|class="wikitable" style="width:80%;" !wikitext!!rendering |- | * Unordered lists are easy to do: ** start every line * with a star ** more stars mean *** deeper levels || * Unordered lists are easy to do: ** start every line * with a star ** more stars mean *** deeper levels |- | * A newline * in a list marks the end of the list. Of course * you can * start again. | * A newline * in a list marks the end of the list. Of course * you can * start again. |- | # Numbered (ordered) lists are good ## very organized ## easy to follow | # Numbered (ordered) lists are good ## very organized ## easy to follow |- | * You can also ** break lines ** like this | * You can also ** break lines ** like this |- | ; Definition lists ; item : definition ; semicolon plus term : colon plus definition | ; Definition lists ; item : definition ; semicolon plus term : colon plus definition |- | * Or create mixed lists *# and nest them *#* like this *#*; definitions *#*: work: *#*; apple *#*; banana *#*: fruits | * Or create mixed lists *# and nest them *#* like this *#*; definitions *#*: work: *#*; apple *#*; banana *#*: fruits |} For simplicity, list items in wiki markup cannot be longer than a paragraph. A following blank line will end the list and reset the counter on ordered lists. Separating unordered list items with blank lines may look approximately normal on your screen, but it creates many separate one-item lists, which is a problem for people using [[w:screen readers|screen readers]], causing accessibility problems for people with disabilities. ===Other items=== * [[Help:Categories|Categories]] * [[Help:Files|Files]] * [[Help:Tables|Tables]] * [[Help:Templates|Templates]] ==Common tasks== ==={{anchor|Revert}}Reverting=== {{shortcut|WB:REVERT}} On Wikibooks, '''reverting''' means undoing the effects of one or more edits, which normally results in the page being restored to a version that existed sometime previously. More broadly, reverting may also refer to any action that in whole or in part reverses the actions of other editors. This page contains technical information about making reverts. It should be borne in mind, however, that reverting good-faith actions of other editors (as opposed to [[Wikibooks:Vandalism|vandalism]]) is considered disruptive when done to excess, and can even lead to the reverter being [[Wikibooks:Blocking policy|blocked]] from editing. ====Manual reverting==== In some cases (for example, if a vandal added or removed text, and unrelated constructive edits have been made since), the easiest way to undo past edits may simply be to edit the current page, deleting wrongly added text or restoring wrongly deleted text (this can be copied and pasted from a past version of the page). However, it may be more convenient to restore a particular old version of the page from prior to the changes you wish to revert. To do this: * Click the "history" tab at the top of the page to display the [[Help:Tracking changes#Page history|page history]]. * Click the time and date of the earlier version to which you wish to revert. You will see a phrase similar to: "This is an old revision of this page, as edited by ***.***.***.*** (talk) at 15:47, January 24, {{CURRENTYEAR}}. It may differ significantly from the current revision." ** '''Important:''' in the case of [[Wikibooks:Vandalism|vandalism]], take the time to make sure that you are reverting to the last version without the vandalism; there may be multiple consecutive vandal edits or they may be interspersed between constructive edits. * Click the ''Edit'' tab as you normally would to edit a page. (Above the edit box, you will see a warning similar to: "You are editing an old revision of this page. If you save it, any changes made since then will be removed.") If editing requires a registered account, log in first, or leave a note on the discussion page. * Complete the [[#Edit summary|edit summary]] field (the abbreviation "rv" can be used to stand for "revert"; the edit summary "rvv" means "reverting vandalism"). * Save the page. * If constructive edits had been made after those that you wished to revert, return to the page history to find those edits, and redo them by hand if reasonably possible. If reverting vandalism, check the [[Help:Tracking changes#User contributions|contribution history]] of the user who vandalized the page. If this user is vandalizing many pages, [[Wikibooks:Reading room/Administrative Assistance|report them]]. ====Undo==== {{shortcut|WB:UNDO}} The MediaWiki software sometimes enables editors to easily revert (or "undo") a single edit from the history of a page, without simultaneously undoing all constructive changes that have been made since. To do this, view the [[Help:Tracking changes#Page history|page history]] or the [[Help:Tracking changes#Viewing diffs|diff]] for the edit, then click on "undo" next to the edit in question. The software will attempt to create an edit page with a version of the page in which the undesirable edit has been removed, but all later edits are retained. There is a default edit summary, but this can be modified before saving. It is also possible to undo several consecutive edits, even if they conflict among themselves: view the diff to be removed (by selecting the two extremal revisions in the history and clicking "compare selected revisions"), and click the "undo" link. This feature removes the need to manually redo useful changes that were made after the edit which is being reverted. However, it will fail if undoing the edit would conflict with later edits. For example, if one edit adds a paragraph and a later edit modifies that paragraph, it will be impossible to automatically undo the earlier edit. In this case, you must determine how to resolve the problem manually. ====Rollback==== {{shortcut|WB:ROLL|WB:ROLLBACK}} [[Wikibooks:Administrators|Administrators]] and [[Wikibooks:Reviewers|reviewers]] who have been granted access to the rollback feature have additional links which: * appear only next to the top edit * revert ''all'' top consequent edits made by last editor * work immediately, without the intermediate confirmation diff page * add automatic [[#Edit summary|edit summary]] "'''m''' Reverted edits by [[Special:Contributions/Example|Example]] ([[User talk:Example|talk]]) to last version by Example2", marking edit as minor Rollback links appear on the [[Help:Tracking changes#User contributions|user contributions]] pages, [[Help:Tracking changes#Watching pages|user watchlists]], [[Help:Tracking changes#Page history|history pages]] and [[Help:Tracking changes#Viewing diffs|diff pages]]. Note that in the last case, rollback links can be misleading, since reversion is not necessarily to the old version shown (the diff page may show the combined result of edits, including some by other editors or only part of the edits the rollback button would revert). To see the changes the rollback button will revert, view the specific diff that compares the last version from the last editor with the last version from the previous editor. Rollback works much quicker than undo, since it: * allows reverting without even looking at the list of revisions or diff * does not require loading an edit page and sending the wikitext back to the server * does not require a click of the save button On the other hand, it is not as versatile as undo, since it does not allow specification of which edits have to be undone. One may want to revert more or less edits than the rollback does or edits which do not include the last edit. It also does not allow adding an explanation to the automatic edit summary and it should only be used to revert obvious vandalism. Rolling back a good-faith edit, without explanation, may be misinterpreted as "I think your edit was no better than vandalism and reverting it doesn't need an explanation". Some editors are sensitive to such perceived slights; if you use the rollback feature other than for vandalism (for example, because undo is impractical due to the large page size), it is courteous to leave an explanation on the book's discussion page or on the talk page of the user, whose edit(s) you have reverted. If someone else edited or rolled back the page before you clicked the "rollback" link, or if there was no previous editor, you will get an error message. ==={{anchor|Redirect|Redirects}}Redirecting=== {{shortcut|WB:REDIRECT}} '''Redirecting''' a page causes navigation to a given title to take the reader directly to a different page. The page the reader visits first is called the '''redirect''' page. ====Syntax of redirects==== A page will be treated as a redirect page if its wikitext begins with &lt;tt>#REDIRECT&lt;/tt> followed by a valid [[#Wikilinks|wikilink]] or [[#Interwiki links|interwiki link]]. A space is usually left before the link. (Note that some alternative capitalizations of "REDIRECT" are possible.) The [[File:Vector toolbar redirect button.png|20px|link=]] button in the [[#Edit toolbar|edit toolbar]] can be used to produce this syntax. Note that a redirect will only work as intended (i.e. take the reader directly to the target page) if the link is to an existing normal page (not a [[Special:SpecialPages|special page]]) on the same project (English Wikibooks). In other cases soft redirects are often used – see [[#Soft redirects|below]]. Examples: *&lt;tt>&lt;nowiki>#REDIRECT [[Help:Tracking changes]]&lt;/nowiki>&lt;/tt> (redirects to the [[Help:Tracking changes]] page) *&lt;tt>&lt;nowiki>#REDIRECT [[Help:Tracking changes#Preferences]]&lt;/nowiki>&lt;/tt> (redirects to the "Preferences" [[#Section|section]] of the [[Help:Tracking changes]] page) *&lt;tt>&lt;nowiki>#REDIRECT [[fr:Help:Tracking changes]]&lt;/nowiki>&lt;/tt> (appears as a redirect to the [[Help:Tracking changes]] page on French Wikibooks, but will not work as a true redirect; this is called a "soft redirect") Any text appearing after the redirect link will be ignored in the display, but may be used to add categories, comments, etc. Note that the redirect link must be explicit – it cannot contain [[Help:Variables|variables]], [[Help:Templates|templates]], etc. When redirecting to a [[Help:Categories|category]] page, prefix the target pagename with a colon to prevent the redirect from showing up in the category. (Redirects from one category page to another should use soft redirects—see [[#Soft redirects|below]].) Redirects to [[Help:Files|file]] pages also require the colon. ====Appearance of redirects==== If the redirect target is an existing page on English Wikibooks, then if a reader navigates to the redirect page—by means of a [[#Wikilinks|wikilink]] or a [[w:URL|URL]]—they will be taken directly to the target page. However, the browser still shows the URL of the redirect page, and the target page shows a small notice below the top title to indicate that you arrived by means of a redirect. For example, if you click [[WB:RR]], you will be redirected to the [[Wikibooks:Reading room]] page, and the top of the page will look like: &lt;blockquote style="background-color: white; color: black; border:1px solid black; padding: 1em;"> &lt;div class="firstHeading" style="color: #000000; background: none; overflow: hidden; page-break-after: avoid; font-size: 1.8em; font-family: 'Linux Libertine',Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA;">Wikibooks:Reading room&lt;/div> &lt;div id="contentSub">(Redirected from &lt;span class="plainlinks">[{{fullurl:WB:RR|redirect=no}} Wikibooks:RR]&lt;/span>)&lt;/div> &lt;/blockquote> To get the canonical URL of the target page in your browser's address bar, click the page's tab. To go to the redirect page itself (to edit it, view its history, etc.), click the link in the "(Redirected from...)" notice. If the redirect target is a non-existing page ([[Help:Glossary#redlink|redlink]]), or a [[Special:SpecialPages|special page]], or a page in another project, then the redirect is not followed, and the reader sees the display of the redirect page (as illustrated below). If the target is a non-existent section of an existing page, then the redirect will take the reader to the top of the target page. Note that chains of redirects are not followed. If title A redirects to B, and B is itself a redirect page, then a reader navigating to A will see the display of the redirect page B (as illustrated above). This situation is called a [[Help:Glossary#double redirect|double redirect]]. ([[Wikibooks:Bots|Bots]] fix such chains so that each redirect points directly to the final target page.) ====Creation of redirects==== A redirect page can be created like any other page. Simply type in the wikitext &lt;tt>&lt;nowiki>#REDIRECT [[&lt;/nowiki>xxx]]&lt;/tt>, replacing "xxx" with the title of the target page (optionally followed by a "#" sign and the section title). The [[File:Vector toolbar redirect button.png|20px|link=]] button in the [[#Edit toolbar|edit toolbar]] above the edit window can be used to save typing (either click it and then insert the desired target, or else type the target, select it with the mouse, then click the button). Make sure that there is no text ''before'' the #REDIRECT keyword, or the redirect will not work. There is not usually any reason to place any text after the link either, although sometimes categories (or categorizing templates) are added. Similarly, any existing page can be edited to turn it into a redirect. If a new redirect page is created or an existing page turned into a redirect page, an [[#Edit summary|edit summary]] will be automatically generated stating that the page has been redirected to the given target. (This is overridden if the editor supplies an edit summary.) When a page is [[WB:MOVE|moved]] (renamed), a redirect is automatically created from the old to the new name, and also one for the corresponding talk page (if that was moved as well). [[Wikibooks:Administrators|Administrators]] can choose to suppress creation of the redirect. If the new page name is occupied by a redirect that has only one edit in its history and targeted to the old page name, it is replaced by the page being moved. If the redirect has more than one history entry, or has a different target page, then the move must be made by an administrator. To edit a page which is already a redirect (or to view its history, talk page, etc.), follow the redirect to the target page, then click on the link in the "(Redirected from ...)" notice at the top of the page. This will take you to the redirect page itself. Another way to get to a redirect page is to go to the target page, and click "[[WB:WLH|What links here]]" (in the toolbox on the left of the page). This will show you all the back-links from that page, including redirects. Clicking on a redirect in this list will take you to the redirect page, not the target. ==== Soft redirects ==== As an alternative to the normal "hard" redirects (which take the reader directly to the target page), it is possible to create [[Help:Glossary#soft redirect|"soft" redirects]], which leave the reader on the redirect page, giving them the option of clicking the link to the target page. This is usually done in the following situations: *When the target is on another project ([[w:|Wikipedia]], other language Wikibooks, etc.) or is a [[Special:SpecialPages|special page]]. (In these situations a hard redirect would behave as a soft one in any case.) *For redirects between categories. (Hard redirects will work for category pages, but soft ones are preferred because of the software's inability to recategorize pages from redirected categories.) Soft redirects are created using the templates {{tl|soft redirect}} and {{tl|category redirect}}. ==Potential problems== ==={{anchor|Protected page|Protected pages}}Page protection === [[Wikibooks:Administrators|Administrators]] are able to '''protect''' a page to restrict editing or moving of that page, and remove such '''protection'''. Protection can be indefinite, or expire after a specified time. *'''Full protection''' prevents editing by everyone except [[Wikibooks:Administrators|administrators]]. *'''Semi-protection''' prevents editing by unregistered contributors and contributors with accounts which are not autoconfirmed. *'''Creation protection''' prevents a page (normally a previously [[Wikibooks:Deletion policy|deleted]] one) from being recreated. *'''Move protection''' protects the page solely from [[WB:MOVE|moves]]. Any type of protection or unprotection may be requested at [[Wikibooks:Reading room/Administrative Assistance]]. Changes to a fully protected page should be proposed on the corresponding [[WB:TALK|talk page]]. See [[Wikibooks:Protected page]] for additional information. ==={{anchor|Edit conflict}}Edit conflicts === {{shortcut|WB:EC}} If someone else makes an edit while you are making yours, the result is an edit conflict. Many conflicts can be automatically resolved by the Wiki. If it can't be resolved, however, you will need to resolve it yourself. To understand what an edit conflict is, consider the following situation: * Alice clicks ''Edit'' on a page. * Bob clicks ''Edit'' on the same page, while Alice is editing. * Alice finishes her edits and clicks "Save page". The page is saved with Alice's version while Bob is still editing. * Bob finishes his edits and clicks "Save page". Bob gets an "edit conflict" page, because the software can't automatically reconcile the differences between Bob's and Alice's versions of the page. The edit conflict page gives Bob a chance to reconcile the differences manually. ==== Layout ==== At the top of the edit conflict page is an editing box containing Alice's version of the whole page, even if Bob is doing section editing. At the bottom of the edit conflict page is a second editing box containing the text Bob was going to submit. This will be Bob's version of the page or section he was editing. Between the two editing boxes is a [[Help:Tracking changes#Viewing diffs|diff]] that shows the difference between Alice's and Bob's version of the page. For the section Bob is editing it shows Bob's changes and Alice's possible changes, except for sections where Bob and Alice have both made the same change. For the other sections it shows the full new text as if all that text was added. Bob can edit in the upper editing box and press Save. ==== Resolution ==== If Bob only made small changes, and Alice made large changes, he may choose to work from Alice's version, and re-merge his changes in. Bob might choose to add some text like "via edit conflict" to the edit summary to warn Alice and others that he had to do this—Alice can then review his merging for accuracy. If Bob made large changes, and Alice made small changes, he may choose to work from his version. One option is for Bob to copy the bottom text into the top text (or just copy over the one section of the top text, if Bob was section editing), with an appropriate [[#Edit summary|edit summary]] (e.g., "via edit conflict, will remerge"). Then Bob can view the page history, determine Alice's changes, and re-apply them to his version, in a separate edit. If both Alice and Bob made large changes, matters become complicated, and Alice and Bob just have to do the best they can. For example, if both Alice and Bob simultaneously add a large section of text on the same subject, then it may be best for Bob to submit his changes, and then for Alice and Bob to both have a look at the two versions and decide between themselves which version is better. Bob should not just post his changes over the top of Alice's. We [[Wikibooks:Assume good faith|assume good faith]]—mistakes are occasionally made, and newcomers may not understand the edit conflict window. However, Bob must not routinely ignore edit conflicts. It is absolutely not acceptable for Bob to overwrite Alice out of laziness. We encourage contributors to double-check their merges by using the [[Help:Tracking changes#Viewing diffs|diff]] feature. ==== Prevention ==== Because edit conflicts are irritating and time-consuming, you may choose to alter your editing habits so they happen less often. One of the easiest ways is to edit the smallest portion of the page necessary. If you are only going to be editing a single section in the page , then click the "Edit" link for that section, rather than the "Edit" link for the entire page. Two people can be working on different sections at the same time, and there will be no edit conflict. To reduce the chance of edit conflicts, Wikibooks also has an "In Use" notice in its [[Help:Templates|Template]] namespace that people may use when editing a page over a long period of time. Simply put {{tl|in use}} on a page before proceeding with a major edit, and remove the template when the editing is complete. == See also == {{Meta|Help:Link}} *[[Editing Wikitext]] * [[Template:Color|text color]] {{Wikibooks editor navigation}} [[ja:Wikibooks:編集の仕方]] [[ko:위키책:편집실]] </textarea><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p>Templates used on this page: </p></div><ul> <li><a href="/wiki/Template:Anchor" title="Template:Anchor">Template:Anchor</a> (<a href="/w/index.php?title=Template:Anchor&amp;action=edit" title="Template:Anchor">edit</a>) </li><li><a href="/wiki/Template:Clear" title="Template:Clear">Template:Clear</a> (<a href="/w/index.php?title=Template:Clear&amp;action=edit" title="Template:Clear">view source</a>) (protected)</li><li><a href="/wiki/Template:Hiddenh2" title="Template:Hiddenh2">Template:Hiddenh2</a> (<a href="/w/index.php?title=Template:Hiddenh2&amp;action=edit" title="Template:Hiddenh2">edit</a>) </li><li><a href="/wiki/Template:Hiddenh3" title="Template:Hiddenh3">Template:Hiddenh3</a> (<a href="/w/index.php?title=Template:Hiddenh3&amp;action=edit" title="Template:Hiddenh3">edit</a>) </li><li><a href="/wiki/Template:Hiddenh4" title="Template:Hiddenh4">Template:Hiddenh4</a> (<a href="/w/index.php?title=Template:Hiddenh4&amp;action=edit" title="Template:Hiddenh4">edit</a>) </li><li><a href="/wiki/Template:Hiddenh5" title="Template:Hiddenh5">Template:Hiddenh5</a> (<a href="/w/index.php?title=Template:Hiddenh5&amp;action=edit" title="Template:Hiddenh5">edit</a>) </li><li><a href="/wiki/Template:Hlist/styles.css" title="Template:Hlist/styles.css">Template:Hlist/styles.css</a> (<a href="/w/index.php?title=Template:Hlist/styles.css&amp;action=edit" title="Template:Hlist/styles.css">edit</a>) </li><li><a href="/wiki/Template:Main_other" title="Template:Main other">Template:Main other</a> (<a href="/w/index.php?title=Template:Main_other&amp;action=edit" title="Template:Main other">view source</a>) (protected)</li><li><a href="/wiki/Template:Meta" title="Template:Meta">Template:Meta</a> (<a href="/w/index.php?title=Template:Meta&amp;action=edit" title="Template:Meta">view source</a>) (protected)</li><li><a href="/wiki/Template:Navbox" title="Template:Navbox">Template:Navbox</a> (<a href="/w/index.php?title=Template:Navbox&amp;action=edit" title="Template:Navbox">view source</a>) (semi-protected)</li><li><a href="/wiki/Template:Nowrap_begin" title="Template:Nowrap begin">Template:Nowrap begin</a> (<a href="/w/index.php?title=Template:Nowrap_begin&amp;action=edit" title="Template:Nowrap begin">view source</a>) (protected)</li><li><a href="/wiki/Template:Nowrap_end" title="Template:Nowrap end">Template:Nowrap end</a> (<a href="/w/index.php?title=Template:Nowrap_end&amp;action=edit" title="Template:Nowrap end">view source</a>) (protected)</li><li><a href="/wiki/Template:Pagetype" title="Template:Pagetype">Template:Pagetype</a> (<a href="/w/index.php?title=Template:Pagetype&amp;action=edit" title="Template:Pagetype">view source</a>) (protected)</li><li><a href="/wiki/Template:Para" title="Template:Para">Template:Para</a> (<a href="/w/index.php?title=Template:Para&amp;action=edit" title="Template:Para">edit</a>) </li><li><a href="/wiki/Template:Pp-meta" title="Template:Pp-meta">Template:Pp-meta</a> (<a href="/w/index.php?title=Template:Pp-meta&amp;action=edit" title="Template:Pp-meta">view source</a>) (protected)</li><li><a href="/wiki/Template:Pp-protected" title="Template:Pp-protected">Template:Pp-protected</a> (<a href="/w/index.php?title=Template:Pp-protected&amp;action=edit" title="Template:Pp-protected">view source</a>) (protected)</li><li><a href="/wiki/Template:Reflist" title="Template:Reflist">Template:Reflist</a> (<a href="/w/index.php?title=Template:Reflist&amp;action=edit" title="Template:Reflist">edit</a>) </li><li><a href="/wiki/Template:Reflist/styles.css" title="Template:Reflist/styles.css">Template:Reflist/styles.css</a> (<a href="/w/index.php?title=Template:Reflist/styles.css&amp;action=edit" title="Template:Reflist/styles.css">edit</a>) </li><li><a href="/wiki/Template:Sec_link/relative_url" title="Template:Sec link/relative url">Template:Sec link/relative url</a> (<a href="/w/index.php?title=Template:Sec_link/relative_url&amp;action=edit" title="Template:Sec link/relative url">view source</a>) (protected)</li><li><a href="/wiki/Template:Sec_link/text" title="Template:Sec link/text">Template:Sec link/text</a> (<a href="/w/index.php?title=Template:Sec_link/text&amp;action=edit" title="Template:Sec link/text">view source</a>) (protected)</li><li><a href="/wiki/Template:Sec_link_auto" title="Template:Sec link auto">Template:Sec link auto</a> (<a href="/w/index.php?title=Template:Sec_link_auto&amp;action=edit" title="Template:Sec link auto">view source</a>) (protected)</li><li><a href="/wiki/Template:Sec_link_image" title="Template:Sec link image">Template:Sec link image</a> (<a href="/w/index.php?title=Template:Sec_link_image&amp;action=edit" title="Template:Sec link image">view source</a>) (protected)</li><li><a href="/wiki/Template:Shortcut" title="Template:Shortcut">Template:Shortcut</a> (<a href="/w/index.php?title=Template:Shortcut&amp;action=edit" title="Template:Shortcut">view source</a>) (protected)</li><li><a href="/wiki/Template:Side_box" title="Template:Side box">Template:Side box</a> (<a href="/w/index.php?title=Template:Side_box&amp;action=edit" title="Template:Side box">view source</a>) (protected)</li><li><a href="/wiki/Template:Sister" title="Template:Sister">Template:Sister</a> (<a href="/w/index.php?title=Template:Sister&amp;action=edit" title="Template:Sister">view source</a>) (protected)</li><li><a href="/wiki/Template:TOC_left" title="Template:TOC left">Template:TOC left</a> (<a href="/w/index.php?title=Template:TOC_left&amp;action=edit" title="Template:TOC left">view source</a>) (protected)</li><li><a href="/wiki/Template:Template_link" title="Template:Template link">Template:Template link</a> (<a href="/w/index.php?title=Template:Template_link&amp;action=edit" title="Template:Template link">edit</a>) </li><li><a href="/wiki/Template:Template_link_expanded" title="Template:Template link expanded">Template:Template link expanded</a> (<a href="/w/index.php?title=Template:Template_link_expanded&amp;action=edit" title="Template:Template link expanded">edit</a>) </li><li><a href="/wiki/Template:Tl" class="mw-redirect" title="Template:Tl">Template:Tl</a> (<a href="/w/index.php?title=Template:Tl&amp;action=edit" class="mw-redirect" title="Template:Tl">edit</a>) </li><li><a href="/wiki/Template:Tlx" class="mw-redirect" title="Template:Tlx">Template:Tlx</a> (<a href="/w/index.php?title=Template:Tlx&amp;action=edit" class="mw-redirect" title="Template:Tlx">edit</a>) </li><li><a href="/wiki/Template:Wikibooks_editor_navigation" title="Template:Wikibooks editor navigation">Template:Wikibooks editor navigation</a> (<a href="/w/index.php?title=Template:Wikibooks_editor_navigation&amp;action=edit" title="Template:Wikibooks editor navigation">view source</a>) (semi-protected)</li><li><a href="/wiki/Template:Wikibooks_help" title="Template:Wikibooks help">Template:Wikibooks help</a> (<a href="/w/index.php?title=Template:Wikibooks_help&amp;action=edit" title="Template:Wikibooks help">view source</a>) (semi-protected)</li><li><a href="/wiki/Template:%C2%B7w" class="mw-redirect" title="Template:·w">Template:·w</a> (<a href="/w/index.php?title=Template:%C2%B7w&amp;action=edit" class="mw-redirect" title="Template:·w">view source</a>) (protected)</li><li><a href="/wiki/Template:%C2%B7wrap" title="Template:·wrap">Template:·wrap</a> (<a href="/w/index.php?title=Template:%C2%B7wrap&amp;action=edit" title="Template:·wrap">view source</a>) (protected)</li><li><a href="/wiki/Module:Anchor" title="Module:Anchor">Module:Anchor</a> (<a href="/w/index.php?title=Module:Anchor&amp;action=edit" title="Module:Anchor">edit</a>) </li><li><a href="/wiki/Module:Arguments" title="Module:Arguments">Module:Arguments</a> (<a href="/w/index.php?title=Module:Arguments&amp;action=edit" title="Module:Arguments">edit</a>) </li><li><a href="/wiki/Module:Check_for_unknown_parameters" title="Module:Check for unknown parameters">Module:Check for unknown parameters</a> (<a href="/w/index.php?title=Module:Check_for_unknown_parameters&amp;action=edit" title="Module:Check for unknown parameters">edit</a>) </li><li><a href="/wiki/Module:Navbar" title="Module:Navbar">Module:Navbar</a> (<a href="/w/index.php?title=Module:Navbar&amp;action=edit" title="Module:Navbar">edit</a>) </li><li><a href="/wiki/Module:Navbar/configuration" title="Module:Navbar/configuration">Module:Navbar/configuration</a> (<a href="/w/index.php?title=Module:Navbar/configuration&amp;action=edit" title="Module:Navbar/configuration">edit</a>) </li><li><a href="/wiki/Module:Navbar/styles.css" title="Module:Navbar/styles.css">Module:Navbar/styles.css</a> (<a href="/w/index.php?title=Module:Navbar/styles.css&amp;action=edit" title="Module:Navbar/styles.css">edit</a>) </li><li><a href="/wiki/Module:Navbox" title="Module:Navbox">Module:Navbox</a> (<a href="/w/index.php?title=Module:Navbox&amp;action=edit" title="Module:Navbox">edit</a>) </li><li><a href="/wiki/Module:Navbox/configuration" title="Module:Navbox/configuration">Module:Navbox/configuration</a> (<a href="/w/index.php?title=Module:Navbox/configuration&amp;action=edit" title="Module:Navbox/configuration">edit</a>) </li><li><a href="/wiki/Module:Navbox/styles.css" title="Module:Navbox/styles.css">Module:Navbox/styles.css</a> (<a href="/w/index.php?title=Module:Navbox/styles.css&amp;action=edit" title="Module:Navbox/styles.css">edit</a>) </li><li><a href="/wiki/Module:TableTools" title="Module:TableTools">Module:TableTools</a> (<a href="/w/index.php?title=Module:TableTools&amp;action=edit" title="Module:TableTools">edit</a>) </li><li><a href="/wiki/Module:Template_link_general" title="Module:Template link general">Module:Template link general</a> (<a href="/w/index.php?title=Module:Template_link_general&amp;action=edit" title="Module:Template link general">edit</a>) </li></ul></div><p id="mw-returnto">Return to <a href="/wiki/Help:Editing" title="Help:Editing">Help:Editing</a>.</p> <!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikibooks.org/wiki/Help:Editing">https://en.wikibooks.org/wiki/Help:Editing</a>"</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikibooks:Welcome">About Wikibooks</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikibooks:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikibooks.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikibooks.org/w/index.php?title=Help:Editing&amp;action=edit&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-5cd4cd96d5-w57pc","wgBackendResponseTime":285,"wgPageParseReport":{"limitreport":{"cputime":"0.056","walltime":"0.070","ppvisitednodes":{"value":96,"limit":1000000},"postexpandincludesize":{"value":5367,"limit":2097152},"templateargumentsize":{"value":1545,"limit":2097152},"expansiondepth":{"value":7,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":1625,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 52.298 1 -total","100.00% 52.298 1 Template:Fmbox"," 93.26% 48.774 1 Template:Mbox"]},"scribunto":{"limitreport-timeusage":{"value":"0.029","limit":"10.000"},"limitreport-memusage":{"value":628917,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-5cd4cd96d5-w57pc","timestamp":"20241127082021","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10