CINXE.COM
User:Citation bot/use - Wikipedia
<!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-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>User:Citation bot/use - Wikipedia</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-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);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":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"f208e604-8d69-4a66-82e1-c035abe7c848","wgCanonicalNamespace":"User","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":2,"wgPageName":"User:Citation_bot/use","wgTitle":"Citation bot/use","wgCurRevisionId":1259376485,"wgRevisionId":1259376485,"wgArticleId":17593553,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"User:Citation_bot/use","wgRelevantArticleId":17593553,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgRelevantUserName":"Citation bot","wgRedirectedFrom":"Wikipedia:UCB","wgNoticeProject":"wikipedia","wgCiteReferencePreviewsActive":false,"wgFlaggedRevsParams":{"tags":{"status":{"levels":1}}}, "wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":true,"wgPopupsFlags":0,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgInternalRedirectTargetUrl":"/wiki/User:Citation_bot/use","wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"],"GEHomepageSuggestedEditsEnableTopics":true,"wgGETopicsMatchModeEnabled":false,"wgGEStructuredTaskRejectionReasonTextInputEnabled":false,"wgGELevelingUpEnabledForUser":false};RLSTATE={"ext.globalCssJs.user.styles": "ready","site.styles":"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.action.view.redirect","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.checkUser.clientHints"];</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&modules=ext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&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,follow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="User:Citation bot/use - Wikipedia"> <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.wikipedia.org/wiki/User:Citation_bot/use"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=User:Citation_bot/use&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/User:Citation_bot/use"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-2 ns-subject mw-editable page-User_Citation_bot_use rootpage-User_Citation_bot skin-vector-2022 action-view"><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-description" 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-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</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/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </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 Wikipedia [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 Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [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'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="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en" class=""><span>Donate</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&returnto=User%3ACitation+bot%2Fuse" 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&returnto=User%3ACitation+bot%2Fuse" title="You're encouraged to log in; however, it's 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="Log in and 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="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=User%3ACitation+bot%2Fuse" 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&returnto=User%3ACitation+bot%2Fuse" title="You're encouraged to log in; however, it's 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>Talk</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"><!-- CentralNotice --></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 class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-How_to_activate_Citation_bot" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#How_to_activate_Citation_bot"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>How to activate Citation bot</span> </div> </a> <button aria-controls="toc-How_to_activate_Citation_bot-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle How to activate Citation bot subsection</span> </button> <ul id="toc-How_to_activate_Citation_bot-sublist" class="vector-toc-list"> <li id="toc-via_the_web_interface" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#via_the_web_interface"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>via the web interface</span> </div> </a> <ul id="toc-via_the_web_interface-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-via_templates" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#via_templates"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>via templates</span> </div> </a> <ul id="toc-via_templates-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-via_the_citation_expander_gadget" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#via_the_citation_expander_gadget"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>via the citation expander gadget</span> </div> </a> <ul id="toc-via_the_citation_expander_gadget-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-via_user_scripts" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#via_user_scripts"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.4</span> <span>via user scripts</span> </div> </a> <ul id="toc-via_user_scripts-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Examples" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Examples"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Examples</span> </div> </a> <button aria-controls="toc-Examples-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle Examples subsection</span> </button> <ul id="toc-Examples-sublist" class="vector-toc-list"> <li id="toc-Simple_cases:_DOI_/_GoogleBooks" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Simple_cases:_DOI_/_GoogleBooks"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>Simple cases: DOI / GoogleBooks</span> </div> </a> <ul id="toc-Simple_cases:_DOI_/_GoogleBooks-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Supported_identifiers" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Supported_identifiers"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>Supported identifiers</span> </div> </a> <ul id="toc-Supported_identifiers-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Supported_URLs" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Supported_URLs"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.3</span> <span>Supported URLs</span> </div> </a> <ul id="toc-Supported_URLs-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Additional_fixes" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Additional_fixes"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.4</span> <span>Additional fixes</span> </div> </a> <ul id="toc-Additional_fixes-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-What_happens_when..." class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#What_happens_when..."> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>What happens when...</span> </div> </a> <button aria-controls="toc-What_happens_when...-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle What happens when... subsection</span> </button> <ul id="toc-What_happens_when...-sublist" class="vector-toc-list"> <li id="toc-..._the_bot_is_blocked?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#..._the_bot_is_blocked?"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>... the bot is blocked?</span> </div> </a> <ul id="toc-..._the_bot_is_blocked?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-..._no_changes_are_made_by_the_bot?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#..._no_changes_are_made_by_the_bot?"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>... no changes are made by the bot?</span> </div> </a> <ul id="toc-..._no_changes_are_made_by_the_bot?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-..._the_bot_made_a_mistake?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#..._the_bot_made_a_mistake?"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.3</span> <span>... the bot made a mistake?</span> </div> </a> <ul id="toc-..._the_bot_made_a_mistake?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-..._you_have_a_suggestion?" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#..._you_have_a_suggestion?"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.4</span> <span>... you have a suggestion?</span> </div> </a> <ul id="toc-..._you_have_a_suggestion?-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-See_also" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#See_also"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>See also</span> </div> </a> <ul id="toc-See_also-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-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-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">User</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Citation bot/use</span></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-user" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/User:Citation_bot/use" title="View the user page [c]" accesskey="c"><span>User page</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/User_talk:Citation_bot/use" rel="discussion" class="mw-redirect" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</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="selected vector-tab-noicon mw-list-item"><a href="/wiki/User:Citation_bot/use"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=User:Citation_bot/use&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=User:Citation_bot/use&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="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/User:Citation_bot/use"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=User:Citation_bot/use&action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=User:Citation_bot/use&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/User:Citation_bot/use" title="List of all English Wikipedia pages containing links to this page [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/User:Citation_bot/use" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-contributions" class="mw-list-item"><a href="/wiki/Special:Contributions/Citation_bot" title="A list of contributions by this user"><span>User contributions</span></a></li><li id="t-log" class="mw-list-item"><a href="/wiki/Special:Log/Citation_bot" title="A list of logged actions by this user"><span>User logs</span></a></li><li id="t-userrights" class="mw-list-item"><a href="/wiki/Special:UserRights/Citation_bot"><span>View user groups</span></a></li><li id="t-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_Upload_Wizard" 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-permalink" class="mw-list-item"><a href="/w/index.php?title=User:Citation_bot/use&oldid=1259376485" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=User:Citation_bot/use&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&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FUser%3ACitation_bot%2Fuse"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FUser%3ACitation_bot%2Fuse"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=User%3ACitation_bot%2Fuse&action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=User:Citation_bot/use&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects emptyPortlet" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </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 id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><div class="subpages">< <bdi dir="ltr"><a href="/wiki/User:Citation_bot" title="User:Citation bot">User:Citation bot</a></bdi></div><span class="mw-redirectedfrom">(Redirected from <a href="/w/index.php?title=Wikipedia:UCB&redirect=no" class="mw-redirect" title="Wikipedia:UCB">Wikipedia:UCB</a>)</span></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><table class="wikitable" style="float:right; width:300px; margin:1em 1em 1em 1em;"> <tbody><tr> <th><figure class="mw-halign-right" typeof="mw:File/Frameless"><a href="/wiki/File:Citation_expander_button.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/9/98/Citation_expander_button.png/275px-Citation_expander_button.png" decoding="async" width="275" height="74" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/9/98/Citation_expander_button.png/413px-Citation_expander_button.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/9/98/Citation_expander_button.png/550px-Citation_expander_button.png 2x" data-file-width="972" data-file-height="260" /></a><figcaption></figcaption></figure> </th></tr> <tr> <td>The <a href="/wiki/Wikipedia:Citation_expander" title="Wikipedia:Citation expander">citation expander gadget</a> adds a button to trigger the bot from the edit window! This button will work even if the bot is blocked. </td></tr> <tr> <th><figure class="mw-halign-center" typeof="mw:File/Frameless"><a href="/wiki/File:Citations-alt.png" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Citations-alt.png/150px-Citations-alt.png" decoding="async" width="150" height="144" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Citations-alt.png/225px-Citations-alt.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/6/6a/Citations-alt.png/300px-Citations-alt.png 2x" data-file-width="327" data-file-height="313" /></a><figcaption></figcaption></figure> </th></tr> <tr> <td>It also adds an "Expand citations" link in your toolbar!<p>These are only two of the <a href="#How_to_activate_Citation_bot">many ways to activate the bot</a>. </p></td></tr> </tbody></table> <style data-mw-deduplicate="TemplateStyles:r1252059228">.mw-parser-output .module-shortcutboxplain{float:right;margin:0 0 0 1em;border:1px solid var(--border-color-base,#a2a9b1);background-color:var(--background-color-base,#fff);padding:0.3em 0.6em 0.2em 0.6em;text-align:center;font-size:85%}.mw-parser-output .module-shortcutboxleft{float:left;margin:0 1em 0 0}.mw-parser-output .module-shortcutlist{display:inline-block;border-bottom:1px solid var(--border-color-base,#a2a9b1);margin-bottom:0.2em}.mw-parser-output .module-shortcutboxplain ul{font-weight:bold}.mw-parser-output .module-shortcutanchordiv{position:relative;top:-3em}.mw-parser-output li .module-shortcutanchordiv{float:right}.mw-parser-output .mbox-imageright .module-shortcutboxplain{padding:0.4em 1em 0.4em 1em;line-height:1.3;margin:0}</style><div class="module-shortcutanchordiv"><span id="WP:UCB"></span></div><div class="module-shortcutboxplain noprint" role="note"><div class="module-shortcutlist"><a href="/wiki/Wikipedia:Shortcut" title="Wikipedia:Shortcut">Shortcut</a></div><style data-mw-deduplicate="TemplateStyles:r1126788409">.mw-parser-output .plainlist ol,.mw-parser-output .plainlist ul{line-height:inherit;list-style:none;margin:0;padding:0}.mw-parser-output .plainlist ol li,.mw-parser-output .plainlist ul li{margin-bottom:0}</style><div class="plainlist"><ul><li><span class="plainlinks"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=Wikipedia:UCB&redirect=no">WP:UCB</a></span></li></ul></div></div> <p><b><a href="/wiki/User:Citation_bot" title="User:Citation bot">Citation bot</a></b> is a piece of software designed to expand and fix citations on Wikipedia, making referencing easier. This guide will help you get the best results with Citation bot. There is no need to painstakingly enter and copy-paste author names, date, source titles, and page numbers anymore. Now you can type or paste in <i>only</i> the <a href="/wiki/Digital_object_identifier" title="Digital object identifier">DOI</a>, <a href="/wiki/PMID" class="mw-redirect" title="PMID">PMID</a>, <a href="/wiki/Semantic_Scholar#S2CID" title="Semantic Scholar">S2CID</a>, or, the <a href="/wiki/Google_Books" title="Google Books">Google Books</a> <a href="/wiki/URL" title="URL">URL</a>, and let the bot do the rest! It will also try to fix a <a href="#Additional_fixes">variety of common errors</a> with existing citations, and tidy them up as best it can! </p><p>See <a href="#Simple_cases">simple cases</a> below to quickly see how to get the most out of Citation bot. See also <a href="#..._the_bot_made_a_mistake?">how to deal with mistakes</a>. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="How_to_activate_Citation_bot">How to activate Citation bot</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=1" title="Edit section: How to activate Citation bot"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><b>Note:</b> Most methods of activating the bot will require a valid user account that has granted the Citation Bot permission to authenticate using <a href="https://www.mediawiki.org/wiki/Help:OAuth" class="extiw" title="mw:Help:OAuth">OAuth</a> (the bot will prompt for this). One exception to this is the <kbd class="nowrap button" title="This is not a clickable button; it illustrates the button one should find." style="padding:.2em .6em; border:1px solid; border-color:var(--border-color-base, #a2a9b1) var(--border-color-interactive, #72777d) var(--border-color-interactive, #72777d) var(--border-color-base, #a2a9b1); border-radius:3px; background-color: #F2F2F2; color: inherit; background-image: linear-gradient(to bottom, var(--background-color-interactive-subtle, #f8f9fa), var(--background-color-interactive, #eaecf0)); font-family:sans-serif;"><span style="color:black;background:black"><style data-mw-deduplicate="TemplateStyles:r1239334494">@media screen{html.skin-theme-clientpref-night .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-night .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output div:not(.notheme)>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output p>.tmp-color,html.skin-theme-clientpref-os .mw-parser-output table:not(.notheme) .tmp-color{color:inherit!important}}</style><span class="tmp-color" style="color:white">✔</span></span> Citations</kbd> button of the citation expander, which will work right away, and which is also the only method that will work if the bot is blocked. </p> <div class="mw-heading mw-heading3"><h3 id="via_the_web_interface">via the web interface</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=2" title="Edit section: via the web interface"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The bot can be activated directly at <a class="external text" href="https://citations.toolforge.org/">https://citations.toolforge.org/</a>. There will be a few options, including the ability to run the bot on all articles in a category (use with care, as those could be very numerous). </p> <div class="mw-heading mw-heading3"><h3 id="via_templates">via templates</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=3" title="Edit section: via templates"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Certain templates will give links to activate Citation bot automatically (and possibly other tools). This may look like </p> <dl><dd><i>Easy tools</i>: <a class="external text" href="https://citations.toolforge.org/process_page.php?edit=automated_tools&slow=1&page=User:Citation_bot/use">Citation bot</a> (<a class="mw-selflink selflink">help</a>) <b>|</b> <i>Advanced:</i> <a class="external text" href="https://tools.wmflabs.org/refill/result.php?page=User:Citation_bot/use&defaults=y">Fix bare URLs</a></dd></dl> <p>Simply click on the Citation bot link and you're done! </p><p>As of writing, the following templates will present editors with Citation bot links: </p> <dl><dt><i>AFC/Draft templates</i></dt></dl> <ul><li><span class="nowrap">{{</span><a href="/wiki/Template:AFC_submission" class="mw-redirect" title="Template:AFC submission">AFC submission</a><span class="nowrap">}}</span>: Used during the <a href="/wiki/Wikipedia:Articles_for_creation" title="Wikipedia:Articles for creation">Article for Creation</a> process.</li> <li><span class="nowrap">{{</span><a href="/wiki/Template:Draft_article" title="Template:Draft article">Draft article</a><span class="nowrap">}}</span>: Designed for <a href="/wiki/Wikipedia:Drafts" title="Wikipedia:Drafts">drafts</a>, simply copy-paste <code>{{Draft article}}</code> at the top of the page</li> <li><span class="nowrap">{{</span><a href="/wiki/Template:Userspace_draft" title="Template:Userspace draft">Userspace draft</a><span class="nowrap">}}</span>: Specifically designed for <a href="/wiki/Help:Userspace_draft" title="Help:Userspace draft">userspace drafts</a>, simply copy-paste <code>{{Userspace draft article}}</code> at the top of the page</li></ul> <dl><dt><i>Citation templates</i></dt></dl> <ul><li><span class="nowrap">{{</span><a href="/wiki/Template:Cite_arXiv" title="Template:Cite arXiv">cite arXiv</a><span class="nowrap">}}</span>: A link will appear when the <span class="nowrap">{{</span><a href="/wiki/Template:Cite_arXiv" title="Template:Cite arXiv">cite arXiv</a><span class="nowrap">}}</span> template is incomplete</li></ul> <dl><dt><i>Tool templates</i></dt></dl> <ul><li><span class="nowrap">{{</span><a href="/wiki/Template:Automated_tools" title="Template:Automated tools">Automated tools</a><span class="nowrap">}}</span>: Designed to be used in other templates, such at <span class="nowrap">{{</span><a href="/wiki/Template:Draft_article" title="Template:Draft article">Draft article</a><span class="nowrap">}}</span>. Should rarely be used directly.</li></ul> <div class="mw-heading mw-heading3"><h3 id="via_the_citation_expander_gadget">via the citation expander gadget</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=4" title="Edit section: via the citation expander gadget"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>To enable the <a href="/wiki/Wikipedia:Citation_expander" title="Wikipedia:Citation expander">citation expander</a> gadget, go to your <a href="/wiki/Special:Preferences#mw-prefsection-gadgets" title="Special:Preferences">preferences</a> and click on the "Gadgets" tab. Scroll down to the "Editing" section, and tick the "Citation expander" box. Then scroll down to the bottom of the page and click "<kbd class="nowrap button" title="This is not a clickable button; it illustrates the button one should find." style="padding:.2em .6em; border:1px solid; border-color:var(--border-color-base, #a2a9b1) var(--border-color-interactive, #72777d) var(--border-color-interactive, #72777d) var(--border-color-base, #a2a9b1); border-radius:3px; background-color: #F2F2F2; color: inherit; background-image: linear-gradient(to bottom, var(--background-color-interactive-subtle, #f8f9fa), var(--background-color-interactive, #eaecf0)); font-family:sans-serif;">Save</kbd>". There are minor incompatibilities with wikEd. </p><p>Once you have done this, two things will happen (see <a href="#top">image in top right</a>). </p> <ol><li>There will be a <kbd class="nowrap button" title="This is not a clickable button; it illustrates the button one should find." style="padding:.2em .6em; border:1px solid; border-color:var(--border-color-base, #a2a9b1) var(--border-color-interactive, #72777d) var(--border-color-interactive, #72777d) var(--border-color-base, #a2a9b1); border-radius:3px; background-color: #F2F2F2; color: inherit; background-image: linear-gradient(to bottom, var(--background-color-interactive-subtle, #f8f9fa), var(--background-color-interactive, #eaecf0)); font-family:sans-serif;"><span style="color:black;background:black"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239334494"><span class="tmp-color" style="color:white">✔</span></span> Citations</kbd> button below the editing window between the <kbd class="nowrap button" title="This is not a clickable button; it illustrates the button one should find." style="padding:.2em .6em; border:1px solid; border-color:var(--border-color-base, #a2a9b1) var(--border-color-interactive, #72777d) var(--border-color-interactive, #72777d) var(--border-color-base, #a2a9b1); border-radius:3px; background-color: #F2F2F2; color: inherit; background-image: linear-gradient(to bottom, var(--background-color-interactive-subtle, #f8f9fa), var(--background-color-interactive, #eaecf0)); font-family:sans-serif;">Show changes</kbd> and <kbd class="nowrap button" title="This is not a clickable button; it illustrates the button one should find." style="padding:.2em .6em; border:1px solid; border-color:var(--border-color-base, #a2a9b1) var(--border-color-interactive, #72777d) var(--border-color-interactive, #72777d) var(--border-color-base, #a2a9b1); border-radius:3px; background-color: #F2F2F2; color: inherit; background-image: linear-gradient(to bottom, var(--background-color-interactive-subtle, #f8f9fa), var(--background-color-interactive, #eaecf0)); font-family:sans-serif;"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239334494"><span class="tmp-color" style="color:#d45353;"><b>Cancel</b></span></kbd> buttons (the exact appearance may differ). Clicking on the button will initiate the bot. The bot will then complete/fix references and return you to the article edit box. Above this box you will see a "<a href="/wiki/Help:Diff" title="Help:Diff">diff</a>" of the page as it looked before (on the left) and after (on the right) the bot examined it. If no changes were made then you will see the words "No difference" in parentheses above the edit box.<p>You can now review the changes and edit normally. Once you are happy with the results, click <kbd class="nowrap button" title="This is not a clickable button; it illustrates the button one should find." style="padding:.2em .6em; border:1px solid; border-color:var(--border-color-base, #a2a9b1) var(--border-color-interactive, #72777d) var(--border-color-interactive, #72777d) var(--border-color-base, #a2a9b1); border-radius:3px; background-color: #F2F2F2; color: inherit; background-image: linear-gradient(to bottom, var(--background-color-interactive-subtle, #f8f9fa), var(--background-color-interactive, #eaecf0)); font-family:sans-serif;">Save changes</kbd>, and you're done!</p></li> <li>There will be an "Expand citations" link in your toolbar (normally on the left when editing from a desktop/laptop) where the bot can be activated directly. The bot will present a summary log and save its changes automatically, if any are made. If the log is too complex for you, scroll down to the bottom, and there will be a final line <dl><dd><code>Written to <i>Page</i> [diff link]</code> (if a change is made)</dd> <dd><code>> No changes required.</code> (if no change is made)</dd></dl></li></ol> <dl><dd><dl><dd>You can then click on 'diff' to review the changes the bot made.</dd></dl></dd></dl> <div class="mw-heading mw-heading3"><h3 id="via_user_scripts">via user scripts</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=5" title="Edit section: via user scripts"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <style data-mw-deduplicate="TemplateStyles:r1236090951">.mw-parser-output .hatnote{font-style:italic}.mw-parser-output div.hatnote{padding-left:1.6em;margin-bottom:0.5em}.mw-parser-output .hatnote i{font-style:normal}.mw-parser-output .hatnote+link+.hatnote{margin-top:-0.5em}@media print{body.ns-0 .mw-parser-output .hatnote{display:none!important}}</style><div role="note" class="hatnote navigation-not-searchable">Main page: <a href="/wiki/Wikipedia:User_scripts" title="Wikipedia:User scripts">Wikipedia:User scripts</a></div> <p>For advanced users. Most people should <a href="#via_the_citation_expander_gadget">use the Citation expander gadget</a> instead. Examples of user scripts would include </p> <ul><li><a href="/wiki/User:Headbomb/citations.js" title="User:Headbomb/citations.js">User:Headbomb/citations.js</a></li></ul> <div class="mw-heading mw-heading2"><h2 id="Examples">Examples</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=6" title="Edit section: Examples"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">Further information: <a href="/wiki/Wikipedia:Wikipedia_Signpost/2022-08-01/Tips_and_tricks" title="Wikipedia:Wikipedia Signpost/2022-08-01/Tips and tricks">Wikipedia:Wikipedia Signpost/2022-08-01/Tips and tricks</a></div> <div class="mw-heading mw-heading3"><h3 id="Simple_cases:_DOI_/_GoogleBooks"><span id="Simple_cases:_DOI_.2F_GoogleBooks"></span>Simple cases: DOI / GoogleBooks <span class="anchor" id="Simple_case"></span><span class="anchor" id="Simple_cases"></span></h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=7" title="Edit section: Simple cases: DOI / GoogleBooks"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>To add a reference to a peer-reviewed article with a <a href="/wiki/Digital_object_identifier" title="Digital object identifier">digital object identifier</a> (DOI), simply type </p> <dl><dd><code><ref>{{cite journal |doi=10.2222/B22.2}}</ref></code> <u>or</u> <code><ref>https://doi.org/10.2222/B22.2</ref></code></dd></dl> <p>where you want to insert a citation (copy and paste your own DOI code from wherever you are getting your reference). <a href="#Supported_identifiers">Other identifiers</a> are also supported. </p><p>Likewise, to add a reference to a book you have found on <a href="/wiki/Google_Books" title="Google Books">Google Books</a>, just type </p> <dl><dd><code><ref>{{cite book |url=https://books.google.com/...}}</ref></code> <u>or</u> <code><ref>https://books.google.com/...</ref></code></dd></dl> <p>where you want to insert a citation. <a href="#Supported_identifiers">Other websites</a> are also supported. </p><p>You can add multiple such references at once if you want. Now simply save the page and <a href="#How_to_activate_Citation_bot">activate the bot</a>! </p> <div class="mw-heading mw-heading3"><h3 id="Supported_identifiers">Supported identifiers</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=8" title="Edit section: Supported identifiers"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>More than just DOIs are supported in citation templates. </p><p>For arXiv preprints, use </p> <ul><li><code>{{<a href="/wiki/Template:Cite_arXiv" title="Template:Cite arXiv">cite arXiv</a>|arxiv=<<a href="/wiki/ArXiv" title="ArXiv">ARXIV</a>>}}</code></li></ul> <p>For books, use </p> <ul><li><code>{{<a href="/wiki/Template:Cite_book" title="Template:Cite book">cite book</a>|isbn=<<a href="/wiki/ISBN" title="ISBN">ISBN</a>>}}</code></li></ul> <p>For conference proceedings with DOIs, use </p> <ul><li><code>{{<a href="/wiki/Template:Cite_book" title="Template:Cite book">cite book</a>|doi=<<a href="/wiki/Digital_object_identifier" title="Digital object identifier">DOI</a>>}}</code></li></ul> <p>For journals, use any of </p> <ul><li><code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|bibcode=<<a href="/wiki/Bibcode" title="Bibcode">BIBCODE</a>>}}</code></li> <li><code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|doi=<<a href="/wiki/Digital_object_identifier" title="Digital object identifier">DOI</a>>}}</code></li> <li><code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|jstor=<<a href="/wiki/JSTOR" title="JSTOR">JSTOR</a>>}}</code></li> <li><code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|pmid=<<a href="/wiki/PMID" class="mw-redirect" title="PMID">PMID</a>>}}</code></li> <li><code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|pmc=<<a href="/wiki/PMCID" class="mw-redirect" title="PMCID">PMCID</a>>}}</code></li> <li><code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|s2cid=<<a href="/wiki/Semantic_Scholar#S2CID" title="Semantic Scholar">S2CID</a>>}}</code></li></ul> <p>and run the bot as usual. For example <code>{{cite journal |doi=10.1093/bioinformatics/btl302}}</code> gets <a href="/wiki/Special:Diff/856544906" title="Special:Diff/856544906">converted to</a> </p> <ul><li><style data-mw-deduplicate="TemplateStyles:r1238218222">.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/6/65/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/d/d6/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/a/aa/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/4/4c/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}</style><cite id="CITEREFRebholz-SchuhmannKirschArreguiGaudan2007" class="citation journal cs1">Rebholz-Schuhmann, D; Kirsch, H; Arregui, M; Gaudan, S; Riethoven, M; Stoehr, P (2007). "EBIMed--text crunching to gather facts for proteins from Medline". <i>Bioinformatics</i>. <b>23</b> (2): e237–e244. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1093%2Fbioinformatics%2Fbtl302">10.1093/bioinformatics/btl302</a>. <a href="/wiki/PMID_(identifier)" class="mw-redirect" title="PMID (identifier)">PMID</a> <a rel="nofollow" class="external text" href="https://pubmed.ncbi.nlm.nih.gov/17237098">17237098</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Bioinformatics&rft.atitle=EBIMed--text+crunching+to+gather+facts+for+proteins+from+Medline&rft.volume=23&rft.issue=2&rft.pages=e237-e244&rft.date=2007&rft_id=info%3Adoi%2F10.1093%2Fbioinformatics%2Fbtl302&rft_id=info%3Apmid%2F17237098&rft.aulast=Rebholz-Schuhmann&rft.aufirst=D&rft.au=Kirsch%2C+H&rft.au=Arregui%2C+M&rft.au=Gaudan%2C+S&rft.au=Riethoven%2C+M&rft.au=Stoehr%2C+P&rfr_id=info%3Asid%2Fen.wikipedia.org%3AUser%3ACitation+bot%2Fuse" class="Z3988"></span></li></ul> <p>Note that you might still need to <u>review for <a href="/wiki/Special:Diff/856544955" title="Special:Diff/856544955">errors</a> or <a href="/wiki/Special:Diff/856544982" title="Special:Diff/856544982">style</a></u> in some cases, to produce the desired </p> <ul><li><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite id="CITEREFRebholz-SchuhmannKirschArreguiGaudan2007" class="citation journal cs1">Rebholz-Schuhmann, D.; Kirsch, H.; Arregui, M.; Gaudan, S.; Riethoven, M.; Stoehr, P. (2007). "EBIMed—text crunching to gather facts for proteins from Medline". <i>Bioinformatics</i>. <b>23</b> (2): e237–e244. <a href="/wiki/Doi_(identifier)" class="mw-redirect" title="Doi (identifier)">doi</a>:<a rel="nofollow" class="external text" href="https://doi.org/10.1093%2Fbioinformatics%2Fbtl302">10.1093/bioinformatics/btl302</a>. <a href="/wiki/PMID_(identifier)" class="mw-redirect" title="PMID (identifier)">PMID</a> <a rel="nofollow" class="external text" href="https://pubmed.ncbi.nlm.nih.gov/17237098">17237098</a>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.jtitle=Bioinformatics&rft.atitle=EBIMed%E2%80%94text+crunching+to+gather+facts+for+proteins+from+Medline&rft.volume=23&rft.issue=2&rft.pages=e237-e244&rft.date=2007&rft_id=info%3Adoi%2F10.1093%2Fbioinformatics%2Fbtl302&rft_id=info%3Apmid%2F17237098&rft.aulast=Rebholz-Schuhmann&rft.aufirst=D.&rft.au=Kirsch%2C+H.&rft.au=Arregui%2C+M.&rft.au=Gaudan%2C+S.&rft.au=Riethoven%2C+M.&rft.au=Stoehr%2C+P.&rfr_id=info%3Asid%2Fen.wikipedia.org%3AUser%3ACitation+bot%2Fuse" class="Z3988"></span></li></ul> <div class="mw-heading mw-heading3"><h3 id="Supported_URLs">Supported URLs</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=9" title="Edit section: Supported URLs"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The bot will convert select raw URLs when placed between <code><ref>https://...</ref></code> to the correct citation templates. This is particularly useful if you don't want to figure out which template is best to use, or what exactly the identifier is, or if just want to save yourself a few keystrokes. Like above just save the page and you can set the bot on it. The supported URLs and conversions are: </p> <ul><li><code>https://arxiv.org/...</code> → <code>{{<a href="/wiki/Template:Cite_arXiv" title="Template:Cite arXiv">cite arXiv</a>|arxiv=...}}</code> (or → <code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|arxiv=...<span class="nowrap"> </span>|doi=...}}</code> if a doi is found)</li> <li><code>https://books.google.com/...</code> → <code>{{<a href="/wiki/Template:Cite_book" title="Template:Cite book">cite book</a>|isbn=...}}</code></li> <li><code>https://adsabs.harvard.edu/...</code> → <code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|bibcode=...}}</code></li> <li><code>https://doi.org/...</code> → <code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|doi=...}}</code></li> <li><code>https://www.jstor.org/stable/...</code> → <code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|jstor=...}}</code></li> <li><code>https://www.ncbi.nlm.nih.gov/pubmed/...</code> → <code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|pmid=...}}</code></li> <li><code>https://www.ncbi.nlm.nih.gov/pmc/...</code> → <code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|pmc=...}}</code></li> <li>Most <a href="/wiki/Semantic_Scholar" title="Semantic Scholar">Semantic Scholar</a> URLs, such as <code>https://www.semanticscholar.org/paper/...</code>; still, the bot code limits the use of this type of URL, since many of these URLs only lead to a landing page with a DOI link out—the bot only converts raw Semantic Scholar URLs to a <code>{{<a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a>|doi=...}}</code> article when such article at Semantic Scholar has useful content not available otherwise. An example of such useful content is the article's full-text PDF;</li></ul> <p>Note that this will usually not work on URLs with formatting, like <code><ref>[https://doi.org/... Smith, J. (2006) "Article of Stuff" ''Journal of Stuff'']</ref></code>. To convert those to citation templates, simply remove the formatting (<code><ref>https://doi.org/...</ref></code>) before running the bot. </p><p>You can also use the identifiers URLs in templates, rather than the identifier code. For example, instead of </p> <dl><dd><code><ref>{{cite journal |jstor=650874}}</ref></code></dd></dl> <p>you can add </p> <dl><dd><code><ref>{{cite journal |url=https://www.jstor.org/stable/650874}}</ref></code></dd></dl> <p>and the bot will work as usual. </p><p>Other URLs to large repositories like <a href="/wiki/Academia.edu" title="Academia.edu">Academia.edu</a>, <a href="/wiki/ResearchGate" title="ResearchGate">ResearchGate</a>, <a href="/wiki/ScienceDirect" title="ScienceDirect">ScienceDirect</a>, <a href="/wiki/SpringerLink" class="mw-redirect" title="SpringerLink">SpringerLink</a> or <a href="/wiki/Wiley_Online_Library" class="mw-redirect" title="Wiley Online Library">Wiley Online Library</a>, will often (but not always) work too. </p> <div class="mw-heading mw-heading3"><h3 id="Additional_fixes">Additional fixes</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=10" title="Edit section: Additional fixes"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>The bot will also attempt to make things right <i>en masse</i> on already-present citations and correct a range of common errors from misspelled parameters (<code class="tpl-para" style="word-break:break-word;">|Year=</code> → <code class="tpl-para" style="word-break:break-word;">|year=</code>), to capitalization mistakes (<code class="tpl-para" style="word-break:break-word;">|journal=JOURNAL OF PHYSICS</code> → <code class="tpl-para" style="word-break:break-word;">|journal=Journal of Physics</code>), to the wrong template being used (<code>{{<a href="/wiki/Template:Cite_web" title="Template:Cite web">cite web</a>}}</code> → <code>{{<a href="/wiki/Template:Cite_book" title="Template:Cite book">cite book</a>}}</code>). </p> <div class="mw-heading mw-heading2"><h2 id="What_happens_when...">What happens when...</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=11" title="Edit section: What happens when..."><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-heading mw-heading3"><h3 id="..._the_bot_is_blocked?"><span id="..._the_bot_is_blocked.3F"></span>... the bot is blocked?</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=12" title="Edit section: ... the bot is blocked?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Occasionally the bot is blocked due to bugs that the maintainer has not had time to fix. When this happens, the bot itself cannot commit edits, but you can still install its changes by hand. However, you should take special care when this occurs, as the bot-induced bugs are not always obvious. Sometimes, for example, the bot might break wikilinks to a citation, and this will not be easily observable simply by reading the resulting citation. </p><p>If the bot is blocked, you can still use the "Citation bot" button, if you have the widget installed. Just be doubly sure to check that you are not introducing errors. </p> <div class="mw-heading mw-heading3"><h3 id="..._no_changes_are_made_by_the_bot?"><span id="..._no_changes_are_made_by_the_bot.3F"></span>... no changes are made by the bot?</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=13" title="Edit section: ... no changes are made by the bot?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>New users; please note that the results when no changes are made can be confusing. You will see this at the top of the page: </p> <dl><dd><i>Latest revision _______ Your text.</i></dd></dl> <p>Followed immediately by the edit window. That means that no changes have been made. If you save the page hoping for some improved citations, you will see no changes, and nothing will show up in the revision history. </p><p>If you click <kbd class="nowrap button" title="This is not a clickable button; it illustrates the button one should find." style="padding:.2em .6em; border:1px solid; border-color:var(--border-color-base, #a2a9b1) var(--border-color-interactive, #72777d) var(--border-color-interactive, #72777d) var(--border-color-base, #a2a9b1); border-radius:3px; background-color: #F2F2F2; color: inherit; background-image: linear-gradient(to bottom, var(--background-color-interactive-subtle, #f8f9fa), var(--background-color-interactive, #eaecf0)); font-family:sans-serif;">Citations</kbd> and there are changes made, the bot will show them to you before they are saved. It is very clear. This allows you to choose whether to make further changes before saving. </p> <div class="mw-heading mw-heading3"><h3 id="..._the_bot_made_a_mistake?"><span id="..._the_bot_made_a_mistake.3F"></span>... the bot made a mistake?</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=14" title="Edit section: ... the bot made a mistake?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1236090951"><div role="note" class="hatnote navigation-not-searchable">If you spot a bug, or notice something that could be improved with Citation bot, please <b><a href="/wiki/User_talk:Citation_bot" title="User talk:Citation bot">report it here</a></b>!</div> <p>Many bot mistakes will be due to poor template usage. First consult the documentation to make sure you are using the templates correctly (for example, if there's an issue with how the bot deals with <span class="nowrap">{{</span><a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a><span class="nowrap">}}</span>, look at the documentation found at <a href="/wiki/Template:Cite_journal" title="Template:Cite journal">Template:Cite journal</a>). If this is intimidating, you can ask for help at <a href="/wiki/Help_talk:Citation_Style_1" title="Help talk:Citation Style 1">the citation template help page</a> and someone will help you figure things out. The bot <i>does</i> however make genuine mistakes. Most will occur because of bad <a href="/wiki/Metadata" title="Metadata">metadata</a>, which can be dealt with <u>using the below methods</u>. However some will occur because of bad bot logic, in which case you should <u><a href="/wiki/User_talk:Citation_bot" title="User talk:Citation bot">report the bug</a></u>. </p><p>When dealing with bad metadata, or when the bot keeps repeating a mistake, you can prevent the error from happening again with the following methods: </p> <ul><li>If the bot messes a specific parameter, like change a correct <code class="tpl-para" style="word-break:break-word;">|pages=13-45</code> to <code class="tpl-para" style="word-break:break-word;">|pages=#Chemistry;%34</code>, put a comment in it (any comment will do)</li></ul> <dl><dd><code class="tpl-para" style="word-break:break-word;">|pages=13-45<!-- Deny Citation Bot--></code></dd> <dd>This will prevent the bot from overwriting the parameter. This is <i>usually due</i> to bad metadata. <u>If it is a bug however, please report it!</u></dd></dl> <ul><li>If the bot adds an inappropriate parameter, like <code class="tpl-para" style="word-break:break-word;">|last3=Corporation, Inc. </code> <code class="tpl-para" style="word-break:break-word;">|first3=Acme</code>, put a comment in the bad parameter</li></ul> <dl><dd><code class="tpl-para" style="word-break:break-word;">|last3=<!-- Deny Citation Bot--></code> <code class="tpl-para" style="word-break:break-word;">|first3=<!--Deny Citation Bot--></code></dd> <dd>This will prevent the bot from re-adding the parameter. Again, this is <i>usually</i> due to bad metadata. <u>If it is a bug however, please report it!</u></dd></dl> <ul><li>If the bot messes a template type, for instance if it inappropriately converts a <span class="nowrap">{{</span><a href="/wiki/Template:Cite_journal" title="Template:Cite journal">cite journal</a><span class="nowrap">}}</span> to a <span class="nowrap">{{</span><a href="/wiki/Template:Cite_book" title="Template:Cite book">cite book</a><span class="nowrap">}}</span>, put a comment in the template name</li></ul> <dl><dd><code>{{cite journal <!--Deny Citation Bot-->| ... }}</code></dd> <dd>This will tell the bot to not touch this citation at all. Again, this is <i>usually</i> due to bad metadata. <u>If it is a bug however, please report it!</u></dd></dl> <ul><li>This bot does not use <span class="nowrap">{{</span><a href="/wiki/Template:Cbignore" title="Template:Cbignore">cbignore</a><span class="nowrap">}}</span>, despite the name being similar.</li></ul> <div class="mw-heading mw-heading3"><h3 id="..._you_have_a_suggestion?"><span id="..._you_have_a_suggestion.3F"></span>... you have a suggestion?</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=15" title="Edit section: ... you have a suggestion?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>If you have an idea for how the bot can be even more helpful, please <a href="/wiki/User_talk:Citation_bot" title="User talk:Citation bot">bring it up here</a>. </p> <div class="mw-heading mw-heading2"><h2 id="See_also">See also</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Citation_bot/use&action=edit&section=16" title="Edit section: See also"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <ul><li><a href="/wiki/Wikipedia:Wikipedia_Signpost/2022-08-01/Tips_and_tricks" title="Wikipedia:Wikipedia Signpost/2022-08-01/Tips and tricks">Wikipedia:Wikipedia Signpost/2022-08-01/Tips and tricks</a> – Advanced tips on how to use Citation bot for cleanup.</li> <li><a href="/wiki/Wikipedia:Wikipedia_Signpost/2023-08-01/Tips_and_tricks" title="Wikipedia:Wikipedia Signpost/2023-08-01/Tips and tricks">Wikipedia:Wikipedia Signpost/2023-08-01/Tips and tricks</a> – An overview of various citation tools, including some linked below</li> <li><a href="/wiki/Wikipedia:REFILL" class="mw-redirect" title="Wikipedia:REFILL">Wikipedia:reFill</a> is a tool that handles many bare URLs that this does not.</li> <li><a href="/wiki/Wikipedia:OABOT" title="Wikipedia:OABOT">Wikipedia:OA bot</a> automatically suggests the most suitable open access links for existing DOI citations.</li> <li><a href="/wiki/Wikipedia:REFTOOLS" class="mw-redirect" title="Wikipedia:REFTOOLS">Wikipedia:RefToolbar</a> is a series of JavaScript/jQuery scripts that help editors add citation templates to articles.</li> <li><a href="/wiki/Wikipedia:UPSD" class="mw-redirect" title="Wikipedia:UPSD">Wikipedia:Unreliable/Predatory Source Detector</a> – A script designed to highlight citations to unreliable/predatory sources.</li></ul> <!-- NewPP limit report Parsed by mw‐api‐ext.codfw.main‐7556f8b5dd‐z2m5k Cached time: 20241124210425 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.270 seconds Real time usage: 0.357 seconds Preprocessor visited node count: 1359/1000000 Post‐expand include size: 22769/2097152 bytes Template argument size: 1980/2097152 bytes Highest expansion depth: 14/100 Expensive parser function count: 2/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 9771/5000000 bytes Lua time usage: 0.143/10.000 seconds Lua memory usage: 3969366/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 296.128 1 -total 37.33% 110.544 2 Template:Cite_journal 14.93% 44.213 1 Template:Shortcut 10.77% 31.900 20 Template:Tlx 8.47% 25.069 1 Template:Main 7.41% 21.958 7 Template:Button 6.16% 18.233 2 Template:Highlight 6.11% 18.101 1 Template:Automated_tools 5.89% 17.428 1 Template:Bots 5.46% 16.181 2 Template:Highlight/core --> <!-- Saved in parser cache with key enwiki:pcache:idhash:17593553-0!canonical and timestamp 20241124210427 and revision id 1259376485. Rendering was triggered because: edit-page --> </div><!--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.wikipedia.org/w/index.php?title=User:Citation_bot/use&oldid=1259376485">https://en.wikipedia.org/w/index.php?title=User:Citation_bot/use&oldid=1259376485</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"> <li id="footer-info-lastmod"> This page was last edited on 24 November 2024, at 21:04<span class="anonymous-show"> (UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </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/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</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.wikipedia.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.wikipedia.org/w/index.php?title=User:Citation_bot/use&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-6b7f745dd4-z4txc","wgBackendResponseTime":153,"wgPageParseReport":{"limitreport":{"cputime":"0.270","walltime":"0.357","ppvisitednodes":{"value":1359,"limit":1000000},"postexpandincludesize":{"value":22769,"limit":2097152},"templateargumentsize":{"value":1980,"limit":2097152},"expansiondepth":{"value":14,"limit":100},"expensivefunctioncount":{"value":2,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":9771,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 296.128 1 -total"," 37.33% 110.544 2 Template:Cite_journal"," 14.93% 44.213 1 Template:Shortcut"," 10.77% 31.900 20 Template:Tlx"," 8.47% 25.069 1 Template:Main"," 7.41% 21.958 7 Template:Button"," 6.16% 18.233 2 Template:Highlight"," 6.11% 18.101 1 Template:Automated_tools"," 5.89% 17.428 1 Template:Bots"," 5.46% 16.181 2 Template:Highlight/core"]},"scribunto":{"limitreport-timeusage":{"value":"0.143","limit":"10.000"},"limitreport-memusage":{"value":3969366,"limit":52428800}},"cachereport":{"origin":"mw-api-ext.codfw.main-7556f8b5dd-z2m5k","timestamp":"20241124210425","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>