CINXE.COM

User:Monkbot/task 16: remove replace deprecated dead-url params - 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:Monkbot/task 16: remove replace deprecated dead-url params - 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":"5f7289b2-75b1-40ca-bdfa-fb02dac067f7","wgCanonicalNamespace":"User","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":2,"wgPageName":"User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params","wgTitle":"Monkbot/task 16: remove replace deprecated dead-url params","wgCurRevisionId":1092666195,"wgRevisionId":1092666195,"wgArticleId":60927445,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params","wgRelevantArticleId":60927445,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgRelevantUserName":"Monkbot","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":10000,"wgRelatedArticlesCompat":[],"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","ext.pygments":"ready","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=["ext.pygments.view","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","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&amp;modules=ext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%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.5"> <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:Monkbot/task 16: remove replace deprecated dead-url params - Wikipedia"> <meta property="og:type" content="website"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params"> <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&amp;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_Monkbot_task_16_remove_replace_deprecated_dead-url_params rootpage-User_Monkbot 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&#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="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;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&amp;returnto=User%3AMonkbot%2Ftask+16%3A+remove+replace+deprecated+dead-url+params" 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=User%3AMonkbot%2Ftask+16%3A+remove+replace+deprecated+dead-url+params" title="You&#039;re encouraged to log in; however, it&#039;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&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;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&amp;returnto=User%3AMonkbot%2Ftask+16%3A+remove+replace+deprecated+dead-url+params" 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=User%3AMonkbot%2Ftask+16%3A+remove+replace+deprecated+dead-url+params" title="You&#039;re encouraged to log in; however, it&#039;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-description" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#description"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>description</span> </div> </a> <button aria-controls="toc-description-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 description subsection</span> </button> <ul id="toc-description-sublist" class="vector-toc-list"> <li id="toc-edit_summaries" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#edit_summaries"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>edit summaries</span> </div> </a> <ul id="toc-edit_summaries-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-ancillary_tasks" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#ancillary_tasks"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>ancillary tasks</span> </div> </a> <ul id="toc-ancillary_tasks-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-script" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#script"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>script</span> </div> </a> <ul id="toc-script-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">Monkbot/task 16: remove replace deprecated dead-url params</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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params" 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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params" rel="discussion" 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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&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="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params"><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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&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/User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params" 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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params" 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/Monkbot" 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/Monkbot" 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/Monkbot"><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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;oldid=1092666195" 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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&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.wikipedia.org%2Fwiki%2FUser%3AMonkbot%2Ftask_16%3A_remove_replace_deprecated_dead-url_params"><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.wikipedia.org%2Fwiki%2FUser%3AMonkbot%2Ftask_16%3A_remove_replace_deprecated_dead-url_params"><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&amp;page=User%3AMonkbot%2Ftask_16%3A_remove_replace_deprecated_dead-url_params&amp;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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;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">&lt; <bdi dir="ltr"><a href="/wiki/User:Monkbot" title="User:Monkbot">User:Monkbot</a></bdi></div></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><p>The new version of the <a href="/wiki/Module:Citation/CS1" title="Module:Citation/CS1">Module:Citation/CS1</a> suite deprecates <code class="tpl-para" style="word-break:break-word;">&#124;dead-url&#61;</code> and <code class="tpl-para" style="word-break:break-word;">&#124;deadurl&#61;</code> because these two parameters violate the nominal standard that says that parameters ending in <code>-url</code> hold a url as a value. </p> <table class="wikitable"> <caption>Cite book comparison </caption> <tbody><tr> <th scope="row">Wikitext </th> <td><code style="color:inherit; background:inherit; border:none;">&#123;&#123;cite book<wbr />|archive-date=2015-05-19<wbr />|archive-url=//example.com/Archive<wbr />|dead-url=yes<wbr />|title=Title<wbr />|url=//example.com/Original&#125;&#125;</code> </td></tr> <tr> <th scope="row">Live </th> <td><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 class="citation book cs1"><a rel="nofollow" class="external text" href="//example.com/Archive"><i>Title</i></a>. Archived from <a rel="nofollow" class="external text" href="//example.com/Original">the original</a> on 2015-05-19.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Title&amp;rft_id=%2F%2Fexample.com%2FOriginal&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AUser%3AMonkbot%2Ftask+16%3A+remove+replace+deprecated+dead-url+params" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{<a href="/wiki/Template:Cite_book" title="Template:Cite book">cite book</a>}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;dead-url=</code> ignored (<code class="cs1-code">&#124;url-status=</code> suggested) (<a href="/wiki/Help:CS1_errors#parameter_ignored_suggest" title="Help:CS1 errors">help</a>)</span> </td></tr> <tr> <th scope="row">Sandbox </th> <td class="cs1-sandbox"><style data-mw-deduplicate="TemplateStyles:r1238446127">.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 class="citation book cs1"><a rel="nofollow" class="external text" href="//example.com/Archive"><i>Title</i></a>. Archived from <a rel="nofollow" class="external text" href="//example.com/Original">the original</a> on 2015-05-19.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Title&amp;rft_id=%2F%2Fexample.com%2FOriginal&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AUser%3AMonkbot%2Ftask+16%3A+remove+replace+deprecated+dead-url+params" class="Z3988"></span> <span class="cs1-visible-error citation-comment"><code class="cs1-code">{{<a href="/wiki/Template:Cite_book" title="Template:Cite book">cite book</a>}}</code>: </span><span class="cs1-visible-error citation-comment">Unknown parameter <code class="cs1-code">&#124;dead-url=</code> ignored (<code class="cs1-code">&#124;url-status=</code> suggested) (<a href="/wiki/Help:CS1_errors#parameter_ignored_suggest" title="Help:CS1 errors">help</a>)</span> </td></tr></tbody></table> <table class="wikitable"> <caption>Cite book comparison </caption> <tbody><tr> <th scope="row">Wikitext </th> <td><code style="color:inherit; background:inherit; border:none;">&#123;&#123;cite book<wbr />|archive-date=2015-05-19<wbr />|archive-url=//example.com/Archive<wbr />|title=Title<wbr />|url-status=dead<wbr />|url=//example.com/Original&#125;&#125;</code> </td></tr> <tr> <th scope="row">Live </th> <td><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238218222"><cite class="citation book cs1"><a rel="nofollow" class="external text" href="//example.com/Archive"><i>Title</i></a>. Archived from <a rel="nofollow" class="external text" href="//example.com/Original">the original</a> on 2015-05-19.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Title&amp;rft_id=%2F%2Fexample.com%2FOriginal&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AUser%3AMonkbot%2Ftask+16%3A+remove+replace+deprecated+dead-url+params" class="Z3988"></span> </td></tr> <tr> <th scope="row">Sandbox </th> <td class="cs1-sandbox"><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1238446127"><cite class="citation book cs1"><a rel="nofollow" class="external text" href="//example.com/Archive"><i>Title</i></a>. Archived from <a rel="nofollow" class="external text" href="//example.com/Original">the original</a> on 2015-05-19.</cite><span title="ctx_ver=Z39.88-2004&amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&amp;rft.genre=book&amp;rft.btitle=Title&amp;rft_id=%2F%2Fexample.com%2FOriginal&amp;rfr_id=info%3Asid%2Fen.wikipedia.org%3AUser%3AMonkbot%2Ftask+16%3A+remove+replace+deprecated+dead-url+params" class="Z3988"></span> </td></tr></tbody></table> <p>The purpose of task 16 is to replace various combinations of <code class="tpl-para" style="word-break:break-word;">&#124;dead-url&#61;</code> and <code class="tpl-para" style="word-break:break-word;">&#124;deadurl&#61;</code> and their associated keywords with <code class="tpl-para" style="word-break:break-word;">&#124;url-status&#61;</code> and its appropriate keywords. </p> <meta property="mw:PageProp/toc" /> <div class="mw-heading mw-heading2"><h2 id="description">description</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;action=edit&amp;section=1" title="Edit section: description"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p><code class="tpl-para" style="word-break:break-word;">&#124;dead-url&#61;</code> and <code class="tpl-para" style="word-break:break-word;">&#124;deadurl&#61;</code> accept a limited set of keywords that control the rendering of cs1|2 citation templates that have archive urls. The keywords that concern this task are: </p> <dl><dd><code>yes</code>, <code>y</code>, <code>true</code>, <code>no</code></dd></dl> <p>the remaining keywords, retain their meaning and purpose: </p> <dl><dd><code>unfit</code>, <code>usurped</code>, <code>bot: unknown</code></dd></dl> <p>Because <code class="tpl-para" style="word-break:break-word;">&#124;url-status&#61;no</code> and <code class="tpl-para" style="word-break:break-word;">&#124;url-status&#61;yes</code> (and the other 'positive' keywords) are nonsensical, <code>live</code> (replacing <code>no</code>) and <code>dead</code> (replacing <code>yes</code>...) have been assigned to this parameter. </p><p>Task 16 searches for templates that use either of the <code class="tpl-para" style="word-break:break-word;">&#124;dead-url&#61;</code> and <code class="tpl-para" style="word-break:break-word;">&#124;deadurl&#61;</code> parameters (with or without assigned keyword) and then: </p> <ol><li>renames the parameter to <code>url-status</code></li> <li>replaces the assigned keyword <code>no</code> with <code>live</code>, and replaces the assigned keywords <code>yes</code>, <code>y</code>, and <code>true</code> with <code>dead</code>; keywords<code>unfit</code>, <code>usurped</code>, <code>bot: unknown</code> are retained</li> <li>deletes all empty parameters (will delete an empty <code class="tpl-para" style="word-break:break-word;">&#124;url-status&#61;</code> parameter when <code class="tpl-para" style="word-break:break-word;">&#124;archive-url&#61;</code> is present and has a value)</li></ol> <p><code class="tpl-para" style="word-break:break-word;">&#124;dead-url&#61;</code> and <code class="tpl-para" style="word-break:break-word;">&#124;deadurl&#61;</code> without an assigned keyword are intentionally included in this process so that the deprecated, and ultimately unsupported, parameters don't linger in article space. </p><p><br /> </p> <div class="mw-heading mw-heading3"><h3 id="edit_summaries">edit summaries</h3><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;action=edit&amp;section=2" title="Edit section: edit summaries"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Task 16 writes an edit summary message that tallies the number of replacements and the number of deletions. The message has the form: </p> <dl><dd>replaced (<var style="padding-right: 1px;">n</var>×) / removed (<var style="padding-right: 1px;">n</var>×) deprecated |dead-url= and |deadurl= with |url-status=;</dd></dl> <p>the edit summary has a link to this page. </p> <div class="mw-heading mw-heading2"><h2 id="ancillary_tasks">ancillary tasks</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;action=edit&amp;section=3" title="Edit section: ancillary tasks"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <p>Deletes all empty parameters from templates that are repaired. </p><p>This task does not do awb general fixes. </p> <div class="mw-heading mw-heading2"><h2 id="script">script</h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;action=edit&amp;section=4" title="Edit section: script"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span></div> <div class="mw-highlight mw-highlight-lang-csharp mw-content-ltr" dir="ltr"><pre><span></span><span class="c1">// remove, replace |deadurl= and |dead-url= with |url-status=</span> <span class="c1">// when assigned value is &#39;yes&#39;, &#39;y&#39;, &#39;true&#39;, replace assigned value with &#39;dead&#39;</span> <span class="c1">// when assigned value is &#39;no&#39;, replace assigned value with &#39;live&#39;</span> <span class="c1">// when empty, and when |archive-url= is empty, delete</span> <span class="c1">// when empty, and when |archive-url= has a value, retain but do not fill</span> <span class="c1">// use Wikisearch: insource:/\| *dead\-?url *= *[^\|\}]/</span> <span class="k">public</span><span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="nf">ProcessArticle</span><span class="p">(</span><span class="kt">string</span><span class="w"> </span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">ArticleTitle</span><span class="p">,</span><span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">wikiNamespace</span><span class="p">,</span><span class="w"> </span><span class="k">out</span><span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">Summary</span><span class="p">,</span><span class="w"> </span><span class="k">out</span><span class="w"> </span><span class="kt">bool</span><span class="w"> </span><span class="n">Skip</span><span class="p">)</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="n">Skip</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">false</span><span class="p">;</span><span class="w"> </span><span class="c1">// for development, never skip; for the bot set this true then when fixes are made, set it false</span> <span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">IS_CS1</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;(?:[Cc]ite[_\-\s]*(?=(?:AV [Mm]edia(?: notes)?)|album\-notes|[Aa][Vv] media|[Aa][Vv] media notes|article|ar[Xx]iv|audio|biorxiv|blog|book|chapter|conference|contribution|dictionary|dissertation|document|DVD|dvd|encyclopa?edia|episode|iucn|image|interview|[Jj]ournal|letter|liner notes|[Mm]agazine|mailing ?list|manual|map|media release|media|newsgroup|newspaper|(?:[Nn]ews(?!group|paper))|[Nn]ew|paper|plaque|podcast|press release|press|publication|pr|radio|report|serial|sign|speech|techreport|thesis|video|url|wb|[Ww]eb|[Ww]ork|act|[Hh]ansard|periodical)|[Cc]itation|[Cc]ite(?=\s*\|)|AIOH|[Cc]it news|[Cc]it web|[Cc]ita web|[Cc]itar notícia|[Cc]itat web|[Cc]ite DANFS|[Cc]ite [Ss]ports\-[Rr]eference|[Cc]ite tweet|[Cc]ite we|[Cc]ite vob|[Cc]w|eFloras|Gilliland|PFAF|PLANTS|SA Rugby Article|Silvics|[Ww]eb cite)&quot;</span><span class="p">;</span> <span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">pattern</span><span class="p">;</span> <span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">fixed_count</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="m">0</span><span class="p">;</span> <span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">deleted_count</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="m">0</span><span class="p">;</span> <span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">comment_skip</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="m">0</span><span class="p">;</span> <span class="w"> </span><span class="kt">bool</span><span class="w"> </span><span class="n">found</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">false</span><span class="p">;</span> <span class="c1">//---------------------------&lt; S T A R T &gt;--------------------------------------------------------------------</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">hide</span><span class="w"> </span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">IS_CS1</span><span class="p">);</span><span class="w"> </span><span class="c1">// hide all templates that aren&#39;t cs1 templates &amp; hide wikilinks</span> <span class="c1">//---------------------------&lt; R E N A M E D E A D U R L &gt;--------------------------------------------------</span> <span class="c1">//</span> <span class="c1">// renames |deadurl= and |dead-url= to |url-status=; replace assigned values. Empty |deadurl= and |dead-url=</span> <span class="c1">// are changed and then deleted because we don&#39;t want to leave the deprecated parameter in articles to be copied</span> <span class="c1">// and &#39;filled in&#39; by well meaning editors.</span> <span class="c1">//</span> <span class="c1">// When |archive-url= has a value and |url-status= is present but empty, leave |url-status= in place.</span> <span class="c1">//</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\{\{\s*&quot;</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">IS_CS1</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="s">@&quot;[^}]*\|\s*dead\-?url\b[^\}]+\}\}&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// cs1|2 template has one of |dead-url= or |deadurl= with or without a value</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">Regex</span><span class="p">.</span><span class="n">Match</span><span class="w"> </span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">).</span><span class="n">Success</span><span class="p">)</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span> <span class="w"> </span><span class="k">delegate</span><span class="p">(</span><span class="n">Match</span><span class="w"> </span><span class="n">match</span><span class="p">)</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">fixed_template</span><span class="p">;</span><span class="w"> </span><span class="c1">// a fixed citation template is assembled here</span> <span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">raw_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">match</span><span class="p">.</span><span class="n">Groups</span><span class="p">[</span><span class="m">0</span><span class="p">].</span><span class="n">Value</span><span class="p">;</span><span class="w"> </span><span class="c1">// the whole citation template; if we can&#39;t fix the template then return raw_template</span> <span class="w"> </span><span class="n">found</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">true</span><span class="p">;</span> <span class="c1">//----------</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\&lt;!\-\- *(?:Added by DASHBot|DASH[Bb]ot\.?) *\-\-&gt;&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// DASHBot is a long-retire bot</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">raw_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// delete its signatures</span> <span class="w"> </span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\&lt;!\-\- *Set by H3llBot *\-\-&gt;&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// H3llBot is long retired</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// delete its signatures</span> <span class="w"> </span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;(\| *postscript *= *)\&lt;!\-\- *[Nn]one *\-\-&gt;&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// |postscript=&lt;!--None--&gt; does nothing</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// delete the comment, let empty_param_remove() finish the job</span> <span class="c1">//----------</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\&lt;!\-\-&quot;</span><span class="p">;</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">Regex</span><span class="p">.</span><span class="n">Match</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">).</span><span class="n">Success</span><span class="p">)</span><span class="w"> </span><span class="c1">// if html comment is found</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="n">comment_skip</span><span class="o">++</span><span class="p">;</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">raw_template</span><span class="p">;</span><span class="w"> </span><span class="c1">// abandon this template</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;(\| *)dead\-?url\b&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1url-status&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// replace parameter name</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;(url\-status\s*=\s*)(?:\b[Yy][Ee][Ss]\b|\b[Yy]\b|\b[Tt][Rr][Uu][Ee]\b)&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1dead&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// replace &#39;yes&#39;, &#39;y&#39;, &#39;true&#39; with &#39;dead&#39;</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;(url\-status\s*=\s*)\b[Nn][Oo]\b&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1live&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// replace &#39;no&#39; with &#39;live&#39;</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\|\s*archive\-?url\s*=\s*[/\w]&quot;</span><span class="p">;</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">Regex</span><span class="p">.</span><span class="n">Match</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">).</span><span class="n">Success</span><span class="p">)</span><span class="w"> </span><span class="c1">// if |archive-url= is present and has a value</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;(\|\s*url\-status\s*=)(\s*[\|\}])&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1__3MP7Y__$2&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// if |url-status= is empty add empty secret word</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">empty_param_remove</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">);</span><span class="w"> </span><span class="c1">// remove all empty parameters from this template</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;__3MP7Y__&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// remove empty secret word</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;url\-status&quot;</span><span class="p">;</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="o">!</span><span class="n">Regex</span><span class="p">.</span><span class="n">Match</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">).</span><span class="n">Success</span><span class="p">)</span> <span class="w"> </span><span class="n">deleted_count</span><span class="o">++</span><span class="p">;</span> <span class="w"> </span><span class="k">else</span> <span class="w"> </span><span class="n">fixed_count</span><span class="o">++</span><span class="p">;</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">fixed_template</span><span class="p">;</span> <span class="w"> </span><span class="p">});</span> <span class="w"> </span><span class="p">}</span> <span class="c1">//---------------------------&lt; F I N I S H &gt;------------------------------------------------------------------</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">unhide</span><span class="w"> </span><span class="p">(</span><span class="n">ArticleText</span><span class="p">);</span><span class="w"> </span><span class="c1">// unhide all that is hidden</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="k">true</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="n">found</span><span class="p">)</span><span class="w"> </span><span class="c1">// if |dead-url= or |deadurl= found</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">((</span><span class="m">0</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="n">deleted_count</span><span class="p">)</span><span class="w"> </span><span class="o">&amp;&amp;</span><span class="w"> </span><span class="p">(</span><span class="m">0</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="n">fixed_count</span><span class="p">))</span><span class="w"> </span><span class="c1">// none were fixed</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="m">0</span><span class="w"> </span><span class="o">!=</span><span class="w"> </span><span class="n">comment_skip</span><span class="p">)</span><span class="w"> </span><span class="c1">// if skipped because of comments</span> <span class="w"> </span><span class="n">Summary</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;Comment skip (&quot;</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">comment_skip</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="s">@&quot;×)&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// say how many</span> <span class="w"> </span><span class="k">else</span> <span class="w"> </span><span class="n">Summary</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;Skipped for unknown reason&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// say that we don&#39;t know why we didn&#39;t fix</span> <span class="w"> </span><span class="n">Skip</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">true</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="k">else</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="n">Summary</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">&quot;[[User:Monkbot/task 16: remove replace deprecated dead-url params|Task 16]]:&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">Summary</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Summary</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="s">@&quot; replaced (&quot;</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">fixed_count</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="s">@&quot;×) / removed (&quot;</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">deleted_count</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="s">@&quot;×) deprecated |dead-url= and |deadurl= with |url-status=;&quot;</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="c1">// here when cs1|2 templates don&#39;t have any |dead-url= or |deadurl= params</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="n">Summary</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;no dead-url params&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">Skip</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">true</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">ArticleText</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> <span class="c1">//===========================&lt;&lt; S U P P O R T &gt;&gt;==============================================================</span> <span class="c1">//---------------------------&lt; H I D E &gt;----------------------------------------------------------------------</span> <span class="c1">//</span> <span class="c1">// HIDE TEMPLATES: find templates that are not &lt;dont_hide&gt;; replace the opening {{ with __0P3N__, the closing }}</span> <span class="c1">// with __CL0S3__, and internal | (pipes) with __P1P3__</span> <span class="c1">//</span> <span class="c1">// single curly braces in urls and other parameter values can confuse other regex in this code so replace {</span> <span class="c1">// with __0CU!21Y__ and } with __CCU!21Y__</span> <span class="c1">//</span> <span class="k">private</span><span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="nf">hide</span><span class="w"> </span><span class="p">(</span><span class="kt">string</span><span class="w"> </span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">dont_hide</span><span class="p">)</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\{\{(?!\s*&quot;</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="n">dont_hide</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="s">@&quot;)[^\{\}]*\}\}&quot;</span><span class="p">;</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">Regex</span><span class="p">.</span><span class="n">Match</span><span class="w"> </span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">).</span><span class="n">Success</span><span class="p">)</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span> <span class="w"> </span><span class="k">delegate</span><span class="p">(</span><span class="n">Match</span><span class="w"> </span><span class="n">match</span><span class="p">)</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">fixed_template</span><span class="p">;</span><span class="w"> </span><span class="c1">// a hidden template is assembled here</span> <span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">raw_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">match</span><span class="p">.</span><span class="n">Groups</span><span class="p">[</span><span class="m">0</span><span class="p">].</span><span class="n">Value</span><span class="p">;</span><span class="w"> </span><span class="c1">// the whole template</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\{\{&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// hide the opening {{</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">raw_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;__0P3N__&quot;</span><span class="p">);</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\}\}&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// hide the closing }}</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;__CL0S3__&quot;</span><span class="p">);</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\|&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// and hide the pipes</span> <span class="w"> </span><span class="n">fixed_template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">fixed_template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;__P1P3__&quot;</span><span class="p">);</span> <span class="w"> </span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">fixed_template</span><span class="p">;</span> <span class="w"> </span><span class="p">});</span> <span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;([^\{])\{([^\{])&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// single opening curly brace</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1__0CU!21Y__$2&quot;</span><span class="p">);</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;([^\}])\}([^\}])&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// single closing curly brace</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1__CCU!21Y__$2&quot;</span><span class="p">);</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\[\[(?![Ff]ile|[Ii]mage)([^\|\]]+)\|([^\]]+)\]\]&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// HIDE complex wikilinks: [[article title|label]] to __WL1NK_O__article title__P1P3__label__WL1NK_C__</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;__WL1NK_O__$1__P1P3__$2__WL1NK_C__&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// [[File: with wikilinks inside can be confusing</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\[\[([^\]]+)\]\]&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// HIDE simple wikilinks: [[article title]] to __WL1NK_O__article title__WL1NK_C__</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;__WL1NK_O__$1__WL1NK_C__&quot;</span><span class="p">);</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\&lt;!\-\- *Bot[\- ]generated title *\-\-&gt;&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;__B07_G3N_717L3__&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// bot generated title comment</span> <span class="w"> </span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\&lt;!\-\- *Staff writer\(s\); no by-line\. *\-\-&gt;&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;__574FF_WR173R5__&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// staff writers</span> <span class="w"> </span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\&lt;!\-\- *Not stated *\-\-&gt;&quot;</span><span class="p">;</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="w"> </span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;__N07_57473D__&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// not stated</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">ArticleText</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> <span class="c1">//---------------------------&lt; U N H I D E &gt;------------------------------------------------------------------</span> <span class="c1">//</span> <span class="c1">// UNHIDE TEMPLATES: find templates and wikilinks that are hidden; replace the &#39;hide&#39; keywords with the</span> <span class="c1">// appropriate wiki markup</span> <span class="c1">//</span> <span class="k">private</span><span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="nf">unhide</span><span class="w"> </span><span class="p">(</span><span class="kt">string</span><span class="w"> </span><span class="n">ArticleText</span><span class="p">)</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__N07_57473D__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&lt;!--Not stated--&gt;&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// &lt;!--Not stated--&gt;</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__574FF_WR173R5__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&lt;!--Staff writer(s); no by-line.--&gt;&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// &lt;!--Staff writer(s); no by-line.--&gt;</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__B07_G3N_717L3__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;&lt;!-- Bot generated title --&gt;&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// bot generated title comment</span> <span class="w"> </span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__WL1NK_O__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;[[&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// UNHIDE: replace __WL1NK_O__ with [[</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__WL1NK_C__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;]]&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// UNHIDE: replace __WL1NK_C__ with ]]</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__P1P3__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;|&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// UNHIDE: replace __P1P3__ with |</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__0CU!21Y__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;{&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// UNHIDE: replace __0CU!21Y__ with {</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__CCU!21Y__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;}&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// UNHIDE: replace __CCU!21Y__ with }</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__0P3N__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;{{&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// UNHIDE: replace __0P3N__ with {{</span> <span class="w"> </span><span class="n">ArticleText</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">ArticleText</span><span class="p">,</span><span class="w"> </span><span class="s">@&quot;__CL0S3__&quot;</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;}}&quot;</span><span class="p">);</span><span class="w"> </span><span class="c1">// UNHIDE: replace __CL0S3__ with }}</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">ArticleText</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> <span class="c1">//---------------------------&lt; E M P T Y _ P A R A M _ R E M O V E &gt;------------------------------------------</span> <span class="c1">//</span> <span class="c1">// This function removes all empty named parameters from a template, attempting to leave what remains the same form.</span> <span class="c1">//</span> <span class="c1">// this is a multi-step process that attempts to handle most of the vagaries of how templates are written in</span> <span class="c1">// wikitext. In general there are three basic &#39;styles&#39;: horizontal – all parameters written on a single</span> <span class="c1">// line of text, vertical – all parameter written singly one-to-a-line, and a mix of the two – multiple lines</span> <span class="c1">// where each has one or more parameters.</span> <span class="c1">//</span> <span class="c1">// 1. where the parameter name &amp; &#39;=&#39; are on one line and the value on a following line, put the value on the same line as the &#39;=&#39;</span> <span class="c1">// 2. for mixed, when empties are followed by new line; remove the empty but leave the newline</span> <span class="c1">// 3. for any, empties are followed by pipe closing }; remove the empty but leave the | or }</span> <span class="c1">// 4. the preceding steps can leave blank lines; remove the blank lines</span> <span class="c1">//</span> <span class="k">private</span><span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="nf">empty_param_remove</span><span class="w"> </span><span class="p">(</span><span class="kt">string</span><span class="w"> </span><span class="n">template</span><span class="p">)</span> <span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="kt">string</span><span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;(\|[^=]+=[ \t]*)[\r\n]+(?!\s*[\|\}])&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// parameter name &amp; &#39;=&#39; on one line, value on a following line</span> <span class="w"> </span><span class="k">while</span><span class="w"> </span><span class="p">(</span><span class="n">Regex</span><span class="p">.</span><span class="n">Match</span><span class="p">(</span><span class="n">template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">).</span><span class="n">Success</span><span class="p">)</span><span class="w"> </span><span class="c1">// put them on the same line</span> <span class="w"> </span><span class="n">template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1&quot;</span><span class="p">);</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\|[^=]+=[ \t]*([\r\n]+)&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// empty followed by new line</span> <span class="w"> </span><span class="k">while</span><span class="w"> </span><span class="p">(</span><span class="n">Regex</span><span class="p">.</span><span class="n">Match</span><span class="p">(</span><span class="n">template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">).</span><span class="n">Success</span><span class="p">)</span> <span class="w"> </span><span class="n">template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1&quot;</span><span class="p">);</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;\|[^=]+=\s*([\|\}])&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// empty followed by pipe or at end of template</span> <span class="w"> </span><span class="k">while</span><span class="w"> </span><span class="p">(</span><span class="n">Regex</span><span class="p">.</span><span class="n">Match</span><span class="p">(</span><span class="n">template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">).</span><span class="n">Success</span><span class="p">)</span> <span class="w"> </span><span class="n">template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1&quot;</span><span class="p">);</span> <span class="w"> </span><span class="n">pattern</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s">@&quot;([\r\n]+)[ \t]*[\r\n]+&quot;</span><span class="p">;</span><span class="w"> </span><span class="c1">// close up multiple new lines</span> <span class="w"> </span><span class="k">while</span><span class="w"> </span><span class="p">(</span><span class="n">Regex</span><span class="p">.</span><span class="n">Match</span><span class="p">(</span><span class="n">template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">).</span><span class="n">Success</span><span class="p">)</span> <span class="w"> </span><span class="n">template</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">Regex</span><span class="p">.</span><span class="n">Replace</span><span class="p">(</span><span class="n">template</span><span class="p">,</span><span class="w"> </span><span class="n">pattern</span><span class="p">,</span><span class="w"> </span><span class="s">&quot;$1&quot;</span><span class="p">);</span> <span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">template</span><span class="p">;</span> <span class="w"> </span><span class="p">}</span> <span class="c1">//Monkbot_task_16_remove_replace_deprecated_dead-url_params.cs</span> </pre></div> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐5f58cd8b6‐z4dm2 Cached time: 20241203191651 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1, show‐toc] CPU time usage: 0.186 seconds Real time usage: 0.455 seconds Preprocessor visited node count: 663/1000000 Post‐expand include size: 12383/2097152 bytes Template argument size: 311/2097152 bytes Highest expansion depth: 6/100 Expensive parser function count: 2/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 58158/5000000 bytes Lua time usage: 0.118/10.000 seconds Lua memory usage: 4110391/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 160.367 1 -total 96.18% 154.246 2 Template:Cite_compare 2.38% 3.815 15 Template:Para 0.86% 1.386 2 Template:Var --> <!-- Saved in parser cache with key enwiki:pcache:60927445:|#|:idhash:canonical and timestamp 20241203191651 and revision id 1092666195. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1&amp;useformat=desktop" 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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;oldid=1092666195">https://en.wikipedia.org/w/index.php?title=User:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&amp;oldid=1092666195</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 11 June 2022, at 19:21<span class="anonymous-show">&#160;(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:Monkbot/task_16:_remove_replace_deprecated_dead-url_params&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-5f58cd8b6-z4dm2","wgBackendResponseTime":601,"wgPageParseReport":{"limitreport":{"cputime":"0.186","walltime":"0.455","ppvisitednodes":{"value":663,"limit":1000000},"postexpandincludesize":{"value":12383,"limit":2097152},"templateargumentsize":{"value":311,"limit":2097152},"expansiondepth":{"value":6,"limit":100},"expensivefunctioncount":{"value":2,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":58158,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 160.367 1 -total"," 96.18% 154.246 2 Template:Cite_compare"," 2.38% 3.815 15 Template:Para"," 0.86% 1.386 2 Template:Var"]},"scribunto":{"limitreport-timeusage":{"value":"0.118","limit":"10.000"},"limitreport-memusage":{"value":4110391,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-5f58cd8b6-z4dm2","timestamp":"20241203191651","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

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