CINXE.COM

Module:Autotranslate - Wikimedia Commons

<!doctype html> <html class="client-nojs" lang="en" dir="ltr"> <head> <base href="https://commons.wikimedia.org/wiki/Module:Autotranslate"> <meta charset="UTF-8"> <title>Module:Autotranslate - Wikimedia Commons</title> <script>(function(){var className="client-js";var cookie=document.cookie.match(/(?:^|; )commonswikimwclientpreferences=([^;]+)/);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":"41fe7f0e-07e1-4304-8756-ec4c62f302dd","wgCanonicalNamespace":"Module","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":828,"wgPageName":"Module:Autotranslate","wgTitle":"Autotranslate","wgCurRevisionId":869217292,"wgRevisionId":869217292,"wgArticleId":69441814,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"], "wgCategories":["Modules for general use","Modules subject to page protection"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"Scribunto","wgRelevantPageName":"Module:Autotranslate","wgRelevantArticleId":69441814,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgRestrictionEdit":["sysop"],"wgRestrictionMove":["sysop"],"wgNoticeProject":"commons","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault":false,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":true,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":3000,"wgCentralAuthMobileDomain":false,"upwizPropertyTitles":{"P180":"Main subjects visible in this work"},"upwizPropertyPlaceholders":{"P180":"e.g., Angolan giraffe"},"upwizPropertyCopyLabels":{"P180":"Main subjects"}, "wgEditSubmitButtonLabelPublish":true,"wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgWikibaseItemId":"Q59264012","wbmiDefaultProperties":["P180"],"wbmiPropertyTitles":{"P180":"Items portrayed in this file"},"wbmiPropertyTypes":{"P180":"wikibase-item"},"wbmiRepoApiUrl":"/w/api.php","wbmiHelpUrls":{"P180":"https://commons.wikimedia.org/wiki/Special:MyLanguage/Commons:Depicts"},"wbmiExternalEntitySearchBaseUri":"https://www.wikidata.org/w/api.php","wbmiSupportedDataTypes":["wikibase-item","string","quantity","time","monolingualtext","external-id","globe-coordinate","url"],"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.gadget.Long-Image-Names-in-Categories":"ready","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.styles.legacy":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","codex-search-styles":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","site","mediawiki.page.ready","skins.vector.legacy.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.Slideshow","ext.gadget.ZoomViewer","ext.gadget.CollapsibleTemplates","ext.gadget.fastcci","ext.gadget.Stockphoto","ext.gadget.WatchlistNotice","ext.gadget.AjaxQuickDelete","ext.gadget.WikiMiniAtlas","ext.gadget.LanguageSelect","ext.gadget.PictureOfTheYearEnhancements","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.visualEditor.desktopArticleTarget.init","ext.visualEditor.targetLoader","ext.echo.centralauth","ext.eventLogging","ext.wikimediaEvents","ext.wikimediaEvents.wikibase","ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface", "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&amp;modules=codex-search-styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.pt%7Cext.visualEditor.desktopArticleTarget.noscript%7Cskins.vector.styles.legacy%7Cwikibase.client.init&amp;only=styles&amp;skin=vector"> <script async src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.gadget.Long-Image-Names-in-Categories&amp;only=styles&amp;skin=vector"> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector"> <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="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Module:Autotranslate - Wikimedia Commons"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//commons.m.wikimedia.org/wiki/Module:Autotranslate"> <link rel="apple-touch-icon" href="/static/apple-touch/commons.png"> <link rel="icon" href="/static/favicon/commons.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikimedia Commons"> <link rel="EditURI" type="application/rsd+xml" href="//commons.wikimedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://commons.wikimedia.org/wiki/Module:Autotranslate"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> <link rel="alternate" type="application/atom+xml" title="Wikimedia Commons 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"> <meta http-equiv="X-Translated-By" content="Google"> <meta http-equiv="X-Translated-To" content="en"> <script type="text/javascript" src="https://www.gstatic.com/_/translate_http/_/js/k=translate_http.tr.en_GB.1hbgkFx4Qn8.O/am=DgY/d=1/rs=AN8SPfqlmAPxwfG457BPbRXwNq39oSMGHg/m=corsproxy" data-sourceurl="https://commons.wikimedia.org/wiki/Module:Autotranslate"></script> <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" rel="stylesheet"> <script type="text/javascript" src="https://www.gstatic.com/_/translate_http/_/js/k=translate_http.tr.en_GB.1hbgkFx4Qn8.O/am=DgY/d=1/exm=corsproxy/ed=1/rs=AN8SPfqlmAPxwfG457BPbRXwNq39oSMGHg/m=phishing_protection" data-phishing-protection-enabled="false" data-forms-warning-enabled="true" data-source-url="https://commons.wikimedia.org/wiki/Module:Autotranslate"></script> <meta name="robots" content="none"> </head> <body class="skin-vector-legacy mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-828 ns-subject page-Module_Autotranslate rootpage-Module_Autotranslate skin-vector action-view"> <script type="text/javascript" src="https://www.gstatic.com/_/translate_http/_/js/k=translate_http.tr.en_GB.1hbgkFx4Qn8.O/am=DgY/d=1/exm=corsproxy,phishing_protection/ed=1/rs=AN8SPfqlmAPxwfG457BPbRXwNq39oSMGHg/m=navigationui" data-environment="prod" data-proxy-url="https://commons-wikimedia-org.translate.goog" data-proxy-full-url="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" data-source-url="https://commons.wikimedia.org/wiki/Module:Autotranslate" data-source-language="auto" data-target-language="en" data-display-language="en-GB" data-detected-source-language="en" data-is-source-untranslated="false" data-source-untranslated-url="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://commons.wikimedia.org/wiki/Module:Autotranslate&amp;anno=2" data-client="tr"></script> <div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <div id="content" class="mw-body" role="main"><a id="top"></a> <div id="siteNotice"> <!-- CentralNotice --> </div> <div class="mw-indicators"> </div> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Module</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Autotranslate</span></h1> <div id="bodyContent" class="vector-body"> <div id="siteSub" class="noprint"> From Wikimedia Commons, the free media repository </div> <div id="contentSub"> <div id="mw-content-subtitle"></div> </div> <div id="contentSub2"></div> <div id="jump-to-nav"></div><a class="mw-jump-link" href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#mw-head">Jump to navigation</a> <a class="mw-jump-link" href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#searchInput">Jump to search</a> <div id="mw-content-text" class="mw-body-content"> <div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"> <div style="float:right"> <div style="position:relative"> <div style="width:100px;height:100px;border-radius: 50%;;background-color:#19198A"></div> <div style="position:absolute;top:40px;color:#fff;font-family:Helvetica,Arial,sans-serif;font-weight:bold;font-size:52.5px;line-height:52.5px;"> Lua </div> <div style="width:26.7px;height:26.7px;border-radius: 50%;;background-color:#fff;position:absolute;top:13.138699525547px;left:60.161300474453px"></div> </div> </div> <p><span class="plainlinks"> <a class="mw-selflink-fragment" href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#com-module-code"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:o-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:-webkit-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:linear-gradient(to bottom,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:o-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:-webkit-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:linear-gradient(to bottom,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);; padding:.8em;">Code</span></span></a><a href="https://commons-wikimedia-org.translate.goog/wiki/Module_talk:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Module talk:Autotranslate"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:o-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:-webkit-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:linear-gradient(to bottom,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:o-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:-webkit-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:linear-gradient(to bottom,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);; padding:.8em;">Discussion</span></span></a><a class="external text" href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Module:Autotranslate&amp;action=edit&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:o-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:-webkit-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:linear-gradient(to bottom,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:o-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:-webkit-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:linear-gradient(to bottom,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);; padding:.8em;">Edit</span></span></a><a class="external text" href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Module:Autotranslate&amp;action=history&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:o-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:-webkit-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:linear-gradient(to bottom,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:o-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:-webkit-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:linear-gradient(to bottom,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);; padding:.8em;">History</span></span></a><a class="external text" href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Special:WhatLinksHere/:Module:Autotranslate&amp;limit=999&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:o-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:-webkit-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:linear-gradient(to bottom,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:o-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:-webkit-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:linear-gradient(to bottom,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);; padding:.8em;">Links</span></span></a><a class="external text" href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://tools.wmflabs.org/templatecount/index.php?lang%3Dcommons%26namespace%3D828%26name%3DAutotranslate"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:o-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:-webkit-linear-gradient(top,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);background-image:linear-gradient(to bottom,#d9dcdd 0%, #bfc7cc 50%, #aab8bf 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:o-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:-webkit-linear-gradient(top,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);background-image:linear-gradient(to bottom,#f2f6f8 0%, #d8e1e7 50%, #c3d4dd 100%);; padding:.8em;">Link count</span></span></a> <a href="https://commons-wikimedia-org.translate.goog/wiki/Special:PrefixIndex/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Special:PrefixIndex/Module:Autotranslate"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:o-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:-webkit-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:linear-gradient(to bottom,#c4ceb9 0%, #a8b79a 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:o-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:-webkit-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:linear-gradient(to bottom,#ebf7de 0%, #cee0bc 100%);; padding:.8em;">Subpages:</span></span></a><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:MyLanguage/Module:Autotranslate/doc?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Special:MyLanguage/Module:Autotranslate/doc"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:o-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:-webkit-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:linear-gradient(to bottom,#c4ceb9 0%, #a8b79a 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:o-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:-webkit-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:linear-gradient(to bottom,#ebf7de 0%, #cee0bc 100%);; padding:.8em;">Documentation</span></span></a><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate/testcases?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Module:Autotranslate/testcases"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:o-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:-webkit-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:linear-gradient(to bottom,#c4ceb9 0%, #a8b79a 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:o-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:-webkit-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:linear-gradient(to bottom,#ebf7de 0%, #cee0bc 100%);; padding:.8em;">Tests</span></span></a><a href="https://commons-wikimedia-org.translate.goog/wiki/Module_talk:Autotranslate/testcases?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Module talk:Autotranslate/testcases"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:o-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:-webkit-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:linear-gradient(to bottom,#c4ceb9 0%, #a8b79a 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:o-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:-webkit-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:linear-gradient(to bottom,#ebf7de 0%, #cee0bc 100%);; padding:.8em;">Results</span></span></a><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate/sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Module:Autotranslate/sandbox"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:o-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:-webkit-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:linear-gradient(to bottom,#c4ceb9 0%, #a8b79a 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:o-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:-webkit-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:linear-gradient(to bottom,#ebf7de 0%, #cee0bc 100%);; padding:.8em;">Sandbox</span></span></a><a class="mw-selflink selflink"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:o-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:-webkit-linear-gradient(top,#c4ceb9 0%, #a8b79a 100%);background-image:linear-gradient(to bottom,#c4ceb9 0%, #a8b79a 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:o-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:-webkit-linear-gradient(top,#ebf7de 0%, #cee0bc 100%);background-image:linear-gradient(to bottom,#ebf7de 0%, #cee0bc 100%);; padding:.8em;">Live code</span></span></a> <a href="https://commons-wikimedia-org.translate.goog/wiki/Special:PrefixIndex/Module:?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Special:PrefixIndex/Module:"><span style="display:inline-block; padding:0 1px 0 0; background-image:-moz-linear-gradient(top,#d6d4c7 0%, #c4bb8b 100%);background-image:o-linear-gradient(top,#d6d4c7 0%, #c4bb8b 100%);background-image:-webkit-linear-gradient(top,#d6d4c7 0%, #c4bb8b 100%);background-image:linear-gradient(to bottom,#d6d4c7 0%, #c4bb8b 100%);;"><span style="display:inline-block;background-image:-moz-linear-gradient(top,#fefcea 0%, #ede3a6 100%);background-image:o-linear-gradient(top,#fefcea 0%, #ede3a6 100%);background-image:-webkit-linear-gradient(top,#fefcea 0%, #ede3a6 100%);background-image:linear-gradient(to bottom,#fefcea 0%, #ede3a6 100%);; padding:.8em;">All modules</span></span></a></span></p> <table style="background: var(--background-color-destructive-subtle, #fee7e6); border: 1px solid var(--border-color-base, #a2ab91); border-collapse: collapse; margin: 0.5em 10%; color: inherit"> <tbody> <tr> <td style="border: none; padding: 2px 0 2px 0.9em; text-align: center;"><span typeof="mw:File"><span title="warning"><img alt="warning" src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/20px-OOjs_UI_icon_notice-destructive.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/30px-OOjs_UI_icon_notice-destructive.svg.png 1.5x,https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/OOjs_UI_icon_notice-destructive.svg/40px-OOjs_UI_icon_notice-destructive.svg.png 2x" data-file-width="20" data-file-height="20"></span></span> <b>Warning:</b></td> <td style="border: none; padding: 0.25em 0.9em; width: 100%"><b>This page is shared between multiple wikis</b>.<br> All changes to this page will be <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://www.mediawiki.org/wiki/WP:TNT" class="extiw" title="mw:WP:TNT">automatically copied</a> to all wikis listed in the left side bar.<br> To avoid unnecessary page regeneration and server load, changes should be tested on the page's sandbox.</td> </tr> </tbody> </table> <style data-mw-deduplicate="TemplateStyles:r861166424">.mw-parser-output td.mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output td.mbox-empty-cell{border:none;padding:0;width:1px}</style> <table class="messagebox plainlinks layouttemplate en" lang="en" dir="ltr" style="margin:2px auto;width:80%;border:2px solid var(--border-color-progressive--hover,#48d);background:var(--background-color-neutral-subtle,#fbfcff);color:var(--color-base,#222);border-inline-start-width:8px;border-collapse:collapse;background:var(--background-color-interactive-subtle,#f8f9fa);margin-left:5.2em"> <tbody> <tr> <td class="mbox-image" style="padding-inline-start:.9em" dir="ltr"><span typeof="mw:File"><span><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/0/03/Green_check.svg/40px-Green_check.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://upload.wikimedia.org/wikipedia/commons/thumb/0/03/Green_check.svg/60px-Green_check.svg.png 1.5x,https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://upload.wikimedia.org/wikipedia/commons/thumb/0/03/Green_check.svg/80px-Green_check.svg.png 2x" data-file-width="600" data-file-height="600"></span></span></td> <td class="mbox-text">This module is rated as <a href="https://commons-wikimedia-org.translate.goog/wiki/Category:Modules_for_general_use?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Category:Modules for general use">ready for general use</a>. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. To reduce server load and bad output, it should be improved by <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://en.wikipedia.org/wiki/WP:TESTCASES" class="extiw" title="en:WP:TESTCASES">sandbox testing</a> rather than repeated trial-and-error editing.</td> </tr> </tbody> </table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r861166424"> <table class="messagebox plainlinks layouttemplate en" lang="en" dir="ltr" style="margin:2px auto;width:80%;border:2px solid var(--border-color-progressive--hover,#48d);background:var(--background-color-neutral-subtle,#fbfcff);color:var(--color-base,#222);border-inline-start-width:8px;border-collapse:collapse;background:var(--background-color-interactive-subtle,#f8f9fa);margin-left:5.2em"> <tbody> <tr> <td class="mbox-image" style="padding-inline-start:.9em" dir="ltr"><span typeof="mw:File"><span><img alt="Protected" src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Full-protection-shackle-block.svg/40px-Full-protection-shackle-block.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Full-protection-shackle-block.svg/60px-Full-protection-shackle-block.svg.png 1.5x,https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://upload.wikimedia.org/wikipedia/commons/thumb/1/12/Full-protection-shackle-block.svg/80px-Full-protection-shackle-block.svg.png 2x" data-file-width="512" data-file-height="512"></span></span></td> <td class="mbox-text">This module is <a href="https://commons-wikimedia-org.translate.goog/wiki/Category:Modules_subject_to_page_protection?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Category:Modules subject to page protection">subject to page protection</a>. It is a <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://en.wikipedia.org/wiki/Wikipedia:High-risk_templates" class="extiw" title="en:Wikipedia:High-risk templates">highly visible module</a> in use by a very large number of pages, or is <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://en.wikipedia.org/wiki/WP:SUBST" class="extiw" title="en:WP:SUBST">substituted</a> very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is <a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://en.wikipedia.org/wiki/WP:PROTECT" class="extiw" title="en:WP:PROTECT">protected</a> from editing.</td> </tr> </tbody> </table> <style data-mw-deduplicate="TemplateStyles:r919301614">.mw-parser-output .ombox{margin:4px 0;border-collapse:collapse;border:1px solid #a2a9b1;background-color:var(--background-color-neutral-subtle,#f8f9fa);box-sizing:border-box;color:var(--color-base,#202122)}.mw-parser-output .ombox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .ombox-speedy{border:2px solid #b32424;background-color:#fee7e6}.mw-parser-output .ombox-delete{border:2px solid #b32424}.mw-parser-output .ombox-content{border:1px solid #f28500}.mw-parser-output .ombox-style{border:1px solid #fc3}.mw-parser-output .ombox-move{border:1px solid #9932cc}.mw-parser-output .ombox-protection{border:2px solid #a2a9b1}.mw-parser-output .ombox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .ombox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .ombox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .ombox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ombox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .ombox{margin:4px 10%}.mw-parser-output .ombox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}body.skin--responsive .mw-parser-output table.ombox img{max-width:none!important}@media screen{html.skin-theme-clientpref-night .mw-parser-output .ombox-speedy{background-color:#310402}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .ombox-speedy{background-color:#310402}}</style> <table class="plainlinks ombox ombox-content" role="presentation"> <tbody> <tr> <td class="mbox-image"><span typeof="mw:File"><span><img alt="Warning" src="https://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Ambox_important.svg/40px-Ambox_important.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Ambox_important.svg/60px-Ambox_important.svg.png 1.5x,https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Ambox_important.svg/80px-Ambox_important.svg.png 2x" data-file-width="40" data-file-height="40"></span></span></td> <td class="mbox-text"><b>This Lua module is used in system messages</b>.<br> Changes to it can cause immediate changes to the Wikimedia user interface.<br> To avoid major disruption, any changes should be tested in the module's <a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate/sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Module:Autotranslate/sandbox">/sandbox</a> or <a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate/testcases?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Module:Autotranslate/testcases">/testcases</a> subpages, or in your own <a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Sandbox?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Module:Sandbox">module sandbox</a>. The tested changes can be added to this page in a single edit. Please discuss changes on the <a href="https://commons-wikimedia-org.translate.goog/wiki/Module_talk:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Module talk:Autotranslate">talk page</a> before implementing them.</td> </tr> </tbody> </table> <p>Code for <a href="https://commons-wikimedia-org.translate.goog/wiki/Template:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Template:Autotranslate"><span style="font-family:monospace,monospace;">{{Autotranslate}}</span></a>. Also used for <a href="https://commons-wikimedia-org.translate.goog/wiki/Template:Autotranslate/clone_1?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Template:Autotranslate/clone 1"><span style="font-family:monospace,monospace;">{{Autotranslate/clone 1}}</span></a>, <a href="https://commons-wikimedia-org.translate.goog/wiki/Template:Autotranslate/clone_2?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Template:Autotranslate/clone 2"><span style="font-family:monospace,monospace;">{{Autotranslate/clone 2}}</span></a>.</p> <h2 id="Code">Code</h2> <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr mw-highlight-lines" dir="ltr"> <pre><span></span><span id="L-1"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-1"><span class="linenos" data-line="1"></span></a> <span class="cm">--[[</span> </span><span id="L-2"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-2"><span class="linenos" data-line="2"></span></a><span class="cm"> __ __ _ _ _ _ _ _ _ </span> </span><span id="L-3"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-3"><span class="linenos" data-line="3"></span></a><span class="cm"> | \/ | ___ __| |_ _| | ___ _ / \ _ _| |_ ___ | |_ _ __ __ _ _ __ ___| | __ _| |_ ___ </span> </span><span id="L-4"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-4"><span class="linenos" data-line="4"></span></a><span class="cm"> | |\/| |/ _ \ / _` | | | | |/ _ (_) / _ \| | | | __/ _ \| __| '__/ _` | '_ \/ __| |/ _` | __/ _ \</span> </span><span id="L-5"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-5"><span class="linenos" data-line="5"></span></a><span class="cm"> | | | | (_) | (_| | |_| | | __/_ / ___ \ |_| | || (_) | |_| | | (_| | | | \__ \ | (_| | || __/</span> </span><span id="L-6"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-6"><span class="linenos" data-line="6"></span></a><span class="cm"> |_| |_|\___/ \__,_|\__,_|_|\___(_)_/ \_\__,_|\__\___/ \__|_| \__,_|_| |_|___/_|\__,_|\__\___|</span> </span><span id="L-7"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-7"><span class="linenos" data-line="7"></span></a><span class="cm"> </span> </span><span id="L-8"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-8"><span class="linenos" data-line="8"></span></a><span class="cm"> Authors and maintainers:</span> </span><span id="L-9"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-9"><span class="linenos" data-line="9"></span></a><span class="cm">* User:Zolo - original version</span> </span><span id="L-10"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-10"><span class="linenos" data-line="10"></span></a><span class="cm">* User:Jarekt </span> </span><span id="L-11"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-11"><span class="linenos" data-line="11"></span></a><span class="cm">]]</span> </span><span id="L-12"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-12"><span class="linenos" data-line="12"></span></a> </span><span id="L-13"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-13"><span class="linenos" data-line="13"></span></a><span class="c1">-- local function to help normalize input arguments</span> </span><span id="L-14"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-14"><span class="linenos" data-line="14"></span></a><span class="kd">local</span> <span class="kr">function</span> <span class="nf">normalize_input_args</span><span class="p">(</span><span class="n">input_args</span><span class="p">,</span> <span class="n">output_args</span><span class="p">)</span> </span><span id="L-15"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-15"><span class="linenos" data-line="15"></span></a> <span class="kr">for</span> <span class="n">name</span><span class="p">,</span> <span class="n">value</span> <span class="kr">in</span> <span class="nb">pairs</span><span class="p">(</span> <span class="n">input_args</span> <span class="p">)</span> <span class="kr">do</span> </span><span id="L-16"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-16"><span class="linenos" data-line="16"></span></a> <span class="kr">if</span> <span class="n">value</span> <span class="o">~=</span> <span class="s1">''</span> <span class="kr">then</span> <span class="c1">-- nuke empty strings</span> </span><span id="L-17"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-17"><span class="linenos" data-line="17"></span></a> <span class="kr">if</span> <span class="nb">type</span><span class="p">(</span><span class="n">name</span><span class="p">)</span><span class="o">==</span><span class="s1">'string'</span> <span class="kr">then</span> <span class="n">name</span><span class="o">=</span><span class="nb">string.lower</span><span class="p">(</span><span class="n">name</span><span class="p">)</span> <span class="kr">end</span> <span class="c1">-- convert to lower case</span> </span><span id="L-18"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-18"><span class="linenos" data-line="18"></span></a> <span class="n">output_args</span><span class="p">[</span><span class="n">name</span><span class="p">]</span> <span class="o">=</span> <span class="n">value</span> </span><span id="L-19"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-19"><span class="linenos" data-line="19"></span></a> <span class="kr">end</span> </span><span id="L-20"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-20"><span class="linenos" data-line="20"></span></a> <span class="kr">end</span> </span><span id="L-21"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-21"><span class="linenos" data-line="21"></span></a> <span class="kr">return</span> <span class="n">output_args</span> </span><span id="L-22"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-22"><span class="linenos" data-line="22"></span></a><span class="kr">end</span> </span><span id="L-23"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-23"><span class="linenos" data-line="23"></span></a> </span><span id="L-24"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-24"><span class="linenos" data-line="24"></span></a><span class="c1">-- initialize object to be returned</span> </span><span id="L-25"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-25"><span class="linenos" data-line="25"></span></a><span class="kd">local</span> <span class="n">p</span> <span class="o">=</span> <span class="p">{}</span> </span><span id="L-26"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-26"><span class="linenos" data-line="26"></span></a> </span><span id="L-27"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-27"><span class="linenos" data-line="27"></span></a><span class="cm">--[[</span> </span><span id="L-28"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-28"><span class="linenos" data-line="28"></span></a><span class="cm">autotranslate</span> </span><span id="L-29"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-29"><span class="linenos" data-line="29"></span></a><span class="cm"> </span> </span><span id="L-30"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-30"><span class="linenos" data-line="30"></span></a><span class="cm">This function is the core part of the Autotranslate template. </span> </span><span id="L-31"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-31"><span class="linenos" data-line="31"></span></a><span class="cm"> </span> </span><span id="L-32"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-32"><span class="linenos" data-line="32"></span></a><span class="cm">Usage from a template:</span> </span><span id="L-33"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-33"><span class="linenos" data-line="33"></span></a><span class="cm">{{#invoke:autotranslate|autotranslate|base=|lang= }}</span> </span><span id="L-34"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-34"><span class="linenos" data-line="34"></span></a><span class="cm"> </span> </span><span id="L-35"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-35"><span class="linenos" data-line="35"></span></a><span class="cm">Parameters:</span> </span><span id="L-36"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-36"><span class="linenos" data-line="36"></span></a><span class="cm"> frame.args.base - base page name</span> </span><span id="L-37"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-37"><span class="linenos" data-line="37"></span></a><span class="cm"> frame.args.lang - desired language (often user's native language)</span> </span><span id="L-38"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-38"><span class="linenos" data-line="38"></span></a> </span><span id="L-39"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-39"><span class="linenos" data-line="39"></span></a><span class="cm"> Error Handling:</span> </span><span id="L-40"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-40"><span class="linenos" data-line="40"></span></a> </span><span id="L-41"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-41"><span class="linenos" data-line="41"></span></a><span class="cm">]]</span> </span><span id="L-42"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-42"><span class="linenos" data-line="42"></span></a><span class="kr">function</span> <span class="nc">p</span><span class="p">.</span><span class="nf">autotranslate</span><span class="p">(</span><span class="n">frame</span><span class="p">)</span> </span><span id="L-43"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-43"><span class="linenos" data-line="43"></span></a> </span><span id="L-44"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-44"><span class="linenos" data-line="44"></span></a> <span class="c1">-- switch to lowercase parameters to make them case independent</span> </span><span id="L-45"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-45"><span class="linenos" data-line="45"></span></a> <span class="kd">local</span> <span class="n">args</span> <span class="o">=</span> <span class="p">{}</span> </span><span id="L-46"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-46"><span class="linenos" data-line="46"></span></a> <span class="n">args</span> <span class="o">=</span> <span class="n">normalize_input_args</span><span class="p">(</span><span class="n">frame</span><span class="p">:</span><span class="n">getParent</span><span class="p">().</span><span class="n">args</span><span class="p">,</span> <span class="n">args</span><span class="p">)</span> </span><span id="L-47"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-47"><span class="linenos" data-line="47"></span></a> <span class="n">args</span> <span class="o">=</span> <span class="n">normalize_input_args</span><span class="p">(</span><span class="n">frame</span><span class="p">.</span><span class="n">args</span><span class="p">,</span> <span class="n">args</span><span class="p">)</span> </span><span id="L-48"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-48"><span class="linenos" data-line="48"></span></a> </span><span id="L-49"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-49"><span class="linenos" data-line="49"></span></a> <span class="c1">-- get language fallback list</span> </span><span id="L-50"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-50"><span class="linenos" data-line="50"></span></a> <span class="kr">if</span> <span class="ow">not</span> <span class="n">args</span><span class="p">.</span><span class="n">lang</span> <span class="ow">or</span> <span class="ow">not</span> <span class="n">mw</span><span class="p">.</span><span class="n">language</span><span class="p">.</span><span class="n">isSupportedLanguage</span><span class="p">(</span><span class="n">args</span><span class="p">.</span><span class="n">lang</span><span class="p">)</span> <span class="kr">then</span> </span><span id="L-51"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-51"><span class="linenos" data-line="51"></span></a> <span class="n">args</span><span class="p">.</span><span class="n">lang</span> <span class="o">=</span> <span class="n">frame</span><span class="p">:</span><span class="n">callParserFunction</span><span class="p">(</span> <span class="s2">"int"</span><span class="p">,</span> <span class="s2">"lang"</span> <span class="p">)</span> <span class="c1">-- get user's chosen language </span> </span><span id="L-52"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-52"><span class="linenos" data-line="52"></span></a> <span class="kr">end</span> </span><span id="L-53"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-53"><span class="linenos" data-line="53"></span></a> <span class="kd">local</span> <span class="n">langList</span> <span class="o">=</span> <span class="n">mw</span><span class="p">.</span><span class="n">language</span><span class="p">.</span><span class="n">getFallbacksFor</span><span class="p">(</span><span class="n">args</span><span class="p">.</span><span class="n">lang</span><span class="p">)</span> </span><span id="L-54"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-54"><span class="linenos" data-line="54"></span></a> <span class="nb">table.insert</span><span class="p">(</span><span class="n">langList</span><span class="p">,</span><span class="mi">1</span><span class="p">,</span><span class="n">args</span><span class="p">.</span><span class="n">lang</span><span class="p">)</span> <span class="c1">-- user's language will be the first one to check</span> </span><span id="L-55"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-55"><span class="linenos" data-line="55"></span></a> </span><span id="L-56"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-56"><span class="linenos" data-line="56"></span></a> <span class="c1">-- find base page</span> </span><span id="L-57"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-57"><span class="linenos" data-line="57"></span></a> <span class="kd">local</span> <span class="n">base</span> <span class="o">=</span> <span class="n">args</span><span class="p">.</span><span class="n">base</span> </span><span id="L-58"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-58"><span class="linenos" data-line="58"></span></a> <span class="n">args</span><span class="p">.</span><span class="n">base</span> <span class="o">=</span> <span class="kc">nil</span> <span class="c1">-- blank it so it is not passed to language sub-templates</span> </span><span id="L-59"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-59"><span class="linenos" data-line="59"></span></a> <span class="nb">assert</span><span class="p">(</span><span class="n">base</span> <span class="ow">and</span> <span class="o">#</span><span class="n">base</span><span class="o">&gt;</span><span class="mi">0</span><span class="p">,</span> <span class="s1">'Base page not provided for autotranslate'</span> <span class="p">)</span> </span><span id="L-60"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-60"><span class="linenos" data-line="60"></span></a> </span><span id="L-61"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-61"><span class="linenos" data-line="61"></span></a> <span class="c1">-- Local function for expanding a template that can be pcall()ed: call the template </span> </span><span id="L-62"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-62"><span class="linenos" data-line="62"></span></a> <span class="c1">-- with the same template arguments as the ones passed to {{autotranslate}} template.</span> </span><span id="L-63"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-63"><span class="linenos" data-line="63"></span></a> <span class="kd">local</span> <span class="kr">function</span> <span class="nf">expandTemplate</span><span class="p">(</span><span class="n">title</span><span class="p">)</span> </span><span id="L-64"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-64"><span class="linenos" data-line="64"></span></a> <span class="kr">return</span> <span class="n">frame</span><span class="p">:</span><span class="n">expandTemplate</span><span class="p">{</span> <span class="n">title</span> <span class="o">=</span> <span class="n">title</span><span class="p">,</span> <span class="n">args</span> <span class="o">=</span> <span class="n">args</span> <span class="p">}</span> </span><span id="L-65"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-65"><span class="linenos" data-line="65"></span></a> <span class="kr">end</span> </span><span id="L-66"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-66"><span class="linenos" data-line="66"></span></a> </span><span id="L-67"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-67"><span class="linenos" data-line="67"></span></a> <span class="c1">-- find base template language subpage</span> </span><span id="L-68"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-68"><span class="linenos" data-line="68"></span></a> <span class="kd">local</span> <span class="n">success</span><span class="p">,</span> <span class="n">res</span> </span><span id="L-69"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-69"><span class="linenos" data-line="69"></span></a> <span class="kr">for</span> <span class="n">_</span><span class="p">,</span> <span class="n">language</span> <span class="kr">in</span> <span class="nb">ipairs</span><span class="p">(</span><span class="n">langList</span><span class="p">)</span> <span class="kr">do</span> </span><span id="L-70"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-70"><span class="linenos" data-line="70"></span></a> <span class="n">success</span><span class="p">,</span> <span class="n">res</span> <span class="o">=</span> <span class="nb">pcall</span><span class="p">(</span><span class="n">expandTemplate</span><span class="p">,</span> <span class="n">base</span> <span class="o">..</span> <span class="s1">'/'</span> <span class="o">..</span> <span class="n">language</span><span class="p">)</span> </span><span id="L-71"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-71"><span class="linenos" data-line="71"></span></a> <span class="kr">if</span> <span class="n">success</span> <span class="kr">then</span> </span><span id="L-72"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-72"><span class="linenos" data-line="72"></span></a> <span class="kr">break</span> </span><span id="L-73"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-73"><span class="linenos" data-line="73"></span></a> <span class="kr">end</span> </span><span id="L-74"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-74"><span class="linenos" data-line="74"></span></a> <span class="kr">end</span> </span><span id="L-75"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-75"><span class="linenos" data-line="75"></span></a> <span class="kd">local</span> <span class="n">err_msg</span> <span class="o">=</span> <span class="s1">'No fallback page found for autotranslate (base=[[:%s]], lang=%s)'</span> </span><span id="L-76"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-76"><span class="linenos" data-line="76"></span></a> <span class="kr">if</span> <span class="p">(</span><span class="ow">not</span> <span class="n">success</span><span class="p">)</span> <span class="kr">then</span> </span><span id="L-77"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-77"><span class="linenos" data-line="77"></span></a> <span class="nb">assert</span><span class="p">(</span><span class="n">args</span><span class="p">.</span><span class="n">default</span><span class="p">,</span> <span class="nb">string.format</span><span class="p">(</span><span class="n">err_msg</span><span class="p">,</span> <span class="n">base</span><span class="p">,</span> <span class="n">args</span><span class="p">.</span><span class="n">lang</span><span class="p">))</span> </span><span id="L-78"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-78"><span class="linenos" data-line="78"></span></a> <span class="n">success</span><span class="p">,</span> <span class="n">res</span> <span class="o">=</span> <span class="nb">pcall</span><span class="p">(</span><span class="n">expandTemplate</span><span class="p">,</span> <span class="n">args</span><span class="p">.</span><span class="n">default</span><span class="p">)</span> </span><span id="L-79"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-79"><span class="linenos" data-line="79"></span></a> <span class="nb">assert</span><span class="p">(</span><span class="n">success</span><span class="p">,</span> <span class="nb">string.format</span><span class="p">(</span><span class="n">err_msg</span><span class="p">,</span> <span class="n">base</span><span class="p">,</span> <span class="n">args</span><span class="p">.</span><span class="n">default</span><span class="p">))</span> </span><span id="L-80"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-80"><span class="linenos" data-line="80"></span></a> <span class="kr">end</span> </span><span id="L-81"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-81"><span class="linenos" data-line="81"></span></a> </span><span id="L-82"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-82"><span class="linenos" data-line="82"></span></a> <span class="c1">-- If this if the base page being translateda</span> </span><span id="L-83"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-83"><span class="linenos" data-line="83"></span></a> <span class="kr">if</span> <span class="p">(</span><span class="n">mw</span><span class="p">.</span><span class="n">title</span><span class="p">.</span><span class="n">getCurrentTitle</span><span class="p">().</span><span class="n">fullText</span><span class="o">==</span><span class="n">base</span><span class="p">)</span> <span class="kr">then</span> </span><span id="L-84"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-84"><span class="linenos" data-line="84"></span></a> <span class="c1">-- English language is the last fallback language for most languages, if</span> </span><span id="L-85"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-85"><span class="linenos" data-line="85"></span></a> <span class="c1">-- nothing else there should be at least an english subpage</span> </span><span id="L-86"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-86"><span class="linenos" data-line="86"></span></a> <span class="kd">local</span> <span class="n">en_exist</span> <span class="o">=</span> <span class="n">mw</span><span class="p">.</span><span class="n">title</span><span class="p">.</span><span class="n">new</span><span class="p">(</span><span class="n">base</span> <span class="o">..</span> <span class="s1">'/en'</span><span class="p">).</span><span class="n">exists</span> </span><span id="L-87"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-87"><span class="linenos" data-line="87"></span></a> <span class="nb">assert</span><span class="p">(</span><span class="n">en_exist</span><span class="p">,</span> <span class="nb">string.format</span><span class="p">(</span><span class="n">err_msg</span><span class="p">,</span> <span class="n">base</span><span class="p">,</span> <span class="s1">'en'</span><span class="p">))</span> </span><span id="L-88"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-88"><span class="linenos" data-line="88"></span></a> <span class="kr">if</span> <span class="p">(</span><span class="n">mw</span><span class="p">.</span><span class="n">site</span><span class="p">.</span><span class="n">siteName</span><span class="o">==</span><span class="s1">'Wikimedia Commons'</span><span class="p">)</span> <span class="kr">then</span> </span><span id="L-89"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-89"><span class="linenos" data-line="89"></span></a> <span class="n">res</span> <span class="o">=</span> <span class="n">res</span> <span class="o">..</span> <span class="s1">'</span><span class="se">\n</span><span class="s1">[[Category:Autotranslated templates|'</span> <span class="o">..</span> <span class="n">base</span> <span class="o">..</span> <span class="s1">']]'</span> </span><span id="L-90"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-90"><span class="linenos" data-line="90"></span></a> <span class="kr">end</span> </span><span id="L-91"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-91"><span class="linenos" data-line="91"></span></a> <span class="kr">end</span> </span><span id="L-92"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-92"><span class="linenos" data-line="92"></span></a> <span class="kr">return</span> <span class="n">res</span> </span><span id="L-93"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-93"><span class="linenos" data-line="93"></span></a><span class="kr">end</span> </span><span id="L-94"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-94"><span class="linenos" data-line="94"></span></a> </span><span id="L-95"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#L-95"><span class="linenos" data-line="95"></span></a><span class="kr">return</span> <span class="n">p</span> </span></pre> </div><!-- NewPP limit report Parsed by mw‐web.codfw.main‐6b7f745dd4‐lfx9g Cached time: 20241125145110 Cache expiry: 2592000 Reduced expiry: false Complications: [vary‐revision‐sha1] CPU time usage: 0.154 seconds Real time usage: 0.210 seconds Preprocessor visited node count: 2891/1000000 Post‐expand include size: 46687/2097152 bytes Template argument size: 5994/2097152 bytes Highest expansion depth: 12/100 Expensive parser function count: 2/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 2157/5000000 bytes Lua time usage: 0.045/10.000 seconds Lua memory usage: 1289097/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 181.601 1 -total 65.45% 118.864 1 Module:Autotranslate/doc 30.84% 56.002 1 Template:Module-nav 25.97% 47.166 1 Template:Used_in_system 19.35% 35.133 6 Template:Module-nav/tab 18.17% 32.995 2 Template:Module_rating 16.27% 29.539 2 Template:Ombox 16.15% 29.332 5 Template:Module-nav/i18n 14.06% 25.538 5 Template:LangSwitch 7.39% 13.413 1 Template:Shared_Template_Warning --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --> <noscript> <img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"> </noscript> <div class="printfooter" data-nosnippet=""> Retrieved from "<a dir="ltr" href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Module:Autotranslate&amp;oldid=869217292&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB">https://commons.wikimedia.org/w/index.php?title=Module:Autotranslate&amp;oldid=869217292</a>" </div> </div> <div id="catlinks" class="catlinks" data-mw="interface"> <div id="mw-normal-catlinks" class="mw-normal-catlinks"> <a href="https://commons-wikimedia-org.translate.goog/wiki/Special:Categories?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Special:Categories">Categories</a>: <ul> <li><a href="https://commons-wikimedia-org.translate.goog/wiki/Category:Modules_for_general_use?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Category:Modules for general use">Modules for general use</a></li> <li><a href="https://commons-wikimedia-org.translate.goog/wiki/Category:Modules_subject_to_page_protection?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Category:Modules subject to page protection">Modules subject to page protection</a></li> </ul> </div> </div> </div> </div> <div id="mw-navigation"> <h2>Navigation menu</h2> <div id="mw-head"> <nav id="p-personal" class="mw-portlet mw-portlet-personal vector-user-menu-legacy vector-menu" aria-labelledby="p-personal-label"> <h3 id="p-personal-label" class="vector-menu-heading "><span class="vector-menu-heading-label">Personal tools</span></h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-uls" class="mw-list-item active"><a class="uls-trigger" href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB#"><span>English</span></a></li> <li id="pt-anonuserpage" class="mw-list-item"><span title="The user page for the IP address you are editing as">Not logged in</span></li> <li id="pt-anontalk" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:MyTalk?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> <li id="pt-anoncontribs" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:MyContributions?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li> <li id="pt-createaccount" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Special:CreateAccount&amp;returnto=Module:Autotranslate&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="You are encouraged to create an account and log in; however, it is not mandatory"><span>Create account</span></a></li> <li id="pt-login" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Special:UserLogin&amp;returnto=Module:Autotranslate&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span>Log in</span></a></li> </ul> </div> </nav> <div id="left-navigation"> <nav id="p-namespaces" class="mw-portlet mw-portlet-namespaces vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-namespaces-label"> <h3 id="p-namespaces-label" class="vector-menu-heading "><span class="vector-menu-heading-label">Namespaces</span></h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-module" class="selected mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="View the module page [c]" accesskey="c"><span>Module</span></a></li> <li id="ca-talk" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module_talk:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" rel="discussion" title="Discussion about the content page [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </nav> <nav id="p-variants" class="mw-portlet mw-portlet-variants emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-variants-label"><input type="checkbox" id="p-variants-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-variants" class="vector-menu-checkbox" aria-labelledby="p-variants-label"> <label id="p-variants-label" class="vector-menu-heading "> <span class="vector-menu-heading-label">English</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> </div> <div id="right-navigation"> <nav id="p-views" class="mw-portlet mw-portlet-views vector-menu-tabs vector-menu-tabs-legacy vector-menu" aria-labelledby="p-views-label"> <h3 id="p-views-label" class="vector-menu-heading "><span class="vector-menu-heading-label">Views</span></h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span>View</span></a></li> <li id="ca-viewsource" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Module:Autotranslate&amp;action=edit&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="This page is protected. You can view its source [e]" accesskey="e"><span>View source</span></a></li> <li id="ca-history" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Module:Autotranslate&amp;action=history&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Past revisions of this page [h]" accesskey="h"><span>History</span></a></li> </ul> </div> </nav> <nav id="p-cactions" class="mw-portlet mw-portlet-cactions emptyPortlet vector-menu-dropdown vector-menu" aria-labelledby="p-cactions-label" title="More options"><input type="checkbox" id="p-cactions-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-cactions" class="vector-menu-checkbox" aria-labelledby="p-cactions-label"> <label id="p-cactions-label" class="vector-menu-heading "> <span class="vector-menu-heading-label">More</span> </label> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </nav> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box"> <h3>Search</h3> <form action="/w/index.php" id="searchform" class="vector-search-box-form"> <div id="simpleSearch" class="vector-search-box-inner" data-search-loc="header-navigation"><input class="vector-search-box-input" type="search" name="search" placeholder="Search Wikimedia Commons" aria-label="Search Wikimedia Commons" autocapitalize="sentences" title="Search Wikimedia Commons [f]" accesskey="f" id="searchInput"> <input type="hidden" name="title" value="Special:MediaSearch"> <input id="mw-searchButton" class="searchButton mw-fallbackSearchButton" type="submit" name="fulltext" title="Search the pages for this text" value="Search"> <input id="searchButton" class="searchButton" type="submit" name="go" title="Go to a page with this exact name if it exists" value="Go"> </div> </form> </div> </div> </div> <div id="mw-panel" class="vector-legacy-sidebar"> <div id="p-logo" role="banner"><a class="mw-wiki-logo" href="https://commons-wikimedia-org.translate.goog/wiki/Main_Page?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Visit the main page"></a> </div> <nav id="p-navigation" class="mw-portlet mw-portlet-navigation vector-menu-portal portal vector-menu" aria-labelledby="p-navigation-label"> <h3 id="p-navigation-label" class="vector-menu-heading "><span class="vector-menu-heading-label">Navigate</span></h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Main_Page?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li> <li id="n-welcome" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Commons:Welcome?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span>Welcome</span></a></li> <li id="n-portal" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Commons:Community_portal?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li> <li id="n-village-pump" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Commons:Village_pump?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span>Village pump</span></a></li> <li id="n-help" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:MyLanguage/Help:Contents?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="The place to find out"><span>Help center</span></a></li> </ul> </div> </nav> <nav id="p-participate" class="mw-portlet mw-portlet-participate vector-menu-portal portal vector-menu" aria-labelledby="p-participate-label"> <h3 id="p-participate-label" class="vector-menu-heading "><span class="vector-menu-heading-label">Participate</span></h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-uploadbtn" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:UploadWizard?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span>Upload file</span></a></li> <li id="n-recentchanges" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:RecentChanges?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li> <li id="n-latestfiles" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:NewFiles?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span>Latest files</span></a></li> <li id="n-randomimage" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:Random/File?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="Load a random file [x]" accesskey="x"><span>Random file</span></a></li> <li id="n-contact" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Commons:Contact_us?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span>Contact us</span></a></li> </ul> </div> </nav> <nav id="p-tb" class="mw-portlet mw-portlet-tb vector-menu-portal portal vector-menu" aria-labelledby="p-tb-label"> <h3 id="p-tb-label" class="vector-menu-heading "><span class="vector-menu-heading-label">Tools</span></h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:WhatLinksHere/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li> <li id="t-recentchangeslinked" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:RecentChangesLinked/Module:Autotranslate?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li> <li id="t-specialpages" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/wiki/Special:SpecialPages?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" 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="https://commons-wikimedia-org.translate.goog/w/index.php?title=Module:Autotranslate&amp;oldid=869217292&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" 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="https://commons-wikimedia-org.translate.goog/w/index.php?title=Module:Autotranslate&amp;action=info&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" title="More information about this page"><span>Page information</span></a></li> <li id="t-urlshortener" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Special:UrlShortener&amp;url=https://commons.wikimedia.org/wiki/Module:Autotranslate&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span>Get shortened URL</span></a></li> <li id="t-urlshortener-qrcode" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Special:QrCode&amp;url=https://commons.wikimedia.org/wiki/Module:Autotranslate&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span>Download QR code</span></a></li> </ul> </div> </nav> <nav id="p-electronpdfservice-sidebar-portlet-heading" class="mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading vector-menu-portal portal vector-menu" aria-labelledby="p-electronpdfservice-sidebar-portlet-heading-label"> <h3 id="p-electronpdfservice-sidebar-portlet-heading-label" class="vector-menu-heading "><span class="vector-menu-heading-label">Print/export</span></h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="https://commons-wikimedia-org.translate.goog/w/index.php?title=Special:DownloadAsPdf&amp;page=Module:Autotranslate&amp;action=show-download-screen&amp;_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB"><span>Download as PDF</span></a></li> <li id="t-print" class="mw-list-item"><a href="javascript:print();?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB" rel="alternate" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </nav> <nav id="p-wikibase-otherprojects" class="mw-portlet mw-portlet-wikibase-otherprojects vector-menu-portal portal vector-menu" aria-labelledby="p-wikibase-otherprojects-label"> <h3 id="p-wikibase-otherprojects-label" class="vector-menu-heading "><span class="vector-menu-heading-label">In other projects</span></h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="wb-otherproject-link wb-otherproject-sources mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://wikisource.org/wiki/Module:Autotranslate" hreflang="en"><span>Multilingual Wikisource</span></a></li> <li class="wb-otherproject-link wb-otherproject-species mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://species.wikimedia.org/wiki/Module:Autotranslate" hreflang="en"><span>Wikispecies</span></a></li> <li class="wb-otherproject-link wb-otherproject-wikidata mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://www.wikidata.org/wiki/Module:Autotranslate" hreflang="en"><span>Wikidata</span></a></li> <li class="wb-otherproject-link wb-otherproject-wikifunctions mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://www.wikifunctions.org/wiki/Module:Autotranslate" hreflang="en"><span>Wikifunctions</span></a></li> <li class="wb-otherproject-link wb-otherproject-wikiquote mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://en.wikiquote.org/wiki/Module:Autotranslate" hreflang="en"><span>Wikiquote</span></a></li> <li id="t-wikibase" class="wb-otherproject-link wb-otherproject-wikibase-dataitem mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://www.wikidata.org/wiki/Special:EntityPage/Q59264012" title="Link to connected data repository item [g]" accesskey="g"><span>Wikidata item</span></a></li> </ul> </div> </nav> <nav id="p-lang" class="mw-portlet mw-portlet-lang vector-menu-portal portal vector-menu" aria-labelledby="p-lang-label"> <h3 id="p-lang-label" class="vector-menu-heading "><span class="vector-menu-heading-label">In Wikipedia</span></h3> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li class="interlanguage-link interwiki-pa mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://pa.wikipedia.org/wiki/%25E0%25A8%25AE%25E0%25A9%258C%25E0%25A8%25A1%25E0%25A8%25BF%25E0%25A8%258A%25E0%25A8%25B2:Autotranslate" title="ਮੌਡਿਊਲ:Autotranslate – Punjabi" lang="pa" hreflang="pa" data-title="ਮੌਡਿਊਲ:Autotranslate" data-language-autonym="ਪੰਜਾਬੀ" data-language-local-name="Punjabi" class="interlanguage-link-target"><span>ਪੰਜਾਬੀ</span></a></li> <li class="interlanguage-link interwiki-tcy mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://tcy.wikipedia.org/wiki/%25E0%25B2%25AE%25E0%25B3%258B%25E0%25B2%25A1%25E0%25B3%258D%25E0%25B2%25AF%25E0%25B3%2582%25E0%25B2%25B2%25E0%25B3%258D:Autotranslate" title="ಮೋಡ್ಯೂಲ್:Autotranslate – Tulu" lang="tcy" hreflang="tcy" data-title="ಮೋಡ್ಯೂಲ್:Autotranslate" data-language-autonym="ತುಳು" data-language-local-name="Tulu" class="interlanguage-link-target"><span>ತುಳು</span></a></li> <li class="interlanguage-link interwiki-th mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://th.wikipedia.org/wiki/%25E0%25B8%25A1%25E0%25B8%25AD%25E0%25B8%2594%25E0%25B8%25B9%25E0%25B8%25A5:Autotranslate" title="มอดูล:Autotranslate – Thai" lang="th" hreflang="th" data-title="มอดูล:Autotranslate" data-language-autonym="ไทย" data-language-local-name="Thai" class="interlanguage-link-target"><span>ไทย</span></a></li> <li class="interlanguage-link interwiki-zh mw-list-item"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://zh.wikipedia.org/wiki/Module:Autotranslate" title="Module:Autotranslate – Chinese" lang="zh" hreflang="zh" data-title="Module:Autotranslate" data-language-autonym="中文" data-language-local-name="Chinese" class="interlanguage-link-target"><span>中文</span></a></li> </ul> <div class="after-portlet after-portlet-lang"> <span class="wb-langlinks-edit wb-langlinks-link"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://www.wikidata.org/wiki/Special:EntityPage/Q59264012%23sitelinks-wikipedia" title="Edit interlanguage links" class="wbc-editpage">Edit links</a></span> </div> </div> </nav> </div> </div> <footer id="footer" class="mw-footer"> <ul id="footer-info"> <li id="footer-info-lastmod">This page was last edited on 18 April 2024, at 13:29.</li> <li id="footer-info-copyright">Files are available under licenses specified on their description page. All structured data from the file namespace is available under the <a rel="nofollow" class="external text" href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>; all unstructured text is available under the <a rel="nofollow" class="external text" href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. By using this site, you agree to the <a class="external text" href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and the <a class="external text" href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="https://commons-wikimedia-org.translate.goog/wiki/Commons:Welcome?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB">About Wikimedia Commons</a></li> <li id="footer-places-disclaimers"><a href="https://commons-wikimedia-org.translate.goog/wiki/Commons:General_disclaimer?_x_tr_sl=auto&amp;_x_tr_tl=en&amp;_x_tr_hl=en-GB">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=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://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://stats.wikimedia.org/%23/commons.wikimedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=https://commons.m.wikimedia.org/w/index.php?title%3DModule:Autotranslate%26mobileaction%3Dtoggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=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://translate.google.com/website?sl=auto&amp;tl=en&amp;hl=en-GB&amp;u=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> <script>(RLQ=window.RLQ||[]).push(function(){mw.log.warn("This page is using the deprecated ResourceLoader module \"codex-search-styles\".\n[1.43] Use a CodexModule with codexComponents to set your specific components used: https://www.mediawiki.org/wiki/Codex#Using_a_limited_subset_of_components");mw.config.set({"wgHostname":"mw-web.codfw.main-6b7f745dd4-lfx9g","wgBackendResponseTime":354,"wgPageParseReport":{"limitreport":{"cputime":"0.154","walltime":"0.210","ppvisitednodes":{"value":2891,"limit":1000000},"postexpandincludesize":{"value":46687,"limit":2097152},"templateargumentsize":{"value":5994,"limit":2097152},"expansiondepth":{"value":12,"limit":100},"expensivefunctioncount":{"value":2,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":2157,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 181.601 1 -total"," 65.45% 118.864 1 Module:Autotranslate/doc"," 30.84% 56.002 1 Template:Module-nav"," 25.97% 47.166 1 Template:Used_in_system"," 19.35% 35.133 6 Template:Module-nav/tab"," 18.17% 32.995 2 Template:Module_rating"," 16.27% 29.539 2 Template:Ombox"," 16.15% 29.332 5 Template:Module-nav/i18n"," 14.06% 25.538 5 Template:LangSwitch"," 7.39% 13.413 1 Template:Shared_Template_Warning"]},"scribunto":{"limitreport-timeusage":{"value":"0.045","limit":"10.000"},"limitreport-memusage":{"value":1289097,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-6b7f745dd4-lfx9g","timestamp":"20241125145110","ttl":2592000,"transientcontent":false}}});});</script> <script>function gtElInit() {var lib = new google.translate.TranslateService();lib.translatePage('en', 'en', function () {});}</script> <script src="https://translate.google.com/translate_a/element.js?cb=gtElInit&amp;hl=en-GB&amp;client=wt" type="text/javascript"></script> </body> </html>

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