CINXE.COM
View source for Wikipedia:Scripts - 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-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-not-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>View source for Wikipedia:Scripts - 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-disabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-not-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":true,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat": "dmy","wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"baa9cc55-3d66-4478-9d55-7cae8316c3c7","wgCanonicalNamespace":"Project","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":4,"wgPageName":"Wikipedia:Scripts","wgTitle":"Scripts","wgCurRevisionId":1219686608,"wgRevisionId":0,"wgArticleId":351933,"wgIsArticle":false,"wgIsRedirect":false,"wgAction":"edit","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Wikipedia:Scripts","wgRelevantArticleId":351933,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"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":30000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"source","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","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","jquery.makeCollapsible.styles":"ready","ext.charinsert.styles":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.discussionTools.init.styles":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["mediawiki.action.edit.collapsibleFooter","site","mediawiki.page.ready","jquery.makeCollapsible","skins.vector.js","ext.centralNotice.geoIP","ext.charinsert","ext.gadget.ReferenceTooltips","ext.gadget.charinsert", "ext.gadget.extra-toolbar-buttons","ext.gadget.refToolbar","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.popups","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents","ext.navigationTiming","ext.uls.interface","ext.cx.eventlogging.campaigns","ext.checkUser.clientHints","wikibase.sidebar.tracking"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.charinsert.styles%7Cext.discussionTools.init.styles%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediaBadges%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="noindex,nofollow,max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="View source for Wikipedia:Scripts - Wikipedia"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//en.m.wikipedia.org/wiki/Wikipedia:Scripts"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Wikipedia:Scripts&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/Wikipedia:Scripts"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-4 ns-subject mw-editable page-Wikipedia_Scripts rootpage-Wikipedia_Scripts skin-vector-2022 action-edit"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=Wikipedia%3AScripts&returntoquery=action%3Dedit" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=Wikipedia%3AScripts&returntoquery=action%3Dedit" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&utm_medium=sidebar&utm_campaign=C13_en.wikipedia.org&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Wikipedia%3AScripts&returntoquery=action%3Dedit" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Wikipedia%3AScripts&returntoquery=action%3Dedit" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <h1 id="firstHeading" class="firstHeading mw-first-heading">View source for Wikipedia:Scripts</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-project" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Wikipedia:Scripts" title="View the project page [c]" accesskey="c"><span>Project page</span></a></li><li id="ca-talk" class="vector-tab-noicon mw-list-item"><a href="/wiki/Wikipedia_talk:Scripts" 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="vector-tab-noicon mw-list-item"><a href="/wiki/Wikipedia:Scripts"><span>Read</span></a></li><li id="ca-edit" class="selected vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Wikipedia:Scripts&action=edit" title="Edit this page"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Wikipedia:Scripts&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="vector-more-collapsible-item mw-list-item"><a href="/wiki/Wikipedia:Scripts"><span>Read</span></a></li><li id="ca-more-edit" class="selected vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Wikipedia:Scripts&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=Wikipedia:Scripts&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/Wikipedia:Scripts" 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/Wikipedia:Scripts" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="/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-info" class="mw-list-item"><a href="/w/index.php?title=Wikipedia:Scripts&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DWikipedia%3AScripts%26action%3Dedit"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DWikipedia%3AScripts%26action%3Dedit"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://www.wikidata.org/wiki/Special:EntityPage/Q10966085" title="Structured data on this page hosted by Wikidata [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> </div> <div id="contentSub"><div id="mw-content-subtitle">← <a href="/wiki/Wikipedia:Scripts" title="Wikipedia:Scripts">Wikipedia:Scripts</a></div></div> <div id="mw-content-text" class="mw-body-content"><p>You do not have permission to edit this page, for the following reasons: </p> <ul class="permissions-errors"><li class="mw-permissionerror-blockedtext"> <div id="mw-blocked-text" style="border: 1px solid #AAA; background-color: var(--background-color-warning-subtle, ivory); color: inherit; padding: 1.5em; width: 100%; box-sizing: border-box;"> <div style="text-align: center;"><span style="font-size: 26px;"><span typeof="mw:File"><a href="/wiki/File:Stop_hand_nuvola.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/en/thumb/f/f1/Stop_hand_nuvola.svg/50px-Stop_hand_nuvola.svg.png" decoding="async" width="50" height="50" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/f/f1/Stop_hand_nuvola.svg/75px-Stop_hand_nuvola.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/f/f1/Stop_hand_nuvola.svg/100px-Stop_hand_nuvola.svg.png 2x" data-file-width="240" data-file-height="240" /></a></span><b> This IP address has been <a href="/wiki/Wikipedia:Blocking_policy" title="Wikipedia:Blocking policy">blocked</a> from <i>editing</i> Wikipedia.</b></span><br /><span style="font-size: 18px;">This does not affect your ability to <i>read</i> Wikipedia pages.</span></div><div class="paragraphbreak" style="margin-top:0.5em"></div><b>Most people who see this message have done nothing wrong.</b> Some kinds of blocks restrict editing from specific service providers or telecom companies in response to recent abuse or vandalism, and can sometimes affect other users who are unrelated to that abuse. Review the information below for assistance if you do not believe that you have done anything wrong.<div class="paragraphbreak" style="margin-top:0.5em"></div> <p>The IP address or range 8.222.128.0/17 has been <a href="/wiki/Wikipedia:Blocking_policy" title="Wikipedia:Blocking policy">blocked</a> by <a href="/wiki/User:L235" title="User:L235">L235</a> for the following reason(s): </p> <div style="padding:10px; background:var(--background-color-base, white); color:inherit; border:1px #666 solid;"> <div class="user-block colocation-webhost" style="margin-bottom: 0.5em; background-color: #ffefd5; border: 1px solid #AAA; padding: 0.7em;"> <figure class="mw-halign-left" typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/5/53/Server-multiple.svg/40px-Server-multiple.svg.png" decoding="async" width="40" height="57" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/5/53/Server-multiple.svg/60px-Server-multiple.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/5/53/Server-multiple.svg/80px-Server-multiple.svg.png 2x" data-file-width="744" data-file-height="1052" /></span><figcaption></figcaption></figure><b>The <a href="/wiki/IP_address" title="IP address">IP address</a> that you are currently using has been blocked because it is believed to be a <a href="/wiki/Web_hosting_service" title="Web hosting service">web host provider</a> or <a href="/wiki/Colocation_centre" title="Colocation centre">colocation provider</a>.</b> To prevent abuse, <a href="/wiki/Wikipedia:Open_proxies" title="Wikipedia:Open proxies">web hosts and colocation providers may be blocked</a> from editing Wikipedia. <div style="border-top: 1px solid #AAA; clear: both">You will not be able to edit Wikipedia using a web host or colocation provider because it hides your IP address, much like a <a href="/wiki/Wikipedia:Open_proxies" title="Wikipedia:Open proxies">proxy</a> or <a href="/wiki/Virtual_private_network" title="Virtual private network">VPN</a>. <p><b>We recommend that you attempt to use another connection to edit.</b> For example, if you use a proxy or VPN to connect to the internet, turn it off when editing Wikipedia. If you edit using a mobile connection, try using a Wi-Fi connection, and vice versa. If you are using a corporate internet connection, switch to a different Wi-Fi network. If you have a Wikipedia account, please log in. </p><p>If you do not have any other way to edit Wikipedia, you will need to <a href="/wiki/Wikipedia:IP_block_exemption#Requesting_and_granting_exemption" title="Wikipedia:IP block exemption">request an IP block exemption</a>. </p> <style data-mw-deduplicate="TemplateStyles:r1214851843">.mw-parser-output .hidden-begin{box-sizing:border-box;width:100%;padding:5px;border:none;font-size:95%}.mw-parser-output .hidden-title{font-weight:bold;line-height:1.6;text-align:left}.mw-parser-output .hidden-content{text-align:left}@media all and (max-width:500px){.mw-parser-output .hidden-begin{width:auto!important;clear:none!important;float:none!important}}</style><div class="hidden-begin mw-collapsible mw-collapsed" style=""><div class="hidden-title skin-nightmode-reset-color" style="text-align:center;">How to appeal if you are confident that your connection does not use a colocation provider's IP address:</div><div class="hidden-content mw-collapsible-content" style=""> If you are confident that you are not using a web host, you may <a href="/wiki/Wikipedia:Appealing_a_block" title="Wikipedia:Appealing a block">appeal this block</a> by adding the following text on your <a href="/wiki/Help:Talk_pages" title="Help:Talk pages">talk page</a>: <code>{{<a href="/wiki/Template:Unblock" title="Template:Unblock">unblock</a>|reason=Caught by a colocation web host block but this host or IP is not a web host. My IP address is _______. <i>Place any further information here.</i> ~~~~}}</code>. <b>You must fill in the blank with your IP address for this block to be investigated.</b> Your IP address can be determined <span class="plainlinks"><b><a class="external text" href="https://en.wikipedia.org/wiki/Wikipedia:Get_my_IP_address?withJS=MediaWiki:Get-my-ip.js">here</a></b></span>. Alternatively, if you wish to keep your IP address private you can use the <a href="/wiki/Wikipedia:Unblock_Ticket_Request_System" title="Wikipedia:Unblock Ticket Request System">unblock ticket request system</a>. There are several reasons you might be editing using the IP address of a web host or colocation provider (such as if you are using VPN software or a business network); please use this method of appeal only if you think your IP address is in fact not a web host or colocation provider.</div></div> <p><span class="sysop-show" style="font-size: 85%;"><span style="border:#707070 solid 1px;background-color:#ffe0e0;padding:2px"><b>Administrators:</b></span> The <a href="/wiki/Wikipedia:IP_block_exemption" title="Wikipedia:IP block exemption">IP block exemption</a> user right should only be applied to allow users to edit using web host in exceptional circumstances, and requests should usually be directed to the functionaries team via email. If you intend to give the IPBE user right, a <a href="/wiki/Wikipedia:CheckUser" title="Wikipedia:CheckUser">CheckUser</a> needs to take a look at the account. This can be requested most easily at <a href="/wiki/Wikipedia:SPI#Quick_CheckUser_requests" class="mw-redirect" title="Wikipedia:SPI">SPI Quick Checkuser Requests</a>. <b>Unblocking</b> an IP or IP range with this template <b>is highly discouraged</b> without at least contacting the blocking administrator.</span> </p> </div></div> </div> <p>This block will expire on 18:23, 24 August 2026. Your current IP address is 8.222.208.146. </p> <div class="paragraphbreak" style="margin-top:0.5em"></div><div style="font-size: 16px;"> <p>Even when blocked, you will <i>usually</i> still be able to edit your <a href="/wiki/Special:MyTalk" title="Special:MyTalk">user talk page</a>, as well as <a href="/wiki/Wikipedia:Emailing_users" title="Wikipedia:Emailing users">email</a> administrators and other editors. </p> </div> <div class="paragraphbreak" style="margin-top:0.5em"></div><div style="font-size: 16px;"> <p>For information on how to proceed, please read the <b><a href="/wiki/Wikipedia:Appealing_a_block#Common_questions" title="Wikipedia:Appealing a block">FAQ for blocked users</a></b> and the <a href="/wiki/Wikipedia:Appealing_a_block" title="Wikipedia:Appealing a block">guideline on block appeals</a>. The <a href="/wiki/Wikipedia:Guide_to_appealing_blocks" title="Wikipedia:Guide to appealing blocks">guide to appealing blocks</a> may also be helpful. </p> </div> <p>Other useful links: <a href="/wiki/Wikipedia:Blocking_policy" title="Wikipedia:Blocking policy">Blocking policy</a> · <a href="/wiki/Help:I_have_been_blocked" title="Help:I have been blocked">Help:I have been blocked</a> </p> </div></li><li class="mw-permissionerror-globalblocking-blockedtext-range"> <div id="mw-blocked-text" style="border: 1px solid #AAA; background-color: var(--background-color-warning-subtle, ivory); color: inherit; padding: 1.5em; width: 100%; box-sizing: border-box;"> <div style="text-align: center;"><span style="font-size: 26px;"><span typeof="mw:File"><a href="/wiki/File:Stop_hand_nuvola.svg" class="mw-file-description"><img src="//upload.wikimedia.org/wikipedia/en/thumb/f/f1/Stop_hand_nuvola.svg/50px-Stop_hand_nuvola.svg.png" decoding="async" width="50" height="50" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/f/f1/Stop_hand_nuvola.svg/75px-Stop_hand_nuvola.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/f/f1/Stop_hand_nuvola.svg/100px-Stop_hand_nuvola.svg.png 2x" data-file-width="240" data-file-height="240" /></a></span><b> This IP address range has been <a href="https://meta.wikimedia.org/wiki/Global_blocks" class="extiw" title="m:Global blocks">globally blocked</a>.</b></span><br /><span style="font-size: 18px;">This does not affect your ability to <i>read</i> Wikipedia pages.</span></div><div class="paragraphbreak" style="margin-top:0.5em"></div><b>Most people who see this message have done nothing wrong.</b> Some kinds of blocks restrict editing from specific service providers or telecom companies in response to recent abuse or vandalism, and can sometimes affect other users who are unrelated to that abuse. Review the information below for assistance if you do not believe that you have done anything wrong.<div class="paragraphbreak" style="margin-top:0.5em"></div><div class="paragraphbreak" style="margin-top:0.5em"></div> <p>This block affects editing on all Wikimedia wikis. </p><p>The IP address or range 8.222.128.0/17 has been globally <a href="/wiki/Wikipedia:Blocking_policy" title="Wikipedia:Blocking policy">blocked</a> by <a href="/wiki/User:Jon_Kolbert" title="User:Jon Kolbert">Jon Kolbert</a> for the following reason(s): </p> <div style="padding:10px; background:var(--background-color-base, white); color:inherit; border:1px #666 solid;"> <p><a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/NOP" class="extiw" title="m:Special:MyLanguage/NOP">Open proxy/Webhost</a>: See the <a href="https://meta.wikimedia.org/wiki/WM:OP/H" class="extiw" title="m:WM:OP/H">help page</a> if you are affected </p> </div> <p>This block will expire on 15:12, 27 August 2028. Your current IP address is 8.222.208.146. </p> <div class="paragraphbreak" style="margin-top:0.5em"></div><div style="font-size: 16px;"> <p>Even while globally blocked, you will <i>usually</i> still be able to edit pages on <a href="https://meta.wikimedia.org/wiki/" class="extiw" title="m:">Meta-Wiki</a>. </p> </div> <div class="paragraphbreak" style="margin-top:0.5em"></div><div style="font-size: 16px;"> <p>If you believe you were blocked by mistake, you can find additional information and instructions in the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/No_open_proxies" class="extiw" title="m:Special:MyLanguage/No open proxies">No open proxies</a> global policy. Otherwise, to discuss the block please <a href="https://meta.wikimedia.org/wiki/Steward_requests/Global" class="extiw" title="m:Steward requests/Global">post a request for review on Meta-Wiki</a>. You could also send an email to the <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/Stewards" class="extiw" title="m:Special:MyLanguage/Stewards">stewards</a> <a href="https://meta.wikimedia.org/wiki/Special:MyLanguage/VRT" class="extiw" title="m:Special:MyLanguage/VRT">VRT</a> queue at <kbd>stewards@wikimedia.org</kbd> including all above details. </p> </div> <p>Other useful links: <a href="https://meta.wikimedia.org/wiki/Global_blocks" class="extiw" title="m:Global blocks">Global blocks</a> · <a href="/wiki/Help:I_have_been_blocked" title="Help:I have been blocked">Help:I have been blocked</a> </p> </div></li></ul><hr /> <div id="viewsourcetext">You can view and copy the source of this page:</div><textarea readonly="" accesskey="," id="wpTextbox1" cols="80" rows="25" style="" class="mw-editfont-monospace" lang="en" dir="ltr" name="wpTextbox1">{{short description|Wikipedia information page}} {{hatnote|This is about general programming scripts. For written language scripts, see [[Help:Multilingual support]]. For user programming scripts, see [[Wikipedia:User scripts]]. For [[Greasemonkey]] user scripts, see [[Wikipedia:Tools/Greasemonkey user scripts]]. For other tools, see [[Wikipedia:Tools]].}} {{Wikipedia programs}} {{Information page|WP:SCRIPT|WP:SCRIPTS|WP:IRCSCRIPTS}} This page serves as a central repository for [[Scripting language|scripts]] on [[Wikipedia]]. Please feel free to improve any of these scripts but make sure to test your changes first. Like the rest of Wikipedia, all material here is under [[Creative Commons|CC BY-SA 4.0]]. See [[Wikipedia:Scripts#License|licensing]] for further details. == Guidelines == === KISS === Remember to [[KISS principle|Keep it simple, stupid]]. Do one thing and do it well; this is a place for simple scripts and not whole programs. === License === All material on Wikipedia is by default under the [[WP:CC BY-SA|CC BY-SA]] license (and in most cases, also the [[GNU Free Documentation License]] (GFDL)). The CC BY-SA license is designed for artistic and literary works, but not for software. However, version 4.0 of CC BY-SA allows its "[[copyleft|ShareAlike]]" provision to be fulfilled by releasing modified code under the GPL, version 3. However, if you want your work to be of the greatest use to the public, please consider dual-licensing it so that reusers can take advantage of future versions of the GPL. Like the GFDL, the GPL is released by the [[Free Software Foundation]]. You can use both by explicitly stating in a comment at the start of your script that your script is dual-licensed under the GPL. == IRC channel scripts == === Scripts for [[mIRC]] === * [[/mIRC wikilink scripts]] - activate wikilinks in [[mIRC]] * [[/Tea time]] - forces you to use correct capitalization and punctuation on IRC. * [[/Wikimedia RC Watcher]] - watch all channels in irc.wikimedia.org, and lists the live RC in a separate list window with editing access via right-click * [[/Revision ID linker into SVN]] - linking revision ids * [[/Bug linking into Mediazilla ver 0.1]] * [[User:Chzz/mIRC/x]] - Channel operator script to quiet Freenode webclient users quickly, on hex IP mask === Scripts for [[ChatZilla]] === * [[/Wikilinks]] - Makes wikilinks clickable in the output window; contributed to the public domain by [[User:IceKarma|IceKarma]] on April 22, 2005. === Scripts for Colloquy === * [http://colloquy.info/extras/details.php?file=33 WikipediaLink] - makes links clickable in [[Colloquy (IRC client)|Colloquy]], an IRC client for [[Mac OS X]]. === Scripts for XChat/HexChat === * [[/Script for XChat]] === Scripts for ircII === A brief ON trigger for [[ircII]] that works with [[#mwlink]] below. If I was really elite this would all be in ircII script language, but that would be really too awful to contemplate: besides which, the filter can be useful for other purposes. <pre> set exec_protection off on public - on #^public 0 * if (match(*[[* [$2-])) { exec mwlink $shellfix($Z$1<$0> $2-) } { echo $Z$1<$0> $2- } </pre> Note: setting exec_protection off could make you vulnerable to exploits by others unless you know what you're doing with your ON triggers. Also, the <tt>$Z$1<$0> $2-</tt> is my preferred format for channel messages; yours may differ. This is efficient in the sense that it only invokes the filter for lines containing a wiki link; it is inefficient because it invokes it for every line. I couldn't get persistent process communication working for ircII--if someone else can, that would be great. === EPIC4 === This [[Enhanced Programmable ircII Client|ircII-derived client]] can use almost the same script as [[#ircII|ircII]], above: <pre> set exec_protection off on public - on #^public 0 * if (match(*[[* [$2-])) { exec -direct mwlink $Z$1<$0> $2- } { echo $Z$1<$0> $2- } </pre> Note that the <tt>-direct</tt> option to <tt>/exec</tt> is used instead of the <tt>$shellfix()</tt> function, which EPIC4 does not provide. === [[Gaim]] === :<small>''Note: the below instructions worked for me in Gaim v1.5.0, but it has been reported not to work with Gaim v2's.--[[User:Commander Keane|Commander Keane]] 08:31, 25 July 2006 (UTC)''</small> Use of the linkify plugin plus a wikilink config file allows you to see all those <nowiki>[[links]]</nowiki> that everyone is typing as real links. # Wingaim users who haven't installed activeperl, download [http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl activeperl 5.8] first, as per [http://gaim.sourceforge.net/win32/#perl Perl plugin support], then ''reinstall gaim''. # Download the Linkify Perl script from [http://sourceforge.net/tracker/index.php?func=detail&aid=1026860&group_id=235&atid=390395 sourceforge]. Copy it to your plugins directory (~/.gaim/plugins or C:\Program Files\Gaim\plugins) as described in [http://gaim.sourceforge.net/faq.php#q92 How do I use perl scripts with Gaim?] # Currently in wingaim you need to alter the path line #:<syntaxhighlight lang="perl"> my $CfgFile = "$ENV{HOME}/.gaim/linkify.cfg"; </syntaxhighlight> #:to #:<syntaxhighlight lang="perl"> my $CfgFile = "C:/Documents and Settings/YOURUSERNAME/Application Data/.gaim/linkify.cfg"; </syntaxhighlight> # Download the [http://sourceforge.net/tracker/download.php?group_id=235&atid=390395&file_id=101256&aid=1026860 linkify.cfg] example file from the [http://sourceforge.net/tracker/index.php?func=detail&aid=1026860&group_id=235&atid=390395 same page]. Copy it to ~/.gaim (or UserName\Application Data\.gaim). Currently it is set to change "Bug ###" into a clickable link to bugzilla. # Add the lines: #:<syntaxhighlight lang="perl"> # Wikipedia links \[\[([^\[\]]*)\]\] http://en.wikipedia.org/wiki/$1 </syntaxhighlight> #:to the config file (and remove the bug linking if you care). The regexp may not be perfect, but you can all refine it! It's a wiki! # Restart Gaim, then go to Tools > Preferences > Plugins and select the "Linkify" plugin. (Contributed by [[User:Omegatron]]) === [[Irssi]] === ====Met's script==== Use the following script, which will make any <nowiki>[[links]]</nowiki> appear as <nowiki>[[links]] <http://en.wikipedia.org/wiki/links></nowiki>. Store it in .irssi/scripts, then you do /load script-name, although it might not take effect in an existing instance of a channel: {{Collapse top|title=Met's script}} <syntaxhighlight lang="perl"> #!/usr/bin/perl use strict; use warnings; use Irssi; Irssi::settings_add_str ('wikify', 'wiki_lang', 'en'); Irssi::settings_add_str ('wikify', 'wiki_active_channels', 'freenode/#wikipedia freenode/#wikibooks'); sub wikilang { Irssi::settings_get_str ('wiki_lang'); } sub urlencode { my $string = shift; $string =~ y/ /_/; $string =~ s/(\W)/sprintf("%%%02X", ord($1))/seg; return $string; } sub wikilink { my $s = shift; my $u = urlencode $s; my $l = wikilang; "[[$s]] <http://$l.wikipedia.org/wiki/$u>"; } sub wikitemplate { my $s = shift; my $u = urlencode $s; my $l = wikilang; "{{$s}} <http://$l.wikipedia.org/wiki/Template:$u>"; } sub wikify { my $line = shift; $line =~ s/\[\[(.*?)\]\]/wikilink $1/eg; $line =~ s/{{(.+?)}}/wikitemplate $1/eg; return $line; } sub sig_message_public { my ($server, $msg, $nick, $address, $target) = @_; my $chatnet = $server->{chatnet}; my $ok = 0; for my $t (split /\s+/, Irssi::settings_get_str ('wiki_active_channels')) { $ok = 1 if lc $t eq lc "$chatnet/$target"; } return unless $ok; $msg = wikify $msg; Irssi::signal_continue ($server, $msg, $nick, $address, $target); } Irssi::signal_add_first ('message public', \&sig_message_public); </syntaxhighlight> {{Collapse bottom}} (Contributed by [[User:Ricky clarkson|Ricky Clarkson]], who was channelling 'met' from Freenode IRC, on #irssi) ====Hocevar's script==== [[User:Sam Hocevar]] has an irssi script to do much the same thing; see [http://sam.zoy.org/wikipedia/ his Wikipedia] page; [http://sam.zoy.org/wikipedia/wikilinks.pl wikilinks.pl]. ===[[ERC (IRC client)|ERC]]=== ERC is an IRC client for emacs implemented in Emacs Lisp. The following code can be added to your emacs initialization file (I put it in {{mono|~/.emacs.d/mwlink.el}}). It uses the [[#mwlink]] script below, running in daemon mode ({{mono|mwlink --daemon}}); or rather, it depends on it. Your browser will open a URL of the form {{mono|1=http://localhost:4242/mwlink?page=&lt;page&gt;}} and get redirected to the appropriate wikimedia page. This means the following code can be relatively simple (rather than having to figure out languages, namespaces and wikis on its own. Another note: this depends on the emacs-wiki package for the {{mono|emacs-wiki-escape-url}} function. I also don't know how well it plays with Custom (though customizing `erc-button-alist' isn't any nicer than doing this or editing it directly). <syntaxhighlight lang="emacs-lisp"> (add-to-list 'erc-button-alist '("\\[\\[\\(.*?\\)\\]\\]" 0 t (lambda (page) (browse-url (concat "http://localhost:4242/mwlink?page=" (emacs-wiki-escape-url page)))) 1)) </syntaxhighlight> ===[[IceChat]]=== ====IceChat 5.5 or below==== *Press Control-S to bring up Script Editor *Paste code into a new script file *Hit "update and close" in the ''Main'' menu. ====IceChat 7==== *Press Control-S to bring up IceChat Editor *Click the 'Scripts' tab, and paste the code into the blank space *Click 'File' then 'Save As...' *Change the extension from ''' '*.ics' ''' to ''' '*.ice' ''' ''(IceChat 5 Script)'', enter a suitable name for the file and save. *Hit the "Save & Exit" button. *Modified by —— [[user:Eagle 101|Eagle]] ([[user talk:Eagle 101|ask me for '''help''']]) to accept templates. ({{tl|this}} will result in [[Template:this]] *Modified by —— [[user:Eagle 101|Eagle]] ([[user talk:Eagle 101|ask me for '''help''']]) to deal with piped|links <syntaxhighlight lang="irc"> [10:10] <Someuser> Blah blah blah [[WP:AFD]] blah blah blah. [[WP:POINT]] blah blah blah. [10:10] http://en.wikipedia.org/wiki/WP:AFD http://en.wikipedia.org/wiki/WP:POINT </syntaxhighlight> {{Collapse top|title=IceChat}} <syntaxhighlight lang="vb">Function WikiMatch(TextToMatch) Dim regEx, CurrentMatch, CurrentMatches, ActualLink, Links, CurrentSearch Set regEx = New RegExp regEx.Pattern = "(\[\[.*?\|)|\[\[.*?\]\]|(\{\{.*?\}\})" regEx.IgnoreCase = True regEx.Global = True regEx.MultiLine = True Set CurrentMatches = regEx.Execute(TextToMatch) For Each CurrentSearch in CurrentMatches ActualLink = Replace(CurrentSearch,"[[", "") ActualLink = Replace(ActualLink, "]]", "") ActualLink = Replace(ActualLink, "{{", "Template:") ActualLink = Replace(ActualLink, "}}", "") ActualLink = Replace(ActualLink, "|", "") ActualLink = Replace(ActualLink, " ", "_") if ActualLink <> "" Then WikiMatch = Wikimatch + " http://en.wikipedia.org/wiki/" + ActualLink End If Next End Function Sub ONTEXT(Message,Channel,Nickname,Host,ServerNumber) Dim Matches Matches = WikiMatch(Message) If Matches <> "" Then SendCommand "/echo " + Channel + " " + Matches , ServerNumber End If End Sub Sub ONQUERY(Message,Nickname,Host,ServerNumber) Dim Matches Matches = WikiMatch(Message) If Matches <> "" Then SendCommand "/echo =" + Nickname + " " + Matches , ServerNumber End If End Sub</syntaxhighlight> {{Collapse bottom}} ===[[KVIrc]]=== To use this script, select '''Scripting''' > '''Edit events...''', right-click on the '''OnChannelMessage''' event and select '''New handler''', then paste the script. For using the [[Wikipedia:secure server|secure server]], change the following line in the used script: <pre><nowiki> %wikibase="http://en.wikipedia.org/wiki/" </nowiki></pre> to <pre><nowiki> %wikibase="https://en.wikipedia.org/wiki/" </nowiki></pre> {{Collapse top|title=KVIrc pre 4.0 script}} <syntaxhighlight lang="perl"> # Parameters: # $0 = source nick # $1 = source username # $2 = source host # $3 = message %wikibase="http://en.wikipedia.org/wiki/" %msg=$3 %done =0 %replace=0 %iter=1 while (%done==0) { %linkleft=$str.find(%msg, "[[", %iter) %linkright=$str.find(%msg, "]]", %iter) %linklength =$(%linkright-%linkleft) %linklength = $(%linklength-2) if ((%linkleft>=0)&&(%linklength>0)) { %wikitarget = $str.mid(%msg, $(%linkleft+2), %linklength) %url =%wikibase%wikitarget %newtarget = $k(12)$fmtlink(%wikitarget, openurl %url)$k # Brackets avoid mix-up when wikiword is too short %msg = $str.replace(%msg, "[[%newtarget]]", "[[%wikitarget]]") %replace=1 } else { %done=1 } %iter++ # Avoid infinite loop if (%iter>8) { %done=1 } } if (%replace) { echoprivmsg $0 $1 $2 %msg # halt normal message processing halt } # Function exits without output for unprocessed messages </syntaxhighlight> {{Collapse bottom}} Version 4 introduced small changes in the scripting language KVS and thus old scripts may not work any longer. The Version 4.0+ script has additional the possibility to display URLs for wikilinks which are going to the [[Wikipedia:ACC|account creation tool]] on the [[WP:toolserver|toolserver]] and to link templates correctly. {{Collapse top|title=KVIrc 4.0+}} <syntaxhighlight lang="perl"># Parameters: # $0 = source nick # $1 = source username # $2 = source host # $3 = message %accbase="http://toolserver.org/~acc/acc.php?action=zoom&id=" %wikibase="http://en.wikipedia.org/wiki/" %acc=0 %template=0 %msg=$3 %done=0 %replace=0 %iter=1 while (%done==0) { %linkleft = $str.find(%msg, "[[", %iter) %linkleft_acc = $str.find(%msg, "[[acc:", %iter) %linkleft_template = $str.find(%msg, "{{", %iter) if(%linkleft_acc>=0) { %acc=1 %linkleft=%linkleft_acc } if(%linkleft_template>=0) { %template=1 %linkleft=%linkleft_template } if(%template==1) { %linkright=$str.find(%msg, "}}", %iter) } else { %linkright=$str.find(%msg, "]]", %iter) } %linklength =$(%linkright-%linkleft) %linklength = $(%linklength-2) if ((%linkleft>=0)&&(%linklength>0)) { %wikitarget = $str.mid(%msg, $(%linkleft+2), %linklength) if(%acc==1) { %acctarget = $str.mid(%wikitarget, $(4), %linklength) %url =%accbase%acctarget } else { if(%template==0) { %url =%wikibase%wikitarget } else { %url =%wikibase"Template:"%wikitarget } } %newtarget = $k(12)$fmtlink(%wikitarget, openurl %url)$k # Brackets avoid mix-up when wikiword is too short if(%template==0) { %msg = $str.replace(%msg, "[[%wikitarget]]", "[[%newtarget]]") } else { %msg = $str.replace(%msg, "{{%wikitarget}}", "{{%newtarget}}") } %replace=1 } else { %done=1 } %iter++ # Avoid infinite loop if (%iter>8) { %done=1 } } if (%replace) { echoprivmsg $0 $1 $2 %msg # halt normal message processing halt } # Function exits without output for unprocessed messages </syntaxhighlight> {{Collapse bottom}} ===AdiIRC=== {{collapse top|title={{u|The Wordsmith}}'s Script}} <pre> ; Copyright (c) 2016 The Wordsmith. ; This script is dual-licensed under the GPL, ; version 3 or (at your option) any later version. ; Redistribution of source code must retain this copyright notice and appropriate attribution. ; See http://www.gnu.org/licenses/gpl.txt for more details. on $*:text:/^\[\[.*?\]\]$/i:#:{ var %pos1 = $calc($pos($1-,[,2) + 1) var %pos2 = $pos($1-,],1) var %match = $mid($1-, %pos1, $calc(%pos2 - %pos1)) %match = $urlencode(%match) /echo $chan Wikilink: http://en.wikipedia.org/wiki/ $+ %match } alias UrlEncode return $regsubex($1-, /([^a-z\d_+.-])/ig, % $+ $base( $asc(\t), 10, 16, 2) ) </pre> {{collapse bottom}} == Wikilink filters == ===mwlink=== * [[/mwlink]] - Ruby program that can be run as a daemon (intercepts HTTP requests and redirects them to the appropriate Wikimedia page) or text processor (converts wikilinks to text hyperlinks). ==Recent changes scripts== ===mIRC=== Here's a short script to open up all contributions from anons in browser windows (works well with tabbed browsing). [[User:CryptoDerk|CryptoDerk]] 23:04, Feb 15, 2005 (UTC) Place the following in '''Tools->Scripts Editor''' under the '''remote''' tab. <pre><nowiki> ON $50:TEXT:/(http\S+) \* \d\d?\d?\.\d\d?\d?\.\d\d?\d?\.\d\d?\d? /iS:#en.wikipedia: run $regml(1) alias F9 auser 50 *127.0.0.1 alias F11 ruser 50 *127.0.0.1 </nowiki></pre> Now just sit in #en.wikipedia and hit F9 to begin. Hit F11 to stop. You can change F9/F11 to whatever function keys you like. The above script can be adapted to open specific types of edits in #cvn-wp-en: <pre><nowiki> ON $50:TEXT:/gibberish|copyvio.*diff.*(http\S+)/iS:#cvn-wp-en: run $regml(1) alias F8 auser 50 *computer@wikipedia alias F12 ruser 50 *computer@wikipedia </nowiki></pre> This will open edits that the user with the cloak "computer@wikipedia" labels as "gibberish" or "copyvio". Use F8 and F12 to start and stop the script. Also, for a frontend to the IRC live feeds, check out [[User:CryptoDerk/CDVF|CryptoDerk's Vandal Fighter]]. == [[Unicode]] numeric converter scripts == === Perl === An [[HTML]] character entity converter written in [[Perl]] that uses the <tt>ord()</tt> function to convert a character to its corresponding number in the character set. It operates on [[standard input]]. <syntaxhighlight lang="perl"> #!/usr/bin/perl # Code is in the public domain. use strict; my @input = split (//, <>); foreach my $c ( @input ) { if ( ord($c) >= 255 ) { print '&amp;#' . ord($c) . ';'; } else { print $c; } } </syntaxhighlight> === [[AppleScript]] === '''Author''': [[User:Olof|Olof]] '''Notes''': I got fed up with looking up Unicode characters, so I wrote an AppleScript for my favorite styled text editor (Style) to write them for me. Now, I can just type Japanese into a text edit window like this: [[Koizumi Junichiro| &#23567; &#27849; &#32020; &#19968; &#37070; ]] Select it, choose my script from the scripts menu, and it turns into: [[Koizumi Junichiro| &#23567; &#27849; &#32020; &#19968; &#37070; ]] &amp;#23567; &amp;#27849; &amp;#32020; &amp;#19968; &amp;#37070; which is what you can paste into the Wikipedia edit window. This is a Mac-only solution, but I thought I'd share it for those of you who can use it. Compile the script below in ScriptEditor, and save it in the "Style Scripts" folder in the same folder where the Style application lives. I have mine saved as "Append Unicoded HTML". Thereafter it will appear in Style's "Scripts" menu. Style is available at [http://www.merzwaren.com merzwaren] ($20 shareware). I have this running on Mac OS X 10.2.1 with Style version 1.9.2. Here's the script: {{Collapse top|title=AppleScript}} <syntaxhighlight lang="applescript"> set theHTML to "" tell application "Style" set selText to selection of document 1 as Unicode text set selStart to get offset of selection of document 1 set selEnd to get offset of end of selection of document 1 set dataLen to (selEnd - selStart) end tell set tempName to "unicode temp" tell application "Finder" if alias tempName exists then move alias tempName to the trash end if end tell set fileRef to open for access tempName with write permission write selText to fileRef set myRawData to read fileRef from 0 for dataLen close access fileRef tell application "Finder" move alias tempName to the trash end tell set numChars to dataLen div 2 repeat with n from 1 to numChars set theHTML to theHTML & "&#" set a to get character (2 * n - 1) of myRawData set b to get character (2 * n) of myRawData set lVal to ((ASCII number b) + (256 * (ASCII number a))) set theHTML to (theHTML & lVal as string) & "; " end repeat tell application "Style" set selection of document 1 to ((selection of document 1) & " ( " & theHTML & " ) ") end tell </syntaxhighlight> {{Collapse bottom}} === [[JavaScript]] === '''Authors''': *[[User:Cyp|&#1603;&#1587;&#1610;&#1662; Cyp]] 10:14 7 Jun 2003 (UTC) ( initial write ) *--[[User:Ævar Arnfjörð Bjarmason|Ævar Arnfjörð Bjarmason]] 16:02, 2004 May 16 (UTC) ( major cleanup of html code, added indenting ) '''Known to work on''': *[[Internet Explorer]] 5.00.3502.1000 *[[Mozilla Firefox]] 0.8 '''Notes''': You may not need a script for converting CJK characters if you have a Mac running Mac OS X 10.2 and have Mozilla as your browser. Just do the editing from within Mozilla. Mozilla automatically does the conversion. For example, in adding this edit, I type in the Japanese characters for "edit," which are &#32232;&#38598;. Mozilla automatically converted these characters to the proper romanized Unicode format. Just look at the above lines in the editing box to see for yourself. -[[User: IppikiOokami]] 5 September 2003 {{Collapse top|title=JavaScript}} <syntaxhighlight lang="javascript"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Unicode conversion utility</title> </head> <body> <form name="charform"> <p>Type here, and all characters with a code greater than 127 will be converted to &amp;#1234; codes.</p> <p>Input:</p> <textarea name="input" cols="80" rows="25" onKeyUp="revtxt()"> Sorry, this page is useless with JavaScript disabled. </textarea> <p>Output:</p> <textarea name="output" cols="80" rows="25"> Sorry, this page is useless with JavaScript disabled. </textarea> </form> <script type="text/javascript"> <!-- document.charform.input.value=""; document.charform.output.value="Don't type here."; function revtxt() { var s=document.charform.input.value; o=""; for( m=0;s.charAt(m);++m ) if ( (c=s.charCodeAt(m))<128&&c!=38) o+=s.charAt(m); else if (c==38) o+="&amp;"; else o+="&#"+c+";"; document.charform.output.value=o; } --> </script> </html> </syntaxhighlight> {{Collapse bottom}} == Watchlist and undeletion select-all script == This script usefully checks all checkboxes on a Wikipedia page, useful for clearing large watchlists or restoring pages with large histories. It works in Firefox, Internet Explorer, Camino and [[Safari (web browser)|Safari]]. In Firefox, create a bookmark, with the following code in the "location" field. In Internet Explorer, create a favourite, and once it's created, right click it, select "properties" and place the following code in the "URL" box (it will give you an invalid protocol warning, but you can ignore this, and it will work). In [[Safari (web browser)|Safari]], use the "Show all Bookmarks" option. Choose the "Bookmarks Bar" collection. Select the script below into the copy buffer and simply paste ([Command]-v) it into the window on the right. A new bookmark will automatically be created and will appear in the bookmarks bar. Re-name it something sensible like "Select All". <syntaxhighlight lang="javascript"> javascript:for (i=0; i<document.forms.length; i++) { for (j=0; j<document.forms[i].elements.length; j++) { f= document.forms[i].elements[j]; if (f.type == 'checkbox') f.checked= true; } } void 0 </syntaxhighlight> == Upload script == A script written in Perl to mass upload photographs to Commons. See [[commons:User:Nichalp/Upload script]]. == Image file export and migration script == [[/ImageFileMigrator]] Python script to download all files from a MediaWiki and add them to another MediaWiki using a Sysop account. == Categorizing and turning link color == After visiting a Wikipedia link, that link changes color from blue to purple on my computer screen. To tag pages with categories, I've been opening all the pages at [[:Category:NA-Class articles]], for example, to turn the links purple. Then I use the [http://en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&from=Non-article&namespace=14 All pages with prefix]. Those pages for which the link still is blue need a Category:NA-Class category tag. It takes a lot of time to initially open all the pages within a particular category to turn the link from blue to purple. Is there a way to change the colors of the links in [[:Category:NA-Class articles]] as the appear on my computer screen without having to visit each of the links? I tried editing my temporary internet file (browser history) and tried using the 'Print all linked documents' option of windows print feature to printing to a file (that I then deleted). I wasn't able to edit my temporary internet file (browser history) and the 'Print all linked documents' option didn't result in making the category links purple. Can you create me a script that causes all the links on a page (e.g. [[:Category:NA-Class articles]]) to change color to show that I visited the page (without actually opening the linked page)? I am open to other methods as well. Thanks. [[User:GregManninLB|GregManninLB]] ([[User talk:GregManninLB|talk]]) 15:57, 17 April 2008 (UTC) :In follow up, I posted this request at [[Wikipedia:WikiProject User scripts/Requests]]. [[User:GregManninLB|GregManninLB]] ([[User talk:GregManninLB|talk]]) 16:10, 17 April 2008 (UTC) == Database scripting requests == There are a number of pages designed to help with Wikipedia maintenance and editing which are generated by copying the entire Wikipedia database to a machine and running a script or program on it. Here you can request that someone with a recent copy of the database dump and the appropriate skills update the [[Special:Specialpages|Specialpages]] and other pages requiring scripting. See also: [[Wikipedia:Request a query]]. *[[Wikipedia:Most-edited talk pages]] **Needs to be updated. [[User:TUF-KAT|Tuf-Kat]] 16:41, Sep 1, 2004 (UTC) *[[Special:Deadendpages]] ** In desperate need. The OpenTask notation needs to be updated, and everything on the current list has been completed. --[[User:Wolf530|Wolf530]] 10:17, Mar 29, 2004 (UTC) ***seems to have been completely replaced by [[Wikipedia:Deadend pages]] ** ''Wikipedia:Deadend pages'' acts as an alternative but not replacement I believe. A script so those sufficiently able can regularly update the streamlined version i.e. [[Special:Deadendpages]] would be useful for easier determining of such pages and quick removal of stale data. It'd also, arguably allow Jo(e)-enduser to have a regularly updated source of such pages without reliance/waiting on someone else to run a linkdump for the ''Wikipedia:Deadend pages'' version. [[User talk:Whitehorse1|Whitehorse1]] | {{CURRENTMONTHNAME}} {{CURRENTDAY}} {{CURRENTYEAR}} {{CURRENTTIME}} (UTC) *[[Special:Lonelypages]] *[[Wikipedia:Wikipedians by number of edits|Wikipedians by number of edits]] *[[Wikipedia:List of blank pages]] **Operation is defunct and the page is marked as 'historical'.'''&thinsp;&mdash;'''&nbsp;[[User:Mr. Guye|Mr. Guye]]&nbsp;([[User talk:Mr. Guye|talk]])&nbsp;([[Special:Contributions/Mr. Guye|contribs]])&thinsp; 04:51, 27 August 2023 (UTC) *[[Wikipedia:Most Referenced Articles]] *[[Wikipedia:Disambiguation pages with links]] [[User:Grendelkhan|Grendelkhan]] 22:45, 2004 Apr 26 (UTC) *Articles present in at least 3/6 languages --[[User:Sj|+sj]][[User Talk:Sj|+]] 11:12, 2004 Mar 15 (UTC) *Articles edited by the largest # of distinct users --[[User:Sj|+sj]][[User Talk:Sj|+]] 11:12, 2004 Mar 15 (UTC) *[[Wikipedia:Most wanted stubs]] very badly needed. --[[User:Brockert|Ben Brockert]] 03:13, May 21, 2004 (UTC) *Requesting database dump: List of all anon IP users with at least 1 edit. [[User:OlEnglish|OlEnglish]] ([[User talk:OlEnglish|talk]]) 03:10, 4 February 2009 (UTC) == See also == * [[Wikipedia:User scripts]] * [[Wikipedia:User scripts/Requests]] * [[Wikipedia:Scripts++]] – A newsletter about scripts {{Wikipedia technical help|collapsed}} [[Category:Wikipedia scripts| Scripts]] </textarea><div class="templatesUsed"><div class="mw-templatesUsedExplanation"><p><span id="templatesused">Pages transcluded onto the current version of this page<span class="posteditwindowhelplinks"> (<a href="/wiki/Help:Transclusion" title="Help:Transclusion">help</a>)</span>:</span> </p></div><ul> <li><a href="/wiki/Template:Collapse_bottom" title="Template:Collapse bottom">Template:Collapse bottom</a> (<a href="/w/index.php?title=Template:Collapse_bottom&action=edit" title="Template:Collapse bottom">view source</a>) (protected)</li><li><a href="/wiki/Template:Collapse_top" title="Template:Collapse top">Template:Collapse top</a> (<a href="/w/index.php?title=Template:Collapse_top&action=edit" title="Template:Collapse top">view source</a>) (protected)</li><li><a href="/wiki/Template:Collapse_top/styles.css" title="Template:Collapse top/styles.css">Template:Collapse top/styles.css</a> (<a href="/w/index.php?title=Template:Collapse_top/styles.css&action=edit" title="Template:Collapse top/styles.css">view source</a>) (protected)</li><li><a href="/wiki/Template:Flatlist" title="Template:Flatlist">Template:Flatlist</a> (<a href="/w/index.php?title=Template:Flatlist&action=edit" title="Template:Flatlist">view source</a>) (protected)</li><li><a href="/wiki/Template:Hatnote" title="Template:Hatnote">Template:Hatnote</a> (<a href="/w/index.php?title=Template:Hatnote&action=edit" title="Template:Hatnote">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:Hlist/styles.css" title="Template:Hlist/styles.css">Template:Hlist/styles.css</a> (<a href="/w/index.php?title=Template:Hlist/styles.css&action=edit" title="Template:Hlist/styles.css">view source</a>) (protected)</li><li><a href="/wiki/Template:Ifsubst" title="Template:Ifsubst">Template:Ifsubst</a> (<a href="/w/index.php?title=Template:Ifsubst&action=edit" title="Template:Ifsubst">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:Information_page" title="Template:Information page">Template:Information page</a> (<a href="/w/index.php?title=Template:Information_page&action=edit" title="Template:Information page">view source</a>) (semi-protected)</li><li><a href="/wiki/Template:Main_other" title="Template:Main other">Template:Main other</a> (<a href="/w/index.php?title=Template:Main_other&action=edit" title="Template:Main other">view source</a>) (protected)</li><li><a href="/wiki/Template:Mbox" title="Template:Mbox">Template:Mbox</a> (<a href="/w/index.php?title=Template:Mbox&action=edit" title="Template:Mbox">view source</a>) (protected)</li><li><a href="/wiki/Template:Mono" title="Template:Mono">Template:Mono</a> (<a href="/w/index.php?title=Template:Mono&action=edit" title="Template:Mono">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:Mono/styles.css" title="Template:Mono/styles.css">Template:Mono/styles.css</a> (<a href="/w/index.php?title=Template:Mono/styles.css&action=edit" title="Template:Mono/styles.css">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:Namespace_detect" title="Template:Namespace detect">Template:Namespace detect</a> (<a href="/w/index.php?title=Template:Namespace_detect&action=edit" title="Template:Namespace detect">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:No_redirect" title="Template:No redirect">Template:No redirect</a> (<a href="/w/index.php?title=Template:No_redirect&action=edit" title="Template:No redirect">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:Nowrap" title="Template:Nowrap">Template:Nowrap</a> (<a href="/w/index.php?title=Template:Nowrap&action=edit" title="Template:Nowrap">view source</a>) (protected)</li><li><a href="/wiki/Template:Ombox" title="Template:Ombox">Template:Ombox</a> (<a href="/w/index.php?title=Template:Ombox&action=edit" title="Template:Ombox">view source</a>) (protected)</li><li><a href="/wiki/Template:Pagetype" title="Template:Pagetype">Template:Pagetype</a> (<a href="/w/index.php?title=Template:Pagetype&action=edit" title="Template:Pagetype">view source</a>) (protected)</li><li><a href="/wiki/Template:Plainlist/styles.css" title="Template:Plainlist/styles.css">Template:Plainlist/styles.css</a> (<a href="/w/index.php?title=Template:Plainlist/styles.css&action=edit" title="Template:Plainlist/styles.css">view source</a>) (protected)</li><li><a href="/wiki/Template:Short_description" title="Template:Short description">Template:Short description</a> (<a href="/w/index.php?title=Template:Short_description&action=edit" title="Template:Short description">view source</a>) (protected)</li><li><a href="/wiki/Template:Short_description/lowercasecheck" title="Template:Short description/lowercasecheck">Template:Short description/lowercasecheck</a> (<a href="/w/index.php?title=Template:Short_description/lowercasecheck&action=edit" title="Template:Short description/lowercasecheck">view source</a>) (protected)</li><li><a href="/wiki/Template:Shortcut" title="Template:Shortcut">Template:Shortcut</a> (<a href="/w/index.php?title=Template:Shortcut&action=edit" title="Template:Shortcut">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:Template_link" title="Template:Template link">Template:Template link</a> (<a href="/w/index.php?title=Template:Template_link&action=edit" title="Template:Template link">view source</a>) (protected)</li><li><a href="/wiki/Template:Tl" class="mw-redirect" title="Template:Tl">Template:Tl</a> (<a href="/w/index.php?title=Template:Tl&action=edit" class="mw-redirect" title="Template:Tl">view source</a>) (protected)</li><li><a href="/wiki/Template:U" class="mw-redirect" title="Template:U">Template:U</a> (<a href="/w/index.php?title=Template:U&action=edit" class="mw-redirect" title="Template:U">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:User_link" title="Template:User link">Template:User link</a> (<a href="/w/index.php?title=Template:User_link&action=edit" title="Template:User link">view source</a>) (template editor protected)</li><li><a href="/wiki/Template:Wikipedia_programming" title="Template:Wikipedia programming">Template:Wikipedia programming</a> (<a href="/w/index.php?title=Template:Wikipedia_programming&action=edit" title="Template:Wikipedia programming">edit</a>) </li><li><a href="/wiki/Template:Wikipedia_programs" class="mw-redirect" title="Template:Wikipedia programs">Template:Wikipedia programs</a> (<a href="/w/index.php?title=Template:Wikipedia_programs&action=edit" class="mw-redirect" title="Template:Wikipedia programs">edit</a>) </li><li><a href="/wiki/Template:Wikipedia_technical_help" title="Template:Wikipedia technical help">Template:Wikipedia technical help</a> (<a href="/w/index.php?title=Template:Wikipedia_technical_help&action=edit" title="Template:Wikipedia technical help">view source</a>) (semi-protected)</li><li><a href="/wiki/Module:Arguments" title="Module:Arguments">Module:Arguments</a> (<a href="/w/index.php?title=Module:Arguments&action=edit" title="Module:Arguments">view source</a>) (protected)</li><li><a href="/wiki/Module:Check_for_unknown_parameters" title="Module:Check for unknown parameters">Module:Check for unknown parameters</a> (<a href="/w/index.php?title=Module:Check_for_unknown_parameters&action=edit" title="Module:Check for unknown parameters">view source</a>) (protected)</li><li><a href="/wiki/Module:Hatnote" title="Module:Hatnote">Module:Hatnote</a> (<a href="/w/index.php?title=Module:Hatnote&action=edit" title="Module:Hatnote">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:Hatnote/styles.css" title="Module:Hatnote/styles.css">Module:Hatnote/styles.css</a> (<a href="/w/index.php?title=Module:Hatnote/styles.css&action=edit" title="Module:Hatnote/styles.css">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:List" title="Module:List">Module:List</a> (<a href="/w/index.php?title=Module:List&action=edit" title="Module:List">view source</a>) (protected)</li><li><a href="/wiki/Module:Message_box" title="Module:Message box">Module:Message box</a> (<a href="/w/index.php?title=Module:Message_box&action=edit" title="Module:Message box">view source</a>) (protected)</li><li><a href="/wiki/Module:Message_box/configuration" title="Module:Message box/configuration">Module:Message box/configuration</a> (<a href="/w/index.php?title=Module:Message_box/configuration&action=edit" title="Module:Message box/configuration">view source</a>) (protected)</li><li><a href="/wiki/Module:Message_box/ombox.css" title="Module:Message box/ombox.css">Module:Message box/ombox.css</a> (<a href="/w/index.php?title=Module:Message_box/ombox.css&action=edit" title="Module:Message box/ombox.css">view source</a>) (protected)</li><li><a href="/wiki/Module:Namespace_detect" title="Module:Namespace detect">Module:Namespace detect</a> (<a href="/w/index.php?title=Module:Namespace_detect&action=edit" title="Module:Namespace detect">view source</a>) (protected)</li><li><a href="/wiki/Module:Namespace_detect/config" title="Module:Namespace detect/config">Module:Namespace detect/config</a> (<a href="/w/index.php?title=Module:Namespace_detect/config&action=edit" title="Module:Namespace detect/config">view source</a>) (protected)</li><li><a href="/wiki/Module:Namespace_detect/data" title="Module:Namespace detect/data">Module:Namespace detect/data</a> (<a href="/w/index.php?title=Module:Namespace_detect/data&action=edit" title="Module:Namespace detect/data">view source</a>) (protected)</li><li><a href="/wiki/Module:Navbar" title="Module:Navbar">Module:Navbar</a> (<a href="/w/index.php?title=Module:Navbar&action=edit" title="Module:Navbar">view source</a>) (protected)</li><li><a href="/wiki/Module:Navbar/configuration" title="Module:Navbar/configuration">Module:Navbar/configuration</a> (<a href="/w/index.php?title=Module:Navbar/configuration&action=edit" title="Module:Navbar/configuration">view source</a>) (protected)</li><li><a href="/wiki/Module:Navbar/styles.css" title="Module:Navbar/styles.css">Module:Navbar/styles.css</a> (<a href="/w/index.php?title=Module:Navbar/styles.css&action=edit" title="Module:Navbar/styles.css">view source</a>) (protected)</li><li><a href="/wiki/Module:Navbox" title="Module:Navbox">Module:Navbox</a> (<a href="/w/index.php?title=Module:Navbox&action=edit" title="Module:Navbox">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:Navbox/configuration" title="Module:Navbox/configuration">Module:Navbox/configuration</a> (<a href="/w/index.php?title=Module:Navbox/configuration&action=edit" title="Module:Navbox/configuration">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:Navbox/styles.css" title="Module:Navbox/styles.css">Module:Navbox/styles.css</a> (<a href="/w/index.php?title=Module:Navbox/styles.css&action=edit" title="Module:Navbox/styles.css">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:Pagetype" title="Module:Pagetype">Module:Pagetype</a> (<a href="/w/index.php?title=Module:Pagetype&action=edit" title="Module:Pagetype">view source</a>) (protected)</li><li><a href="/wiki/Module:Pagetype/config" title="Module:Pagetype/config">Module:Pagetype/config</a> (<a href="/w/index.php?title=Module:Pagetype/config&action=edit" title="Module:Pagetype/config">view source</a>) (protected)</li><li><a href="/wiki/Module:Pagetype/rfd" title="Module:Pagetype/rfd">Module:Pagetype/rfd</a> (<a href="/w/index.php?title=Module:Pagetype/rfd&action=edit" title="Module:Pagetype/rfd">view source</a>) (protected)</li><li><a href="/wiki/Module:Pagetype/softredirect" title="Module:Pagetype/softredirect">Module:Pagetype/softredirect</a> (<a href="/w/index.php?title=Module:Pagetype/softredirect&action=edit" title="Module:Pagetype/softredirect">view source</a>) (protected)</li><li><a href="/wiki/Module:Redirect" title="Module:Redirect">Module:Redirect</a> (<a href="/w/index.php?title=Module:Redirect&action=edit" title="Module:Redirect">view source</a>) (protected)</li><li><a href="/wiki/Module:Shortcut" title="Module:Shortcut">Module:Shortcut</a> (<a href="/w/index.php?title=Module:Shortcut&action=edit" title="Module:Shortcut">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:Shortcut/config" title="Module:Shortcut/config">Module:Shortcut/config</a> (<a href="/w/index.php?title=Module:Shortcut/config&action=edit" title="Module:Shortcut/config">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:Shortcut/styles.css" title="Module:Shortcut/styles.css">Module:Shortcut/styles.css</a> (<a href="/w/index.php?title=Module:Shortcut/styles.css&action=edit" title="Module:Shortcut/styles.css">view source</a>) (template editor protected)</li><li><a href="/wiki/Module:String" title="Module:String">Module:String</a> (<a href="/w/index.php?title=Module:String&action=edit" title="Module:String">view source</a>) (protected)</li><li><a href="/wiki/Module:TableTools" title="Module:TableTools">Module:TableTools</a> (<a href="/w/index.php?title=Module:TableTools&action=edit" title="Module:TableTools">view source</a>) (protected)</li><li><a href="/wiki/Module:Wikitext_Parsing" title="Module:Wikitext Parsing">Module:Wikitext Parsing</a> (<a href="/w/index.php?title=Module:Wikitext_Parsing&action=edit" title="Module:Wikitext Parsing">view source</a>) (protected)</li><li><a href="/wiki/Module:Yesno" title="Module:Yesno">Module:Yesno</a> (<a href="/w/index.php?title=Module:Yesno&action=edit" title="Module:Yesno">view source</a>) (protected)</li></ul></div><p id="mw-returnto">Return to <a href="/wiki/Wikipedia:Scripts" title="Wikipedia:Scripts">Wikipedia:Scripts</a>.</p> <!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/wiki/Wikipedia:Scripts">https://en.wikipedia.org/wiki/Wikipedia:Scripts</a>"</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/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=Wikipedia:Scripts&action=edit&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-f69cdc8f6-rxt7p","wgBackendResponseTime":364,"wgPageParseReport":{"limitreport":{"cputime":"0.075","walltime":"0.100","ppvisitednodes":{"value":418,"limit":1000000},"postexpandincludesize":{"value":17749,"limit":2097152},"templateargumentsize":{"value":6556,"limit":2097152},"expansiondepth":{"value":9,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":469,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 71.874 1 -total"," 99.88% 71.790 2 Template:Blocked_text"," 42.63% 30.643 2 Template:Replace"," 38.75% 27.849 1 Template:Colocationwebhost"," 34.69% 24.931 1 Template:Hidden"," 14.24% 10.232 1 Template:Tlx"," 14.23% 10.227 1 Template:Hidden_begin"," 2.42% 1.742 1 MediaWiki:Wikimedia-globalblocking-blockedtext-mistake"," 2.28% 1.636 1 MediaWiki:Wikimedia-globalblocking-blockedtext-mistake-email-steward"," 2.18% 1.570 1 Template:Hidden_end"]},"scribunto":{"limitreport-timeusage":{"value":"0.015","limit":"10.000"},"limitreport-memusage":{"value":1043255,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-rxt7p","timestamp":"20241123174220","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>