CINXE.COM

Wikipedia:Lua/Requests/Archive 5 - Wikipedia

<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Wikipedia:Lua/Requests/Archive 5 - Wikipedia</title> <script>(function(){var className="client-js vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-enabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )enwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy", "wgMonthNames":["","January","February","March","April","May","June","July","August","September","October","November","December"],"wgRequestId":"35055be7-c087-4739-ad37-da101ac7e52e","wgCanonicalNamespace":"Project","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":4,"wgPageName":"Wikipedia:Lua/Requests/Archive_5","wgTitle":"Lua/Requests/Archive 5","wgCurRevisionId":1136451154,"wgRevisionId":1136451154,"wgArticleId":46521120,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Archive pages whose parent page is a redirect"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Wikipedia:Lua/Requests/Archive_5","wgRelevantArticleId":46521120,"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":70000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":false,"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","ext.pygments":"ready","ext.discussionTools.init.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin", "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"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=ext.discussionTools.init.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Wikipedia:Lua/Requests/Archive 5 - 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:Lua/Requests/Archive_5"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/wikipedia.png"> <link rel="icon" href="/static/favicon/wikipedia.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="Wikipedia (en)"> <link rel="EditURI" type="application/rsd+xml" href="//en.wikipedia.org/w/api.php?action=rsd"> <link rel="canonical" href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&amp;feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="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_Lua_Requests_Archive_5 rootpage-Wikipedia_Lua skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/Main_Page" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-contents" class="mw-list-item"><a href="/wiki/Wikipedia:Contents" title="Guides to browsing Wikipedia"><span>Contents</span></a></li><li id="n-currentevents" class="mw-list-item"><a href="/wiki/Portal:Current_events" title="Articles related to current events"><span>Current events</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Visit a randomly selected article [x]" accesskey="x"><span>Random article</span></a></li><li id="n-aboutsite" class="mw-list-item"><a href="/wiki/Wikipedia:About" title="Learn about Wikipedia and how it works"><span>About Wikipedia</span></a></li><li id="n-contactpage" class="mw-list-item"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" title="How to contact Wikipedia"><span>Contact us</span></a></li> </ul> </div> </div> <div id="p-interaction" class="vector-menu mw-portlet mw-portlet-interaction" > <div class="vector-menu-heading"> Contribute </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Help:Contents" title="Guidance on how to use and edit Wikipedia"><span>Help</span></a></li><li id="n-introduction" class="mw-list-item"><a href="/wiki/Help:Introduction" title="Learn how to edit Wikipedia"><span>Learn to edit</span></a></li><li id="n-portal" class="mw-list-item"><a href="/wiki/Wikipedia:Community_portal" title="The hub for editors"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes to Wikipedia [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-upload" class="mw-list-item"><a href="/wiki/Wikipedia:File_upload_wizard" title="Add images or other media for use on Wikipedia"><span>Upload file</span></a></li> </ul> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/Main_Page" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/wikipedia.png" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="Wikipedia" src="/static/images/mobile/copyright/wikipedia-wordmark-en.svg" style="width: 7.5em; height: 1.125em;"> <img class="mw-logo-tagline" alt="The Free Encyclopedia" src="/static/images/mobile/copyright/wikipedia-tagline-en.svg" width="117" height="13" style="width: 7.3125em; height: 0.8125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search Wikipedia [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search Wikipedia" aria-label="Search Wikipedia" autocapitalize="sentences" title="Search Wikipedia [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page&#039;s font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&amp;returnto=Wikipedia%3ALua%2FRequests%2FArchive+5" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&amp;returnto=Wikipedia%3ALua%2FRequests%2FArchive+5" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/wiki/Special:FundraiserRedirector?utm_source=donate&amp;utm_medium=sidebar&amp;utm_campaign=C13_en.wikipedia.org&amp;uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&amp;returnto=Wikipedia%3ALua%2FRequests%2FArchive+5" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&amp;returnto=Wikipedia%3ALua%2FRequests%2FArchive+5" title="You&#039;re encouraged to log in; however, it&#039;s not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">(Top)</div> </a> </li> <li id="toc-Eclipse_dates" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Eclipse_dates"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Eclipse dates</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">7 comments</span> <ul id="toc-Eclipse_dates-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Module:Message_box:_sidebox_option" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Module:Message_box:_sidebox_option"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Module:Message box: sidebox option</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Module:Message_box:_sidebox_option-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Visualization_modules" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Visualization_modules"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>Visualization modules</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Visualization_modules-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Help_debuging" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Help_debuging"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Help debuging</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Help_debuging-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-lua_module_breaks_lines." class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#lua_module_breaks_lines."> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>lua module breaks lines.</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-lua_module_breaks_lines.-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Move_request_(map)" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Move_request_(map)"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Move request (map)</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">10 comments</span> <ul id="toc-Move_request_(map)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Archive_list" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Archive_list"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Archive list</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Archive_list-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Need_a_template_to_make_and_show_list_of_pages_in_a_category" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Need_a_template_to_make_and_show_list_of_pages_in_a_category"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>Need a template to make and show list of pages in a category</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">6 comments</span> <ul id="toc-Need_a_template_to_make_and_show_list_of_pages_in_a_category-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Replacement_for_Template:Val" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Replacement_for_Template:Val"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Replacement for Template:Val</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Replacement_for_Template:Val-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Wrap_new_Graph_tag" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Wrap_new_Graph_tag"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>Wrap new Graph tag</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">12 comments</span> <ul id="toc-Wrap_new_Graph_tag-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_parsing_and_concatenating" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#String_parsing_and_concatenating"> <div class="vector-toc-text"> <span class="vector-toc-numb">11</span> <span>String parsing and concatenating</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">5 comments</span> <ul id="toc-String_parsing_and_concatenating-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-An_Infobox_feature_request_is_ready_for_Lua_encoding" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#An_Infobox_feature_request_is_ready_for_Lua_encoding"> <div class="vector-toc-text"> <span class="vector-toc-numb">12</span> <span>An Infobox feature request is ready for Lua encoding</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-An_Infobox_feature_request_is_ready_for_Lua_encoding-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text"> <div class="vector-toc-text"> <span class="vector-toc-numb">13</span> <span>String parsing: Extract number (with decimal, neg) from arbitrary text</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">7 comments</span> <ul id="toc-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Breadcrumb_version_of_Module:Multi-section_link" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Breadcrumb_version_of_Module:Multi-section_link"> <div class="vector-toc-text"> <span class="vector-toc-numb">14</span> <span>Breadcrumb version of Module:Multi-section link</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Breadcrumb_version_of_Module:Multi-section_link-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables"> <div class="vector-toc-text"> <span class="vector-toc-numb">15</span> <span>Collaboration with wikia on module development and auto summation in tables</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Re-write_Template:World_topic_as_a_Lua_module" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Re-write_Template:World_topic_as_a_Lua_module"> <div class="vector-toc-text"> <span class="vector-toc-numb">16</span> <span>Re-write Template:World topic as a Lua module</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">9 comments</span> <ul id="toc-Re-write_Template:World_topic_as_a_Lua_module-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Loops_and_Lua" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Loops_and_Lua"> <div class="vector-toc-text"> <span class="vector-toc-numb">17</span> <span>Loops and Lua</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">5 comments</span> <ul id="toc-Loops_and_Lua-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Requesting_Module:Location_map/data/Pyongyang" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Requesting_Module:Location_map/data/Pyongyang"> <div class="vector-toc-text"> <span class="vector-toc-numb">18</span> <span>Requesting Module:Location map/data/Pyongyang</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Requesting_Module:Location_map/data/Pyongyang-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_on_Commons)?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_on_Commons)?"> <div class="vector-toc-text"> <span class="vector-toc-numb">19</span> <span>Is it possible to get the dates of modification for files (in this case, files on Commons)?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_on_Commons)?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Why_are_module_main_objects_called_p?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Why_are_module_main_objects_called_p?"> <div class="vector-toc-text"> <span class="vector-toc-numb">20</span> <span>Why are module main objects called p?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Why_are_module_main_objects_called_p?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Is_Lua_the_right_way_to_do_a_table_lookup?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Is_Lua_the_right_way_to_do_a_table_lookup?"> <div class="vector-toc-text"> <span class="vector-toc-numb">21</span> <span>Is Lua the right way to do a table lookup?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-Is_Lua_the_right_way_to_do_a_table_lookup?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-scan_for_template_text_in_category_of_articles" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#scan_for_template_text_in_category_of_articles"> <div class="vector-toc-text"> <span class="vector-toc-numb">22</span> <span>scan for template text in category of articles</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">7 comments</span> <ul id="toc-scan_for_template_text_in_category_of_articles-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Code_review_of_Module:Timing" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Code_review_of_Module:Timing"> <div class="vector-toc-text"> <span class="vector-toc-numb">23</span> <span>Code review of Module:Timing</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">7 comments</span> <ul id="toc-Code_review_of_Module:Timing-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading"><span class="mw-page-title-namespace">Wikipedia</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Lua/Requests/Archive 5</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang" > <input type="checkbox" id="p-lang-btn-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-p-lang-btn" class="vector-dropdown-checkbox mw-interlanguage-selector" aria-label="This article exist only in this language. Add the article for other languages" > <label id="p-lang-btn-label" for="p-lang-btn-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--action-progressive mw-portlet-lang-heading-0" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language-progressive mw-ui-icon-wikimedia-language-progressive"></span> <span class="vector-dropdown-label-text">Add languages</span> </label> <div class="vector-dropdown-content"> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="uls-after-portlet-link"></span><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=enwiki&amp;page=Wikipedia%3ALua%2FRequests%2FArchive+5" title="Add interlanguage links" class="wbc-editpage">Add links</a></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:Lua/Requests/Archive_5" title="View the project page [c]" accesskey="c"><span>Project page</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Wikipedia_talk:Lua/Requests/Archive_5&amp;action=edit&amp;redlink=1" rel="discussion" class="new" title="Discuss improvements to the content page (page does not exist) [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Wikipedia:Lua/Requests/Archive_5"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Wikipedia:Lua/Requests/Archive_5"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Wikipedia:Lua/Requests/Archive_5" 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:Lua/Requests/Archive_5" 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-permalink" class="mw-list-item"><a href="/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;oldid=1136451154" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWikipedia%3ALua%2FRequests%2FArchive_5"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWikipedia%3ALua%2FRequests%2FArchive_5"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Wikipedia%3ALua%2FRequests%2FArchive_5&amp;action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects emptyPortlet" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><div class="subpages">&lt; <bdi dir="ltr"><a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">Wikipedia:Lua</a></bdi> | <bdi dir="ltr"><a href="/wiki/Wikipedia:Lua/Requests" class="mw-redirect" title="Wikipedia:Lua/Requests">Requests</a></bdi></div></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r1238436933">.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-notice" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/2/2a/Replacement_filing_cabinet.svg/40px-Replacement_filing_cabinet.svg.png" decoding="async" width="40" height="40" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/2/2a/Replacement_filing_cabinet.svg/60px-Replacement_filing_cabinet.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/2/2a/Replacement_filing_cabinet.svg/80px-Replacement_filing_cabinet.svg.png 2x" data-file-width="200" data-file-height="200"/></span></span></td><td class="mbox-text" style="text-align:center">This is an <b><a href="/wiki/Help:Archiving_a_talk_page" title="Help:Archiving a talk page">archive</a></b> of past discussions on <a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">Wikipedia:Lua</a>. <b>Do not edit the contents of this page.</b> If you wish to start a new discussion or revive an old one, please do so on the <a href="/wiki/Wikipedia:Lua" title="Wikipedia:Lua">current main page</a>.</td></tr></tbody></table> <table style="text-align:center;margin:0 auto 0.5em;max-width:35em;width:100%;width:-moz-available;width:-webkit-fill-available;width:stretch"><tbody><tr><td><a href="/wiki/Wikipedia:Lua/Requests/Archive_1" title="Wikipedia:Lua/Requests/Archive 1">Archive 1</a></td><td>←</td><td><a href="/wiki/Wikipedia:Lua/Requests/Archive_3" title="Wikipedia:Lua/Requests/Archive 3">Archive 3</a></td><td><a href="/wiki/Wikipedia:Lua/Requests/Archive_4" title="Wikipedia:Lua/Requests/Archive 4">Archive 4</a></td><td><span style="font-size:115%;"><a class="mw-selflink selflink">Archive 5</a></span></td></tr></tbody></table> <meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-MSGJ-2015-03-25T12:36:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Eclipse_dates-2015-03-25T12:36:00.000Z&quot;,&quot;replies&quot;:[&quot;c-MSGJ-2015-03-25T12:36:00.000Z-Eclipse_dates&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Eclipse dates&quot;,&quot;linkableTitle&quot;:&quot;Eclipse dates&quot;}--><h2 id="Eclipse_dates" data-mw-thread-id="h-Eclipse_dates-2015-03-25T12:36:00.000Z"><span data-mw-comment-start="" id="h-Eclipse_dates-2015-03-25T12:36:00.000Z"></span>Eclipse dates<span data-mw-comment-end="h-Eclipse_dates-2015-03-25T12:36:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-MSGJ-2015-03-25T12:36:00.000Z","type":"heading","level":0,"id":"h-Eclipse_dates-2015-03-25T12:36:00.000Z","replies":["c-MSGJ-2015-03-25T12:36:00.000Z-Eclipse_dates"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-MSGJ-2015-03-26T09:32:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z","timestamp":"2015-03-26T09:32:00.000Z"}__--><!--__DTCOMMENTCOUNT__7__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-MSGJ-2015-03-25T12:36:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Eclipse_dates-2015-03-25T12:36:00.000Z&quot;,&quot;replies&quot;:[&quot;c-MSGJ-2015-03-25T12:36:00.000Z-Eclipse_dates&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Eclipse dates&quot;,&quot;linkableTitle&quot;:&quot;Eclipse dates&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-MSGJ-2015-03-25T12:36:00.000Z-Eclipse_dates"></span>Could a module be written to take a list of dates, link them, and indicate the next coming date? This would be useful for templates like <a href="/wiki/Template:Lunar_eclipses" title="Template:Lunar eclipses">Template:Lunar eclipses</a> which need to be constantly updated by editors. Thanks — Martin <small>(<a href="/wiki/User:MSGJ" title="User:MSGJ">MSGJ</a> · <a href="/wiki/User_talk:MSGJ" title="User talk:MSGJ">talk</a>)</small> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-MSGJ-2015-03-25T12:36:00.000Z-Eclipse_dates" class="ext-discussiontools-init-timestamplink">12:36, 25 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-MSGJ-2015-03-25T12:36:00.000Z-Eclipse_dates"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-25T12:36:00.000Z","author":"MSGJ","type":"comment","level":1,"id":"c-MSGJ-2015-03-25T12:36:00.000Z-Eclipse_dates","replies":["c-Mr._Stradivarius-2015-03-25T14:50:00.000Z-MSGJ-2015-03-25T12:36:00.000Z"]}}--></span><span data-mw-comment-end="c-MSGJ-2015-03-25T12:36:00.000Z-Eclipse_dates"></span> </p> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-03-25T14:50:00.000Z-MSGJ-2015-03-25T12:36:00.000Z"></span>@<a href="/wiki/User:MSGJ" title="User:MSGJ">MSGJ</a>:</span> Is there a formula that the dates can be calculated from? I assume there must be something, but I'm a complete beginner regarding such calcuations. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-03-25T14:50:00.000Z-MSGJ-2015-03-25T12:36:00.000Z" class="ext-discussiontools-init-timestamplink">14:50, 25 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-03-25T14:50:00.000Z-MSGJ-2015-03-25T12:36:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-25T14:50:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-03-25T14:50:00.000Z-MSGJ-2015-03-25T12:36:00.000Z","replies":["c-MSGJ-2015-03-25T14:54:00.000Z-Mr._Stradivarius-2015-03-25T14:50:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-03-25T14:50:00.000Z-MSGJ-2015-03-25T12:36:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-MSGJ-2015-03-25T14:54:00.000Z-Mr._Stradivarius-2015-03-25T14:50:00.000Z"></span>I guess there is a formula somewhere, but I'm not asking for that. Just to put a marker (like <big><span style="background-color: #FC6;color:black;">→</span></big>) next to the next occurrence. — Martin <small>(<a href="/wiki/User:MSGJ" title="User:MSGJ">MSGJ</a> · <a href="/wiki/User_talk:MSGJ" title="User talk:MSGJ">talk</a>)</small> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-MSGJ-2015-03-25T14:54:00.000Z-Mr._Stradivarius-2015-03-25T14:50:00.000Z" class="ext-discussiontools-init-timestamplink">14:54, 25 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-MSGJ-2015-03-25T14:54:00.000Z-Mr._Stradivarius-2015-03-25T14:50:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-25T14:54:00.000Z","author":"MSGJ","type":"comment","level":3,"id":"c-MSGJ-2015-03-25T14:54:00.000Z-Mr._Stradivarius-2015-03-25T14:50:00.000Z","replies":["c-Johnuniq-2015-03-26T01:01:00.000Z-MSGJ-2015-03-25T14:54:00.000Z"]}}--></span><span data-mw-comment-end="c-MSGJ-2015-03-25T14:54:00.000Z-Mr._Stradivarius-2015-03-25T14:50:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2015-03-26T01:01:00.000Z-MSGJ-2015-03-25T14:54:00.000Z"></span>The request is that a module be used to implement <a href="/wiki/Template:Lunar_eclipses" title="Template:Lunar eclipses">Template:Lunar eclipses</a>. There would be a data page somewhere that contains the items to be displayed. The module would output exactly what the template does now, except that it would highlight, in each of two lists, the date that is the first after today + 1 (I would add 1 or even 2 or 3 so the highlight does not move until a couple of days have passed). The current template feeds a bunch of stuff into <span class="nowrap">{{</span><a href="/wiki/Template:Navbox" title="Template:Navbox">Navbox</a><span class="nowrap">}}</span>, and the module would do essentially the same. That would all be do-able but unless the functionality is needed in several other places as well, it looks a lot easier to me to just edit the template which needs five minutes of editing in the next two years, whereas the module would need a lot more than that! <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2015-03-26T01:01:00.000Z-MSGJ-2015-03-25T14:54:00.000Z" class="ext-discussiontools-init-timestamplink">01:01, 26 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2015-03-26T01:01:00.000Z-MSGJ-2015-03-25T14:54:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-26T01:01:00.000Z","author":"Johnuniq","type":"comment","level":4,"id":"c-Johnuniq-2015-03-26T01:01:00.000Z-MSGJ-2015-03-25T14:54:00.000Z","replies":["c-Mr._Stradivarius-2015-03-26T04:52:00.000Z-Johnuniq-2015-03-26T01:01:00.000Z"]}}--></span><span data-mw-comment-end="c-Johnuniq-2015-03-26T01:01:00.000Z-MSGJ-2015-03-25T14:54:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-03-26T04:52:00.000Z-Johnuniq-2015-03-26T01:01:00.000Z"></span>Actually, we don't need to bother with the navbox part, or with making data modules for all the different templates. I've just finished making <span class="nowrap">{{</span><a href="/wiki/Template:Highlighted_date_list" title="Template:Highlighted date list">highlighted date list</a><span class="nowrap">}}</span>, which takes parameters like <code class="tpl-para" style="word-break:break-word;">|item1=</code> and <code class="tpl-para" style="word-break:break-word;">|date1=</code>, sorts them by date, adds a highlighter and outputs them as an unordered list. <a href="/wiki/User:MSGJ" title="User:MSGJ">MSGJ</a>: will that do the job? — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-03-26T04:52:00.000Z-Johnuniq-2015-03-26T01:01:00.000Z" class="ext-discussiontools-init-timestamplink">04:52, 26 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-03-26T04:52:00.000Z-Johnuniq-2015-03-26T01:01:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-26T04:52:00.000Z","author":"Mr. Stradivarius","type":"comment","level":5,"id":"c-Mr._Stradivarius-2015-03-26T04:52:00.000Z-Johnuniq-2015-03-26T01:01:00.000Z","replies":["c-Johnuniq-2015-03-26T05:39:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z","c-MSGJ-2015-03-26T09:32:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-03-26T04:52:00.000Z-Johnuniq-2015-03-26T01:01:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2015-03-26T05:39:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z"></span>Amazing, well done! <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2015-03-26T05:39:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z" class="ext-discussiontools-init-timestamplink">05:39, 26 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2015-03-26T05:39:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-26T05:39:00.000Z","author":"Johnuniq","type":"comment","level":6,"id":"c-Johnuniq-2015-03-26T05:39:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Johnuniq-2015-03-26T05:39:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z"></span></dd> <dd><span data-mw-comment-start="" id="c-MSGJ-2015-03-26T09:32:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z"></span>Thank you very much! I've started using it already. — Martin <small>(<a href="/wiki/User:MSGJ" title="User:MSGJ">MSGJ</a> · <a href="/wiki/User_talk:MSGJ" title="User talk:MSGJ">talk</a>)</small> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-MSGJ-2015-03-26T09:32:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z" class="ext-discussiontools-init-timestamplink">09:32, 26 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-MSGJ-2015-03-26T09:32:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-26T09:32:00.000Z","author":"MSGJ","type":"comment","level":6,"id":"c-MSGJ-2015-03-26T09:32:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-MSGJ-2015-03-26T09:32:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-DePiep-2015-03-25T21:47:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Module:Message_box:_sidebox_option-2015-03-25T21:47:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2015-03-25T21:47:00.000Z-Module:Message_box:_sidebox_option&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Module:Message box: sidebox option&quot;,&quot;linkableTitle&quot;:&quot;Module:Message box: sidebox option&quot;}--><h2 id="Module:Message_box:_sidebox_option" data-mw-thread-id="h-Module:Message_box:_sidebox_option-2015-03-25T21:47:00.000Z"><span data-mw-comment-start="" id="h-Module:Message_box:_sidebox_option-2015-03-25T21:47:00.000Z"></span>Module:Message box: sidebox option<span data-mw-comment-end="h-Module:Message_box:_sidebox_option-2015-03-25T21:47:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-DePiep-2015-03-25T21:47:00.000Z","type":"heading","level":0,"id":"h-Module:Message_box:_sidebox_option-2015-03-25T21:47:00.000Z","replies":["c-DePiep-2015-03-25T21:47:00.000Z-Module:Message_box:_sidebox_option"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-DePiep-2015-03-26T11:02:00.000Z-Mr._Stradivarius-2015-03-26T06:43:00.000Z","timestamp":"2015-03-26T11:02:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-DePiep-2015-03-25T21:47:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Module:Message_box:_sidebox_option-2015-03-25T21:47:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2015-03-25T21:47:00.000Z-Module:Message_box:_sidebox_option&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Module:Message box: sidebox option&quot;,&quot;linkableTitle&quot;:&quot;Module:Message box: sidebox option&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-DePiep-2015-03-25T21:47:00.000Z-Module:Message_box:_sidebox_option"></span>See <a href="/wiki/Template:Convert" title="Template:Convert">Template:Convert</a>, especially the documentation as it shows. </p><p>It has a big "Translate this template into Swahili" messagebox in top. But the <i>editors</i> who visit this page are not translators. So I'd like to have this box miniaturized into a side-box (just like the <span class="nowrap">{{</span><a href="/wiki/Template:Lua" title="Template:Lua">Lua</a><span class="nowrap">}}</span> box already in there). Upstream, it has the Ombox and <a href="/wiki/Module:Message_box" title="Module:Message box">module:Message box</a>. Where to set which switch? (at the moment, I'm not in to learning that; so just do it please. I'll see). -<a href="/wiki/User:DePiep" title="User:DePiep">DePiep</a> (<a href="/wiki/User_talk:DePiep" title="User talk:DePiep">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-DePiep-2015-03-25T21:47:00.000Z-Module:Message_box:_sidebox_option" class="ext-discussiontools-init-timestamplink">21:47, 25 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2015-03-25T21:47:00.000Z-Module:Message_box:_sidebox_option"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-25T21:47:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2015-03-25T21:47:00.000Z-Module:Message_box:_sidebox_option","replies":["c-Mr._Stradivarius-2015-03-26T06:43:00.000Z-DePiep-2015-03-25T21:47:00.000Z"]}}--></span><span data-mw-comment-end="c-DePiep-2015-03-25T21:47:00.000Z-Module:Message_box:_sidebox_option"></span> </p> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-03-26T06:43:00.000Z-DePiep-2015-03-25T21:47:00.000Z"></span>@<a href="/wiki/User:DePiep" title="User:DePiep">DePiep</a>:</span> With <a class="external text" href="https://en.wikipedia.org/w/index.php?title=Template:Transwiki_guide&amp;diff=653570799&amp;oldid=653570409">this edit</a> you can now pass <code class="tpl-para" style="word-break:break-word;">|small=yes</code> to <span class="nowrap">{{</span><a href="/wiki/Template:Transwiki_guide" title="Template:Transwiki guide">transwiki guide</a><span class="nowrap">}}</span> to output a small template. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-03-26T06:43:00.000Z-DePiep-2015-03-25T21:47:00.000Z" class="ext-discussiontools-init-timestamplink">06:43, 26 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-03-26T06:43:00.000Z-DePiep-2015-03-25T21:47:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-26T06:43:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-03-26T06:43:00.000Z-DePiep-2015-03-25T21:47:00.000Z","replies":["c-DePiep-2015-03-26T11:02:00.000Z-Mr._Stradivarius-2015-03-26T06:43:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-03-26T06:43:00.000Z-DePiep-2015-03-25T21:47:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-DePiep-2015-03-26T11:02:00.000Z-Mr._Stradivarius-2015-03-26T06:43:00.000Z"></span>Yes. -<a href="/wiki/User:DePiep" title="User:DePiep">DePiep</a> (<a href="/wiki/User_talk:DePiep" title="User talk:DePiep">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-DePiep-2015-03-26T11:02:00.000Z-Mr._Stradivarius-2015-03-26T06:43:00.000Z" class="ext-discussiontools-init-timestamplink">11:02, 26 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2015-03-26T11:02:00.000Z-Mr._Stradivarius-2015-03-26T06:43:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-26T11:02:00.000Z","author":"DePiep","type":"comment","level":3,"id":"c-DePiep-2015-03-26T11:02:00.000Z-Mr._Stradivarius-2015-03-26T06:43:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-DePiep-2015-03-26T11:02:00.000Z-Mr._Stradivarius-2015-03-26T06:43:00.000Z"></span></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Resident_Mario-2015-03-28T20:47:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Visualization_modules-2015-03-28T20:47:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Resident_Mario-2015-03-28T20:47:00.000Z-Visualization_modules&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Visualization modules&quot;,&quot;linkableTitle&quot;:&quot;Visualization modules&quot;}--><h2 id="Visualization_modules" data-mw-thread-id="h-Visualization_modules-2015-03-28T20:47:00.000Z"><span data-mw-comment-start="" id="h-Visualization_modules-2015-03-28T20:47:00.000Z"></span>Visualization modules<span data-mw-comment-end="h-Visualization_modules-2015-03-28T20:47:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Resident_Mario-2015-03-28T20:47:00.000Z","type":"heading","level":0,"id":"h-Visualization_modules-2015-03-28T20:47:00.000Z","replies":["c-Resident_Mario-2015-03-28T20:47:00.000Z-Visualization_modules"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Resident_Mario-2015-03-31T13:25:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-03-30T15:46:00.000Z","timestamp":"2015-03-31T13:25:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Resident_Mario-2015-03-28T20:47:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Visualization_modules-2015-03-28T20:47:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Resident_Mario-2015-03-28T20:47:00.000Z-Visualization_modules&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Visualization modules&quot;,&quot;linkableTitle&quot;:&quot;Visualization modules&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Resident_Mario-2015-03-28T20:47:00.000Z-Visualization_modules"></span>Hi, can anyone give me a quick greatest-hits of visualization modules that have been built on-wiki here? I'm aware of <a href="/wiki/Module:Chart" title="Module:Chart">Module:Chart</a> for starters. <span style="font-family:Verdana,Arial,Helvetica"><a href="/wiki/User:Resident_Mario" title="User:Resident Mario"><b style="color:#333333; font-size:small;">Res</b></a><a href="/wiki/User_talk:Resident_Mario#top" title="User talk:Resident Mario"><span style="color:#444444; font-size:small;">Mar</span></a></span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Resident_Mario-2015-03-28T20:47:00.000Z-Visualization_modules" class="ext-discussiontools-init-timestamplink">20:47, 28 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Resident_Mario-2015-03-28T20:47:00.000Z-Visualization_modules"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-28T20:47:00.000Z","author":"Resident Mario","type":"comment","level":1,"id":"c-Resident_Mario-2015-03-28T20:47:00.000Z-Visualization_modules","replies":["c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-03-30T15:46:00.000Z-Resident_Mario-2015-03-28T20:47:00.000Z"],"displayName":"Res"}}--></span><span data-mw-comment-end="c-Resident_Mario-2015-03-28T20:47:00.000Z-Visualization_modules"></span> </p> <dl><dd><a href="/wiki/Template:Chess_diagram" title="Template:Chess diagram"><span data-mw-comment-start="" id="c-קיפודנחש-2015-03-30T15:46:00.000Z-Resident_Mario-2015-03-28T20:47:00.000Z"></span>Template:Chess diagram</a> is using <a href="/wiki/Module:Chessboard" title="Module:Chessboard">Module:Chessboard</a> (i think). i believe this falls under "visualization". as a side, i'll mention that for a long time i't trying to entice someone to create a lua wrapper that will make working with <a href="https://www.mediawiki.org/wiki/Extension:EasyTimeline" class="extiw" title="mw:Extension:EasyTimeline">mw:Extension:EasyTimeline</a> easier, but so far, no takers. if you find something in some other wikipedia that does it, i'll be grateful to hear. peace - <a href="/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User:קיפודנחש">קיפודנחש (aka kipod)</a> (<a href="/wiki/User_talk:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User talk:קיפודנחש">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-קיפודנחש-2015-03-30T15:46:00.000Z-Resident_Mario-2015-03-28T20:47:00.000Z" class="ext-discussiontools-init-timestamplink">15:46, 30 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-קיפודנחש-2015-03-30T15:46:00.000Z-Resident_Mario-2015-03-28T20:47:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-30T15:46:00.000Z","author":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9","type":"comment","level":2,"id":"c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-03-30T15:46:00.000Z-Resident_Mario-2015-03-28T20:47:00.000Z","replies":["c-Resident_Mario-2015-03-31T13:25:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-03-30T15:46:00.000Z"],"displayName":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9 (aka kipod)"}}--></span><span data-mw-comment-end="c-קיפודנחש-2015-03-30T15:46:00.000Z-Resident_Mario-2015-03-28T20:47:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Resident_Mario-2015-03-31T13:25:00.000Z-קיפודנחש-2015-03-30T15:46:00.000Z"></span>Tut. <span style="font-family:Verdana,Arial,Helvetica"><a href="/wiki/User:Resident_Mario" title="User:Resident Mario"><b style="color:#333333; font-size:small;">Res</b></a><a href="/wiki/User_talk:Resident_Mario#top" title="User talk:Resident Mario"><span style="color:#444444; font-size:small;">Mar</span></a></span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Resident_Mario-2015-03-31T13:25:00.000Z-קיפודנחש-2015-03-30T15:46:00.000Z" class="ext-discussiontools-init-timestamplink">13:25, 31 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Resident_Mario-2015-03-31T13:25:00.000Z-קיפודנחש-2015-03-30T15:46:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-31T13:25:00.000Z","author":"Resident Mario","type":"comment","level":3,"id":"c-Resident_Mario-2015-03-31T13:25:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-03-30T15:46:00.000Z","replies":[],"displayName":"Res"}}--></span><span data-mw-comment-end="c-Resident_Mario-2015-03-31T13:25:00.000Z-קיפודנחש-2015-03-30T15:46:00.000Z"></span></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T08:44:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Help_debuging-2015-03-31T08:44:00.000Z&quot;,&quot;replies&quot;:[&quot;c-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T08:44:00.000Z-Help_debuging&quot;,&quot;c-Johnuniq-2015-03-31T09:15:00.000Z-Help_debuging&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Help debuging&quot;,&quot;linkableTitle&quot;:&quot;Help debuging&quot;}--><h2 id="Help_debuging" data-mw-thread-id="h-Help_debuging-2015-03-31T08:44:00.000Z"><span data-mw-comment-start="" id="h-Help_debuging-2015-03-31T08:44:00.000Z"></span>Help debuging<span data-mw-comment-end="h-Help_debuging-2015-03-31T08:44:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T08:44:00.000Z","type":"heading","level":0,"id":"h-Help_debuging-2015-03-31T08:44:00.000Z","replies":["c-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T08:44:00.000Z-Help_debuging","c-Johnuniq-2015-03-31T09:15:00.000Z-Help_debuging"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Mr._Stradivarius-2015-03-31T09:17:00.000Z-Johnuniq-2015-03-31T09:15:00.000Z","timestamp":"2015-03-31T09:17:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T08:44:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Help_debuging-2015-03-31T08:44:00.000Z&quot;,&quot;replies&quot;:[&quot;c-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T08:44:00.000Z-Help_debuging&quot;,&quot;c-Johnuniq-2015-03-31T09:15:00.000Z-Help_debuging&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Help debuging&quot;,&quot;linkableTitle&quot;:&quot;Help debuging&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-אלישיב_ליפא-2015-03-31T08:44:00.000Z-Help_debuging"></span>I wrote a module that one of it's functions returns text formatted using a template. When invoking the function the template doesn't get expanded. </p><p>What am I doing wrong? </p><p>Thanks, <a href="/w/index.php?title=User:%D7%90%D7%9C%D7%99%D7%A9%D7%99%D7%91_%D7%9C%D7%99%D7%A4%D7%90&amp;action=edit&amp;redlink=1" class="new" title="User:אלישיב ליפא (page does not exist)">אלישיב ליפא</a> (<a href="/wiki/User_talk:%D7%90%D7%9C%D7%99%D7%A9%D7%99%D7%91_%D7%9C%D7%99%D7%A4%D7%90" title="User talk:אלישיב ליפא">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-אלישיב_ליפא-2015-03-31T08:44:00.000Z-Help_debuging" class="ext-discussiontools-init-timestamplink">08:44, 31 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-אלישיב_ליפא-2015-03-31T08:44:00.000Z-Help_debuging"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-31T08:44:00.000Z","author":"\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1 \u05dc\u05d9\u05e4\u05d0","type":"comment","level":1,"id":"c-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T08:44:00.000Z-Help_debuging","replies":[]}}--></span><span data-mw-comment-end="c-אלישיב_ליפא-2015-03-31T08:44:00.000Z-Help_debuging"></span> </p><p><span data-mw-comment-start="" id="c-Johnuniq-2015-03-31T09:15:00.000Z-Help_debuging"></span>A few links: </p><p>A link to the module: <a class="external free" href="https://he.wikisource.org/wiki/%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%A4%D7%A8%D7%A9%D7%9F_%D7%A9%D7%95%D7%9C%D7%97%D7%9F_%D7%A2%D7%A8%D7%95%D7%9A">https://he.wikisource.org/wiki/%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%A4%D7%A8%D7%A9%D7%9F_%D7%A9%D7%95%D7%9C%D7%97%D7%9F_%D7%A2%D7%A8%D7%95%D7%9A</a> </p><p>An example is (currently) in the sandbox of he.wikisource </p> <dl><dd>The idea of a module is to eliminate templates, so the quick answer is that you cannot return a template as the result of a module. A slightly longer answer would explain some details that I'm not familiar with concerning the fact that MediaWiki invokes modules at a point where it is too late for templates to be processed. I believe you can workaround the issue with <a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#frame:expandTemplate" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">expandTemplate</a>, but what should be done is to redesign the module. Preferably, the module should emulate the template and return the wikitext that the template would return. Next option would be to redesign the template to invoke a module to help with the work that the template wants done. <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2015-03-31T09:15:00.000Z-Help_debuging" class="ext-discussiontools-init-timestamplink">09:15, 31 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2015-03-31T09:15:00.000Z-Help_debuging"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-31T09:15:00.000Z","author":"Johnuniq","type":"comment","level":1,"id":"c-Johnuniq-2015-03-31T09:15:00.000Z-Help_debuging","replies":["c-Mr._Stradivarius-2015-03-31T09:17:00.000Z-Johnuniq-2015-03-31T09:15:00.000Z"]}}--></span><span data-mw-comment-end="c-Johnuniq-2015-03-31T09:15:00.000Z-Help_debuging"></span></dd> <dd><small><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-03-31T09:17:00.000Z-Johnuniq-2015-03-31T09:15:00.000Z"></span>(<a href="/wiki/Help:Edit_conflict" title="Help:Edit conflict">edit conflict</a>)</small> <span class="template-ping">@<a href="/w/index.php?title=User:%D7%90%D7%9C%D7%99%D7%A9%D7%99%D7%91_%D7%9C%D7%99%D7%A4%D7%90&amp;action=edit&amp;redlink=1" class="new" title="User:אלישיב ליפא (page does not exist)">אלישיב ליפא</a>:</span> Output from Lua modules isn't preprocessed automatically, as that might lead to some things being preprocessed twice. (The arguments are preprocessed automatically when you access them from inside Lua.) To expand templates, parser functions and extension tags, you need to preprocess them yourself using one of the methods of the <a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Frame_object" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">frame object</a>. In your case, the best one to use would be <a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#frame:expandTemplate" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">frame:expandTemplate</a>. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-03-31T09:17:00.000Z-Johnuniq-2015-03-31T09:15:00.000Z" class="ext-discussiontools-init-timestamplink">09:17, 31 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-03-31T09:17:00.000Z-Johnuniq-2015-03-31T09:15:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-31T09:17:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-03-31T09:17:00.000Z-Johnuniq-2015-03-31T09:15:00.000Z","replies":[],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-03-31T09:17:00.000Z-Johnuniq-2015-03-31T09:15:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-lua_module_breaks_lines.-2015-03-31T20:18:00.000Z&quot;,&quot;replies&quot;:[&quot;c-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z-lua_module_breaks_lines.&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;lua module breaks lines.&quot;,&quot;linkableTitle&quot;:&quot;lua module breaks lines.&quot;}--><h2 id="lua_module_breaks_lines." data-mw-thread-id="h-lua_module_breaks_lines.-2015-03-31T20:18:00.000Z"><span data-mw-comment-start="" id="h-lua_module_breaks_lines.-2015-03-31T20:18:00.000Z"></span>lua module breaks lines.<span data-mw-comment-end="h-lua_module_breaks_lines.-2015-03-31T20:18:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z","type":"heading","level":0,"id":"h-lua_module_breaks_lines.-2015-03-31T20:18:00.000Z","replies":["c-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z-lua_module_breaks_lines."],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-JohnBlackburne-2015-03-31T21:12:00.000Z-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z","timestamp":"2015-03-31T21:12:00.000Z"}__--><!--__DTCOMMENTCOUNT__2__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-lua_module_breaks_lines.-2015-03-31T20:18:00.000Z&quot;,&quot;replies&quot;:[&quot;c-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z-lua_module_breaks_lines.&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;lua module breaks lines.&quot;,&quot;linkableTitle&quot;:&quot;lua module breaks lines.&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-אלישיב_ליפא-2015-03-31T20:18:00.000Z-lua_module_breaks_lines."></span>Hi. I'm using a Lua module to create some functionality, and the call to the module seems to break lines. I have no Idea why this is happening, and I hope someone can help me. </p><p>The module: <a class="external free" href="https://he.wikisource.org/wiki/%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%A4%D7%A8%D7%A9%D7%9F_%D7%A9%D7%95%D7%9C%D7%97%D7%9F_%D7%A2%D7%A8%D7%95%D7%9A">https://he.wikisource.org/wiki/%D7%99%D7%97%D7%99%D7%93%D7%94:%D7%A4%D7%A8%D7%A9%D7%9F_%D7%A9%D7%95%D7%9C%D7%97%D7%9F_%D7%A2%D7%A8%D7%95%D7%9A</a> </p><p>Example for a break: <a class="external free" href="https://he.wikisource.org/wiki/%D7%A9%D7%95%D7%9C%D7%97%D7%9F_%D7%A2%D7%A8%D7%95%D7%9A_%D7%97%D7%95%D7%A9%D7%9F_%D7%9E%D7%A9%D7%A4%D7%98_%D7%A4%D7%95">https://he.wikisource.org/wiki/%D7%A9%D7%95%D7%9C%D7%97%D7%9F_%D7%A2%D7%A8%D7%95%D7%9A_%D7%97%D7%95%D7%A9%D7%9F_%D7%9E%D7%A9%D7%A4%D7%98_%D7%A4%D7%95</a> </p><p><a href="/w/index.php?title=User:%D7%90%D7%9C%D7%99%D7%A9%D7%99%D7%91_%D7%9C%D7%99%D7%A4%D7%90&amp;action=edit&amp;redlink=1" class="new" title="User:אלישיב ליפא (page does not exist)">אלישיב ליפא</a> (<a href="/wiki/User_talk:%D7%90%D7%9C%D7%99%D7%A9%D7%99%D7%91_%D7%9C%D7%99%D7%A4%D7%90" title="User talk:אלישיב ליפא">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-אלישיב_ליפא-2015-03-31T20:18:00.000Z-lua_module_breaks_lines." class="ext-discussiontools-init-timestamplink">20:18, 31 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-אלישיב_ליפא-2015-03-31T20:18:00.000Z-lua_module_breaks_lines."><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-31T20:18:00.000Z","author":"\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1 \u05dc\u05d9\u05e4\u05d0","type":"comment","level":1,"id":"c-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z-lua_module_breaks_lines.","replies":["c-JohnBlackburne-2015-03-31T21:12:00.000Z-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z"]}}--></span><span data-mw-comment-end="c-אלישיב_ליפא-2015-03-31T20:18:00.000Z-lua_module_breaks_lines."></span> </p> <dl><dd><span data-mw-comment-start="" id="c-JohnBlackburne-2015-03-31T21:12:00.000Z-אלישיב_ליפא-2015-03-31T20:18:00.000Z"></span>Looking at the template source it looks like it may be the problem I was having here: <a href="/wiki/Wikipedia_talk:Lua/Archive_2#Odd_problem_with_new_template/module" title="Wikipedia talk:Lua/Archive 2">Wikipedia talk:Lua/Archive 2#Odd problem with new template/module</a>. Basically if you have a category at the end of a template it inserts a new line after it. Move the category anywhere else and it fixes it.--<small><a href="/wiki/User:JohnBlackburne" title="User:JohnBlackburne">JohnBlackburne</a></small><sup><a href="/wiki/User_talk:JohnBlackburne" title="User talk:JohnBlackburne">words</a></sup><sub style="margin-left:-2.0ex;"><a href="/wiki/Special:Contributions/JohnBlackburne" title="Special:Contributions/JohnBlackburne">deeds</a></sub> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-JohnBlackburne-2015-03-31T21:12:00.000Z-אלישיב_ליפא-2015-03-31T20:18:00.000Z" class="ext-discussiontools-init-timestamplink">21:12, 31 March 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-JohnBlackburne-2015-03-31T21:12:00.000Z-אלישיב_ליפא-2015-03-31T20:18:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-03-31T21:12:00.000Z","author":"JohnBlackburne","type":"comment","level":2,"id":"c-JohnBlackburne-2015-03-31T21:12:00.000Z-\u05d0\u05dc\u05d9\u05e9\u05d9\u05d1_\u05dc\u05d9\u05e4\u05d0-2015-03-31T20:18:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-JohnBlackburne-2015-03-31T21:12:00.000Z-אלישיב_ליפא-2015-03-31T20:18:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Ahmetyal-2015-04-19T09:28:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Move_request_(map)-2015-04-19T09:28:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Ahmetyal-2015-04-19T09:28:00.000Z-Move_request_(map)&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Move request (map)&quot;,&quot;linkableTitle&quot;:&quot;Move request (map)&quot;}--><h2 id="Move_request_(map)" data-mw-thread-id="h-Move_request_(map)-2015-04-19T09:28:00.000Z"><span id="Move_request_.28map.29"></span><span data-mw-comment-start="" id="h-Move_request_(map)-2015-04-19T09:28:00.000Z"></span>Move request (map)<span data-mw-comment-end="h-Move_request_(map)-2015-04-19T09:28:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Ahmetyal-2015-04-19T09:28:00.000Z","type":"heading","level":0,"id":"h-Move_request_(map)-2015-04-19T09:28:00.000Z","replies":["c-Ahmetyal-2015-04-19T09:28:00.000Z-Move_request_(map)"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Jackmcbarn-2015-04-21T19:37:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","timestamp":"2015-04-21T19:37:00.000Z"}__--><!--__DTCOMMENTCOUNT__10__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Ahmetyal-2015-04-19T09:28:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Move_request_(map)-2015-04-19T09:28:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Ahmetyal-2015-04-19T09:28:00.000Z-Move_request_(map)&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Move request (map)&quot;,&quot;linkableTitle&quot;:&quot;Move request (map)&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Ahmetyal-2015-04-19T09:28:00.000Z-Move_request_(map)"></span>I have a page <a href="/wiki/User:Ahmetyal/sandbox/2" class="mw-redirect" title="User:Ahmetyal/sandbox/2">User:Ahmetyal/sandbox/2</a> which I wan't to move from a template to a module, because I have reached the limit with locations. --<a href="/wiki/User:Ahmetyal" class="mw-redirect" title="User:Ahmetyal">Ahmetyal</a> (<a href="/wiki/User_talk:Ahmetyal" class="mw-redirect" title="User talk:Ahmetyal">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Ahmetyal-2015-04-19T09:28:00.000Z-Move_request_(map)" class="ext-discussiontools-init-timestamplink">09:28, 19 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ahmetyal-2015-04-19T09:28:00.000Z-Move_request_(map)"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-19T09:28:00.000Z","author":"Ahmetyal","type":"comment","level":1,"id":"c-Ahmetyal-2015-04-19T09:28:00.000Z-Move_request_(map)","replies":["c-Jackmcbarn-2015-04-20T02:02:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","c-JohnBlackburne-2015-04-20T11:40:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","c-Ahmetyal-2015-04-20T12:30:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","c-Jackmcbarn-2015-04-21T19:37:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"]}}--></span><span data-mw-comment-end="c-Ahmetyal-2015-04-19T09:28:00.000Z-Move_request_(map)"></span> </p> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Jackmcbarn-2015-04-20T02:02:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"></span>@<a href="/wiki/User:Ahmetyal" class="mw-redirect" title="User:Ahmetyal">Ahmetyal</a>:</span> What would you like the name of the module to be? (By the way, this is actually a conversion request rather than a move request.) <a href="/wiki/User:Jackmcbarn" title="User:Jackmcbarn">Jackmcbarn</a> (<a href="/wiki/User_talk:Jackmcbarn" title="User talk:Jackmcbarn">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Jackmcbarn-2015-04-20T02:02:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z" class="ext-discussiontools-init-timestamplink">02:02, 20 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jackmcbarn-2015-04-20T02:02:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-20T02:02:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2015-04-20T02:02:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","replies":["c-Ahmetyal-2015-04-20T09:33:00.000Z-Jackmcbarn-2015-04-20T02:02:00.000Z"]}}--></span><span data-mw-comment-end="c-Jackmcbarn-2015-04-20T02:02:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Ahmetyal-2015-04-20T09:33:00.000Z-Jackmcbarn-2015-04-20T02:02:00.000Z"></span>Oh I see, sorry but I thought it was on this page. Lets call the page "Latest Turkish election results in South-Eastern Turkey". Which page is it you make a request then? --<a href="/wiki/User:Ahmetyal" class="mw-redirect" title="User:Ahmetyal">Ahmetyal</a> (<a href="/wiki/User_talk:Ahmetyal" class="mw-redirect" title="User talk:Ahmetyal">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Ahmetyal-2015-04-20T09:33:00.000Z-Jackmcbarn-2015-04-20T02:02:00.000Z" class="ext-discussiontools-init-timestamplink">09:33, 20 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ahmetyal-2015-04-20T09:33:00.000Z-Jackmcbarn-2015-04-20T02:02:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-20T09:33:00.000Z","author":"Ahmetyal","type":"comment","level":3,"id":"c-Ahmetyal-2015-04-20T09:33:00.000Z-Jackmcbarn-2015-04-20T02:02:00.000Z","replies":["c-Ahmetyal-2015-04-20T11:28:00.000Z-Ahmetyal-2015-04-20T09:33:00.000Z"]}}--></span><span data-mw-comment-end="c-Ahmetyal-2015-04-20T09:33:00.000Z-Jackmcbarn-2015-04-20T02:02:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Ahmetyal-2015-04-20T11:28:00.000Z-Ahmetyal-2015-04-20T09:33:00.000Z"></span>Just forget the last thing. Now I understand what you meant.. --<a href="/wiki/User:Ahmetyal" class="mw-redirect" title="User:Ahmetyal">Ahmetyal</a> (<a href="/wiki/User_talk:Ahmetyal" class="mw-redirect" title="User talk:Ahmetyal">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Ahmetyal-2015-04-20T11:28:00.000Z-Ahmetyal-2015-04-20T09:33:00.000Z" class="ext-discussiontools-init-timestamplink">11:28, 20 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ahmetyal-2015-04-20T11:28:00.000Z-Ahmetyal-2015-04-20T09:33:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-20T11:28:00.000Z","author":"Ahmetyal","type":"comment","level":4,"id":"c-Ahmetyal-2015-04-20T11:28:00.000Z-Ahmetyal-2015-04-20T09:33:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Ahmetyal-2015-04-20T11:28:00.000Z-Ahmetyal-2015-04-20T09:33:00.000Z"></span></dd></dl></dd></dl></dd> <dd><span data-mw-comment-start="" id="c-JohnBlackburne-2015-04-20T11:40:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"></span>Would it not just be easier just to create a graphic? The map is SVG so just add the points as SVG to a copy of it. The load on the server and on users machines would be much lighter and there are no limits. The SVG is easily edited and updated by you or other editors as information is added, and gives you more control over the presentation if you need it.--<small><a href="/wiki/User:JohnBlackburne" title="User:JohnBlackburne">JohnBlackburne</a></small><sup><a href="/wiki/User_talk:JohnBlackburne" title="User talk:JohnBlackburne">words</a></sup><sub style="margin-left:-2.0ex;"><a href="/wiki/Special:Contributions/JohnBlackburne" title="Special:Contributions/JohnBlackburne">deeds</a></sub> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-JohnBlackburne-2015-04-20T11:40:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z" class="ext-discussiontools-init-timestamplink">11:40, 20 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-JohnBlackburne-2015-04-20T11:40:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-20T11:40:00.000Z","author":"JohnBlackburne","type":"comment","level":2,"id":"c-JohnBlackburne-2015-04-20T11:40:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-JohnBlackburne-2015-04-20T11:40:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"></span></dd> <dd><span class="template-ping"><span data-mw-comment-start="" id="c-Ahmetyal-2015-04-20T12:30:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"></span>@<a href="/wiki/User:JohnBlackburne" title="User:JohnBlackburne">JohnBlackburne</a>:</span> I'm not so strong on this field - can you give me an example of a graphic? I just need a map that can take lots of locations, because I've reached the limit with the <a href="/wiki/Template:Location_map" title="Template:Location map">Template:Location map</a>. --<a href="/wiki/User:Ahmetyal" class="mw-redirect" title="User:Ahmetyal">Ahmetyal</a> (<a href="/wiki/User_talk:Ahmetyal" class="mw-redirect" title="User talk:Ahmetyal">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Ahmetyal-2015-04-20T12:30:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z" class="ext-discussiontools-init-timestamplink">12:30, 20 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ahmetyal-2015-04-20T12:30:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-20T12:30:00.000Z","author":"Ahmetyal","type":"comment","level":2,"id":"c-Ahmetyal-2015-04-20T12:30:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","replies":["c-JohnBlackburne-2015-04-20T12:47:00.000Z-Ahmetyal-2015-04-20T12:30:00.000Z"]}}--></span><span data-mw-comment-end="c-Ahmetyal-2015-04-20T12:30:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-JohnBlackburne-2015-04-20T12:47:00.000Z-Ahmetyal-2015-04-20T12:30:00.000Z"></span>I just had a look for a graphic but could not see something exactly like what you are trying to do, mostly as the maps out there are either plain (like the one you are using) or far richer in what they contain. I would just open it up in Inkscape and try placing dots. Once I had a few I'd open it in a text editor (you can use 'view source' on the graphic in a web browser to get at it) and try automating the process from data, such as the data you are using on your sandbox page. You can also ask for help with creating graphics, such as at the <a href="/wiki/Wikipedia:Graphics_Lab" title="Wikipedia:Graphics Lab">Graphics Lab</a>.--<small><a href="/wiki/User:JohnBlackburne" title="User:JohnBlackburne">JohnBlackburne</a></small><sup><a href="/wiki/User_talk:JohnBlackburne" title="User talk:JohnBlackburne">words</a></sup><sub style="margin-left:-2.0ex;"><a href="/wiki/Special:Contributions/JohnBlackburne" title="Special:Contributions/JohnBlackburne">deeds</a></sub> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-JohnBlackburne-2015-04-20T12:47:00.000Z-Ahmetyal-2015-04-20T12:30:00.000Z" class="ext-discussiontools-init-timestamplink">12:47, 20 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-JohnBlackburne-2015-04-20T12:47:00.000Z-Ahmetyal-2015-04-20T12:30:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-20T12:47:00.000Z","author":"JohnBlackburne","type":"comment","level":3,"id":"c-JohnBlackburne-2015-04-20T12:47:00.000Z-Ahmetyal-2015-04-20T12:30:00.000Z","replies":["c-Ahmetyal-2015-04-20T13:01:00.000Z-JohnBlackburne-2015-04-20T12:47:00.000Z"]}}--></span><span data-mw-comment-end="c-JohnBlackburne-2015-04-20T12:47:00.000Z-Ahmetyal-2015-04-20T12:30:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Ahmetyal-2015-04-20T13:01:00.000Z-JohnBlackburne-2015-04-20T12:47:00.000Z"></span>I think the module-style is less complicated for me. I know how to work with it (I have contributed to the <a href="/wiki/Module:Syrian_Civil_War_detailed_map" title="Module:Syrian Civil War detailed map">Module:Syrian Civil War detailed map</a> and the Iraqi one). But thanks for the tip. --<a href="/wiki/User:Ahmetyal" class="mw-redirect" title="User:Ahmetyal">Ahmetyal</a> (<a href="/wiki/User_talk:Ahmetyal" class="mw-redirect" title="User talk:Ahmetyal">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Ahmetyal-2015-04-20T13:01:00.000Z-JohnBlackburne-2015-04-20T12:47:00.000Z" class="ext-discussiontools-init-timestamplink">13:01, 20 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ahmetyal-2015-04-20T13:01:00.000Z-JohnBlackburne-2015-04-20T12:47:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-20T13:01:00.000Z","author":"Ahmetyal","type":"comment","level":4,"id":"c-Ahmetyal-2015-04-20T13:01:00.000Z-JohnBlackburne-2015-04-20T12:47:00.000Z","replies":["c-JohnBlackburne-2015-04-20T13:20:00.000Z-Ahmetyal-2015-04-20T13:01:00.000Z"]}}--></span><span data-mw-comment-end="c-Ahmetyal-2015-04-20T13:01:00.000Z-JohnBlackburne-2015-04-20T12:47:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-JohnBlackburne-2015-04-20T13:20:00.000Z-Ahmetyal-2015-04-20T13:01:00.000Z"></span>Looking at <a href="/wiki/Module:Syrian_Civil_War_detailed_map" title="Module:Syrian Civil War detailed map">Module:Syrian Civil War detailed map</a> I think an image is the wrong way to go if you are trying to do something similar: the high frequency of edits would be problematic with an image both because of the extra effort editing images and the lack of normal editing tools (history, diffs, the ability to easily revert) that a page has. Something to consider for a largely static data set maybe.--<small><a href="/wiki/User:JohnBlackburne" title="User:JohnBlackburne">JohnBlackburne</a></small><sup><a href="/wiki/User_talk:JohnBlackburne" title="User talk:JohnBlackburne">words</a></sup><sub style="margin-left:-2.0ex;"><a href="/wiki/Special:Contributions/JohnBlackburne" title="Special:Contributions/JohnBlackburne">deeds</a></sub> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-JohnBlackburne-2015-04-20T13:20:00.000Z-Ahmetyal-2015-04-20T13:01:00.000Z" class="ext-discussiontools-init-timestamplink">13:20, 20 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-JohnBlackburne-2015-04-20T13:20:00.000Z-Ahmetyal-2015-04-20T13:01:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-20T13:20:00.000Z","author":"JohnBlackburne","type":"comment","level":5,"id":"c-JohnBlackburne-2015-04-20T13:20:00.000Z-Ahmetyal-2015-04-20T13:01:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-JohnBlackburne-2015-04-20T13:20:00.000Z-Ahmetyal-2015-04-20T13:01:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd> <dd><span class="template-ping"><span data-mw-comment-start="" id="c-Jackmcbarn-2015-04-21T19:37:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"></span>@<a href="/wiki/User:Ahmetyal" class="mw-redirect" title="User:Ahmetyal">Ahmetyal</a>:</span> <span class="nowrap"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/18px-Yes_check.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/27px-Yes_check.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/36px-Yes_check.svg.png 2x" data-file-width="600" data-file-height="600"/></span></span><b> Done</b></span> <a href="/wiki/User:Jackmcbarn" title="User:Jackmcbarn">Jackmcbarn</a> (<a href="/wiki/User_talk:Jackmcbarn" title="User talk:Jackmcbarn">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Jackmcbarn-2015-04-21T19:37:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z" class="ext-discussiontools-init-timestamplink">19:37, 21 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jackmcbarn-2015-04-21T19:37:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-21T19:37:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2015-04-21T19:37:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Jackmcbarn-2015-04-21T19:37:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Aftabuzzaman-2015-04-26T00:16:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Archive_list-2015-04-26T00:16:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Aftabuzzaman-2015-04-26T00:16:00.000Z-Archive_list&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Archive list&quot;,&quot;linkableTitle&quot;:&quot;Archive list&quot;}--><h2 id="Archive_list" data-mw-thread-id="h-Archive_list-2015-04-26T00:16:00.000Z"><span data-mw-comment-start="" id="h-Archive_list-2015-04-26T00:16:00.000Z"></span>Archive list<span data-mw-comment-end="h-Archive_list-2015-04-26T00:16:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Aftabuzzaman-2015-04-26T00:16:00.000Z","type":"heading","level":0,"id":"h-Archive_list-2015-04-26T00:16:00.000Z","replies":["c-Aftabuzzaman-2015-04-26T00:16:00.000Z-Archive_list"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Aftabuzzaman-2015-05-05T12:08:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z","timestamp":"2015-05-05T12:08:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Aftabuzzaman-2015-04-26T00:16:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Archive_list-2015-04-26T00:16:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Aftabuzzaman-2015-04-26T00:16:00.000Z-Archive_list&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Archive list&quot;,&quot;linkableTitle&quot;:&quot;Archive list&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Aftabuzzaman-2015-04-26T00:16:00.000Z-Archive_list"></span>Is it possible to add another Archive title <a href="/wiki/Module:Archive_list" title="Module:Archive list">here (line 92)</a>? So, By default (without adding any <i>prefix</i>) module will show Archive title 1 or Archive title 2 or both If archive title exist. I need this option for bengali wikipedia because on bn.wiki some user use their archive title as 'User:name/Songkolon 1' &amp; some user use their archive title as 'User:name/Songrohoshala 1'. <a class="external text" href="https://bn.wikipedia.org/?diff=1828177&amp;oldid=1828143">Here</a> i tried to do this. Feel free to edit or make any changes <a href="https://bn.wikipedia.org/wiki/%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:Archive_list" class="extiw" title="bn:মডিউল:Archive list">here</a> or <a href="https://bn.wikipedia.org/wiki/%E0%A6%AE%E0%A6%A1%E0%A6%BF%E0%A6%89%E0%A6%B2:%E0%A6%96%E0%A7%87%E0%A6%B2%E0%A6%BE%E0%A6%98%E0%A6%B0/Aftabuzzaman/%E0%A6%AA%E0%A6%B0%E0%A7%80%E0%A6%95%E0%A7%8D%E0%A6%B7%E0%A6%BE" class="extiw" title="bn:মডিউল:খেলাঘর/Aftabuzzaman/পরীক্ষা">here</a>. Please help, Thanks --<a href="/wiki/User:Aftabuzzaman" class="mw-redirect" title="User:Aftabuzzaman">Aftabuzzaman</a> (<a href="/wiki/User_talk:Aftabuzzaman" class="mw-redirect" title="User talk:Aftabuzzaman">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Aftabuzzaman-2015-04-26T00:16:00.000Z-Archive_list" class="ext-discussiontools-init-timestamplink">00:16, 26 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Aftabuzzaman-2015-04-26T00:16:00.000Z-Archive_list"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-26T00:16:00.000Z","author":"Aftabuzzaman","type":"comment","level":1,"id":"c-Aftabuzzaman-2015-04-26T00:16:00.000Z-Archive_list","replies":["c-Johnuniq-2015-05-05T11:27:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z","c-Aftabuzzaman-2015-05-05T12:08:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z"]}}--></span><span data-mw-comment-end="c-Aftabuzzaman-2015-04-26T00:16:00.000Z-Archive_list"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2015-05-05T11:27:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z"></span>I have not studied this module or how it is used so my reply might not be accurate. I think the problem is that at bnwiki some users would like one name for "Archive", while other users would like another. My guess is that handling that automatically, or handling both if both are used, would require a lot of mucking around that would not be worthwhile. It would be much better to get people organized so one user has all their archive pages named in a consistent manner. You can change line 92 to replace "Archive" with the one most commonly used name. Users who want to use another name can simply add <code>|prefix=whatever</code> when invoking the module (that replaces "Archive" with "whatever"). They would probably want to also use <code>|prefixspace=yes</code> which adds a space to the end of "whatever". If wanted, prefixspace can be omitted, and prefix can be set like this: <code>|prefix=whatever&amp;#32;</code>. <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2015-05-05T11:27:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z" class="ext-discussiontools-init-timestamplink">11:27, 5 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2015-05-05T11:27:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-05T11:27:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2015-05-05T11:27:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Johnuniq-2015-05-05T11:27:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z"></span></dd> <dd><span data-mw-comment-start="" id="c-Aftabuzzaman-2015-05-05T12:08:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z"></span>Thank you for reply. --<a href="/wiki/User:Aftabuzzaman" class="mw-redirect" title="User:Aftabuzzaman">Aftabuzzaman</a> (<a href="/wiki/User_talk:Aftabuzzaman" class="mw-redirect" title="User talk:Aftabuzzaman">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Aftabuzzaman-2015-05-05T12:08:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z" class="ext-discussiontools-init-timestamplink">12:08, 5 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Aftabuzzaman-2015-05-05T12:08:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-05T12:08:00.000Z","author":"Aftabuzzaman","type":"comment","level":2,"id":"c-Aftabuzzaman-2015-05-05T12:08:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Aftabuzzaman-2015-05-05T12:08:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-25T18:58:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Need_a_template_to_make_and_show_list_of_pages_in_a_category-2015-05-25T18:58:00.000Z&quot;,&quot;replies&quot;:[&quot;c-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-25T18:58:00.000Z-Need_a_template_to_make_and_show_list_of_pages_in_a_category&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Need a template to make and show list of pages in a category&quot;,&quot;linkableTitle&quot;:&quot;Need a template to make and show list of pages in a category&quot;}--><h2 id="Need_a_template_to_make_and_show_list_of_pages_in_a_category" data-mw-thread-id="h-Need_a_template_to_make_and_show_list_of_pages_in_a_category-2015-05-25T18:58:00.000Z"><span data-mw-comment-start="" id="h-Need_a_template_to_make_and_show_list_of_pages_in_a_category-2015-05-25T18:58:00.000Z"></span>Need a template to make and show list of pages in a category<span data-mw-comment-end="h-Need_a_template_to_make_and_show_list_of_pages_in_a_category-2015-05-25T18:58:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-25T18:58:00.000Z","type":"heading","level":0,"id":"h-Need_a_template_to_make_and_show_list_of_pages_in_a_category-2015-05-25T18:58:00.000Z","replies":["c-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-25T18:58:00.000Z-Need_a_template_to_make_and_show_list_of_pages_in_a_category"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-26T08:30:00.000Z-Mr._Stradivarius-2015-05-26T07:33:00.000Z","timestamp":"2015-05-26T08:30:00.000Z"}__--><!--__DTCOMMENTCOUNT__6__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-25T18:58:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Need_a_template_to_make_and_show_list_of_pages_in_a_category-2015-05-25T18:58:00.000Z&quot;,&quot;replies&quot;:[&quot;c-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-25T18:58:00.000Z-Need_a_template_to_make_and_show_list_of_pages_in_a_category&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Need a template to make and show list of pages in a category&quot;,&quot;linkableTitle&quot;:&quot;Need a template to make and show list of pages in a category&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z-Need_a_template_to_make_and_show_list_of_pages_in_a_category"></span>Hi, I am from Bhojpuri wikipedia (bhwiki). I am designing our community portal and I need a template which can enlist and show all the pages in a category on the page where it is inserted. is it possible to get somthing like this?--<a href="/wiki/User:%E0%A4%B8%E0%A4%A4%E0%A5%8D%E0%A4%AF%E0%A4%AE%E0%A5%8D_%E0%A4%AE%E0%A4%BF%E0%A4%B6%E0%A5%8D%E0%A4%B0" title="User:सत्यम् मिश्र"><span style="color:#FF00FF;">S</span><span style="color:#FF7E00;">at</span><span style="color:#00A300;">yam</span> <span style="color:#0A20F0;">Mishra</span></a><b><sup><small><a href="/wiki/User_talk:%E0%A4%B8%E0%A4%A4%E0%A5%8D%E0%A4%AF%E0%A4%AE%E0%A5%8D_%E0%A4%AE%E0%A4%BF%E0%A4%B6%E0%A5%8D%E0%A4%B0" title="User talk:सत्यम् मिश्र"><span style="color:#6F00FF;"><i> --talk--</i></span></a></small></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z-Need_a_template_to_make_and_show_list_of_pages_in_a_category" class="ext-discussiontools-init-timestamplink">18:58, 25 May 2015 (UTC)</a></b><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z-Need_a_template_to_make_and_show_list_of_pages_in_a_category"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-25T18:58:00.000Z","author":"\u0938\u0924\u094d\u092f\u092e\u094d \u092e\u093f\u0936\u094d\u0930","type":"comment","level":1,"id":"c-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-25T18:58:00.000Z-Need_a_template_to_make_and_show_list_of_pages_in_a_category","replies":["c-Johnuniq-2015-05-26T01:30:00.000Z-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-25T18:58:00.000Z"],"displayName":"Satyam Mishra"}}--></span><span data-mw-comment-end="c-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z-Need_a_template_to_make_and_show_list_of_pages_in_a_category"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2015-05-26T01:30:00.000Z-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z"></span>There is an extension which provides some assistance, see <a href="/wiki/Help:Category#Displaying_category_trees_and_page_counts" title="Help:Category">Help:Category#Displaying category trees and page counts</a>. In general, there might be over a million pages in a category, so listing them all would not be useful, and may not be possible in a module. <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2015-05-26T01:30:00.000Z-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z" class="ext-discussiontools-init-timestamplink">01:30, 26 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2015-05-26T01:30:00.000Z-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-26T01:30:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2015-05-26T01:30:00.000Z-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-25T18:58:00.000Z","replies":["c-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-26T04:19:00.000Z-Johnuniq-2015-05-26T01:30:00.000Z"]}}--></span><span data-mw-comment-end="c-Johnuniq-2015-05-26T01:30:00.000Z-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z"></span> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z-Johnuniq-2015-05-26T01:30:00.000Z"></span>@<a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a>:</span> I don't need all. Just some of the pages, say, maximum 20 to 50 at once. And thanks for the link. I think "<a class="external free" href="https://en.wikipedia.org/w/api.php?cmtitle=Category:Category_name&amp;action=query&amp;list=categorymembers&amp;cmlimit=500&amp;cmprop=title%7Csortkey%7Ctimestamp">http://en.wikipedia.org/w/api.php?cmtitle=Category:Category_name&amp;action=query&amp;list=categorymembers&amp;cmlimit=500&amp;cmprop=title%7Csortkey%7Ctimestamp</a>" will do this task but I don't know how to insert the result of this query on a page. Please help. It will be very kind of you if you write this program to populate my <a href="/w/index.php?title=User:%E0%A4%B8%E0%A4%A4%E0%A5%8D%E0%A4%AF%E0%A4%AE%E0%A5%8D_%E0%A4%AE%E0%A4%BF%E0%A4%B6%E0%A5%8D%E0%A4%B0/sandbox&amp;action=edit&amp;redlink=1" class="new" title="User:सत्यम् मिश्र/sandbox (page does not exist)">sandbox</a> by 20 articles from the category:Geography (sort if possible by date to show recent most). Thanks !--<a href="/wiki/User:%E0%A4%B8%E0%A4%A4%E0%A5%8D%E0%A4%AF%E0%A4%AE%E0%A5%8D_%E0%A4%AE%E0%A4%BF%E0%A4%B6%E0%A5%8D%E0%A4%B0" title="User:सत्यम् मिश्र"><span style="color:#FF00FF;">S</span><span style="color:#FF7E00;">at</span><span style="color:#00A300;">yam</span> <span style="color:#0A20F0;">Mishra</span></a><b><sup><small><a href="/wiki/User_talk:%E0%A4%B8%E0%A4%A4%E0%A5%8D%E0%A4%AF%E0%A4%AE%E0%A5%8D_%E0%A4%AE%E0%A4%BF%E0%A4%B6%E0%A5%8D%E0%A4%B0" title="User talk:सत्यम् मिश्र"><span style="color:#6F00FF;"><i> --talk--</i></span></a></small></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z-Johnuniq-2015-05-26T01:30:00.000Z" class="ext-discussiontools-init-timestamplink">04:19, 26 May 2015 (UTC)</a></b><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z-Johnuniq-2015-05-26T01:30:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-26T04:19:00.000Z","author":"\u0938\u0924\u094d\u092f\u092e\u094d \u092e\u093f\u0936\u094d\u0930","type":"comment","level":3,"id":"c-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-26T04:19:00.000Z-Johnuniq-2015-05-26T01:30:00.000Z","replies":["c-Johnuniq-2015-05-26T04:54:00.000Z-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-26T04:19:00.000Z"],"displayName":"Satyam Mishra"}}--></span><span data-mw-comment-end="c-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z-Johnuniq-2015-05-26T01:30:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2015-05-26T04:54:00.000Z-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z"></span>Sorry, generating a list of pages in a category is outside my area. A quick look at the documentation at <a href="https://www.mediawiki.org/wiki/Extension:CategoryTree" class="extiw" title="mw:Extension:CategoryTree">mw:Extension:CategoryTree</a> indicates that the following would list up to a certain number of articles in <a href="/wiki/Category:Geography" title="Category:Geography">Category:Geography</a>, but the list is not in alphabetical order, and uses italics for some reason unknown to me, and you can't set the number. I'm confident that doing something like determining the date of last edit or of creation would be difficult and time consuming. That's the sort of thing which is best done by a <a href="/wiki/Wikipedia:BOT" class="mw-redirect" title="Wikipedia:BOT">bot</a>.</dd> <dd><code>{{#categorytree:Geography|hideroot|mode=pages|namespaces=0}}</code></dd> <dd>Bear in mind also that the list would not be dynamic—it would not necessarily change when articles in the category change. That is because everything displayed is cached, and the page would need a <a href="/wiki/Wikipedia:PURGE" class="mw-redirect" title="Wikipedia:PURGE">WP:PURGE</a> to update.</dd> <dd>I think the proper procedure would be to use a bot if someone to write and maintain one were available, or more likely, use categorytree to display a list which a user can expand by clicking (I think they need Javascript enabled for that). The help page I linked earlier should lead to an example of that. <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2015-05-26T04:54:00.000Z-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z" class="ext-discussiontools-init-timestamplink">04:54, 26 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2015-05-26T04:54:00.000Z-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-26T04:54:00.000Z","author":"Johnuniq","type":"comment","level":4,"id":"c-Johnuniq-2015-05-26T04:54:00.000Z-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-26T04:19:00.000Z","replies":["c-Mr._Stradivarius-2015-05-26T07:33:00.000Z-Johnuniq-2015-05-26T04:54:00.000Z"]}}--></span><span data-mw-comment-end="c-Johnuniq-2015-05-26T04:54:00.000Z-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z"></span> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-05-26T07:33:00.000Z-Johnuniq-2015-05-26T04:54:00.000Z"></span>@<a href="/wiki/User:%E0%A4%B8%E0%A4%A4%E0%A5%8D%E0%A4%AF%E0%A4%AE%E0%A5%8D_%E0%A4%AE%E0%A4%BF%E0%A4%B6%E0%A5%8D%E0%A4%B0" title="User:सत्यम् मिश्र">सत्यम् मिश्र</a>:</span> One of the <a href="https://www.mediawiki.org/wiki/Extension:DynamicPageList" class="extiw" title="mw:Extension:DynamicPageList">DynamicPageList</a> extensions will do what you want, but you will need to ask for it to be enabled on your wiki before you can use it. It isn't possible to display the members of a category using only the standard version of Scribunto enabled on Wikimedia wikis. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-05-26T07:33:00.000Z-Johnuniq-2015-05-26T04:54:00.000Z" class="ext-discussiontools-init-timestamplink">07:33, 26 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-05-26T07:33:00.000Z-Johnuniq-2015-05-26T04:54:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-26T07:33:00.000Z","author":"Mr. Stradivarius","type":"comment","level":5,"id":"c-Mr._Stradivarius-2015-05-26T07:33:00.000Z-Johnuniq-2015-05-26T04:54:00.000Z","replies":["c-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-26T08:30:00.000Z-Mr._Stradivarius-2015-05-26T07:33:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-05-26T07:33:00.000Z-Johnuniq-2015-05-26T04:54:00.000Z"></span> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-सत्यम्_मिश्र-2015-05-26T08:30:00.000Z-Mr._Stradivarius-2015-05-26T07:33:00.000Z"></span>@<a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> and <a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius">Mr. Stradivarius</a>:</span> Thanks a lot to both of you! I think for the time being my task can be done by "categorytree" (I tested) and I will try to get this extension on my wiki too. Thanks again for your kind help!--<a href="/wiki/User:%E0%A4%B8%E0%A4%A4%E0%A5%8D%E0%A4%AF%E0%A4%AE%E0%A5%8D_%E0%A4%AE%E0%A4%BF%E0%A4%B6%E0%A5%8D%E0%A4%B0" title="User:सत्यम् मिश्र"><span style="color:#FF00FF;">S</span><span style="color:#FF7E00;">at</span><span style="color:#00A300;">yam</span> <span style="color:#0A20F0;">Mishra</span></a><b><sup><small><a href="/wiki/User_talk:%E0%A4%B8%E0%A4%A4%E0%A5%8D%E0%A4%AF%E0%A4%AE%E0%A5%8D_%E0%A4%AE%E0%A4%BF%E0%A4%B6%E0%A5%8D%E0%A4%B0" title="User talk:सत्यम् मिश्र"><span style="color:#6F00FF;"><i> --talk--</i></span></a></small></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-सत्यम्_मिश्र-2015-05-26T08:30:00.000Z-Mr._Stradivarius-2015-05-26T07:33:00.000Z" class="ext-discussiontools-init-timestamplink">08:30, 26 May 2015 (UTC)</a><span data-mw-comment-end="c-सत्यम्_मिश्र-2015-05-26T08:30:00.000Z-Mr._Stradivarius-2015-05-26T07:33:00.000Z"></span></b><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-सत्यम्_मिश्र-2015-05-26T08:30:00.000Z-Mr._Stradivarius-2015-05-26T07:33:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-26T08:30:00.000Z","author":"\u0938\u0924\u094d\u092f\u092e\u094d \u092e\u093f\u0936\u094d\u0930","type":"comment","level":6,"id":"c-\u0938\u0924\u094d\u092f\u092e\u094d_\u092e\u093f\u0936\u094d\u0930-2015-05-26T08:30:00.000Z-Mr._Stradivarius-2015-05-26T07:33:00.000Z","replies":[],"displayName":"Satyam Mishra"}}--></span></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Wbm1058-2015-06-02T15:12:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Replacement_for_Template:Val-2015-06-02T15:12:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Wbm1058-2015-06-02T15:12:00.000Z-Replacement_for_Template:Val&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Replacement for Template:Val&quot;,&quot;linkableTitle&quot;:&quot;Replacement for Template:Val&quot;}--><h2 id="Replacement_for_Template:Val" data-mw-thread-id="h-Replacement_for_Template:Val-2015-06-02T15:12:00.000Z"><span data-mw-comment-start="" id="h-Replacement_for_Template:Val-2015-06-02T15:12:00.000Z"></span>Replacement for <a href="/wiki/Template:Val" title="Template:Val">Template:Val</a><span data-mw-comment-end="h-Replacement_for_Template:Val-2015-06-02T15:12:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Wbm1058-2015-06-02T15:12:00.000Z","type":"heading","level":0,"id":"h-Replacement_for_Template:Val-2015-06-02T15:12:00.000Z","replies":["c-Wbm1058-2015-06-02T15:12:00.000Z-Replacement_for_Template:Val"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Snaevar-2015-06-10T14:51:00.000Z-Wbm1058-2015-06-02T15:12:00.000Z","timestamp":"2015-06-10T14:51:00.000Z"}__--><!--__DTCOMMENTCOUNT__2__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Wbm1058-2015-06-02T15:12:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Replacement_for_Template:Val-2015-06-02T15:12:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Wbm1058-2015-06-02T15:12:00.000Z-Replacement_for_Template:Val&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Replacement for Template:Val&quot;,&quot;linkableTitle&quot;:&quot;Replacement for Template:Val&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Wbm1058-2015-06-02T15:12:00.000Z-Replacement_for_Template:Val"></span>See <a href="/wiki/Template_talk:Val#Behaviour_on_substitution" title="Template talk:Val">Template talk:Val § Behaviour on substitution</a>. – <a href="/wiki/User:Wbm1058" title="User:Wbm1058">Wbm1058</a> (<a href="/wiki/User_talk:Wbm1058" title="User talk:Wbm1058">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Wbm1058-2015-06-02T15:12:00.000Z-Replacement_for_Template:Val" class="ext-discussiontools-init-timestamplink">15:12, 2 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Wbm1058-2015-06-02T15:12:00.000Z-Replacement_for_Template:Val"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-02T15:12:00.000Z","author":"Wbm1058","type":"comment","level":1,"id":"c-Wbm1058-2015-06-02T15:12:00.000Z-Replacement_for_Template:Val","replies":["c-Snaevar-2015-06-10T14:51:00.000Z-Wbm1058-2015-06-02T15:12:00.000Z"]}}--></span><span data-mw-comment-end="c-Wbm1058-2015-06-02T15:12:00.000Z-Replacement_for_Template:Val"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Snaevar-2015-06-10T14:51:00.000Z-Wbm1058-2015-06-02T15:12:00.000Z"></span>There is an module in alpha stage at <a href="/wiki/Module:Val" title="Module:Val">Module:Val</a>. If you are willing to test it, then it will replace the wikicode sooner rather than later.--<a href="/wiki/User:Snaevar" class="mw-redirect" title="User:Snaevar">Snaevar</a> (<a href="/wiki/User_talk:Snaevar" class="mw-redirect" title="User talk:Snaevar">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Snaevar-2015-06-10T14:51:00.000Z-Wbm1058-2015-06-02T15:12:00.000Z" class="ext-discussiontools-init-timestamplink">14:51, 10 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Snaevar-2015-06-10T14:51:00.000Z-Wbm1058-2015-06-02T15:12:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-10T14:51:00.000Z","author":"Snaevar","type":"comment","level":2,"id":"c-Snaevar-2015-06-10T14:51:00.000Z-Wbm1058-2015-06-02T15:12:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Snaevar-2015-06-10T14:51:00.000Z-Wbm1058-2015-06-02T15:12:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-08T17:00:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Wrap_new_Graph_tag-2015-05-08T17:00:00.000Z&quot;,&quot;replies&quot;:[&quot;c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-08T17:00:00.000Z-Wrap_new_Graph_tag&quot;,&quot;c-Atlasowa-2015-06-12T12:40:00.000Z-Wrap_new_Graph_tag&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Wrap new Graph tag&quot;,&quot;linkableTitle&quot;:&quot;Wrap new Graph tag&quot;}--><h2 id="Wrap_new_Graph_tag" data-mw-thread-id="h-Wrap_new_Graph_tag-2015-05-08T17:00:00.000Z"><span data-mw-comment-start="" id="h-Wrap_new_Graph_tag-2015-05-08T17:00:00.000Z"></span>Wrap new Graph tag<span data-mw-comment-end="h-Wrap_new_Graph_tag-2015-05-08T17:00:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-08T17:00:00.000Z","type":"heading","level":0,"id":"h-Wrap_new_Graph_tag-2015-05-08T17:00:00.000Z","replies":["c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-08T17:00:00.000Z-Wrap_new_Graph_tag","c-Atlasowa-2015-06-12T12:40:00.000Z-Wrap_new_Graph_tag"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Resident_Mario-2015-07-12T05:17:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z","timestamp":"2015-07-12T05:17:00.000Z"}__--><!--__DTCOMMENTCOUNT__12__--><!--__DTAUTHORCOUNT__6__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-08T17:00:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Wrap_new_Graph_tag-2015-05-08T17:00:00.000Z&quot;,&quot;replies&quot;:[&quot;c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-08T17:00:00.000Z-Wrap_new_Graph_tag&quot;,&quot;c-Atlasowa-2015-06-12T12:40:00.000Z-Wrap_new_Graph_tag&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Wrap new Graph tag&quot;,&quot;linkableTitle&quot;:&quot;Wrap new Graph tag&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-קיפודנחש-2015-05-08T17:00:00.000Z-Wrap_new_Graph_tag"></span>in one of the recent software updates, we received a new extension: <a href="https://www.mediawiki.org/wiki/Extension:Graph" class="extiw" title="mw:Extension:Graph">mw:Extension:Graph</a>. this can and should replace everythig we do, for instance, in <a href="/wiki/Module:Chart" title="Module:Chart">Module:Chart</a>: it can do barbraphs, pie charts, and so much more. </p><p>the problem with this extension is somewhat similar to the problem with <a href="https://www.mediawiki.org/wiki/Extension:Timeline" class="extiw" title="mw:Extension:Timeline">mw:Extension:Timeline</a>, which was the previous charting tool (it still exists, but is obsolete): it does not use syntax which is familiar and convenient to wikipedia editors. </p><p>now, some time ago i wrote <a href="/wiki/Module:Chart" title="Module:Chart">Module:Chart</a>, which plots pie charts and bar graphs. the implementation is disgusting, if i say so myself, because of the very limited support vanilla html provides for charting: the bars are generated by "div" elements with absolute positioning, and the pie chart is based on some obscure features of the way html renders borders (the exploitation itself is ingenious, IMO, and is taken from <a href="/wiki/Template:Pie_chart" title="Template:Pie chart">Template:Pie chart</a>). </p><p>i kinda like the syntax used by <a href="/wiki/Module:Chart" title="Module:Chart">Module:Chart</a> - i think it lets the editors provide the meaningful data, and hides from them all the mundane details. i asked on this page, several times, for suggestions to make the syntax even better, but there was not much response. </p><p>the request here is simple: create a module that will receive parameters in the same syntax used by <a href="/wiki/Module:Chart" title="Module:Chart">Module:Chart</a>, but instead of using obscure and perverse methods to draw the graph, will use then new Graph tag. </p><p>as a second round, we should use this extension to support more chart types: line chart, scatter chart, horizontal bar graph, and if someone will gets really ambitious, maybe 3-d bar chart. </p><p>as a side, i'll mention that the graph extension can do more than just charts - this should be left as an exercise for other modules. </p><p>i believe the extension supports all the charts that can be found here: <b><a rel="nofollow" class="external text" href="http://trifacta.github.io/vega/editor">here</a></b>, but i cant guarantee this is the case. </p><p>peace - <a href="/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User:קיפודנחש">קיפודנחש (aka kipod)</a> (<a href="/wiki/User_talk:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User talk:קיפודנחש">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-קיפודנחש-2015-05-08T17:00:00.000Z-Wrap_new_Graph_tag" class="ext-discussiontools-init-timestamplink">17:00, 8 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-קיפודנחש-2015-05-08T17:00:00.000Z-Wrap_new_Graph_tag"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-08T17:00:00.000Z","author":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9","type":"comment","level":1,"id":"c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-08T17:00:00.000Z-Wrap_new_Graph_tag","replies":["c-Johnuniq-2015-05-08T23:23:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-08T17:00:00.000Z"],"displayName":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9 (aka kipod)"}}--></span><span data-mw-comment-end="c-קיפודנחש-2015-05-08T17:00:00.000Z-Wrap_new_Graph_tag"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2015-05-08T23:23:00.000Z-קיפודנחש-2015-05-08T17:00:00.000Z"></span>I saw your work and was totally amazed at the brilliant result and excellent usability, but I haven't needed to use the module. The new graph extension is a typical triumph over common sense requiring mumbo-jumbo for the input, and <a href="https://www.mediawiki.org/wiki/Extension:Graph/Demo#Embedded_directly_with_&lt;graph>" class="extiw" title="mw:Extension:Graph/Demo">this demo</a> advises that external tools should be used. The first step in your idea of a module to generate the graph wikitext would be to do a simple test of what happens if a module outputs one of the demos—would it render as a graph, or is module processing too late for that? <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2015-05-08T23:23:00.000Z-קיפודנחש-2015-05-08T17:00:00.000Z" class="ext-discussiontools-init-timestamplink">23:23, 8 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2015-05-08T23:23:00.000Z-קיפודנחש-2015-05-08T17:00:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-08T23:23:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2015-05-08T23:23:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-08T17:00:00.000Z","replies":["c-Anomie-2015-05-08T23:29:00.000Z-Johnuniq-2015-05-08T23:23:00.000Z"]}}--></span><span data-mw-comment-end="c-Johnuniq-2015-05-08T23:23:00.000Z-קיפודנחש-2015-05-08T17:00:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Anomie-2015-05-08T23:29:00.000Z-Johnuniq-2015-05-08T23:23:00.000Z"></span>You'll probably need to use <code><a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#frame:extensionTag" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">frame:extensionTag</a></code> to get the graph to render. <a href="/wiki/User:Anomie" title="User:Anomie">Anomie</a><a href="/wiki/User_talk:Anomie" title="User talk:Anomie">⚔</a> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Anomie-2015-05-08T23:29:00.000Z-Johnuniq-2015-05-08T23:23:00.000Z" class="ext-discussiontools-init-timestamplink">23:29, 8 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Anomie-2015-05-08T23:29:00.000Z-Johnuniq-2015-05-08T23:23:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-08T23:29:00.000Z","author":"Anomie","type":"comment","level":3,"id":"c-Anomie-2015-05-08T23:29:00.000Z-Johnuniq-2015-05-08T23:23:00.000Z","replies":["c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-11T23:00:00.000Z-Anomie-2015-05-08T23:29:00.000Z"]}}--></span><span data-mw-comment-end="c-Anomie-2015-05-08T23:29:00.000Z-Johnuniq-2015-05-08T23:23:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-קיפודנחש-2015-05-11T23:00:00.000Z-Anomie-2015-05-08T23:29:00.000Z"></span>yes, i assumed as much... peace - <a href="/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User:קיפודנחש">קיפודנחש (aka kipod)</a> (<a href="/wiki/User_talk:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User talk:קיפודנחש">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-קיפודנחש-2015-05-11T23:00:00.000Z-Anomie-2015-05-08T23:29:00.000Z" class="ext-discussiontools-init-timestamplink">23:00, 11 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-קיפודנחש-2015-05-11T23:00:00.000Z-Anomie-2015-05-08T23:29:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-11T23:00:00.000Z","author":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9","type":"comment","level":4,"id":"c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-11T23:00:00.000Z-Anomie-2015-05-08T23:29:00.000Z","replies":["c-Resident_Mario-2015-05-16T03:20:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-11T23:00:00.000Z"],"displayName":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9 (aka kipod)"}}--></span><span data-mw-comment-end="c-קיפודנחש-2015-05-11T23:00:00.000Z-Anomie-2015-05-08T23:29:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Resident_Mario-2015-05-16T03:20:00.000Z-קיפודנחש-2015-05-11T23:00:00.000Z"></span>This is the biggest front-end development since Lua implementation, in my humble opinion. But, indeed—working with the tags directly is impossible. I don't think that's a bad thing necessarily, though: by going as verbose as possible the visualization engine is as extensible as possible, and once everything is neatly standardized and parametrized via templates, it'll be quite beautiful, I think. <span style="font-family:Verdana,Arial,Helvetica"><a href="/wiki/User:Resident_Mario" title="User:Resident Mario"><b style="color:#333333; font-size:small;">Res</b></a><a href="/wiki/User_talk:Resident_Mario#top" title="User talk:Resident Mario"><span style="color:#444444; font-size:small;">Mar</span></a></span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Resident_Mario-2015-05-16T03:20:00.000Z-קיפודנחש-2015-05-11T23:00:00.000Z" class="ext-discussiontools-init-timestamplink">03:20, 16 May 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Resident_Mario-2015-05-16T03:20:00.000Z-קיפודנחש-2015-05-11T23:00:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-05-16T03:20:00.000Z","author":"Resident Mario","type":"comment","level":5,"id":"c-Resident_Mario-2015-05-16T03:20:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-05-11T23:00:00.000Z","replies":[],"displayName":"Res"}}--></span><span data-mw-comment-end="c-Resident_Mario-2015-05-16T03:20:00.000Z-קיפודנחש-2015-05-11T23:00:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd></dl> <p><span data-mw-comment-start="" id="c-Atlasowa-2015-06-12T12:40:00.000Z-Wrap_new_Graph_tag"></span>Hi <a href="/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User:קיפודנחש">קיפודנחש (aka kipod)</a>, <a href="/wiki/User:Anomie" title="User:Anomie">Anomie</a>, <a href="/wiki/User:Resident_Mario" title="User:Resident Mario">Resident Mario</a>, have a look at this by <a href="/wiki/User:Mps" title="User:Mps">Mps</a>: </p> <ul><li><a href="https://de.wikipedia.org/wiki/Modul:Graph" class="extiw" title="de:Modul:Graph">de:Modul:Graph</a> <ul><li><a href="https://de.wikipedia.org/wiki/Vorlage:GraphChart" class="extiw" title="de:Vorlage:GraphChart">de:Vorlage:GraphChart</a></li> <li><a href="https://de.wikipedia.org/wiki/Vorlage:GraphMap" class="extiw" title="de:Vorlage:GraphMap">de:Vorlage:GraphMap</a> see also <a href="https://de.wikipedia.org/wiki/Wikipedia_Diskussion:Kartenwerkstatt#Automatisierte(re)_Kartenerstellung" class="extiw" title="de:Wikipedia Diskussion:Kartenwerkstatt">de:Wikipedia Diskussion:Kartenwerkstatt#Automatisierte(re) Kartenerstellung</a></li></ul></li> <li><a href="/wiki/Special:PagesWithProp/graph_specs" title="Special:PagesWithProp/graph specs">Special:PagesWithProp/graph_specs</a> - find use of graph <ul><li>Find in <a href="https://de.wikipedia.org/wiki/Special:PagesWithProp/graph_specs" class="extiw" title="de:Special:PagesWithProp/graph specs">deWP</a>, <a href="https://meta.wikimedia.org/wiki/Special:PagesWithProp/graph_specs" class="extiw" title="meta:Special:PagesWithProp/graph specs">meta</a>,</li></ul></li> <li><a href="/wiki/Wikipedia:Lua/Requests/Archive_4#overhaul_Module:Chart" title="Wikipedia:Lua/Requests/Archive 4">en:Wikipedia:Lua/Requests/Archive 4#overhaul Module:Chart</a> (Specs for Graph-Lua-Module) --<a href="/wiki/User:Atlasowa" title="User:Atlasowa">Atlasowa</a> (<a href="/wiki/User_talk:Atlasowa" title="User talk:Atlasowa">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Atlasowa-2015-06-12T12:40:00.000Z-Wrap_new_Graph_tag" class="ext-discussiontools-init-timestamplink">12:40, 12 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Atlasowa-2015-06-12T12:40:00.000Z-Wrap_new_Graph_tag"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-12T12:40:00.000Z","author":"Atlasowa","type":"comment","level":1,"id":"c-Atlasowa-2015-06-12T12:40:00.000Z-Wrap_new_Graph_tag","replies":["c-Resident_Mario-2015-06-12T14:58:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z","c-Resident_Mario-2015-06-12T14:59:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z","c-Resident_Mario-2015-07-12T05:17:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"]}}--></span><span data-mw-comment-end="c-Atlasowa-2015-06-12T12:40:00.000Z-Wrap_new_Graph_tag"></span></li></ul> <dl><dd><dl><dd><span data-mw-comment-start="" id="c-Resident_Mario-2015-06-12T14:58:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"></span><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Pong_ball_in_flight.svg/22px-Pong_ball_in_flight.svg.png" decoding="async" width="22" height="11" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Pong_ball_in_flight.svg/33px-Pong_ball_in_flight.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/f4/Pong_ball_in_flight.svg/44px-Pong_ball_in_flight.svg.png 2x" data-file-width="4624" data-file-height="2330"/></span></span> <span class="template-ping"><a href="/wiki/User:Atlasowa" title="User:Atlasowa">Atlasowa</a>:</span> Can't tell you how happy I am to see this; we need to port it over immediately. <span class="template-ping">@<a href="/wiki/User:DerHexer" title="User:DerHexer">DerHexer</a>:</span> you know anyone that would be willing to translate the documentation? <span style="font-family:Verdana,Arial,Helvetica"><a href="/wiki/User:Resident_Mario" title="User:Resident Mario"><b style="color:#333333; font-size:small;">Res</b></a><a href="/wiki/User_talk:Resident_Mario#top" title="User talk:Resident Mario"><span style="color:#444444; font-size:small;">Mar</span></a></span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Resident_Mario-2015-06-12T14:58:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z" class="ext-discussiontools-init-timestamplink">14:58, 12 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Resident_Mario-2015-06-12T14:58:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-12T14:58:00.000Z","author":"Resident Mario","type":"comment","level":3,"id":"c-Resident_Mario-2015-06-12T14:58:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z","replies":[],"displayName":"Res"}}--></span><span data-mw-comment-end="c-Resident_Mario-2015-06-12T14:58:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"></span></dd> <dd><a class="external text" href="https://phabricator.wikimedia.org/T6547"><span data-mw-comment-start="" id="c-Resident_Mario-2015-06-12T14:59:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"></span>See also</a>. <span style="font-family:Verdana,Arial,Helvetica"><a href="/wiki/User:Resident_Mario" title="User:Resident Mario"><b style="color:#333333; font-size:small;">Res</b></a><a href="/wiki/User_talk:Resident_Mario#top" title="User talk:Resident Mario"><span style="color:#444444; font-size:small;">Mar</span></a></span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Resident_Mario-2015-06-12T14:59:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z" class="ext-discussiontools-init-timestamplink">14:59, 12 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Resident_Mario-2015-06-12T14:59:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-12T14:59:00.000Z","author":"Resident Mario","type":"comment","level":3,"id":"c-Resident_Mario-2015-06-12T14:59:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z","replies":["c-Resident_Mario-2015-06-12T18:04:00.000Z-Resident_Mario-2015-06-12T14:59:00.000Z"],"displayName":"Res"}}--></span><span data-mw-comment-end="c-Resident_Mario-2015-06-12T14:59:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Resident_Mario-2015-06-12T18:04:00.000Z-Resident_Mario-2015-06-12T14:59:00.000Z"></span>I went ahead and imported two bits: <a href="/wiki/Module:Graph" title="Module:Graph">Module:Graph</a> and <a href="/wiki/Template:GraphChart" class="mw-redirect" title="Template:GraphChart">Template:GraphChart</a>. <span style="font-family:Verdana,Arial,Helvetica"><a href="/wiki/User:Resident_Mario" title="User:Resident Mario"><b style="color:#333333; font-size:small;">Res</b></a><a href="/wiki/User_talk:Resident_Mario#top" title="User talk:Resident Mario"><span style="color:#444444; font-size:small;">Mar</span></a></span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Resident_Mario-2015-06-12T18:04:00.000Z-Resident_Mario-2015-06-12T14:59:00.000Z" class="ext-discussiontools-init-timestamplink">18:04, 12 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Resident_Mario-2015-06-12T18:04:00.000Z-Resident_Mario-2015-06-12T14:59:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-12T18:04:00.000Z","author":"Resident Mario","type":"comment","level":4,"id":"c-Resident_Mario-2015-06-12T18:04:00.000Z-Resident_Mario-2015-06-12T14:59:00.000Z","replies":["c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-06-16T15:41:00.000Z-Resident_Mario-2015-06-12T18:04:00.000Z"],"displayName":"Res"}}--></span><span data-mw-comment-end="c-Resident_Mario-2015-06-12T18:04:00.000Z-Resident_Mario-2015-06-12T14:59:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-קיפודנחש-2015-06-16T15:41:00.000Z-Resident_Mario-2015-06-12T18:04:00.000Z"></span>absolutely awesome. now, we just have to wait for "someone" to add "pie" capability (the graph extension has it, but the module does not support it [yet?] ), and we can retire <a href="/wiki/Module:Chart" title="Module:Chart">Module:Chart</a> entirely. this is much better and more appealing. peace - <a href="/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User:קיפודנחש">קיפודנחש (aka kipod)</a> (<a href="/wiki/User_talk:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User talk:קיפודנחש">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-קיפודנחש-2015-06-16T15:41:00.000Z-Resident_Mario-2015-06-12T18:04:00.000Z" class="ext-discussiontools-init-timestamplink">15:41, 16 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-קיפודנחש-2015-06-16T15:41:00.000Z-Resident_Mario-2015-06-12T18:04:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-16T15:41:00.000Z","author":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9","type":"comment","level":5,"id":"c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-06-16T15:41:00.000Z-Resident_Mario-2015-06-12T18:04:00.000Z","replies":["c-Moroboshi-2015-07-05T16:20:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-06-16T15:41:00.000Z"],"displayName":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9 (aka kipod)"}}--></span><span data-mw-comment-end="c-קיפודנחש-2015-06-16T15:41:00.000Z-Resident_Mario-2015-06-12T18:04:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Moroboshi-2015-07-05T16:20:00.000Z-קיפודנחש-2015-06-16T15:41:00.000Z"></span>This week I made a module on it.wiki to duplicate the functionality of <span class="nowrap">{{</span><a href="/wiki/Template:Pie_chart" title="Template:Pie chart">Pie chart</a><span class="nowrap">}}</span> (currently it's in alpha testing here <a href="https://it.wikipedia.org/wiki/Modulo:Sandbox/moroboshi/Chart" class="extiw" title="it:Modulo:Sandbox/moroboshi/Chart">it:Modulo:Sandbox/moroboshi/Chart</a> with a test page here <a href="https://it.wikipedia.org/wiki/Template:Pie_chart/test" class="extiw" title="it:Template:Pie chart/test">it:Template:Pie chart/test</a>. Parameter name are in a configuration file <a href="https://it.wikipedia.org/wiki/Modulo:Sandbox/moroboshi/Chart/Configurazione" class="extiw" title="it:Modulo:Sandbox/moroboshi/Chart/Configurazione">it:Modulo:Sandbox/moroboshi/Chart/Configurazione</a> for easy localization, some code of the html tag must be changed (some difference between the <span class="nowrap">{{</span><a href="/wiki/Template:Legend" title="Template:Legend">Legend</a><span class="nowrap">}}</span> template and the italian equivalent) but it's a simple fix. If you are intereste I could import it on en.wiki--<a href="/wiki/User:Moroboshi" title="User:Moroboshi">Moroboshi</a> (<a href="/wiki/User_talk:Moroboshi" title="User talk:Moroboshi">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Moroboshi-2015-07-05T16:20:00.000Z-קיפודנחש-2015-06-16T15:41:00.000Z" class="ext-discussiontools-init-timestamplink">16:20, 5 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Moroboshi-2015-07-05T16:20:00.000Z-קיפודנחש-2015-06-16T15:41:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-05T16:20:00.000Z","author":"Moroboshi","type":"comment","level":6,"id":"c-Moroboshi-2015-07-05T16:20:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-06-16T15:41:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Moroboshi-2015-07-05T16:20:00.000Z-קיפודנחש-2015-06-16T15:41:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd></dl></dd> <dd><span data-mw-comment-start="" id="c-Resident_Mario-2015-07-12T05:17:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"></span>We need an interwiki transclusion bot to handle these templates until the WMF finally wakes up and introduces it as a MediaWiki feature. <span style="font-family:Verdana,Arial,Helvetica"><a href="/wiki/User:Resident_Mario" title="User:Resident Mario"><b style="color:#333333; font-size:small;">Res</b></a><a href="/wiki/User_talk:Resident_Mario#top" title="User talk:Resident Mario"><span style="color:#444444; font-size:small;">Mar</span></a></span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Resident_Mario-2015-07-12T05:17:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z" class="ext-discussiontools-init-timestamplink">05:17, 12 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Resident_Mario-2015-07-12T05:17:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-12T05:17:00.000Z","author":"Resident Mario","type":"comment","level":2,"id":"c-Resident_Mario-2015-07-12T05:17:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z","replies":[],"displayName":"Res"}}--></span><span data-mw-comment-end="c-Resident_Mario-2015-07-12T05:17:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Knife-in-the-drawer-2015-06-28T16:13:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-String_parsing_and_concatenating-2015-06-28T16:13:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Knife-in-the-drawer-2015-06-28T16:13:00.000Z-String_parsing_and_concatenating&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;String parsing and concatenating&quot;,&quot;linkableTitle&quot;:&quot;String parsing and concatenating&quot;}--><h2 id="String_parsing_and_concatenating" data-mw-thread-id="h-String_parsing_and_concatenating-2015-06-28T16:13:00.000Z"><span data-mw-comment-start="" id="h-String_parsing_and_concatenating-2015-06-28T16:13:00.000Z"></span>String parsing and concatenating<span data-mw-comment-end="h-String_parsing_and_concatenating-2015-06-28T16:13:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Knife-in-the-drawer-2015-06-28T16:13:00.000Z","type":"heading","level":0,"id":"h-String_parsing_and_concatenating-2015-06-28T16:13:00.000Z","replies":["c-Knife-in-the-drawer-2015-06-28T16:13:00.000Z-String_parsing_and_concatenating"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Christian75-2015-06-29T15:08:00.000Z-Mr._Stradivarius-2015-06-29T00:45:00.000Z","timestamp":"2015-06-29T15:08:00.000Z"}__--><!--__DTCOMMENTCOUNT__5__--><!--__DTAUTHORCOUNT__4__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Knife-in-the-drawer-2015-06-28T16:13:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-String_parsing_and_concatenating-2015-06-28T16:13:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Knife-in-the-drawer-2015-06-28T16:13:00.000Z-String_parsing_and_concatenating&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;String parsing and concatenating&quot;,&quot;linkableTitle&quot;:&quot;String parsing and concatenating&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Knife-in-the-drawer-2015-06-28T16:13:00.000Z-String_parsing_and_concatenating"></span>I want to write a new template that will be invoked as follows: </p> <dl><dd>{{SBN | IT\ICCU\MIL\0205279}}</dd></dl> <p>It should display in the article as follows: </p> <dl><dd>SBN IT\ICCU\MIL\0205279</dd></dl> <p>IT\ICCU\MIL\0205279 should be a clickable external link coded as follows: </p> <dl><dd>[http://opac.sbn.it/bid/MIL0205279 {{{1}}}]</dd></dl> <p>My problem...I don't know how to parse the template's parameter to get "MIL" and "0205279", how to concatenate "MIL" and "0205279" to produce "MIL0205279", and how to stick "MIL0205279" into the middle of the external link's definition. I'm guessing Lua. </p><p>If you would please help me this first time, citing relevant Wiki pages along the way, I'll be able to handle it myself in the future. Thanks. <a href="/wiki/User:Knife-in-the-drawer" title="User:Knife-in-the-drawer">Knife-in-the-drawer</a> (<a href="/wiki/User_talk:Knife-in-the-drawer" title="User talk:Knife-in-the-drawer">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Knife-in-the-drawer-2015-06-28T16:13:00.000Z-String_parsing_and_concatenating" class="ext-discussiontools-init-timestamplink">16:13, 28 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Knife-in-the-drawer-2015-06-28T16:13:00.000Z-String_parsing_and_concatenating"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-28T16:13:00.000Z","author":"Knife-in-the-drawer","type":"comment","level":1,"id":"c-Knife-in-the-drawer-2015-06-28T16:13:00.000Z-String_parsing_and_concatenating","replies":["c-Dragons_flight-2015-06-28T16:47:00.000Z-Knife-in-the-drawer-2015-06-28T16:13:00.000Z"]}}--></span><span data-mw-comment-end="c-Knife-in-the-drawer-2015-06-28T16:13:00.000Z-String_parsing_and_concatenating"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Dragons_flight-2015-06-28T16:47:00.000Z-Knife-in-the-drawer-2015-06-28T16:13:00.000Z"></span>This can be done in either Lua or template syntax (using the <a href="/wiki/Category:String_manipulation_templates" title="Category:String manipulation templates">string manipulation templates</a>). Lua will probably be a little bit more work to implement, but would certainly be easier to read. For the record, what is "{{{1}}}" above, is that meant to be "IT\ICCU\MIL\0205279" in the example? <a href="/wiki/User:Dragons_flight" title="User:Dragons flight">Dragons flight</a> (<a href="/wiki/User_talk:Dragons_flight" title="User talk:Dragons flight">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Dragons_flight-2015-06-28T16:47:00.000Z-Knife-in-the-drawer-2015-06-28T16:13:00.000Z" class="ext-discussiontools-init-timestamplink">16:47, 28 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Dragons_flight-2015-06-28T16:47:00.000Z-Knife-in-the-drawer-2015-06-28T16:13:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-28T16:47:00.000Z","author":"Dragons flight","type":"comment","level":2,"id":"c-Dragons_flight-2015-06-28T16:47:00.000Z-Knife-in-the-drawer-2015-06-28T16:13:00.000Z","replies":["c-Knife-in-the-drawer-2015-06-28T18:14:00.000Z-Dragons_flight-2015-06-28T16:47:00.000Z"]}}--></span><span data-mw-comment-end="c-Dragons_flight-2015-06-28T16:47:00.000Z-Knife-in-the-drawer-2015-06-28T16:13:00.000Z"></span></dd></dl> <dl><dd><dl><dd><span data-mw-comment-start="" id="c-Knife-in-the-drawer-2015-06-28T18:14:00.000Z-Dragons_flight-2015-06-28T16:47:00.000Z"></span>Yes. <a href="/wiki/User:Knife-in-the-drawer" title="User:Knife-in-the-drawer">Knife-in-the-drawer</a> (<a href="/wiki/User_talk:Knife-in-the-drawer" title="User talk:Knife-in-the-drawer">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Knife-in-the-drawer-2015-06-28T18:14:00.000Z-Dragons_flight-2015-06-28T16:47:00.000Z" class="ext-discussiontools-init-timestamplink">18:14, 28 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Knife-in-the-drawer-2015-06-28T18:14:00.000Z-Dragons_flight-2015-06-28T16:47:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-28T18:14:00.000Z","author":"Knife-in-the-drawer","type":"comment","level":3,"id":"c-Knife-in-the-drawer-2015-06-28T18:14:00.000Z-Dragons_flight-2015-06-28T16:47:00.000Z","replies":["c-Mr._Stradivarius-2015-06-29T00:45:00.000Z-Knife-in-the-drawer-2015-06-28T18:14:00.000Z"]}}--></span><span data-mw-comment-end="c-Knife-in-the-drawer-2015-06-28T18:14:00.000Z-Dragons_flight-2015-06-28T16:47:00.000Z"></span></dd></dl></dd></dl> <dl><dd><dl><dd><dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-06-29T00:45:00.000Z-Knife-in-the-drawer-2015-06-28T18:14:00.000Z"></span>Ok, I went a bit over-the-top and wrote two different templates for this. :P The first is at <a href="/w/index.php?title=Module:Sbn&amp;action=edit&amp;redlink=1" class="new" title="Module:Sbn (page does not exist)">Module:Sbn</a> (and <a href="/w/index.php?title=Template:Sbn&amp;action=edit&amp;redlink=1" class="new" title="Template:Sbn (page does not exist)">Template:Sbn</a>) and the second is at <a href="/w/index.php?title=Template:Sbn/sandbox&amp;action=edit&amp;redlink=1" class="new" title="Template:Sbn/sandbox (page does not exist)">Template:Sbn/sandbox</a>. The sandbox is the wikitext version - this uses <a href="/wiki/Module:String#match" title="Module:String">Module:String#match</a> to parse the template parameter. The module uses <a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#string.match" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">string.match</a> for the parsing. (They do the same thing - Module:String#match is just a wikitext interface for string.match.) These both use <a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#Patterns" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">Lua patterns</a>, which you will need to understand to see how this works. The module also uses <a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#string.format" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">string.format</a> to join the strings together, but you could just as easily use <code>..</code>, Lua's concatenation operator. (<code>'ab' .. 'cd'</code> will give you the string "abcd".) The sandbox is simpler, but it isn't as elegant if something goes wrong - try putting a bad code into both of them to see what I mean. And please ask if you have any questions about the code. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-06-29T00:45:00.000Z-Knife-in-the-drawer-2015-06-28T18:14:00.000Z" class="ext-discussiontools-init-timestamplink">00:45, 29 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-06-29T00:45:00.000Z-Knife-in-the-drawer-2015-06-28T18:14:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-29T00:45:00.000Z","author":"Mr. Stradivarius","type":"comment","level":4,"id":"c-Mr._Stradivarius-2015-06-29T00:45:00.000Z-Knife-in-the-drawer-2015-06-28T18:14:00.000Z","replies":["c-Christian75-2015-06-29T15:08:00.000Z-Mr._Stradivarius-2015-06-29T00:45:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-06-29T00:45:00.000Z-Knife-in-the-drawer-2015-06-28T18:14:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Christian75-2015-06-29T15:08:00.000Z-Mr._Stradivarius-2015-06-29T00:45:00.000Z"></span>(<a href="/w/index.php?title=Module:SBN&amp;action=edit&amp;redlink=1" class="new" title="Module:SBN (page does not exist)">module:SBN</a>) <a href="/wiki/User:Christian75" title="User:Christian75">Christian75</a> (<a href="/wiki/User_talk:Christian75" title="User talk:Christian75">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Christian75-2015-06-29T15:08:00.000Z-Mr._Stradivarius-2015-06-29T00:45:00.000Z" class="ext-discussiontools-init-timestamplink">15:08, 29 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Christian75-2015-06-29T15:08:00.000Z-Mr._Stradivarius-2015-06-29T00:45:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-29T15:08:00.000Z","author":"Christian75","type":"comment","level":5,"id":"c-Christian75-2015-06-29T15:08:00.000Z-Mr._Stradivarius-2015-06-29T00:45:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Christian75-2015-06-29T15:08:00.000Z-Mr._Stradivarius-2015-06-29T00:45:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-DePiep-2015-06-28T18:51:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-An_Infobox_feature_request_is_ready_for_Lua_encoding-2015-06-28T18:51:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2015-06-28T18:51:00.000Z-An_Infobox_feature_request_is_ready_for_Lua_encoding&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;An Infobox feature request is ready for Lua encoding&quot;,&quot;linkableTitle&quot;:&quot;An Infobox feature request is ready for Lua encoding&quot;}--><h2 id="An_Infobox_feature_request_is_ready_for_Lua_encoding" data-mw-thread-id="h-An_Infobox_feature_request_is_ready_for_Lua_encoding-2015-06-28T18:51:00.000Z"><span data-mw-comment-start="" id="h-An_Infobox_feature_request_is_ready_for_Lua_encoding-2015-06-28T18:51:00.000Z"></span>An Infobox feature request is ready for Lua encoding<span data-mw-comment-end="h-An_Infobox_feature_request_is_ready_for_Lua_encoding-2015-06-28T18:51:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-DePiep-2015-06-28T18:51:00.000Z","type":"heading","level":0,"id":"h-An_Infobox_feature_request_is_ready_for_Lua_encoding-2015-06-28T18:51:00.000Z","replies":["c-DePiep-2015-06-28T18:51:00.000Z-An_Infobox_feature_request_is_ready_for_Lua_encoding"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-SMcCandlish-2015-07-18T14:45:00.000Z-DePiep-2015-06-28T18:51:00.000Z","timestamp":"2015-07-18T14:45:00.000Z"}__--><!--__DTCOMMENTCOUNT__2__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-DePiep-2015-06-28T18:51:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-An_Infobox_feature_request_is_ready_for_Lua_encoding-2015-06-28T18:51:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2015-06-28T18:51:00.000Z-An_Infobox_feature_request_is_ready_for_Lua_encoding&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;An Infobox feature request is ready for Lua encoding&quot;,&quot;linkableTitle&quot;:&quot;An Infobox feature request is ready for Lua encoding&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-DePiep-2015-06-28T18:51:00.000Z-An_Infobox_feature_request_is_ready_for_Lua_encoding"></span>I've made a feature request for <a href="/wiki/Module:Infobox" title="Module:Infobox">module:Infobox</a> here: <a href="/wiki/Template_talk:Infobox#Parameter_.22header-when-not-empty.22" title="Template talk:Infobox">Infobox, header-when-not-empty</a>. Basically, it adds a parameter <code class="tpl-para" style="word-break:break-word;">|header<i>n</i>-cond=</code> that only shows when its section contains data (consider how it has to be encoded today). </p><p>There is some good support, it's 'only' needs to be encoded in Lua. Anyone interested? -<a href="/wiki/User:DePiep" title="User:DePiep">DePiep</a> (<a href="/wiki/User_talk:DePiep" title="User talk:DePiep">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-DePiep-2015-06-28T18:51:00.000Z-An_Infobox_feature_request_is_ready_for_Lua_encoding" class="ext-discussiontools-init-timestamplink">18:51, 28 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2015-06-28T18:51:00.000Z-An_Infobox_feature_request_is_ready_for_Lua_encoding"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-28T18:51:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2015-06-28T18:51:00.000Z-An_Infobox_feature_request_is_ready_for_Lua_encoding","replies":["c-SMcCandlish-2015-07-18T14:45:00.000Z-DePiep-2015-06-28T18:51:00.000Z"]}}--></span><span data-mw-comment-end="c-DePiep-2015-06-28T18:51:00.000Z-An_Infobox_feature_request_is_ready_for_Lua_encoding"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-SMcCandlish-2015-07-18T14:45:00.000Z-DePiep-2015-06-28T18:51:00.000Z"></span>Nothing wrong with doing that, but it's not that hard to code this in template syntax. Just test for whatever parameter that fills data under the header is essential to that little section being there. Or test for all of the parameters in that section if they're all of equal weight, and the section and its heading need to be there for any of them but be absent if they're all empty. <a href="/wiki/Template:Infobox_cat_breed" title="Template:Infobox cat breed">Template:Infobox cat breed</a> takes the latter approach, and hides the breed standards section for landraces or traditional breeds with no published standards. I agree it's more efficient in Lua, though. <span style="white-space:nowrap;font-family:'Trebuchet MS'"> — <a href="/wiki/User:SMcCandlish" title="User:SMcCandlish"><b>SMcCandlish</b> ☺</a> <a href="/wiki/User_talk:SMcCandlish" title="User talk:SMcCandlish">☏</a> <a href="/wiki/Special:Contributions/SMcCandlish" title="Special:Contributions/SMcCandlish">¢</a> ≽<sup>ʌ</sup>ⱷ҅<sub>ᴥ</sub>ⱷ<sup>ʌ</sup>≼ </span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SMcCandlish-2015-07-18T14:45:00.000Z-DePiep-2015-06-28T18:51:00.000Z" class="ext-discussiontools-init-timestamplink">14:45, 18 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SMcCandlish-2015-07-18T14:45:00.000Z-DePiep-2015-06-28T18:51:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-18T14:45:00.000Z","author":"SMcCandlish","type":"comment","level":2,"id":"c-SMcCandlish-2015-07-18T14:45:00.000Z-DePiep-2015-06-28T18:51:00.000Z","replies":[],"displayName":"SMcCandlish \u263a"}}--></span><span data-mw-comment-end="c-SMcCandlish-2015-07-18T14:45:00.000Z-DePiep-2015-06-28T18:51:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-SMcCandlish-2015-07-17T22:33:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text-2015-07-17T22:33:00.000Z&quot;,&quot;replies&quot;:[&quot;c-SMcCandlish-2015-07-17T22:33:00.000Z-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;String parsing: Extract number (with decimal, neg) from arbitrary text&quot;,&quot;linkableTitle&quot;:&quot;String parsing: Extract number (with decimal, neg) from arbitrary text&quot;}--><h2 id="String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text" data-mw-thread-id="h-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text-2015-07-17T22:33:00.000Z"><span id="String_parsing:_Extract_number_.28with_decimal.2C_neg.29_from_arbitrary_text"></span><span data-mw-comment-start="" id="h-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text-2015-07-17T22:33:00.000Z"></span>String parsing: Extract number (with decimal, neg) from arbitrary text<span data-mw-comment-end="h-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text-2015-07-17T22:33:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-SMcCandlish-2015-07-17T22:33:00.000Z","type":"heading","level":0,"id":"h-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text-2015-07-17T22:33:00.000Z","replies":["c-SMcCandlish-2015-07-17T22:33:00.000Z-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-SMcCandlish-2015-07-23T18:55:00.000Z-Mr._Stradivarius-2015-07-19T03:51:00.000Z","timestamp":"2015-07-23T18:55:00.000Z"}__--><!--__DTCOMMENTCOUNT__7__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-SMcCandlish-2015-07-17T22:33:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text-2015-07-17T22:33:00.000Z&quot;,&quot;replies&quot;:[&quot;c-SMcCandlish-2015-07-17T22:33:00.000Z-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;String parsing: Extract number (with decimal, neg) from arbitrary text&quot;,&quot;linkableTitle&quot;:&quot;String parsing: Extract number (with decimal, neg) from arbitrary text&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-SMcCandlish-2015-07-17T22:33:00.000Z-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text"></span>I'm taking first baby steps in Lua. What I want to do I could do in minutes in perl with regular expressions, but even the online Lua help materials aren't much help, because Scribunto's requirements for how it does thing are so rigid. I've barely gotten it to return (sometimes) a valid result for the first part of this I'm testing (just numerals, and without need to <code class="nowrap" style="">&lt;nowiki>...&lt;/nowiki></code> the input). I haven't figure out how to use boolean operators with Lua string manipulation, as in "look for this OR that". </p> <dl><dt>All I really need right now is a tiny one-function module that can be invoked directly to do the following to one string of input:</dt> <dd></dd></dl> <ul><li>Drop all characters other than <code>-</code>, <code>.</code> and numerals.</li></ul> <p>My immediate need for this is converting sloppy CSS-related input like <code>-10px</code>, <code>2.2em;</code> or even <code>style="font-size: 70% ;"</code> to <code>-10</code>, <code>2.2</code>, or <code>70</code>, respectively, and return that number. My assumption is that I should be able to wrap the input in <code class="nowrap" style="">&lt;nowiki>...&lt;/nowiki></code>, in case someone inputs something daft like <code>|style=font-size: 70%</code>, with a <code>|</code> symbol, but that's not essential. The #1 use would be conversion of percentile values in particular, like <code>70%</code>, to bare numbers, like <code>70</code>. Need a variant function that divides the result by two and rounds to two decimal places, but I'm sure I can add that myself after I see how the main part works. </p> <dl><dt>A more advanced version that could be invoked directly or required by other modules, might do something like this:</dt> <dd></dd></dl> <ul><li>For any arbitrary input, trim all leading material until it hits any of: <ul><li>a numeral; or</li> <li>a <code>.</code> followed by a numeral; or</li> <li>a <code>-</code> or the proper negative/minus glyph <code>−</code> followed by either of: <ul><li>a numeral, or by</li> <li><code>.</code> followed by a numeral</li></ul></li></ul></li> <li>then retain that character;</li> <li>proceed to next character, and retain it if matches either:</li> <li>a numeral, or</li> <li>a <code>.</code>, unless one was matched earlier;</li> <li>repeat until that fails (i.e. a second <code>.</code> is found, or any other non-numeral is found);</li> <li>then trim everything after that;</li> <li>and do all this for multiple values.</li></ul> <dl><dt>A later super-badass version could add:</dt> <dd></dd></dl> <ul><li>recognize <code>^</code> or <code>e</code>, and <code>x</code> or <code>×</code> or <code>*</code> when found in a context that indicates an exponent (<code>23.5x10^8</code>), and a few other such cases (e.g. characters used to indicate a truncated long/endless decimal)</li> <li>find multiple numbers per input string, and separate them by something (e.g. a space or a comma) depending on which function is invoked</li></ul> <p>Any help on the basic request at the top would be much appreciated, the rest is more of a "what if...?" proposition. <span style="white-space:nowrap;font-family:'Trebuchet MS'"> — <a href="/wiki/User:SMcCandlish" title="User:SMcCandlish"><b>SMcCandlish</b> ☺</a> <a href="/wiki/User_talk:SMcCandlish" title="User talk:SMcCandlish">☏</a> <a href="/wiki/Special:Contributions/SMcCandlish" title="Special:Contributions/SMcCandlish">¢</a> ≽<sup>ʌ</sup>ⱷ҅<sub>ᴥ</sub>ⱷ<sup>ʌ</sup>≼ </span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SMcCandlish-2015-07-17T22:33:00.000Z-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text" class="ext-discussiontools-init-timestamplink">22:33, 17 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SMcCandlish-2015-07-17T22:33:00.000Z-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-17T22:33:00.000Z","author":"SMcCandlish","type":"comment","level":1,"id":"c-SMcCandlish-2015-07-17T22:33:00.000Z-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text","replies":["c-WOSlinker-2015-07-17T23:04:00.000Z-SMcCandlish-2015-07-17T22:33:00.000Z"],"displayName":"SMcCandlish \u263a"}}--></span><span data-mw-comment-end="c-SMcCandlish-2015-07-17T22:33:00.000Z-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-WOSlinker-2015-07-17T23:04:00.000Z-SMcCandlish-2015-07-17T22:33:00.000Z"></span>I'm no Lua expert, so here is a starting point that could probably be done better:</dd> <dd><div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="kr">function</span> <span class="nf">ExtractNumbers</span><span class="p">(</span><span class="n">str</span><span class="p">)</span> <span class="kd">local</span> <span class="n">tResult</span> <span class="o">=</span> <span class="p">{}</span> <span class="n">str</span><span class="p">:</span><span class="n">gsub</span><span class="p">(</span> <span class="s2">"%-?[%d%.]+"</span><span class="p">,</span> <span class="kr">function</span><span class="p">(</span><span class="n">x</span><span class="p">)</span> <span class="nb">table.insert</span><span class="p">(</span><span class="n">tResult</span><span class="p">,</span> <span class="n">x</span><span class="p">)</span> <span class="kr">end</span><span class="p">)</span> <span class="kr">return</span> <span class="n">tResult</span> <span class="kr">end</span> </pre></div></dd> <dd>and call with</dd> <dd><div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="n">myvar</span> <span class="o">=</span> <span class="n">ExtractNumbers</span><span class="p">(</span><span class="s1">'style="font-size: 70% ;"'</span><span class="p">)</span> </pre></div></dd> <dd>The result is a table, so to get just the first value</dd> <dd><div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="n">myvar</span> <span class="o">=</span> <span class="n">ExtractNumbers</span><span class="p">(</span><span class="s1">'style="font-size: 70% ;"'</span><span class="p">)[</span><span class="mi">1</span><span class="p">]</span> </pre></div></dd> <dd>Hope this helps. -- <a href="/wiki/User:WOSlinker" title="User:WOSlinker">WOSlinker</a> (<a href="/wiki/User_talk:WOSlinker" title="User talk:WOSlinker">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-WOSlinker-2015-07-17T23:04:00.000Z-SMcCandlish-2015-07-17T22:33:00.000Z" class="ext-discussiontools-init-timestamplink">23:04, 17 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-WOSlinker-2015-07-17T23:04:00.000Z-SMcCandlish-2015-07-17T22:33:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-17T23:04:00.000Z","author":"WOSlinker","type":"comment","level":2,"id":"c-WOSlinker-2015-07-17T23:04:00.000Z-SMcCandlish-2015-07-17T22:33:00.000Z","replies":["c-SMcCandlish-2015-07-18T14:51:00.000Z-WOSlinker-2015-07-17T23:04:00.000Z"]}}--></span><span data-mw-comment-end="c-WOSlinker-2015-07-17T23:04:00.000Z-SMcCandlish-2015-07-17T22:33:00.000Z"></span> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-SMcCandlish-2015-07-18T14:51:00.000Z-WOSlinker-2015-07-17T23:04:00.000Z"></span>@<a href="/wiki/User:WOSlinker" title="User:WOSlinker">WOSlinker</a>:</span> Thanks. I didn't get your pattern to work (plugging it in threw errors), but after a nap, I figured out what I was trying to do, at <a href="/wiki/Module:StripToNumbers" class="mw-redirect" title="Module:StripToNumbers">Module:StripToNumbers</a>, other than it needs more precise pattern matching. Its talk page outlines the remaining problem (short version: input like <code>font-size: 10%</code> will come out as <code>-10%</code>. Your use of a table is probably more robust, too; I just did enough to get the result I immediately needed for a specific application, conversion of "70%" to "70", and the ability to halve it. Anyone should feel free to tinker further. <span style="white-space:nowrap;font-family:'Trebuchet MS'"> — <a href="/wiki/User:SMcCandlish" title="User:SMcCandlish"><b>SMcCandlish</b> ☺</a> <a href="/wiki/User_talk:SMcCandlish" title="User talk:SMcCandlish">☏</a> <a href="/wiki/Special:Contributions/SMcCandlish" title="Special:Contributions/SMcCandlish">¢</a> ≽<sup>ʌ</sup>ⱷ҅<sub>ᴥ</sub>ⱷ<sup>ʌ</sup>≼ </span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SMcCandlish-2015-07-18T14:51:00.000Z-WOSlinker-2015-07-17T23:04:00.000Z" class="ext-discussiontools-init-timestamplink">14:51, 18 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SMcCandlish-2015-07-18T14:51:00.000Z-WOSlinker-2015-07-17T23:04:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-18T14:51:00.000Z","author":"SMcCandlish","type":"comment","level":3,"id":"c-SMcCandlish-2015-07-18T14:51:00.000Z-WOSlinker-2015-07-17T23:04:00.000Z","replies":["c-WOSlinker-2015-07-18T16:36:00.000Z-SMcCandlish-2015-07-18T14:51:00.000Z"],"displayName":"SMcCandlish \u263a"}}--></span><span data-mw-comment-end="c-SMcCandlish-2015-07-18T14:51:00.000Z-WOSlinker-2015-07-17T23:04:00.000Z"></span> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-WOSlinker-2015-07-18T16:36:00.000Z-SMcCandlish-2015-07-18T14:51:00.000Z"></span>@<a href="/wiki/User:SMcCandlish" title="User:SMcCandlish">SMcCandlish</a>:</span> Changing <code>onlyNumber = (string.gsub(theString, "[^%d%.-]", ""))</code> to <code>onlyNumber = (string.match(theString, "%-?[%d%.]+"))</code> would help with the problem with <code>font-size: 10%</code>. It would also just retun the first set of numbers rather than all numbers in theString. -- <a href="/wiki/User:WOSlinker" title="User:WOSlinker">WOSlinker</a> (<a href="/wiki/User_talk:WOSlinker" title="User talk:WOSlinker">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-WOSlinker-2015-07-18T16:36:00.000Z-SMcCandlish-2015-07-18T14:51:00.000Z" class="ext-discussiontools-init-timestamplink">16:36, 18 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-WOSlinker-2015-07-18T16:36:00.000Z-SMcCandlish-2015-07-18T14:51:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-18T16:36:00.000Z","author":"WOSlinker","type":"comment","level":4,"id":"c-WOSlinker-2015-07-18T16:36:00.000Z-SMcCandlish-2015-07-18T14:51:00.000Z","replies":["c-SMcCandlish-2015-07-18T16:54:00.000Z-WOSlinker-2015-07-18T16:36:00.000Z"]}}--></span><span data-mw-comment-end="c-WOSlinker-2015-07-18T16:36:00.000Z-SMcCandlish-2015-07-18T14:51:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-SMcCandlish-2015-07-18T16:54:00.000Z-WOSlinker-2015-07-18T16:36:00.000Z"></span>[Genuflect] Very nice! Worked like a charm. <span style="white-space:nowrap;font-family:'Trebuchet MS'"> — <a href="/wiki/User:SMcCandlish" title="User:SMcCandlish"><b>SMcCandlish</b> ☺</a> <a href="/wiki/User_talk:SMcCandlish" title="User talk:SMcCandlish">☏</a> <a href="/wiki/Special:Contributions/SMcCandlish" title="Special:Contributions/SMcCandlish">¢</a> ≽<sup>ʌ</sup>ⱷ҅<sub>ᴥ</sub>ⱷ<sup>ʌ</sup>≼ </span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SMcCandlish-2015-07-18T16:54:00.000Z-WOSlinker-2015-07-18T16:36:00.000Z" class="ext-discussiontools-init-timestamplink">16:54, 18 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SMcCandlish-2015-07-18T16:54:00.000Z-WOSlinker-2015-07-18T16:36:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-18T16:54:00.000Z","author":"SMcCandlish","type":"comment","level":5,"id":"c-SMcCandlish-2015-07-18T16:54:00.000Z-WOSlinker-2015-07-18T16:36:00.000Z","replies":["c-Mr._Stradivarius-2015-07-19T03:51:00.000Z-SMcCandlish-2015-07-18T16:54:00.000Z"],"displayName":"SMcCandlish \u263a"}}--></span><span data-mw-comment-end="c-SMcCandlish-2015-07-18T16:54:00.000Z-WOSlinker-2015-07-18T16:36:00.000Z"></span> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-07-19T03:51:00.000Z-SMcCandlish-2015-07-18T16:54:00.000Z"></span>@<a href="/wiki/User:SMcCandlish" title="User:SMcCandlish">SMcCandlish</a>:</span> If you want to access data passed to Lua in nowiki tags, you can do so with <a href="https://www.mediawiki.org/wiki/LUAREF#mw.text.unstripNoWiki" class="extiw" title="mw:LUAREF">mw.text.unstripNoWiki</a>, like <a class="external text" href="https://en.wikipedia.org/w/index.php?title=Module:StripToNumbers&amp;diff=672080679&amp;oldid=672013712">this</a>. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-07-19T03:51:00.000Z-SMcCandlish-2015-07-18T16:54:00.000Z" class="ext-discussiontools-init-timestamplink">03:51, 19 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-07-19T03:51:00.000Z-SMcCandlish-2015-07-18T16:54:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-19T03:51:00.000Z","author":"Mr. Stradivarius","type":"comment","level":6,"id":"c-Mr._Stradivarius-2015-07-19T03:51:00.000Z-SMcCandlish-2015-07-18T16:54:00.000Z","replies":["c-SMcCandlish-2015-07-23T18:55:00.000Z-Mr._Stradivarius-2015-07-19T03:51:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-07-19T03:51:00.000Z-SMcCandlish-2015-07-18T16:54:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-SMcCandlish-2015-07-23T18:55:00.000Z-Mr._Stradivarius-2015-07-19T03:51:00.000Z"></span>Nice. Thanks for fixing that in the template. <span style="white-space:nowrap;font-family:'Trebuchet MS'"> — <a href="/wiki/User:SMcCandlish" title="User:SMcCandlish"><b>SMcCandlish</b> ☺</a> <a href="/wiki/User_talk:SMcCandlish" title="User talk:SMcCandlish">☏</a> <a href="/wiki/Special:Contributions/SMcCandlish" title="Special:Contributions/SMcCandlish">¢</a> ≽<sup>ʌ</sup>ⱷ҅<sub>ᴥ</sub>ⱷ<sup>ʌ</sup>≼ </span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SMcCandlish-2015-07-23T18:55:00.000Z-Mr._Stradivarius-2015-07-19T03:51:00.000Z" class="ext-discussiontools-init-timestamplink">18:55, 23 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SMcCandlish-2015-07-23T18:55:00.000Z-Mr._Stradivarius-2015-07-19T03:51:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-23T18:55:00.000Z","author":"SMcCandlish","type":"comment","level":7,"id":"c-SMcCandlish-2015-07-23T18:55:00.000Z-Mr._Stradivarius-2015-07-19T03:51:00.000Z","replies":[],"displayName":"SMcCandlish \u263a"}}--></span><span data-mw-comment-end="c-SMcCandlish-2015-07-23T18:55:00.000Z-Mr._Stradivarius-2015-07-19T03:51:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-SMcCandlish-2015-07-23T18:55:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Breadcrumb_version_of_Module:Multi-section_link-2015-07-23T18:55:00.000Z&quot;,&quot;replies&quot;:[&quot;c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Breadcrumb version of Module:Multi-section link&quot;,&quot;linkableTitle&quot;:&quot;Breadcrumb version of Module:Multi-section link&quot;}--><h2 id="Breadcrumb_version_of_Module:Multi-section_link" data-mw-thread-id="h-Breadcrumb_version_of_Module:Multi-section_link-2015-07-23T18:55:00.000Z"><span data-mw-comment-start="" id="h-Breadcrumb_version_of_Module:Multi-section_link-2015-07-23T18:55:00.000Z"></span>Breadcrumb version of <a href="/wiki/Module:Multi-section_link" title="Module:Multi-section link">Module:Multi-section link</a><span data-mw-comment-end="h-Breadcrumb_version_of_Module:Multi-section_link-2015-07-23T18:55:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-SMcCandlish-2015-07-23T18:55:00.000Z","type":"heading","level":0,"id":"h-Breadcrumb_version_of_Module:Multi-section_link-2015-07-23T18:55:00.000Z","replies":["c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link","timestamp":"2015-07-23T18:55:00.000Z"}__--><!--__DTCOMMENTCOUNT__1__--><!--__DTAUTHORCOUNT__1__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-SMcCandlish-2015-07-23T18:55:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Breadcrumb_version_of_Module:Multi-section_link-2015-07-23T18:55:00.000Z&quot;,&quot;replies&quot;:[&quot;c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Breadcrumb version of Module:Multi-section link&quot;,&quot;linkableTitle&quot;:&quot;Breadcrumb version of Module:Multi-section link&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link"></span>Please see <a href="/wiki/Template_talk:Multi-section_link#Development_request" title="Template talk:Multi-section link">Template talk:Multi-section link#Development request</a>. Short version: Need variant that links each sectional name, not just the last one. <span style="white-space:nowrap;font-family:'Trebuchet MS'"> — <a href="/wiki/User:SMcCandlish" title="User:SMcCandlish"><b>SMcCandlish</b> ☺</a> <a href="/wiki/User_talk:SMcCandlish" title="User talk:SMcCandlish">☏</a> <a href="/wiki/Special:Contributions/SMcCandlish" title="Special:Contributions/SMcCandlish">¢</a> ≽<sup>ʌ</sup>ⱷ҅<sub>ᴥ</sub>ⱷ<sup>ʌ</sup>≼ </span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link" class="ext-discussiontools-init-timestamplink">18:55, 23 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-23T18:55:00.000Z","author":"SMcCandlish","type":"comment","level":1,"id":"c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link","replies":[],"displayName":"SMcCandlish \u263a"}}--></span><span data-mw-comment-end="c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-197.218.89.127-2015-08-15T14:49:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables-2015-08-15T14:49:00.000Z&quot;,&quot;replies&quot;:[&quot;c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Collaboration with wikia on module development and auto summation in tables&quot;,&quot;linkableTitle&quot;:&quot;Collaboration with wikia on module development and auto summation in tables&quot;}--><h2 id="Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables" data-mw-thread-id="h-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables-2015-08-15T14:49:00.000Z"><span data-mw-comment-start="" id="h-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables-2015-08-15T14:49:00.000Z"></span>Collaboration with wikia on module development and auto summation in tables<span data-mw-comment-end="h-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables-2015-08-15T14:49:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-197.218.89.127-2015-08-15T14:49:00.000Z","type":"heading","level":0,"id":"h-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables-2015-08-15T14:49:00.000Z","replies":["c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables","timestamp":"2015-08-15T14:49:00.000Z"}__--><!--__DTCOMMENTCOUNT__1__--><!--__DTAUTHORCOUNT__1__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-197.218.89.127-2015-08-15T14:49:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables-2015-08-15T14:49:00.000Z&quot;,&quot;replies&quot;:[&quot;c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Collaboration with wikia on module development and auto summation in tables&quot;,&quot;linkableTitle&quot;:&quot;Collaboration with wikia on module development and auto summation in tables&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables"></span>After going through these requests, I found and completed a recent one(<a href="/wiki/Wikipedia:Lua/Requests/Archive_4#table_with_automatic_summation" title="Wikipedia:Lua/Requests/Archive 4">here</a>) that I've wanted to create since lua was announced in wikia: </p><p>Anyway, in wikia modules are listed <a rel="nofollow" class="external autonumber" href="//dev.wikia.com/List_of_Lua_Modules%7Chere">[1]</a> so feel free to import any modules you find useful (I've shamelessly imported many from here anyway :). Unlike mediawiki's scribunto, wikia has global modules that can be accessed from any other wikia, however they haven't really become popular yet (almost nobody adds modules to dev.wikia). So maybe those interested can import modules from there to here or here to there or even collaborate on some modules. </p><p>Wikia's scribunto doesn't have all libraries available in mediawiki though, so some scripts that work here may not work there. </p><p>Announcement,module and github merge: </p> <ul><li><a rel="nofollow" class="external text" href="http://community.wikia.com/wiki/User_blog%3AKirkburn%2FTechnical_Update%3A_June_24%2C_2015">Announcement</a></li> <li><a rel="nofollow" class="external text" href="https://github.com/Wikia/app/pull/4550">Merge</a></li> <li><a rel="nofollow" class="external text" href="http://dev.wikia.com/wiki/Module:Autocalctable">Module:Autocalctable</a></li></ul> <p>Dessamator <a href="/wiki/Special:Contributions/197.218.89.127" title="Special:Contributions/197.218.89.127">197.218.89.127</a> (<a href="/w/index.php?title=User_talk:197.218.89.127&amp;action=edit&amp;redlink=1" class="new" title="User talk:197.218.89.127 (page does not exist)">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables" class="ext-discussiontools-init-timestamplink">14:49, 15 August 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-08-15T14:49:00.000Z","author":"197.218.89.127","type":"comment","level":1,"id":"c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables","replies":[]}}--></span><span data-mw-comment-end="c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Jarble-2015-06-19T01:27:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Re-write_Template:World_topic_as_a_Lua_module-2015-06-19T01:27:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Jarble-2015-06-19T01:27:00.000Z-Re-write_Template:World_topic_as_a_Lua_module&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Re-write Template:World topic as a Lua module&quot;,&quot;linkableTitle&quot;:&quot;Re-write Template:World topic as a Lua module&quot;}--><h2 id="Re-write_Template:World_topic_as_a_Lua_module" data-mw-thread-id="h-Re-write_Template:World_topic_as_a_Lua_module-2015-06-19T01:27:00.000Z"><span data-mw-comment-start="" id="h-Re-write_Template:World_topic_as_a_Lua_module-2015-06-19T01:27:00.000Z"></span>Re-write <a href="/wiki/Template:World_topic" title="Template:World topic">Template:World topic</a> as a Lua module<span data-mw-comment-end="h-Re-write_Template:World_topic_as_a_Lua_module-2015-06-19T01:27:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Jarble-2015-06-19T01:27:00.000Z","type":"heading","level":0,"id":"h-Re-write_Template:World_topic_as_a_Lua_module-2015-06-19T01:27:00.000Z","replies":["c-Jarble-2015-06-19T01:27:00.000Z-Re-write_Template:World_topic_as_a_Lua_module"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-SiBr4-2015-10-07T19:06:00.000Z-SiBr4-2015-07-23T21:31:00.000Z","timestamp":"2015-10-07T19:06:00.000Z"}__--><!--__DTCOMMENTCOUNT__9__--><!--__DTAUTHORCOUNT__4__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Jarble-2015-06-19T01:27:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Re-write_Template:World_topic_as_a_Lua_module-2015-06-19T01:27:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Jarble-2015-06-19T01:27:00.000Z-Re-write_Template:World_topic_as_a_Lua_module&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Re-write Template:World topic as a Lua module&quot;,&quot;linkableTitle&quot;:&quot;Re-write Template:World topic as a Lua module&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Jarble-2015-06-19T01:27:00.000Z-Re-write_Template:World_topic_as_a_Lua_module"></span>The source code of this template is verbose, redundant, and difficult to read. It should be re-written as a Lua module so that it can be maintained more easily. <a href="/wiki/User:Jarble" title="User:Jarble">Jarble</a> (<a href="/wiki/User_talk:Jarble" title="User talk:Jarble">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Jarble-2015-06-19T01:27:00.000Z-Re-write_Template:World_topic_as_a_Lua_module" class="ext-discussiontools-init-timestamplink">01:27, 19 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jarble-2015-06-19T01:27:00.000Z-Re-write_Template:World_topic_as_a_Lua_module"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-19T01:27:00.000Z","author":"Jarble","type":"comment","level":1,"id":"c-Jarble-2015-06-19T01:27:00.000Z-Re-write_Template:World_topic_as_a_Lua_module","replies":["c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-06-19T16:00:00.000Z-Jarble-2015-06-19T01:27:00.000Z","c-Snaevar-2015-07-02T15:06:00.000Z-Jarble-2015-06-19T01:27:00.000Z"]}}--></span><span data-mw-comment-end="c-Jarble-2015-06-19T01:27:00.000Z-Re-write_Template:World_topic_as_a_Lua_module"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-קיפודנחש-2015-06-19T16:00:00.000Z-Jarble-2015-06-19T01:27:00.000Z"></span>lua may make life easier a tad (though i actually doubt it), but there is no real need for lua in order to make this more manageable: the template is extremely repetitive, and lends itself easily to improvement by simple use of some helper template (say, one that will accept prefix, suffix, noredlinks and the actual country name, and will do the right thing). the main template then will look something like</dd></dl> <pre>{{helper| {{{prefix|}}} | {{{suffix|}}} | {{{noredlinks|}}} | Angola }} {{helper| {{{prefix|}}} | {{{suffix|}}} | {{{noredlinks|}}} | Denmark }} ... (repeat for all countries) </pre> <dl><dd>this may still look a bit cumbersome, but it's a dramatic improvement over current state: all the #if and #ifexist are delegated to the helper template, and of course, the helper is not at all repetitive - it only does whatever it needs to do once.</dd> <dd>as a side, i'll mention that #ifexist is in the list of "<a href="/wiki/Wikipedia:EXPENSIVE" class="mw-redirect" title="Wikipedia:EXPENSIVE">expensive parser functions</a>" (using lua will make no difference here - calling an expensive function from lua is just as expensive...), and its usage in this template seems to me to be sailing very close to the wind (i did not count, but there's a*lot* of countries...).</dd> <dd>peace - <a href="/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User:קיפודנחש">קיפודנחש (aka kipod)</a> (<a href="/wiki/User_talk:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User talk:קיפודנחש">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-קיפודנחש-2015-06-19T16:00:00.000Z-Jarble-2015-06-19T01:27:00.000Z" class="ext-discussiontools-init-timestamplink">16:00, 19 June 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-קיפודנחש-2015-06-19T16:00:00.000Z-Jarble-2015-06-19T01:27:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-06-19T16:00:00.000Z","author":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9","type":"comment","level":2,"id":"c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-06-19T16:00:00.000Z-Jarble-2015-06-19T01:27:00.000Z","replies":[],"displayName":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9 (aka kipod)"}}--></span><span data-mw-comment-end="c-קיפודנחש-2015-06-19T16:00:00.000Z-Jarble-2015-06-19T01:27:00.000Z"></span></dd> <dd><span data-mw-comment-start="" id="c-Snaevar-2015-07-02T15:06:00.000Z-Jarble-2015-06-19T01:27:00.000Z"></span>I am taking this task, making an module instead of template:world topic.--<a href="/wiki/User:Snaevar" class="mw-redirect" title="User:Snaevar">Snaevar</a> (<a href="/wiki/User_talk:Snaevar" class="mw-redirect" title="User talk:Snaevar">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Snaevar-2015-07-02T15:06:00.000Z-Jarble-2015-06-19T01:27:00.000Z" class="ext-discussiontools-init-timestamplink">15:06, 2 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Snaevar-2015-07-02T15:06:00.000Z-Jarble-2015-06-19T01:27:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-02T15:06:00.000Z","author":"Snaevar","type":"comment","level":2,"id":"c-Snaevar-2015-07-02T15:06:00.000Z-Jarble-2015-06-19T01:27:00.000Z","replies":["c-SiBr4-2015-07-23T21:31:00.000Z-Snaevar-2015-07-02T15:06:00.000Z"]}}--></span><span data-mw-comment-end="c-Snaevar-2015-07-02T15:06:00.000Z-Jarble-2015-06-19T01:27:00.000Z"></span> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-SiBr4-2015-07-23T21:31:00.000Z-Snaevar-2015-07-02T15:06:00.000Z"></span>@<a href="/wiki/User:Snaevar" class="mw-redirect" title="User:Snaevar">Snaevar</a>:</span> I've been <a class="external text" href="https://en.wikipedia.org/w/index.php?title=User:SiBr4/sandbox&amp;oldid=671617941#Lua_test_8">working on</a> a version of the new <a href="/wiki/Module:World_topic" title="Module:World topic">Module:World topic</a> that loads the country data from a separate page (incomplete for testing purposes) to allow the main code to be reused for other region-topic templates (as described at the templates' entry in <a href="/wiki/Wikipedia:Lua/To_do" title="Wikipedia:Lua/To do">WP:Lua/To do</a>). It includes most of the features of <span class="nowrap">{{</span><a href="/wiki/Template:Europe_topic" title="Template:Europe topic">Europe topic</a><span class="nowrap">}}</span> et al. that the current code in Module:World topic doesn't have: <ul><li>Support for multiple navbox groups (e.g. "sovereign states", "states with limited recognition", "dependencies");</li> <li>Country-specific parameters to individually enable or remove entries, or change the link targets (e.g. <code class="tpl-para" style="word-break:break-word;">|GE=Foo of Georgia</code>);</li> <li>Option for a switch to enable/disable multiple entries simultaneously, and to hide specific entries by default;</li> <li>An <code class="tpl-para" style="word-break:break-word;">|article=</code> parameter to either enforce or prevent the definite article (using the current "prefix but no suffix" rule if unspecified);</li> <li>No automatic space between prefix/suffix and country name if unnamed parameters are used, allowing constructions in which a non-space character directly precedes or follows the country name (e.g. <a href="/wiki/Index_of_Peru-related_articles" title="Index of Peru-related articles">Index of Peru-related articles</a>).</li></ul></dd> <dd>It additionally removes the need to explicitly number the countries and manually change over a hundred numbers when adding or removing entries in the first part of the alphabet (like <a href="/wiki/Special:Diff/671148657" title="Special:Diff/671148657">here</a>). Though some more features will be needed to fully replace some continent-topic templates, e.g. sub-lists for England etc. in Europe topic, could this be useful for the Lua-based version of World topic? (I'll do some more extensive testing at <a href="/wiki/Template:World_topic/sandbox" title="Template:World topic/sandbox">Template:World topic/sandbox</a> if so.) <span style="font-family:serif;"><a href="/wiki/User:SiBr4" title="User:SiBr4">SiBr<sub>4</sub></a> (<a href="/wiki/User_talk:SiBr4" title="User talk:SiBr4">talk</a>)</span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SiBr4-2015-07-23T21:31:00.000Z-Snaevar-2015-07-02T15:06:00.000Z" class="ext-discussiontools-init-timestamplink">21:31, 23 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SiBr4-2015-07-23T21:31:00.000Z-Snaevar-2015-07-02T15:06:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-23T21:31:00.000Z","author":"SiBr4","type":"comment","level":3,"id":"c-SiBr4-2015-07-23T21:31:00.000Z-Snaevar-2015-07-02T15:06:00.000Z","replies":["c-Snaevar-2015-07-24T16:31:00.000Z-SiBr4-2015-07-23T21:31:00.000Z","c-SiBr4-2015-10-07T19:06:00.000Z-SiBr4-2015-07-23T21:31:00.000Z"]}}--></span><span data-mw-comment-end="c-SiBr4-2015-07-23T21:31:00.000Z-Snaevar-2015-07-02T15:06:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Snaevar-2015-07-24T16:31:00.000Z-SiBr4-2015-07-23T21:31:00.000Z"></span>I think it is not worth making an unified module for world topic, Euro topic, Asia topic etc. Instead I would like to see the country table in Module:World topic to be moved to an submodule that would be shared with another module that would cover Euro topic and Asia topic. Changing Module:World topic to use an country table from another module would be pretty trivial (in therms of difficulty) for me to do.</dd> <dd>World topic does take an different approach than the Euro topic and Asia topic templates. I would not want to see the redlink check from World topic in euro topic - for the reasons kipod mentioned earlier. In a similar way, the features of Euro topic are not of much use to world topic.</dd> <dd>Writing that though, I still think that the countries in the country table should not be numbered, as I am very much aware how much of an issue that would be to maintain.--<a href="/wiki/User:Snaevar" class="mw-redirect" title="User:Snaevar">Snaevar</a> (<a href="/wiki/User_talk:Snaevar" class="mw-redirect" title="User talk:Snaevar">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Snaevar-2015-07-24T16:31:00.000Z-SiBr4-2015-07-23T21:31:00.000Z" class="ext-discussiontools-init-timestamplink">16:31, 24 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Snaevar-2015-07-24T16:31:00.000Z-SiBr4-2015-07-23T21:31:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-24T16:31:00.000Z","author":"Snaevar","type":"comment","level":4,"id":"c-Snaevar-2015-07-24T16:31:00.000Z-SiBr4-2015-07-23T21:31:00.000Z","replies":["c-SiBr4-2015-07-24T22:41:00.000Z-Snaevar-2015-07-24T16:31:00.000Z"]}}--></span><span data-mw-comment-end="c-Snaevar-2015-07-24T16:31:00.000Z-SiBr4-2015-07-23T21:31:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-SiBr4-2015-07-24T22:41:00.000Z-Snaevar-2015-07-24T16:31:00.000Z"></span>I disagree that the features of the other topic templates could not be useful to World topic or vice versa. For example, country-specific parameters are necessary for individually correcting links and <a href="/wiki/Wikipedia:BRINT" class="mw-redirect" title="Wikipedia:BRINT">avoiding redirects</a> if not all titles follow the exact same format or the linking names from the data page, and the article parameter is useful if the default rule for including the definite article (prefix and no suffix) gives false positives or negatives.</dd> <dd>Automatically omitting non-existing articles would always be optional and opt-in, as it currently is in World topic; it could be easily explained in the template documentation that the feature is expensive and should not be used unless necessary. It would also be much less expensive in continent-topic templates than it is in World topic, since the former have fewer links (&lt;60 as opposed to ±200), and thus fewer existence checks.</dd> <dd>I'm not sure I understand your alternative proposal; I read it to be that a single country list is used by all region-topic templates, while a separate formatting module is made for the continents (or even for each continent separately). I don't know how easy a unified data page would be to implement, though, and per the above I think there should be a single module with the main code, if only for consistency. <span style="font-family:serif;"><a href="/wiki/User:SiBr4" title="User:SiBr4">SiBr<sub>4</sub></a> (<a href="/wiki/User_talk:SiBr4" title="User talk:SiBr4">talk</a>)</span> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SiBr4-2015-07-24T22:41:00.000Z-Snaevar-2015-07-24T16:31:00.000Z" class="ext-discussiontools-init-timestamplink">22:41, 24 July 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SiBr4-2015-07-24T22:41:00.000Z-Snaevar-2015-07-24T16:31:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-07-24T22:41:00.000Z","author":"SiBr4","type":"comment","level":5,"id":"c-SiBr4-2015-07-24T22:41:00.000Z-Snaevar-2015-07-24T16:31:00.000Z","replies":["c-Snaevar-2015-08-23T20:06:00.000Z-SiBr4-2015-07-24T22:41:00.000Z"]}}--></span><span data-mw-comment-end="c-SiBr4-2015-07-24T22:41:00.000Z-Snaevar-2015-07-24T16:31:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Snaevar-2015-08-23T20:06:00.000Z-SiBr4-2015-07-24T22:41:00.000Z"></span>I think you have addressed the conserns that I had over merging the topic templates. I am fine with merging those templates into one module. I am still going to watch World topic and if I come up with something that goes in the same direction as you are going with this, then I will suggest it.</dd> <dd>The fact that I am fine with your proposal makes the following paragraph about my alternate proposal kind of pointless, but here it is non the less.</dd> <dd>You did understand my alternate proposal correctly. As long as the table contains information about which continent the country is in, it is possible to format the table for the continents. The main usecase would be to make it easier for users to update the list, by editing one list instead of several. If that is not worth it, then so be it. I am only throwing ideas around at this stage anyway.--<a href="/wiki/User:Snaevar" class="mw-redirect" title="User:Snaevar">Snaevar</a> (<a href="/wiki/User_talk:Snaevar" class="mw-redirect" title="User talk:Snaevar">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Snaevar-2015-08-23T20:06:00.000Z-SiBr4-2015-07-24T22:41:00.000Z" class="ext-discussiontools-init-timestamplink">20:06, 23 August 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Snaevar-2015-08-23T20:06:00.000Z-SiBr4-2015-07-24T22:41:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-08-23T20:06:00.000Z","author":"Snaevar","type":"comment","level":6,"id":"c-Snaevar-2015-08-23T20:06:00.000Z-SiBr4-2015-07-24T22:41:00.000Z","replies":["c-SiBr4-2015-08-24T15:31:00.000Z-Snaevar-2015-08-23T20:06:00.000Z"]}}--></span><span data-mw-comment-end="c-Snaevar-2015-08-23T20:06:00.000Z-SiBr4-2015-07-24T22:41:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-SiBr4-2015-08-24T15:31:00.000Z-Snaevar-2015-08-23T20:06:00.000Z"></span>A separate "continent" field to allow a single country list could work, but that would get somewhat complicated (though not impossible) with transcontinental countries such as Russia. With separate lists of countries, any change for non-transcontinental countries would have to be made at two pages (those for the respective continent and the world); more if region-topic templates such as the <a href="/wiki/Template:Americas_topic" title="Template:Americas topic">Americas</a>, <a href="/wiki/Template:Southeast_Asia_topic" title="Template:Southeast Asia topic">Southeast Asia</a> and <a href="/wiki/Template:Central_America_topic" title="Template:Central America topic">Central America</a> are included. Separate lists would be needed anyway if templates listing subnational entities (<a href="/wiki/Template:Brazil_topic" title="Template:Brazil topic">Brazil</a>, <a href="/w/index.php?title=Template:United_Kingdom_topic&amp;action=edit&amp;redlink=1" class="new" title="Template:United Kingdom topic (page does not exist)">UK</a>, etc.) are also converted. <a href="/wiki/User:SiBr4" title="User:SiBr4"><span title="User:SiBr₄">SiBr<sub>4</sub></span></a> (<a href="/wiki/User_talk:SiBr4" title="User talk:SiBr4"><span title="User talk:SiBr₄">talk</span></a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SiBr4-2015-08-24T15:31:00.000Z-Snaevar-2015-08-23T20:06:00.000Z" class="ext-discussiontools-init-timestamplink">15:31, 24 August 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SiBr4-2015-08-24T15:31:00.000Z-Snaevar-2015-08-23T20:06:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-08-24T15:31:00.000Z","author":"SiBr4","type":"comment","level":7,"id":"c-SiBr4-2015-08-24T15:31:00.000Z-Snaevar-2015-08-23T20:06:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-SiBr4-2015-08-24T15:31:00.000Z-Snaevar-2015-08-23T20:06:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd> <dd><span data-mw-comment-start="" id="c-SiBr4-2015-10-07T19:06:00.000Z-SiBr4-2015-07-23T21:31:00.000Z"></span>I moved my test module to <a href="/wiki/Module:Region_topic" title="Module:Region topic">Module:Region topic</a> one week after my previous comment, and started sandboxing replacements for the existing continent templates (<a href="/wiki/Template:Asia_topic/sandbox" title="Template:Asia topic/sandbox">Asia</a>, <a href="/wiki/Template:North_America_topic/sandbox" title="Template:North America topic/sandbox">North America</a>) afterwards. I think I'll start a discussion at the centralized <a href="/wiki/Template_talk:About_continent_and_region_topic_templates" title="Template talk:About continent and region topic templates">Template talk:About continent and region topic templates</a> regarding the Lua replacements—probably a better page than this. <a href="/wiki/User:SiBr4" title="User:SiBr4"><span title="User:SiBr₄">SiBr<sub>4</sub></span></a> (<a href="/wiki/User_talk:SiBr4" title="User talk:SiBr4"><span title="User talk:SiBr₄">talk</span></a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-SiBr4-2015-10-07T19:06:00.000Z-SiBr4-2015-07-23T21:31:00.000Z" class="ext-discussiontools-init-timestamplink">19:06, 7 October 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SiBr4-2015-10-07T19:06:00.000Z-SiBr4-2015-07-23T21:31:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-10-07T19:06:00.000Z","author":"SiBr4","type":"comment","level":4,"id":"c-SiBr4-2015-10-07T19:06:00.000Z-SiBr4-2015-07-23T21:31:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-SiBr4-2015-10-07T19:06:00.000Z-SiBr4-2015-07-23T21:31:00.000Z"></span></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Doc_Taxon-2015-10-12T15:07:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Loops_and_Lua-2015-10-12T15:07:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Doc_Taxon-2015-10-12T15:07:00.000Z-Loops_and_Lua&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Loops and Lua&quot;,&quot;linkableTitle&quot;:&quot;Loops and Lua&quot;}--><h2 id="Loops_and_Lua" data-mw-thread-id="h-Loops_and_Lua-2015-10-12T15:07:00.000Z"><span data-mw-comment-start="" id="h-Loops_and_Lua-2015-10-12T15:07:00.000Z"></span>Loops and Lua<span data-mw-comment-end="h-Loops_and_Lua-2015-10-12T15:07:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Doc_Taxon-2015-10-12T15:07:00.000Z","type":"heading","level":0,"id":"h-Loops_and_Lua-2015-10-12T15:07:00.000Z","replies":["c-Doc_Taxon-2015-10-12T15:07:00.000Z-Loops_and_Lua"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Mr._Stradivarius-2015-10-16T10:12:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-10-13T20:08:00.000Z","timestamp":"2015-10-16T10:12:00.000Z"}__--><!--__DTCOMMENTCOUNT__5__--><!--__DTAUTHORCOUNT__5__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Doc_Taxon-2015-10-12T15:07:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Loops_and_Lua-2015-10-12T15:07:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Doc_Taxon-2015-10-12T15:07:00.000Z-Loops_and_Lua&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Loops and Lua&quot;,&quot;linkableTitle&quot;:&quot;Loops and Lua&quot;}--></div></div></div> <p><a href="/wiki/Module:User:Doc_Taxon/Hello" title="Module:User:Doc Taxon/Hello"><span data-mw-comment-start="" id="c-Doc_Taxon-2015-10-12T15:07:00.000Z-Loops_and_Lua"></span>Module:User:Doc Taxon/Hello</a> and <a href="/wiki/User:Doc_Taxon/Hello" title="User:Doc Taxon/Hello">user:Doc Taxon/Hello</a> </p><p>Hi, I am looking for help creating a loop by Lua. I want the script to output the hello line 5 times, but I get back this: "Lua error in Module:User:Doc_Taxon/Hello at line 10: attempt to concatenate global 'u' (a table value)." What can I do? Thank you very much <a href="/wiki/User:Doc_Taxon" title="User:Doc Taxon">Doc Taxon</a> (<a href="/wiki/User_talk:Doc_Taxon" title="User talk:Doc Taxon">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Doc_Taxon-2015-10-12T15:07:00.000Z-Loops_and_Lua" class="ext-discussiontools-init-timestamplink">15:07, 12 October 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Doc_Taxon-2015-10-12T15:07:00.000Z-Loops_and_Lua"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-10-12T15:07:00.000Z","author":"Doc Taxon","type":"comment","level":1,"id":"c-Doc_Taxon-2015-10-12T15:07:00.000Z-Loops_and_Lua","replies":["c-JohnBlackburne-2015-10-12T15:58:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z","c-Johnuniq-2015-10-13T02:19:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z"]}}--></span><span data-mw-comment-end="c-Doc_Taxon-2015-10-12T15:07:00.000Z-Loops_and_Lua"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-JohnBlackburne-2015-10-12T15:58:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z"></span>You initiated u as a table, it needs to be a string. An easy fix so I’ve gone ahead, everything else in it seems fine.--<small><a href="/wiki/User:JohnBlackburne" title="User:JohnBlackburne">JohnBlackburne</a></small><sup><a href="/wiki/User_talk:JohnBlackburne" title="User talk:JohnBlackburne">words</a></sup><sub style="margin-left:-2.0ex;"><a href="/wiki/Special:Contributions/JohnBlackburne" title="Special:Contributions/JohnBlackburne">deeds</a></sub> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-JohnBlackburne-2015-10-12T15:58:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z" class="ext-discussiontools-init-timestamplink">15:58, 12 October 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-JohnBlackburne-2015-10-12T15:58:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-10-12T15:58:00.000Z","author":"JohnBlackburne","type":"comment","level":2,"id":"c-JohnBlackburne-2015-10-12T15:58:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-JohnBlackburne-2015-10-12T15:58:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z"></span></dd> <dd><span data-mw-comment-start="" id="c-Johnuniq-2015-10-13T02:19:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z"></span>I edited the module to show how 'for' is used. There is rarely a need for 'repeat'. <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2015-10-13T02:19:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z" class="ext-discussiontools-init-timestamplink">02:19, 13 October 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2015-10-13T02:19:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-10-13T02:19:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2015-10-13T02:19:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z","replies":["c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-10-13T20:08:00.000Z-Johnuniq-2015-10-13T02:19:00.000Z"]}}--></span><span data-mw-comment-end="c-Johnuniq-2015-10-13T02:19:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-קיפודנחש-2015-10-13T20:08:00.000Z-Johnuniq-2015-10-13T02:19:00.000Z"></span>small style comment: it is very common to use boolean shortcut in lua, togehter with the fact that practically any type can be used as boolean. so instead of <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span> <span class="kd">local</span> <span class="n">name</span> <span class="o">=</span> <span class="n">frame</span><span class="p">.</span><span class="n">args</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="kr">if</span> <span class="ow">not</span> <span class="n">name</span> <span class="kr">then</span> <span class="n">name</span> <span class="o">=</span> <span class="s1">'World'</span> <span class="kr">end</span> </pre></div>, it is very common to write <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span> <span class="kd">local</span> <span class="n">name</span> <span class="o">=</span> <span class="n">frame</span><span class="p">.</span><span class="n">args</span><span class="p">[</span><span class="mi">1</span><span class="p">]</span> <span class="ow">or</span> <span class="s1">'World'</span> </pre></div>personally i find this syntax not only more succinct, but also clearer and easier to read. often times you see "a or b or c or d", which will evaluate to the first of those expressions that is not "false". this pattern exists in other languages, but there is a small pitfall here: in lua, only "false", null and "undefined" are false. 0, empty string, empty table etc. are all "true". also note the "shortcut" part: the expression will stop evaluating once the outcome is known, so you can handily use it for control: e.g., instead of <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="kr">if</span> <span class="ow">not</span> <span class="n">a</span> <span class="kr">then</span> <span class="n">do_something</span><span class="p">()</span> <span class="kr">end</span> </pre></div> you can simply write <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="n">a</span> <span class="ow">or</span> <span class="n">do_something</span><span class="p">()</span> </pre></div>in addition to being shorter and sweeter, the 2nd example actually return the value (either of a or the return value of the function). similarly, instead of <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="kr">if</span> <span class="n">a</span> <span class="kr">then</span> <span class="n">do_something</span><span class="p">()</span> <span class="kr">end</span> </pre></div>you can write <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="n">a</span> <span class="ow">and</span> <span class="n">do_something</span><span class="p">()</span> </pre></div>some of the developers frequenting this page may scoff at this style, but i find it preferable, and it is very common among lua programmers, so even if you do not want to write this way, it's at least a good idea getting used to reading it.</dd> <dd>peace. <small><span class="autosigned">— Preceding <a href="/wiki/Wikipedia:Signatures" title="Wikipedia:Signatures">unsigned</a> comment added by <a href="/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User:קיפודנחש">קיפודנחש</a> (<a href="/wiki/User_talk:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User talk:קיפודנחש">talk</a> • <a href="/wiki/Special:Contributions/%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="Special:Contributions/קיפודנחש">contribs</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-קיפודנחש-2015-10-13T20:08:00.000Z-Johnuniq-2015-10-13T02:19:00.000Z" class="ext-discussiontools-init-timestamplink">20:08, 13 October 2015 (UTC)</a></span></small><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-קיפודנחש-2015-10-13T20:08:00.000Z-Johnuniq-2015-10-13T02:19:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-10-13T20:08:00.000Z","author":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9","type":"comment","level":3,"id":"c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-10-13T20:08:00.000Z-Johnuniq-2015-10-13T02:19:00.000Z","replies":["c-Mr._Stradivarius-2015-10-16T10:12:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-10-13T20:08:00.000Z"]}}--></span><span data-mw-comment-end="c-קיפודנחש-2015-10-13T20:08:00.000Z-Johnuniq-2015-10-13T02:19:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-10-16T10:12:00.000Z-קיפודנחש-2015-10-13T20:08:00.000Z"></span>Small nitpick: only <code class="mw-highlight mw-highlight-lang-lua mw-content-ltr" style="" dir="ltr"><span class="kc">false</span></code> and <code class="mw-highlight mw-highlight-lang-lua mw-content-ltr" style="" dir="ltr"><span class="kc">nil</span></code> are falsy in Lua. There is no distinction between <code>null</code> and <code>undefined</code> as there is in JavaScript, and in Lua the spelling is <code>nil</code>, never <code>null</code>. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-10-16T10:12:00.000Z-קיפודנחש-2015-10-13T20:08:00.000Z" class="ext-discussiontools-init-timestamplink">10:12, 16 October 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-10-16T10:12:00.000Z-קיפודנחש-2015-10-13T20:08:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-10-16T10:12:00.000Z","author":"Mr. Stradivarius","type":"comment","level":4,"id":"c-Mr._Stradivarius-2015-10-16T10:12:00.000Z-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2015-10-13T20:08:00.000Z","replies":[],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-10-16T10:12:00.000Z-קיפודנחש-2015-10-13T20:08:00.000Z"></span></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Finnusertop-2015-10-15T12:51:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Requesting_Module:Location_map\/data\/Pyongyang-2015-10-15T12:51:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Finnusertop-2015-10-15T12:51:00.000Z-Requesting_Module:Location_map\/data\/Pyongyang&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Requesting Module:Location map\/data\/Pyongyang&quot;,&quot;linkableTitle&quot;:&quot;Requesting Module:Location map\/data\/Pyongyang&quot;}--><h2 id="Requesting_Module:Location_map/data/Pyongyang" data-mw-thread-id="h-Requesting_Module:Location_map/data/Pyongyang-2015-10-15T12:51:00.000Z"><span id="Requesting_Module:Location_map.2Fdata.2FPyongyang"></span><span data-mw-comment-start="" id="h-Requesting_Module:Location_map/data/Pyongyang-2015-10-15T12:51:00.000Z"></span>Requesting <a href="/wiki/Module:Location_map/data/Pyongyang" title="Module:Location map/data/Pyongyang">Module:Location map/data/Pyongyang</a><span data-mw-comment-end="h-Requesting_Module:Location_map/data/Pyongyang-2015-10-15T12:51:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Finnusertop-2015-10-15T12:51:00.000Z","type":"heading","level":0,"id":"h-Requesting_Module:Location_map\/data\/Pyongyang-2015-10-15T12:51:00.000Z","replies":["c-Finnusertop-2015-10-15T12:51:00.000Z-Requesting_Module:Location_map\/data\/Pyongyang"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-MrPenguin20-2015-10-18T16:02:00.000Z-Finnusertop-2015-10-15T12:51:00.000Z","timestamp":"2015-10-18T16:02:00.000Z"}__--><!--__DTCOMMENTCOUNT__2__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Finnusertop-2015-10-15T12:51:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Requesting_Module:Location_map\/data\/Pyongyang-2015-10-15T12:51:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Finnusertop-2015-10-15T12:51:00.000Z-Requesting_Module:Location_map\/data\/Pyongyang&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Requesting Module:Location map\/data\/Pyongyang&quot;,&quot;linkableTitle&quot;:&quot;Requesting Module:Location map\/data\/Pyongyang&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Finnusertop-2015-10-15T12:51:00.000Z-Requesting_Module:Location_map/data/Pyongyang"></span>I'm requesting <a href="/wiki/Module:Location_map/data/Pyongyang" title="Module:Location map/data/Pyongyang">Module:Location map/data/Pyongyang</a> (cf. <a href="/wiki/Module:Location_map/data/Istanbul" title="Module:Location map/data/Istanbul">Module:Location map/data/Istanbul</a>). The map image can be found at <a href="/wiki/File:Map_Pyongyang.jpg" title="File:Map Pyongyang.jpg">File:Map Pyongyang.jpg</a>. The relevant country level location map template is at <a href="/w/index.php?title=Template:Location_map_North_Korea&amp;action=edit&amp;redlink=1" class="new" title="Template:Location map North Korea (page does not exist)">Template:Location map North Korea</a>. For reference, the requested module already exists on the French (<a href="https://fr.wikipedia.org/wiki/Mod%C3%A8le:G%C3%A9olocalisation/Pyongyang" class="extiw" title="fr:Modèle:Géolocalisation/Pyongyang">fr:Modèle:Géolocalisation/Pyongyang</a>) and Polish (<a href="https://pl.wikipedia.org/wiki/Szablon:Mapa_dane_Pjongjang" class="extiw" title="pl:Szablon:Mapa dane Pjongjang">pl:Szablon:Mapa dane Pjongjang</a>) language Wikipedias. <a href="/wiki/User:Finnusertop" title="User:Finnusertop">Finnusertop</a> (<a href="/wiki/User_talk:Finnusertop" title="User talk:Finnusertop">talk</a> | <a href="/wiki/User:Finnusertop/guestbook" title="User:Finnusertop/guestbook">guestbook</a> | <a href="/wiki/Special:Contributions/Finnusertop" title="Special:Contributions/Finnusertop">contribs</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Finnusertop-2015-10-15T12:51:00.000Z-Requesting_Module:Location_map/data/Pyongyang" class="ext-discussiontools-init-timestamplink">12:51, 15 October 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Finnusertop-2015-10-15T12:51:00.000Z-Requesting_Module:Location_map/data/Pyongyang"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-10-15T12:51:00.000Z","author":"Finnusertop","type":"comment","level":1,"id":"c-Finnusertop-2015-10-15T12:51:00.000Z-Requesting_Module:Location_map\/data\/Pyongyang","replies":["c-MrPenguin20-2015-10-18T16:02:00.000Z-Finnusertop-2015-10-15T12:51:00.000Z"]}}--></span><span data-mw-comment-end="c-Finnusertop-2015-10-15T12:51:00.000Z-Requesting_Module:Location_map/data/Pyongyang"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-MrPenguin20-2015-10-18T16:02:00.000Z-Finnusertop-2015-10-15T12:51:00.000Z"></span>Module is now up and running. <a href="/wiki/User:MrPenguin20" class="mw-redirect" title="User:MrPenguin20">MrPenguin20</a> (<a href="/wiki/User_talk:MrPenguin20" class="mw-redirect" title="User talk:MrPenguin20">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-MrPenguin20-2015-10-18T16:02:00.000Z-Finnusertop-2015-10-15T12:51:00.000Z" class="ext-discussiontools-init-timestamplink">16:02, 18 October 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-MrPenguin20-2015-10-18T16:02:00.000Z-Finnusertop-2015-10-15T12:51:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-10-18T16:02:00.000Z","author":"MrPenguin20","type":"comment","level":2,"id":"c-MrPenguin20-2015-10-18T16:02:00.000Z-Finnusertop-2015-10-15T12:51:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-MrPenguin20-2015-10-18T16:02:00.000Z-Finnusertop-2015-10-15T12:51:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-BurritoBazooka-2015-11-10T02:07:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o-2015-11-10T02:07:00.000Z&quot;,&quot;replies&quot;:[&quot;c-BurritoBazooka-2015-11-10T02:07:00.000Z-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Is it possible to get the dates of modification for files (in this case, files on Commons)?&quot;,&quot;linkableTitle&quot;:&quot;Is it possible to get the dates of modification for files (in this case, files on Commons)?&quot;}--><h2 id="Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_on_Commons)?" data-mw-thread-id="h-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o-2015-11-10T02:07:00.000Z"><span id="Is_it_possible_to_get_the_dates_of_modification_for_files_.28in_this_case.2C_files_on_Commons.29.3F"></span><span data-mw-comment-start="" id="h-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o-2015-11-10T02:07:00.000Z"></span>Is it possible to get the dates of modification for files (in this case, files on Commons)?<span data-mw-comment-end="h-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o-2015-11-10T02:07:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-BurritoBazooka-2015-11-10T02:07:00.000Z","type":"heading","level":0,"id":"h-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o-2015-11-10T02:07:00.000Z","replies":["c-BurritoBazooka-2015-11-10T02:07:00.000Z-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-BurritoBazooka-2015-11-10T02:49:00.000Z-Mr._Stradivarius-2015-11-10T02:46:00.000Z","timestamp":"2015-11-10T02:49:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-BurritoBazooka-2015-11-10T02:07:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o-2015-11-10T02:07:00.000Z&quot;,&quot;replies&quot;:[&quot;c-BurritoBazooka-2015-11-10T02:07:00.000Z-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Is it possible to get the dates of modification for files (in this case, files on Commons)?&quot;,&quot;linkableTitle&quot;:&quot;Is it possible to get the dates of modification for files (in this case, files on Commons)?&quot;}--></div></div></div> <p><small><span data-mw-comment-start="" id="c-BurritoBazooka-2015-11-10T02:07:00.000Z-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o"></span>Previously, I <a href="/wiki/Template:Ping" class="mw-redirect" title="Template:Ping">pinged</a> some users to bring attention to this discussion. Their attention was no longer needed after the reply below. Sorry for the inconvenience.</small><br/> Right now, Commons has <a href="/wiki/File:Syrian,_Iraqi,_and_Lebanese_insurgencies.png" title="File:Syrian, Iraqi, and Lebanese insurgencies.png">a</a> <a href="/wiki/File:Iraq_war_map.png" title="File:Iraq war map.png">collection</a> <a href="/wiki/File:Syrian_civil_war.png" title="File:Syrian civil war.png">of</a> <a href="/wiki/File:Lebanese_insurgency.png" title="File:Lebanese insurgency.png">war</a> <a href="/wiki/File:Yemen_war_detailed_map.png" title="File:Yemen war detailed map.png">maps</a> which are frequently updated using data from collaboration which happens on the English Wikipedia for each map. A problem exists where the date these war map images were last updated needs to be distributed to articles which use the maps, so that users can know how up-to-date they are ("current as of 10 Nov 2015" or something). This problem is currently being solved using <a href="/wiki/Module:Iraq_Syria_map_date" title="Module:Iraq Syria map date">this module which might as well be a template</a> and has to be manually updated. Is it possible, using Lua, to automate the retrieval of this date, or possibly generalise it to any file so that future maps can also have this convention applied to them? If it isn't possible using lua, I'm strongly considering writing a bot which does this automatically. Thanks in advance. --<a href="/w/index.php?title=User:BurritoBazooka&amp;action=edit&amp;redlink=1" class="new" title="User:BurritoBazooka (page does not exist)">BurritoBazooka</a> (<a href="/wiki/User_talk:BurritoBazooka" title="User talk:BurritoBazooka">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-BurritoBazooka-2015-11-10T02:07:00.000Z-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o" class="ext-discussiontools-init-timestamplink">02:07, 10 November 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-BurritoBazooka-2015-11-10T02:07:00.000Z-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-10T02:07:00.000Z","author":"BurritoBazooka","type":"comment","level":1,"id":"c-BurritoBazooka-2015-11-10T02:07:00.000Z-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o","replies":["c-Mr._Stradivarius-2015-11-10T02:46:00.000Z-BurritoBazooka-2015-11-10T02:07:00.000Z"]}}--></span><span data-mw-comment-end="c-BurritoBazooka-2015-11-10T02:07:00.000Z-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o"></span> </p> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-11-10T02:46:00.000Z-BurritoBazooka-2015-11-10T02:07:00.000Z"></span>@<a href="/w/index.php?title=User:BurritoBazooka&amp;action=edit&amp;redlink=1" class="new" title="User:BurritoBazooka (page does not exist)">BurritoBazooka</a>:</span> No, this isn't possible at the moment. You can see the file metadata available to Lua <a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#File_metadata" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">here</a>, but the time of last update isn't in there. The closest we have is <code>{{REVISIONTIMESTAMP: File:<i>filename</i>}}</code>, but that only works for files on the local wiki, and it also includes edits to the file description page as well as new uploads. If that works for you, you can call it from Lua using <code class="mw-highlight mw-highlight-lang-lua mw-content-ltr" style="" dir="ltr"><span class="n">frame</span><span class="p">:</span><span class="n">callParserFunction</span><span class="p">(</span><span class="s1">'REVISIONTIMESTAMP'</span><span class="p">,</span> <span class="s1">'File:Filename'</span><span class="p">)</span></code>. Best — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-11-10T02:46:00.000Z-BurritoBazooka-2015-11-10T02:07:00.000Z" class="ext-discussiontools-init-timestamplink">02:46, 10 November 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-11-10T02:46:00.000Z-BurritoBazooka-2015-11-10T02:07:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-10T02:46:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-11-10T02:46:00.000Z-BurritoBazooka-2015-11-10T02:07:00.000Z","replies":["c-BurritoBazooka-2015-11-10T02:49:00.000Z-Mr._Stradivarius-2015-11-10T02:46:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-11-10T02:46:00.000Z-BurritoBazooka-2015-11-10T02:07:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-BurritoBazooka-2015-11-10T02:49:00.000Z-Mr._Stradivarius-2015-11-10T02:46:00.000Z"></span>Ah, thanks for the reply. --<a href="/w/index.php?title=User:BurritoBazooka&amp;action=edit&amp;redlink=1" class="new" title="User:BurritoBazooka (page does not exist)">BurritoBazooka</a> (<a href="/wiki/User_talk:BurritoBazooka" title="User talk:BurritoBazooka">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-BurritoBazooka-2015-11-10T02:49:00.000Z-Mr._Stradivarius-2015-11-10T02:46:00.000Z" class="ext-discussiontools-init-timestamplink">02:49, 10 November 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-BurritoBazooka-2015-11-10T02:49:00.000Z-Mr._Stradivarius-2015-11-10T02:46:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-10T02:49:00.000Z","author":"BurritoBazooka","type":"comment","level":3,"id":"c-BurritoBazooka-2015-11-10T02:49:00.000Z-Mr._Stradivarius-2015-11-10T02:46:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-BurritoBazooka-2015-11-10T02:49:00.000Z-Mr._Stradivarius-2015-11-10T02:46:00.000Z"></span></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Psychoslave-2015-11-25T12:50:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Why_are_module_main_objects_called_p?-2015-11-25T12:50:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Psychoslave-2015-11-25T12:50:00.000Z-Why_are_module_main_objects_called_p?&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Why are module main objects called p?&quot;,&quot;linkableTitle&quot;:&quot;Why are module main objects called p?&quot;}--><h2 id="Why_are_module_main_objects_called_p?" data-mw-thread-id="h-Why_are_module_main_objects_called_p?-2015-11-25T12:50:00.000Z"><span id="Why_are_module_main_objects_called_p.3F"></span><span data-mw-comment-start="" id="h-Why_are_module_main_objects_called_p?-2015-11-25T12:50:00.000Z"></span>Why are module main objects called p?<span data-mw-comment-end="h-Why_are_module_main_objects_called_p?-2015-11-25T12:50:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Psychoslave-2015-11-25T12:50:00.000Z","type":"heading","level":0,"id":"h-Why_are_module_main_objects_called_p?-2015-11-25T12:50:00.000Z","replies":["c-Psychoslave-2015-11-25T12:50:00.000Z-Why_are_module_main_objects_called_p?"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Anomie-2015-11-25T14:41:00.000Z-Mr._Stradivarius-2015-11-25T14:04:00.000Z","timestamp":"2015-11-25T14:41:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Psychoslave-2015-11-25T12:50:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Why_are_module_main_objects_called_p?-2015-11-25T12:50:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Psychoslave-2015-11-25T12:50:00.000Z-Why_are_module_main_objects_called_p?&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Why are module main objects called p?&quot;,&quot;linkableTitle&quot;:&quot;Why are module main objects called p?&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Psychoslave-2015-11-25T12:50:00.000Z-Why_are_module_main_objects_called_p?"></span>I'm curious to know what the p stands for? Is it program? public? --<a href="/wiki/User:Psychoslave" title="User:Psychoslave">Psychoslave</a> (<a href="/wiki/User_talk:Psychoslave" title="User talk:Psychoslave">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Psychoslave-2015-11-25T12:50:00.000Z-Why_are_module_main_objects_called_p?" class="ext-discussiontools-init-timestamplink">12:50, 25 November 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Psychoslave-2015-11-25T12:50:00.000Z-Why_are_module_main_objects_called_p?"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-25T12:50:00.000Z","author":"Psychoslave","type":"comment","level":1,"id":"c-Psychoslave-2015-11-25T12:50:00.000Z-Why_are_module_main_objects_called_p?","replies":["c-Mr._Stradivarius-2015-11-25T14:04:00.000Z-Psychoslave-2015-11-25T12:50:00.000Z"]}}--></span><span data-mw-comment-end="c-Psychoslave-2015-11-25T12:50:00.000Z-Why_are_module_main_objects_called_p?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-11-25T14:04:00.000Z-Psychoslave-2015-11-25T12:50:00.000Z"></span>I think it might be "package", as used in PIL <a rel="nofollow" class="external text" href="http://www.lua.org/pil/15.2.html">here</a>, but I might be wrong. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-11-25T14:04:00.000Z-Psychoslave-2015-11-25T12:50:00.000Z" class="ext-discussiontools-init-timestamplink">14:04, 25 November 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-11-25T14:04:00.000Z-Psychoslave-2015-11-25T12:50:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-25T14:04:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-11-25T14:04:00.000Z-Psychoslave-2015-11-25T12:50:00.000Z","replies":["c-Anomie-2015-11-25T14:41:00.000Z-Mr._Stradivarius-2015-11-25T14:04:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-11-25T14:04:00.000Z-Psychoslave-2015-11-25T12:50:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Anomie-2015-11-25T14:41:00.000Z-Mr._Stradivarius-2015-11-25T14:04:00.000Z"></span>"package" would be my guess too. <a href="/wiki/User:Anomie" title="User:Anomie">Anomie</a><a href="/wiki/User_talk:Anomie" title="User talk:Anomie">⚔</a> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Anomie-2015-11-25T14:41:00.000Z-Mr._Stradivarius-2015-11-25T14:04:00.000Z" class="ext-discussiontools-init-timestamplink">14:41, 25 November 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Anomie-2015-11-25T14:41:00.000Z-Mr._Stradivarius-2015-11-25T14:04:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-25T14:41:00.000Z","author":"Anomie","type":"comment","level":3,"id":"c-Anomie-2015-11-25T14:41:00.000Z-Mr._Stradivarius-2015-11-25T14:04:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Anomie-2015-11-25T14:41:00.000Z-Mr._Stradivarius-2015-11-25T14:04:00.000Z"></span></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Jc3s5h-2015-11-29T14:30:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Is_Lua_the_right_way_to_do_a_table_lookup?-2015-11-29T14:30:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Jc3s5h-2015-11-29T14:30:00.000Z-Is_Lua_the_right_way_to_do_a_table_lookup?&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Is Lua the right way to do a table lookup?&quot;,&quot;linkableTitle&quot;:&quot;Is Lua the right way to do a table lookup?&quot;}--><h2 id="Is_Lua_the_right_way_to_do_a_table_lookup?" data-mw-thread-id="h-Is_Lua_the_right_way_to_do_a_table_lookup?-2015-11-29T14:30:00.000Z"><span id="Is_Lua_the_right_way_to_do_a_table_lookup.3F"></span><span data-mw-comment-start="" id="h-Is_Lua_the_right_way_to_do_a_table_lookup?-2015-11-29T14:30:00.000Z"></span>Is Lua the right way to do a table lookup?<span data-mw-comment-end="h-Is_Lua_the_right_way_to_do_a_table_lookup?-2015-11-29T14:30:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Jc3s5h-2015-11-29T14:30:00.000Z","type":"heading","level":0,"id":"h-Is_Lua_the_right_way_to_do_a_table_lookup?-2015-11-29T14:30:00.000Z","replies":["c-Jc3s5h-2015-11-29T14:30:00.000Z-Is_Lua_the_right_way_to_do_a_table_lookup?"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Jc3s5h-2015-11-29T22:14:00.000Z-Mr._Stradivarius-2015-11-29T22:01:00.000Z","timestamp":"2015-11-29T22:14:00.000Z"}__--><!--__DTCOMMENTCOUNT__4__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Jc3s5h-2015-11-29T14:30:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Is_Lua_the_right_way_to_do_a_table_lookup?-2015-11-29T14:30:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Jc3s5h-2015-11-29T14:30:00.000Z-Is_Lua_the_right_way_to_do_a_table_lookup?&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Is Lua the right way to do a table lookup?&quot;,&quot;linkableTitle&quot;:&quot;Is Lua the right way to do a table lookup?&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Jc3s5h-2015-11-29T14:30:00.000Z-Is_Lua_the_right_way_to_do_a_table_lookup?"></span>The current <span class="nowrap">{{</span><a href="/wiki/Template:Zodiac_date" title="Template:Zodiac date">Zodiac date</a><span class="nowrap">}}</span> gives wrong answers for 2015. The approach of finding an empirical formula to predict dates of astronomical events is both not feasible and original research. I'm thinking of creating a Lua program that would have 12 tables, one for each sign of the zodiac. Each table would have a list of years from 2015 through 2050 (which is as far as my reliable source will predict). The index of the table would be the year, and the result from the table would be a day of the year (e.g "Feb. 18". Each table would have 35 rows. </p><p>I haven't programmed in Lua before, but I've programmed in many other languages from System/370 assembler to C#, so I'm not worried about figuring out the language. But I am concerned that having such a large template might be detrimental to the articles that include the template. Am I on the right track? <small><span class="autosigned">— Preceding <a href="/wiki/Wikipedia:Signatures" title="Wikipedia:Signatures">unsigned</a> comment added by <a href="/wiki/User:Jc3s5h" title="User:Jc3s5h">Jc3s5h</a> (<a href="/wiki/User_talk:Jc3s5h" title="User talk:Jc3s5h">talk</a> • <a href="/wiki/Special:Contributions/Jc3s5h" title="Special:Contributions/Jc3s5h">contribs</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Jc3s5h-2015-11-29T14:30:00.000Z-Is_Lua_the_right_way_to_do_a_table_lookup?" class="ext-discussiontools-init-timestamplink">14:30, 29 November 2015 (UTC)</a></span></small><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jc3s5h-2015-11-29T14:30:00.000Z-Is_Lua_the_right_way_to_do_a_table_lookup?"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-29T14:30:00.000Z","author":"Jc3s5h","type":"comment","level":1,"id":"c-Jc3s5h-2015-11-29T14:30:00.000Z-Is_Lua_the_right_way_to_do_a_table_lookup?","replies":["c-Trappist_the_monk-2015-11-29T15:02:00.000Z-Jc3s5h-2015-11-29T14:30:00.000Z"]}}--></span><span data-mw-comment-end="c-Jc3s5h-2015-11-29T14:30:00.000Z-Is_Lua_the_right_way_to_do_a_table_lookup?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Trappist_the_monk-2015-11-29T15:02:00.000Z-Jc3s5h-2015-11-29T14:30:00.000Z"></span>Yes. <a href="/wiki/Module:Citation/CS1/Configuration" title="Module:Citation/CS1/Configuration">Module:Citation/CS1/Configuration</a>, for example, is nothing but tables, some of them rather larger than your zodiac tables will be.</dd></dl> <dl><dd>—<a href="/w/index.php?title=User:Trappist_the_monk&amp;action=edit&amp;redlink=1" class="new" title="User:Trappist the monk (page does not exist)">Trappist the monk</a> (<a href="/wiki/User_talk:Trappist_the_monk" title="User talk:Trappist the monk">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Trappist_the_monk-2015-11-29T15:02:00.000Z-Jc3s5h-2015-11-29T14:30:00.000Z" class="ext-discussiontools-init-timestamplink">15:02, 29 November 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Trappist_the_monk-2015-11-29T15:02:00.000Z-Jc3s5h-2015-11-29T14:30:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-29T15:02:00.000Z","author":"Trappist the monk","type":"comment","level":2,"id":"c-Trappist_the_monk-2015-11-29T15:02:00.000Z-Jc3s5h-2015-11-29T14:30:00.000Z","replies":["c-Mr._Stradivarius-2015-11-29T22:01:00.000Z-Trappist_the_monk-2015-11-29T15:02:00.000Z"]}}--></span><span data-mw-comment-end="c-Trappist_the_monk-2015-11-29T15:02:00.000Z-Jc3s5h-2015-11-29T14:30:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2015-11-29T22:01:00.000Z-Trappist_the_monk-2015-11-29T15:02:00.000Z"></span>We also have <a href="https://www.mediawiki.org/wiki/Extension:Scribunto/Lua_reference_manual#mw.loadData" class="extiw" title="mw:Extension:Scribunto/Lua reference manual">mw.loadData</a> to make doing this kind of thing more efficient if two different #invokes on a page use the same data table. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2015-11-29T22:01:00.000Z-Trappist_the_monk-2015-11-29T15:02:00.000Z" class="ext-discussiontools-init-timestamplink">22:01, 29 November 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2015-11-29T22:01:00.000Z-Trappist_the_monk-2015-11-29T15:02:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-29T22:01:00.000Z","author":"Mr. Stradivarius","type":"comment","level":3,"id":"c-Mr._Stradivarius-2015-11-29T22:01:00.000Z-Trappist_the_monk-2015-11-29T15:02:00.000Z","replies":["c-Jc3s5h-2015-11-29T22:14:00.000Z-Mr._Stradivarius-2015-11-29T22:01:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2015-11-29T22:01:00.000Z-Trappist_the_monk-2015-11-29T15:02:00.000Z"></span></dd></dl></dd></dl> <dl><dd><dl><dd><dl><dd><span data-mw-comment-start="" id="c-Jc3s5h-2015-11-29T22:14:00.000Z-Mr._Stradivarius-2015-11-29T22:01:00.000Z"></span>Thanks. It will take some time for me to generate the necessary data and write the template. (The reliable source is the US Naval Observatory's <i>Multi-year Computer Interactive Almanac</i>; it does not directly spit out the required dates, so the available information must be generated and then interpolated to find the dates.) <a href="/wiki/User:Jc3s5h" title="User:Jc3s5h">Jc3s5h</a> (<a href="/wiki/User_talk:Jc3s5h" title="User talk:Jc3s5h">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Jc3s5h-2015-11-29T22:14:00.000Z-Mr._Stradivarius-2015-11-29T22:01:00.000Z" class="ext-discussiontools-init-timestamplink">22:14, 29 November 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jc3s5h-2015-11-29T22:14:00.000Z-Mr._Stradivarius-2015-11-29T22:01:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-11-29T22:14:00.000Z","author":"Jc3s5h","type":"comment","level":4,"id":"c-Jc3s5h-2015-11-29T22:14:00.000Z-Mr._Stradivarius-2015-11-29T22:01:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Jc3s5h-2015-11-29T22:14:00.000Z-Mr._Stradivarius-2015-11-29T22:01:00.000Z"></span></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Traveler100-2016-01-04T18:03:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-scan_for_template_text_in_category_of_articles-2016-01-04T18:03:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Traveler100-2016-01-04T18:03:00.000Z-scan_for_template_text_in_category_of_articles&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;scan for template text in category of articles&quot;,&quot;linkableTitle&quot;:&quot;scan for template text in category of articles&quot;}--><h2 id="scan_for_template_text_in_category_of_articles" data-mw-thread-id="h-scan_for_template_text_in_category_of_articles-2016-01-04T18:03:00.000Z"><span data-mw-comment-start="" id="h-scan_for_template_text_in_category_of_articles-2016-01-04T18:03:00.000Z"></span>scan for template text in category of articles<span data-mw-comment-end="h-scan_for_template_text_in_category_of_articles-2016-01-04T18:03:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Traveler100-2016-01-04T18:03:00.000Z","type":"heading","level":0,"id":"h-scan_for_template_text_in_category_of_articles-2016-01-04T18:03:00.000Z","replies":["c-Traveler100-2016-01-04T18:03:00.000Z-scan_for_template_text_in_category_of_articles"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Matroc-2016-01-14T22:22:00.000Z-Matroc-2016-01-14T01:53:00.000Z","timestamp":"2016-01-14T22:22:00.000Z"}__--><!--__DTCOMMENTCOUNT__7__--><!--__DTAUTHORCOUNT__5__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Traveler100-2016-01-04T18:03:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-scan_for_template_text_in_category_of_articles-2016-01-04T18:03:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Traveler100-2016-01-04T18:03:00.000Z-scan_for_template_text_in_category_of_articles&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;scan for template text in category of articles&quot;,&quot;linkableTitle&quot;:&quot;scan for template text in category of articles&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Traveler100-2016-01-04T18:03:00.000Z-scan_for_template_text_in_category_of_articles"></span>Is it possible to scan the contents of articles for specific text strings (actually template) based on a list of articles in a category and its sub-categories? I would like to make <a href="https://en.wikivoyage.org/wiki/User:Traveler100/ExpeditionStats" class="extiw" title="wikivoyage:User:Traveler100/ExpeditionStats">these table numbers</a> dynamic. --<a href="/wiki/User:Traveler100" title="User:Traveler100">Traveler100</a> (<a href="/wiki/User_talk:Traveler100" title="User talk:Traveler100">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Traveler100-2016-01-04T18:03:00.000Z-scan_for_template_text_in_category_of_articles" class="ext-discussiontools-init-timestamplink">18:03, 4 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Traveler100-2016-01-04T18:03:00.000Z-scan_for_template_text_in_category_of_articles"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-04T18:03:00.000Z","author":"Traveler100","type":"comment","level":1,"id":"c-Traveler100-2016-01-04T18:03:00.000Z-scan_for_template_text_in_category_of_articles","replies":["c-Johnuniq-2016-01-04T22:16:00.000Z-Traveler100-2016-01-04T18:03:00.000Z"]}}--></span><span data-mw-comment-end="c-Traveler100-2016-01-04T18:03:00.000Z-scan_for_template_text_in_category_of_articles"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2016-01-04T22:16:00.000Z-Traveler100-2016-01-04T18:03:00.000Z"></span>It would help if you were to spell out the operation required for an example, but I suspect the answer is that it is too complex to be achieved with a module. I think you need to list the articles in various categories, then read the wikitext from each page and work out if a certain template is used. I don't think "what links here" is available to a module so using that as a workaround wouldn't work. Some kind of bot would be needed. <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2016-01-04T22:16:00.000Z-Traveler100-2016-01-04T18:03:00.000Z" class="ext-discussiontools-init-timestamplink">22:16, 4 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2016-01-04T22:16:00.000Z-Traveler100-2016-01-04T18:03:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-04T22:16:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2016-01-04T22:16:00.000Z-Traveler100-2016-01-04T18:03:00.000Z","replies":["c-Traveler100-2016-01-05T06:01:00.000Z-Johnuniq-2016-01-04T22:16:00.000Z"]}}--></span><span data-mw-comment-end="c-Johnuniq-2016-01-04T22:16:00.000Z-Traveler100-2016-01-04T18:03:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Traveler100-2016-01-05T06:01:00.000Z-Johnuniq-2016-01-04T22:16:00.000Z"></span>On Wikivoyage the categories are very hierarchical and clean and the articles a standard format so not as risky as with Wikipedia. Task, take a category (say a country), progress through all sub-categories, for each article n categories do a text search for use of specific templates ({{outlinecity}}, {{guideregion}}, .. {{sleep , ..) if found at to count expression. Return count values. --<a href="/wiki/User:Traveler100" title="User:Traveler100">Traveler100</a> (<a href="/wiki/User_talk:Traveler100" title="User talk:Traveler100">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Traveler100-2016-01-05T06:01:00.000Z-Johnuniq-2016-01-04T22:16:00.000Z" class="ext-discussiontools-init-timestamplink">06:01, 5 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Traveler100-2016-01-05T06:01:00.000Z-Johnuniq-2016-01-04T22:16:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-05T06:01:00.000Z","author":"Traveler100","type":"comment","level":3,"id":"c-Traveler100-2016-01-05T06:01:00.000Z-Johnuniq-2016-01-04T22:16:00.000Z","replies":["c-Mr._Stradivarius-2016-01-05T13:03:00.000Z-Traveler100-2016-01-05T06:01:00.000Z"]}}--></span><span data-mw-comment-end="c-Traveler100-2016-01-05T06:01:00.000Z-Johnuniq-2016-01-04T22:16:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2016-01-05T13:03:00.000Z-Traveler100-2016-01-05T06:01:00.000Z"></span>Modules don't have access to category members, so this is not possible in Lua at the moment. It is possible to load the wikitext of a given page, but then parsing that wikitext to find a list of templates is hard. You need to take into account things like nowiki tags, HTML comments, template redirects, capitalisation and whitespace allowed for template names/arguments, etc. (This kind of thing is the reason that we have <a href="https://www.mediawiki.org/wiki/Parsoid" class="extiw" title="mw:Parsoid">Parsoid</a>, but that data is not available from Lua by design.) The only practical way at the moment to do what you are proposing is to use a bot to update the table. — <i><b><a href="/wiki/User:Mr._Stradivarius" title="User:Mr. Stradivarius"><span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span></a></b></i> <sup><a href="/wiki/User_talk:Mr._Stradivarius" title="User talk:Mr. Stradivarius">♪ talk ♪</a></sup> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Mr._Stradivarius-2016-01-05T13:03:00.000Z-Traveler100-2016-01-05T06:01:00.000Z" class="ext-discussiontools-init-timestamplink">13:03, 5 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2016-01-05T13:03:00.000Z-Traveler100-2016-01-05T06:01:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-05T13:03:00.000Z","author":"Mr. Stradivarius","type":"comment","level":4,"id":"c-Mr._Stradivarius-2016-01-05T13:03:00.000Z-Traveler100-2016-01-05T06:01:00.000Z","replies":["c-Matroc-2016-01-14T01:53:00.000Z-Mr._Stradivarius-2016-01-05T13:03:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2016-01-05T13:03:00.000Z-Traveler100-2016-01-05T06:01:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Matroc-2016-01-14T01:53:00.000Z-Mr._Stradivarius-2016-01-05T13:03:00.000Z"></span>Just a crazy idea... Could one use JS on the client side to run a mediawiki API to get categories then 'alert data' to call module (via expandtemplates) on server side to do some processing to get category/page names - then get page contents and parse for templates... I can imagine the CPU cycles would be a bit overwhelming and probably die, not to mention the complexity of data parsing. I would expect something like this would have to be limited. -- Definitely would be better if Lua could access category members!<a href="/wiki/User:Matroc" title="User:Matroc">Matroc</a> (<a href="/wiki/User_talk:Matroc" title="User talk:Matroc">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Matroc-2016-01-14T01:53:00.000Z-Mr._Stradivarius-2016-01-05T13:03:00.000Z" class="ext-discussiontools-init-timestamplink">01:53, 14 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Matroc-2016-01-14T01:53:00.000Z-Mr._Stradivarius-2016-01-05T13:03:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-14T01:53:00.000Z","author":"Matroc","type":"comment","level":5,"id":"c-Matroc-2016-01-14T01:53:00.000Z-Mr._Stradivarius-2016-01-05T13:03:00.000Z","replies":["c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2016-01-14T15:47:00.000Z-Matroc-2016-01-14T01:53:00.000Z","c-Matroc-2016-01-14T22:22:00.000Z-Matroc-2016-01-14T01:53:00.000Z"]}}--></span><span data-mw-comment-end="c-Matroc-2016-01-14T01:53:00.000Z-Mr._Stradivarius-2016-01-05T13:03:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-קיפודנחש-2016-01-14T15:47:00.000Z-Matroc-2016-01-14T01:53:00.000Z"></span>in principle yes, though i think you are mixing your metaphors: the API call is "parse" - "expandtemplate" is something to use from lua, not on client side. you can call "parse" with any piece of wikicode, and even tell the backend to parse it "as if" this text was part of a specified page (so, for instance, magic words such as {{PAGENAME}} or {{PAGESIZE}} that the template might use, will receive the desired value.</dd> <dd>this whole line of investigation may be wrong, IMO: i do not fully understand the requirements, but to me, it looks awfully close to a functionality cirrus-search already have: we now have meta-search words that can do what i think you want. specifically, "incategory:" and "hastemplate:". this will _not_ cover the "and its subcategories" part of the original request, so if this part is essential, my suggestion falls short. peace - <a href="/wiki/User:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User:קיפודנחש">קיפודנחש (aka kipod)</a> (<a href="/wiki/User_talk:%D7%A7%D7%99%D7%A4%D7%95%D7%93%D7%A0%D7%97%D7%A9" title="User talk:קיפודנחש">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-קיפודנחש-2016-01-14T15:47:00.000Z-Matroc-2016-01-14T01:53:00.000Z" class="ext-discussiontools-init-timestamplink">15:47, 14 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-קיפודנחש-2016-01-14T15:47:00.000Z-Matroc-2016-01-14T01:53:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-14T15:47:00.000Z","author":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9","type":"comment","level":6,"id":"c-\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9-2016-01-14T15:47:00.000Z-Matroc-2016-01-14T01:53:00.000Z","replies":[],"displayName":"\u05e7\u05d9\u05e4\u05d5\u05d3\u05e0\u05d7\u05e9 (aka kipod)"}}--></span><span data-mw-comment-end="c-קיפודנחש-2016-01-14T15:47:00.000Z-Matroc-2016-01-14T01:53:00.000Z"></span></dd> <dd><span data-mw-comment-start="" id="c-Matroc-2016-01-14T22:22:00.000Z-Matroc-2016-01-14T01:53:00.000Z"></span>Thanks - I thought I might have been a bit off base, it was just something I had been thinking about - peace - <a href="/wiki/User:Matroc" title="User:Matroc">Matroc</a> (<a href="/wiki/User_talk:Matroc" title="User talk:Matroc">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Matroc-2016-01-14T22:22:00.000Z-Matroc-2016-01-14T01:53:00.000Z" class="ext-discussiontools-init-timestamplink">22:22, 14 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Matroc-2016-01-14T22:22:00.000Z-Matroc-2016-01-14T01:53:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-14T22:22:00.000Z","author":"Matroc","type":"comment","level":6,"id":"c-Matroc-2016-01-14T22:22:00.000Z-Matroc-2016-01-14T01:53:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Matroc-2016-01-14T22:22:00.000Z-Matroc-2016-01-14T01:53:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Jeblad-2016-01-18T18:03:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Code_review_of_Module:Timing-2016-01-18T18:03:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Jeblad-2016-01-18T18:03:00.000Z-Code_review_of_Module:Timing&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Code review of Module:Timing&quot;,&quot;linkableTitle&quot;:&quot;Code review of Module:Timing&quot;}--><h2 id="Code_review_of_Module:Timing" data-mw-thread-id="h-Code_review_of_Module:Timing-2016-01-18T18:03:00.000Z"><span data-mw-comment-start="" id="h-Code_review_of_Module:Timing-2016-01-18T18:03:00.000Z"></span>Code review of Module:Timing<span data-mw-comment-end="h-Code_review_of_Module:Timing-2016-01-18T18:03:00.000Z"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Jeblad-2016-01-18T18:03:00.000Z","type":"heading","level":0,"id":"h-Code_review_of_Module:Timing-2016-01-18T18:03:00.000Z","replies":["c-Jeblad-2016-01-18T18:03:00.000Z-Code_review_of_Module:Timing"],"uneditableSection":true}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Jeblad-2016-01-22T01:33:00.000Z-Anomie-2016-01-21T03:36:00.000Z","timestamp":"2016-01-22T01:33:00.000Z"}__--><!--__DTCOMMENTCOUNT__7__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Jeblad-2016-01-18T18:03:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Code_review_of_Module:Timing-2016-01-18T18:03:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Jeblad-2016-01-18T18:03:00.000Z-Code_review_of_Module:Timing&quot;],&quot;uneditableSection&quot;:true,&quot;text&quot;:&quot;Code review of Module:Timing&quot;,&quot;linkableTitle&quot;:&quot;Code review of Module:Timing&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Jeblad-2016-01-18T18:03:00.000Z-Code_review_of_Module:Timing"></span>If anyone has some spare time then perhaps do a <a href="/wiki/Code_review" title="Code review">code review</a> of <a href="/wiki/Module:Timing" title="Module:Timing">Module:Timing</a>? And the doc page needs a spell check too! I believe the precision in the produced numbers are about as they get, but there could be other ideas out there. Note that this solution are for those that develop code on their own, without a debugger running in a controlled environment. Note also that the test cases are written for another library, and that it does not work as of this writing. Hopefully it will work later on. <a href="/wiki/User:Jeblad" title="User:Jeblad">Jeblad</a> (<a href="/wiki/User_talk:Jeblad" title="User talk:Jeblad">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Jeblad-2016-01-18T18:03:00.000Z-Code_review_of_Module:Timing" class="ext-discussiontools-init-timestamplink">18:03, 18 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jeblad-2016-01-18T18:03:00.000Z-Code_review_of_Module:Timing"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-18T18:03:00.000Z","author":"Jeblad","type":"comment","level":1,"id":"c-Jeblad-2016-01-18T18:03:00.000Z-Code_review_of_Module:Timing","replies":["c-Johnuniq-2016-01-19T08:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z","c-Anomie-2016-01-21T03:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z"]}}--></span><span data-mw-comment-end="c-Jeblad-2016-01-18T18:03:00.000Z-Code_review_of_Module:Timing"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2016-01-19T08:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z"></span>The code is good but since you asked here are some thoughts from a quick look. <ul><li>Line 37–38: Empty <code>for</code> loop with no purpose?</li> <li>Line 44: Nothing wrong with <code>math.pow</code> but it is the same as <code>v^2</code>.</li> <li>Line 46: I don't know if the timing table could ever be empty, but I would test for <code>#timing == 0</code> even if I thought it couldn't happen.</li> <li>Line 59/63: With a loop like that I would just have <code>time[i]</code> on the lhs.</li> <li>Line 74: Is there a reason <code>p.combine</code> is part of <code>p</code>? Why not just a local function, if module users don't need to access it? Similar for other functions.</li> <li>Line 124: Could be "<code><u>local</u> function dummy()</code>" as I don't think a global is needed.</li></ul></dd> <dd>It would be pretty rare for a module to need timing, although I happened to do some crude testing of a module I'm working on the other day. <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2016-01-19T08:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z" class="ext-discussiontools-init-timestamplink">08:36, 19 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2016-01-19T08:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-19T08:36:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2016-01-19T08:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z","replies":["c-Jeblad-2016-01-19T09:42:00.000Z-Johnuniq-2016-01-19T08:36:00.000Z"]}}--></span><span data-mw-comment-end="c-Johnuniq-2016-01-19T08:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Jeblad-2016-01-19T09:42:00.000Z-Johnuniq-2016-01-19T08:36:00.000Z"></span>Thanks for the reviw! <ul><li><code>p.combine</code> was an access point for testing, could be put inline instead</li> <li><code>function dummy()</code> is used for baseline timing, and usually you will not test local functions</li></ul></dd> <dd>You will probably never add this to an ordinary module, it is only for crude testing to figure out which kind of code actually works well in this Lua environment. <a href="/wiki/User:Jeblad" title="User:Jeblad">Jeblad</a> (<a href="/wiki/User_talk:Jeblad" title="User talk:Jeblad">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Jeblad-2016-01-19T09:42:00.000Z-Johnuniq-2016-01-19T08:36:00.000Z" class="ext-discussiontools-init-timestamplink">09:42, 19 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jeblad-2016-01-19T09:42:00.000Z-Johnuniq-2016-01-19T08:36:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-19T09:42:00.000Z","author":"Jeblad","type":"comment","level":3,"id":"c-Jeblad-2016-01-19T09:42:00.000Z-Johnuniq-2016-01-19T08:36:00.000Z","replies":["c-Johnuniq-2016-01-19T10:24:00.000Z-Jeblad-2016-01-19T09:42:00.000Z"]}}--></span><span data-mw-comment-end="c-Jeblad-2016-01-19T09:42:00.000Z-Johnuniq-2016-01-19T08:36:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2016-01-19T10:24:00.000Z-Jeblad-2016-01-19T09:42:00.000Z"></span>I think the only effect of putting "local" in front of "function dummy()" would be to change the scope of where dummy can be accessed (along with the fact that a global dummy would be added to the _G globals table). As the code is now, executing <code>dummy = 'hello'</code> would wipe out the dummy function. By "pretty rare" I meant that it would be rare to need to test the timing of a module. I understand that you don't use Module:Timing in another module, but nearly all modules run very fast and don't need to be optimized. I would think any modules that are too slow are just trying to do too much work, and only a very small number of modules would benefit from measuring the time taken by various functions. As mentioned, I had one of those rare exceptions a few days ago where I found a bottleneck that was removed by using a different method. However, I was doing a ridiculously large number of tests just from interest to see how long it would take. <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2016-01-19T10:24:00.000Z-Jeblad-2016-01-19T09:42:00.000Z" class="ext-discussiontools-init-timestamplink">10:24, 19 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2016-01-19T10:24:00.000Z-Jeblad-2016-01-19T09:42:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-19T10:24:00.000Z","author":"Johnuniq","type":"comment","level":4,"id":"c-Johnuniq-2016-01-19T10:24:00.000Z-Jeblad-2016-01-19T09:42:00.000Z","replies":["c-Johnuniq-2016-01-20T02:01:00.000Z-Johnuniq-2016-01-19T10:24:00.000Z"]}}--></span><span data-mw-comment-end="c-Johnuniq-2016-01-19T10:24:00.000Z-Jeblad-2016-01-19T09:42:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Johnuniq-2016-01-20T02:01:00.000Z-Johnuniq-2016-01-19T10:24:00.000Z"></span>If you use this module to test load in modules you probably know that executing <code>dummy = 'hello'</code> would have some implications. I haven't checked timing for local lookup, but usually that is much faster in other languages. Often by a factor ten or more. I can put the dummy function in the exported lib, that would be close enough.</dd> <dd>The module was written as part of a larger testing framework, which had some timing issues. It was also used for testing FSMs. <a href="/wiki/User:Jeblad" title="User:Jeblad">Jeblad</a> (<a href="/wiki/User_talk:Jeblad" title="User talk:Jeblad">talk</a>) <dl><dd>I'm sorry to be argumentative and the issue is trivial and can be ignored, but a user would test the timing of a function by executing something like <code>=require 'Module:Timing'(p.hello)</code>. In the timing module, timing for the following would then be obtained: <dl><dd><code>self.runner(dummy, ...)</code></dd> <dd><code>self.runner(func, ...)</code></dd></dl></dd> <dd>That compares the time to access and execute dummy with the time to access and execute func. The former is a global variable which needs to be looked up in the _G globals table, while the latter is a function parameter which has the same fast access time as a local variable. Therefore using a global for dummy is not adding any accuracy. I'm just mentioning that as something I noticed, but it is unimportant and if there are reasons for having dummy a global for use in another situation, that's good too. <a href="/wiki/User:Johnuniq" title="User:Johnuniq">Johnuniq</a> (<a href="/wiki/User_talk:Johnuniq" title="User talk:Johnuniq">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Johnuniq-2016-01-20T02:01:00.000Z-Johnuniq-2016-01-19T10:24:00.000Z" class="ext-discussiontools-init-timestamplink">02:01, 20 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Johnuniq-2016-01-20T02:01:00.000Z-Johnuniq-2016-01-19T10:24:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-20T02:01:00.000Z","author":"Johnuniq","type":"comment","level":5,"id":"c-Johnuniq-2016-01-20T02:01:00.000Z-Johnuniq-2016-01-19T10:24:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Johnuniq-2016-01-20T02:01:00.000Z-Johnuniq-2016-01-19T10:24:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd></dl></dd> <dd><span data-mw-comment-start="" id="c-Anomie-2016-01-21T03:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z"></span>I was going to point out that Scribunto will report the top functions by time in a page (in the "Parser profiling data" section at the bottom of the preview page) when the page uses more than 1s of time in Lua, but it turns out that was disabled while debugging <a href="https://phabricator.wikimedia.org/T70413" class="extiw" title="phab:T70413">T70413</a> and never turned back on. <a href="/wiki/User:Anomie" title="User:Anomie">Anomie</a><a href="/wiki/User_talk:Anomie" title="User talk:Anomie">⚔</a> <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Anomie-2016-01-21T03:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z" class="ext-discussiontools-init-timestamplink">03:36, 21 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Anomie-2016-01-21T03:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-21T03:36:00.000Z","author":"Anomie","type":"comment","level":2,"id":"c-Anomie-2016-01-21T03:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z","replies":["c-Jeblad-2016-01-22T01:33:00.000Z-Anomie-2016-01-21T03:36:00.000Z"]}}--></span><span data-mw-comment-end="c-Anomie-2016-01-21T03:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z"></span></dd></dl> <dl><dd><dl><dd><span data-mw-comment-start="" id="c-Jeblad-2016-01-22T01:33:00.000Z-Anomie-2016-01-21T03:36:00.000Z"></span>Pushing the code above 1s to get a readout would be e bit nasty. The code is more than good enough to figure out simple bottlenecks. <a href="/wiki/User:Jeblad" title="User:Jeblad">Jeblad</a> (<a href="/wiki/User_talk:Jeblad" title="User talk:Jeblad">talk</a>) <a href="https://en.wikipedia.org/wiki/Wikipedia:Lua/Requests/Archive_5#c-Jeblad-2016-01-22T01:33:00.000Z-Anomie-2016-01-21T03:36:00.000Z" class="ext-discussiontools-init-timestamplink">01:33, 22 January 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jeblad-2016-01-22T01:33:00.000Z-Anomie-2016-01-21T03:36:00.000Z"><!--__DTREPLYBUTTONSCONTENT__--><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2016-01-22T01:33:00.000Z","author":"Jeblad","type":"comment","level":3,"id":"c-Jeblad-2016-01-22T01:33:00.000Z-Anomie-2016-01-21T03:36:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Jeblad-2016-01-22T01:33:00.000Z-Anomie-2016-01-21T03:36:00.000Z"></span></dd></dl></dd></dl> <!-- NewPP limit report Parsed by mw‐web.eqiad.main‐5dc468848‐f8tvw Cached time: 20241124023014 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.084 seconds CPU time usage: 0.339 seconds Real time usage: 1.155 seconds Preprocessor visited node count: 1404/1000000 Post‐expand include size: 7909/2097152 bytes Template argument size: 675/2097152 bytes Highest expansion depth: 14/100 Expensive parser function count: 17/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 6695/5000000 bytes Lua time usage: 0.046/10.000 seconds Lua memory usage: 1718494/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 855.336 1 -total 9.37% 80.106 1 Template:Talkarchive 7.76% 66.342 3 Template:Code 2.61% 22.302 2 Template:Is_redirect 2.03% 17.370 15 Template:Ping 0.70% 6.024 1 Template:FULLBASEPAGENAME 0.67% 5.704 1 Template:Section_link 0.62% 5.286 8 Template:Tl 0.60% 5.148 1 Template:Background_color 0.48% 4.078 1 Template:Ec --> <!-- Saved in parser cache with key enwiki:pcache:idhash:46521120-0!canonical and timestamp 20241124023014 and revision id 1136451154. Rendering was triggered because: page-view --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://en.wikipedia.org/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;oldid=1136451154">https://en.wikipedia.org/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;oldid=1136451154</a>"</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"><div id="mw-hidden-catlinks" class="mw-hidden-catlinks mw-hidden-cats-hidden">Hidden category: <ul><li><a href="/wiki/Category:Archive_pages_whose_parent_page_is_a_redirect" title="Category:Archive pages whose parent page is a redirect">Archive pages whose parent page is a redirect</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 30 January 2023, at 10:47<span class="anonymous-show">&#160;(UTC)</span>.</li> <li id="footer-info-copyright">Text is available under the <a href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" title="Wikipedia:Text of the Creative Commons Attribution-ShareAlike 4.0 International License">Creative Commons Attribution-ShareAlike 4.0 License</a>; additional terms may apply. By using this site, you agree to the <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" class="extiw" title="foundation:Special:MyLanguage/Policy:Terms of Use">Terms of Use</a> and <a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" class="extiw" title="foundation:Special:MyLanguage/Policy:Privacy policy">Privacy Policy</a>. Wikipedia® is a registered trademark of the <a rel="nofollow" class="external text" href="https://wikimediafoundation.org/">Wikimedia Foundation, Inc.</a>, a non-profit organization.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Wikipedia:About">About Wikipedia</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Wikipedia:General_disclaimer">Disclaimers</a></li> <li id="footer-places-contact"><a href="//en.wikipedia.org/wiki/Wikipedia:Contact_us">Contact Wikipedia</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/en.wikipedia.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//en.m.wikipedia.org/w/index.php?title=Wikipedia:Lua/Requests/Archive_5&amp;mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-5cd4cd96d5-gvxnz","wgBackendResponseTime":138,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-MSGJ-2015-03-25T12:36:00.000Z","type":"heading","level":0,"id":"h-Eclipse_dates-2015-03-25T12:36:00.000Z","replies":[{"timestamp":"2015-03-25T12:36:00.000Z","author":"MSGJ","type":"comment","level":1,"id":"c-MSGJ-2015-03-25T12:36:00.000Z-Eclipse_dates","replies":[{"timestamp":"2015-03-25T14:50:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-03-25T14:50:00.000Z-MSGJ-2015-03-25T12:36:00.000Z","replies":[{"timestamp":"2015-03-25T14:54:00.000Z","author":"MSGJ","type":"comment","level":3,"id":"c-MSGJ-2015-03-25T14:54:00.000Z-Mr._Stradivarius-2015-03-25T14:50:00.000Z","replies":[{"timestamp":"2015-03-26T01:01:00.000Z","author":"Johnuniq","type":"comment","level":4,"id":"c-Johnuniq-2015-03-26T01:01:00.000Z-MSGJ-2015-03-25T14:54:00.000Z","replies":[{"timestamp":"2015-03-26T04:52:00.000Z","author":"Mr. Stradivarius","type":"comment","level":5,"id":"c-Mr._Stradivarius-2015-03-26T04:52:00.000Z-Johnuniq-2015-03-26T01:01:00.000Z","replies":[{"timestamp":"2015-03-26T05:39:00.000Z","author":"Johnuniq","type":"comment","level":6,"id":"c-Johnuniq-2015-03-26T05:39:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z","replies":[]},{"timestamp":"2015-03-26T09:32:00.000Z","author":"MSGJ","type":"comment","level":6,"id":"c-MSGJ-2015-03-26T09:32:00.000Z-Mr._Stradivarius-2015-03-26T04:52:00.000Z","replies":[]}],"displayName":"Mr. Stradivarius"}]}]}],"displayName":"Mr. Stradivarius"}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-DePiep-2015-03-25T21:47:00.000Z","type":"heading","level":0,"id":"h-Module:Message_box:_sidebox_option-2015-03-25T21:47:00.000Z","replies":[{"timestamp":"2015-03-25T21:47:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2015-03-25T21:47:00.000Z-Module:Message_box:_sidebox_option","replies":[{"timestamp":"2015-03-26T06:43:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-03-26T06:43:00.000Z-DePiep-2015-03-25T21:47:00.000Z","replies":[{"timestamp":"2015-03-26T11:02:00.000Z","author":"DePiep","type":"comment","level":3,"id":"c-DePiep-2015-03-26T11:02:00.000Z-Mr._Stradivarius-2015-03-26T06:43:00.000Z","replies":[]}],"displayName":"Mr. Stradivarius"}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Resident_Mario-2015-03-28T20:47:00.000Z","type":"heading","level":0,"id":"h-Visualization_modules-2015-03-28T20:47:00.000Z","replies":[{"timestamp":"2015-03-28T20:47:00.000Z","author":"Resident Mario","type":"comment","level":1,"id":"c-Resident_Mario-2015-03-28T20:47:00.000Z-Visualization_modules","replies":[{"timestamp":"2015-03-30T15:46:00.000Z","author":"קיפודנחש","type":"comment","level":2,"id":"c-קיפודנחש-2015-03-30T15:46:00.000Z-Resident_Mario-2015-03-28T20:47:00.000Z","replies":[{"timestamp":"2015-03-31T13:25:00.000Z","author":"Resident Mario","type":"comment","level":3,"id":"c-Resident_Mario-2015-03-31T13:25:00.000Z-קיפודנחש-2015-03-30T15:46:00.000Z","replies":[],"displayName":"Res"}],"displayName":"קיפודנחש (aka kipod)"}],"displayName":"Res"}],"uneditableSection":true},{"headingLevel":2,"name":"h-אלישיב_ליפא-2015-03-31T08:44:00.000Z","type":"heading","level":0,"id":"h-Help_debuging-2015-03-31T08:44:00.000Z","replies":[{"timestamp":"2015-03-31T08:44:00.000Z","author":"אלישיב ליפא","type":"comment","level":1,"id":"c-אלישיב_ליפא-2015-03-31T08:44:00.000Z-Help_debuging","replies":[]},{"timestamp":"2015-03-31T09:15:00.000Z","author":"Johnuniq","type":"comment","level":1,"id":"c-Johnuniq-2015-03-31T09:15:00.000Z-Help_debuging","replies":[{"timestamp":"2015-03-31T09:17:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-03-31T09:17:00.000Z-Johnuniq-2015-03-31T09:15:00.000Z","replies":[],"displayName":"Mr. Stradivarius"}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-אלישיב_ליפא-2015-03-31T20:18:00.000Z","type":"heading","level":0,"id":"h-lua_module_breaks_lines.-2015-03-31T20:18:00.000Z","replies":[{"timestamp":"2015-03-31T20:18:00.000Z","author":"אלישיב ליפא","type":"comment","level":1,"id":"c-אלישיב_ליפא-2015-03-31T20:18:00.000Z-lua_module_breaks_lines.","replies":[{"timestamp":"2015-03-31T21:12:00.000Z","author":"JohnBlackburne","type":"comment","level":2,"id":"c-JohnBlackburne-2015-03-31T21:12:00.000Z-אלישיב_ליפא-2015-03-31T20:18:00.000Z","replies":[]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Ahmetyal-2015-04-19T09:28:00.000Z","type":"heading","level":0,"id":"h-Move_request_(map)-2015-04-19T09:28:00.000Z","replies":[{"timestamp":"2015-04-19T09:28:00.000Z","author":"Ahmetyal","type":"comment","level":1,"id":"c-Ahmetyal-2015-04-19T09:28:00.000Z-Move_request_(map)","replies":[{"timestamp":"2015-04-20T02:02:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2015-04-20T02:02:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","replies":[{"timestamp":"2015-04-20T09:33:00.000Z","author":"Ahmetyal","type":"comment","level":3,"id":"c-Ahmetyal-2015-04-20T09:33:00.000Z-Jackmcbarn-2015-04-20T02:02:00.000Z","replies":[{"timestamp":"2015-04-20T11:28:00.000Z","author":"Ahmetyal","type":"comment","level":4,"id":"c-Ahmetyal-2015-04-20T11:28:00.000Z-Ahmetyal-2015-04-20T09:33:00.000Z","replies":[]}]}]},{"timestamp":"2015-04-20T11:40:00.000Z","author":"JohnBlackburne","type":"comment","level":2,"id":"c-JohnBlackburne-2015-04-20T11:40:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","replies":[]},{"timestamp":"2015-04-20T12:30:00.000Z","author":"Ahmetyal","type":"comment","level":2,"id":"c-Ahmetyal-2015-04-20T12:30:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","replies":[{"timestamp":"2015-04-20T12:47:00.000Z","author":"JohnBlackburne","type":"comment","level":3,"id":"c-JohnBlackburne-2015-04-20T12:47:00.000Z-Ahmetyal-2015-04-20T12:30:00.000Z","replies":[{"timestamp":"2015-04-20T13:01:00.000Z","author":"Ahmetyal","type":"comment","level":4,"id":"c-Ahmetyal-2015-04-20T13:01:00.000Z-JohnBlackburne-2015-04-20T12:47:00.000Z","replies":[{"timestamp":"2015-04-20T13:20:00.000Z","author":"JohnBlackburne","type":"comment","level":5,"id":"c-JohnBlackburne-2015-04-20T13:20:00.000Z-Ahmetyal-2015-04-20T13:01:00.000Z","replies":[]}]}]}]},{"timestamp":"2015-04-21T19:37:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2015-04-21T19:37:00.000Z-Ahmetyal-2015-04-19T09:28:00.000Z","replies":[]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Aftabuzzaman-2015-04-26T00:16:00.000Z","type":"heading","level":0,"id":"h-Archive_list-2015-04-26T00:16:00.000Z","replies":[{"timestamp":"2015-04-26T00:16:00.000Z","author":"Aftabuzzaman","type":"comment","level":1,"id":"c-Aftabuzzaman-2015-04-26T00:16:00.000Z-Archive_list","replies":[{"timestamp":"2015-05-05T11:27:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2015-05-05T11:27:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z","replies":[]},{"timestamp":"2015-05-05T12:08:00.000Z","author":"Aftabuzzaman","type":"comment","level":2,"id":"c-Aftabuzzaman-2015-05-05T12:08:00.000Z-Aftabuzzaman-2015-04-26T00:16:00.000Z","replies":[]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z","type":"heading","level":0,"id":"h-Need_a_template_to_make_and_show_list_of_pages_in_a_category-2015-05-25T18:58:00.000Z","replies":[{"timestamp":"2015-05-25T18:58:00.000Z","author":"सत्यम् मिश्र","type":"comment","level":1,"id":"c-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z-Need_a_template_to_make_and_show_list_of_pages_in_a_category","replies":[{"timestamp":"2015-05-26T01:30:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2015-05-26T01:30:00.000Z-सत्यम्_मिश्र-2015-05-25T18:58:00.000Z","replies":[{"timestamp":"2015-05-26T04:19:00.000Z","author":"सत्यम् मिश्र","type":"comment","level":3,"id":"c-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z-Johnuniq-2015-05-26T01:30:00.000Z","replies":[{"timestamp":"2015-05-26T04:54:00.000Z","author":"Johnuniq","type":"comment","level":4,"id":"c-Johnuniq-2015-05-26T04:54:00.000Z-सत्यम्_मिश्र-2015-05-26T04:19:00.000Z","replies":[{"timestamp":"2015-05-26T07:33:00.000Z","author":"Mr. Stradivarius","type":"comment","level":5,"id":"c-Mr._Stradivarius-2015-05-26T07:33:00.000Z-Johnuniq-2015-05-26T04:54:00.000Z","replies":[{"timestamp":"2015-05-26T08:30:00.000Z","author":"सत्यम् मिश्र","type":"comment","level":6,"id":"c-सत्यम्_मिश्र-2015-05-26T08:30:00.000Z-Mr._Stradivarius-2015-05-26T07:33:00.000Z","replies":[],"displayName":"Satyam Mishra"}],"displayName":"Mr. Stradivarius"}]}],"displayName":"Satyam Mishra"}]}],"displayName":"Satyam Mishra"}],"uneditableSection":true},{"headingLevel":2,"name":"h-Wbm1058-2015-06-02T15:12:00.000Z","type":"heading","level":0,"id":"h-Replacement_for_Template:Val-2015-06-02T15:12:00.000Z","replies":[{"timestamp":"2015-06-02T15:12:00.000Z","author":"Wbm1058","type":"comment","level":1,"id":"c-Wbm1058-2015-06-02T15:12:00.000Z-Replacement_for_Template:Val","replies":[{"timestamp":"2015-06-10T14:51:00.000Z","author":"Snaevar","type":"comment","level":2,"id":"c-Snaevar-2015-06-10T14:51:00.000Z-Wbm1058-2015-06-02T15:12:00.000Z","replies":[]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-קיפודנחש-2015-05-08T17:00:00.000Z","type":"heading","level":0,"id":"h-Wrap_new_Graph_tag-2015-05-08T17:00:00.000Z","replies":[{"timestamp":"2015-05-08T17:00:00.000Z","author":"קיפודנחש","type":"comment","level":1,"id":"c-קיפודנחש-2015-05-08T17:00:00.000Z-Wrap_new_Graph_tag","replies":[{"timestamp":"2015-05-08T23:23:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2015-05-08T23:23:00.000Z-קיפודנחש-2015-05-08T17:00:00.000Z","replies":[{"timestamp":"2015-05-08T23:29:00.000Z","author":"Anomie","type":"comment","level":3,"id":"c-Anomie-2015-05-08T23:29:00.000Z-Johnuniq-2015-05-08T23:23:00.000Z","replies":[{"timestamp":"2015-05-11T23:00:00.000Z","author":"קיפודנחש","type":"comment","level":4,"id":"c-קיפודנחש-2015-05-11T23:00:00.000Z-Anomie-2015-05-08T23:29:00.000Z","replies":[{"timestamp":"2015-05-16T03:20:00.000Z","author":"Resident Mario","type":"comment","level":5,"id":"c-Resident_Mario-2015-05-16T03:20:00.000Z-קיפודנחש-2015-05-11T23:00:00.000Z","replies":[],"displayName":"Res"}],"displayName":"קיפודנחש (aka kipod)"}]}]}],"displayName":"קיפודנחש (aka kipod)"},{"timestamp":"2015-06-12T12:40:00.000Z","author":"Atlasowa","type":"comment","level":1,"id":"c-Atlasowa-2015-06-12T12:40:00.000Z-Wrap_new_Graph_tag","replies":[{"timestamp":"2015-06-12T14:58:00.000Z","author":"Resident Mario","type":"comment","level":3,"id":"c-Resident_Mario-2015-06-12T14:58:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z","replies":[],"displayName":"Res"},{"timestamp":"2015-06-12T14:59:00.000Z","author":"Resident Mario","type":"comment","level":3,"id":"c-Resident_Mario-2015-06-12T14:59:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z","replies":[{"timestamp":"2015-06-12T18:04:00.000Z","author":"Resident Mario","type":"comment","level":4,"id":"c-Resident_Mario-2015-06-12T18:04:00.000Z-Resident_Mario-2015-06-12T14:59:00.000Z","replies":[{"timestamp":"2015-06-16T15:41:00.000Z","author":"קיפודנחש","type":"comment","level":5,"id":"c-קיפודנחש-2015-06-16T15:41:00.000Z-Resident_Mario-2015-06-12T18:04:00.000Z","replies":[{"timestamp":"2015-07-05T16:20:00.000Z","author":"Moroboshi","type":"comment","level":6,"id":"c-Moroboshi-2015-07-05T16:20:00.000Z-קיפודנחש-2015-06-16T15:41:00.000Z","replies":[]}],"displayName":"קיפודנחש (aka kipod)"}],"displayName":"Res"}],"displayName":"Res"},{"timestamp":"2015-07-12T05:17:00.000Z","author":"Resident Mario","type":"comment","level":2,"id":"c-Resident_Mario-2015-07-12T05:17:00.000Z-Atlasowa-2015-06-12T12:40:00.000Z","replies":[],"displayName":"Res"}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Knife-in-the-drawer-2015-06-28T16:13:00.000Z","type":"heading","level":0,"id":"h-String_parsing_and_concatenating-2015-06-28T16:13:00.000Z","replies":[{"timestamp":"2015-06-28T16:13:00.000Z","author":"Knife-in-the-drawer","type":"comment","level":1,"id":"c-Knife-in-the-drawer-2015-06-28T16:13:00.000Z-String_parsing_and_concatenating","replies":[{"timestamp":"2015-06-28T16:47:00.000Z","author":"Dragons flight","type":"comment","level":2,"id":"c-Dragons_flight-2015-06-28T16:47:00.000Z-Knife-in-the-drawer-2015-06-28T16:13:00.000Z","replies":[{"timestamp":"2015-06-28T18:14:00.000Z","author":"Knife-in-the-drawer","type":"comment","level":3,"id":"c-Knife-in-the-drawer-2015-06-28T18:14:00.000Z-Dragons_flight-2015-06-28T16:47:00.000Z","replies":[{"timestamp":"2015-06-29T00:45:00.000Z","author":"Mr. Stradivarius","type":"comment","level":4,"id":"c-Mr._Stradivarius-2015-06-29T00:45:00.000Z-Knife-in-the-drawer-2015-06-28T18:14:00.000Z","replies":[{"timestamp":"2015-06-29T15:08:00.000Z","author":"Christian75","type":"comment","level":5,"id":"c-Christian75-2015-06-29T15:08:00.000Z-Mr._Stradivarius-2015-06-29T00:45:00.000Z","replies":[]}],"displayName":"Mr. Stradivarius"}]}]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-DePiep-2015-06-28T18:51:00.000Z","type":"heading","level":0,"id":"h-An_Infobox_feature_request_is_ready_for_Lua_encoding-2015-06-28T18:51:00.000Z","replies":[{"timestamp":"2015-06-28T18:51:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2015-06-28T18:51:00.000Z-An_Infobox_feature_request_is_ready_for_Lua_encoding","replies":[{"timestamp":"2015-07-18T14:45:00.000Z","author":"SMcCandlish","type":"comment","level":2,"id":"c-SMcCandlish-2015-07-18T14:45:00.000Z-DePiep-2015-06-28T18:51:00.000Z","replies":[],"displayName":"SMcCandlish ☺"}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-SMcCandlish-2015-07-17T22:33:00.000Z","type":"heading","level":0,"id":"h-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text-2015-07-17T22:33:00.000Z","replies":[{"timestamp":"2015-07-17T22:33:00.000Z","author":"SMcCandlish","type":"comment","level":1,"id":"c-SMcCandlish-2015-07-17T22:33:00.000Z-String_parsing:_Extract_number_(with_decimal,_neg)_from_arbitrary_text","replies":[{"timestamp":"2015-07-17T23:04:00.000Z","author":"WOSlinker","type":"comment","level":2,"id":"c-WOSlinker-2015-07-17T23:04:00.000Z-SMcCandlish-2015-07-17T22:33:00.000Z","replies":[{"timestamp":"2015-07-18T14:51:00.000Z","author":"SMcCandlish","type":"comment","level":3,"id":"c-SMcCandlish-2015-07-18T14:51:00.000Z-WOSlinker-2015-07-17T23:04:00.000Z","replies":[{"timestamp":"2015-07-18T16:36:00.000Z","author":"WOSlinker","type":"comment","level":4,"id":"c-WOSlinker-2015-07-18T16:36:00.000Z-SMcCandlish-2015-07-18T14:51:00.000Z","replies":[{"timestamp":"2015-07-18T16:54:00.000Z","author":"SMcCandlish","type":"comment","level":5,"id":"c-SMcCandlish-2015-07-18T16:54:00.000Z-WOSlinker-2015-07-18T16:36:00.000Z","replies":[{"timestamp":"2015-07-19T03:51:00.000Z","author":"Mr. Stradivarius","type":"comment","level":6,"id":"c-Mr._Stradivarius-2015-07-19T03:51:00.000Z-SMcCandlish-2015-07-18T16:54:00.000Z","replies":[{"timestamp":"2015-07-23T18:55:00.000Z","author":"SMcCandlish","type":"comment","level":7,"id":"c-SMcCandlish-2015-07-23T18:55:00.000Z-Mr._Stradivarius-2015-07-19T03:51:00.000Z","replies":[],"displayName":"SMcCandlish ☺"}],"displayName":"Mr. Stradivarius"}],"displayName":"SMcCandlish ☺"}]}],"displayName":"SMcCandlish ☺"}]}],"displayName":"SMcCandlish ☺"}],"uneditableSection":true},{"headingLevel":2,"name":"h-SMcCandlish-2015-07-23T18:55:00.000Z","type":"heading","level":0,"id":"h-Breadcrumb_version_of_Module:Multi-section_link-2015-07-23T18:55:00.000Z","replies":[{"timestamp":"2015-07-23T18:55:00.000Z","author":"SMcCandlish","type":"comment","level":1,"id":"c-SMcCandlish-2015-07-23T18:55:00.000Z-Breadcrumb_version_of_Module:Multi-section_link","replies":[],"displayName":"SMcCandlish ☺"}],"uneditableSection":true},{"headingLevel":2,"name":"h-197.218.89.127-2015-08-15T14:49:00.000Z","type":"heading","level":0,"id":"h-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables-2015-08-15T14:49:00.000Z","replies":[{"timestamp":"2015-08-15T14:49:00.000Z","author":"197.218.89.127","type":"comment","level":1,"id":"c-197.218.89.127-2015-08-15T14:49:00.000Z-Collaboration_with_wikia_on_module_development_and_auto_summation_in_tables","replies":[]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Jarble-2015-06-19T01:27:00.000Z","type":"heading","level":0,"id":"h-Re-write_Template:World_topic_as_a_Lua_module-2015-06-19T01:27:00.000Z","replies":[{"timestamp":"2015-06-19T01:27:00.000Z","author":"Jarble","type":"comment","level":1,"id":"c-Jarble-2015-06-19T01:27:00.000Z-Re-write_Template:World_topic_as_a_Lua_module","replies":[{"timestamp":"2015-06-19T16:00:00.000Z","author":"קיפודנחש","type":"comment","level":2,"id":"c-קיפודנחש-2015-06-19T16:00:00.000Z-Jarble-2015-06-19T01:27:00.000Z","replies":[],"displayName":"קיפודנחש (aka kipod)"},{"timestamp":"2015-07-02T15:06:00.000Z","author":"Snaevar","type":"comment","level":2,"id":"c-Snaevar-2015-07-02T15:06:00.000Z-Jarble-2015-06-19T01:27:00.000Z","replies":[{"timestamp":"2015-07-23T21:31:00.000Z","author":"SiBr4","type":"comment","level":3,"id":"c-SiBr4-2015-07-23T21:31:00.000Z-Snaevar-2015-07-02T15:06:00.000Z","replies":[{"timestamp":"2015-07-24T16:31:00.000Z","author":"Snaevar","type":"comment","level":4,"id":"c-Snaevar-2015-07-24T16:31:00.000Z-SiBr4-2015-07-23T21:31:00.000Z","replies":[{"timestamp":"2015-07-24T22:41:00.000Z","author":"SiBr4","type":"comment","level":5,"id":"c-SiBr4-2015-07-24T22:41:00.000Z-Snaevar-2015-07-24T16:31:00.000Z","replies":[{"timestamp":"2015-08-23T20:06:00.000Z","author":"Snaevar","type":"comment","level":6,"id":"c-Snaevar-2015-08-23T20:06:00.000Z-SiBr4-2015-07-24T22:41:00.000Z","replies":[{"timestamp":"2015-08-24T15:31:00.000Z","author":"SiBr4","type":"comment","level":7,"id":"c-SiBr4-2015-08-24T15:31:00.000Z-Snaevar-2015-08-23T20:06:00.000Z","replies":[]}]}]}]},{"timestamp":"2015-10-07T19:06:00.000Z","author":"SiBr4","type":"comment","level":4,"id":"c-SiBr4-2015-10-07T19:06:00.000Z-SiBr4-2015-07-23T21:31:00.000Z","replies":[]}]}]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Doc_Taxon-2015-10-12T15:07:00.000Z","type":"heading","level":0,"id":"h-Loops_and_Lua-2015-10-12T15:07:00.000Z","replies":[{"timestamp":"2015-10-12T15:07:00.000Z","author":"Doc Taxon","type":"comment","level":1,"id":"c-Doc_Taxon-2015-10-12T15:07:00.000Z-Loops_and_Lua","replies":[{"timestamp":"2015-10-12T15:58:00.000Z","author":"JohnBlackburne","type":"comment","level":2,"id":"c-JohnBlackburne-2015-10-12T15:58:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z","replies":[]},{"timestamp":"2015-10-13T02:19:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2015-10-13T02:19:00.000Z-Doc_Taxon-2015-10-12T15:07:00.000Z","replies":[{"timestamp":"2015-10-13T20:08:00.000Z","author":"קיפודנחש","type":"comment","level":3,"id":"c-קיפודנחש-2015-10-13T20:08:00.000Z-Johnuniq-2015-10-13T02:19:00.000Z","replies":[{"timestamp":"2015-10-16T10:12:00.000Z","author":"Mr. Stradivarius","type":"comment","level":4,"id":"c-Mr._Stradivarius-2015-10-16T10:12:00.000Z-קיפודנחש-2015-10-13T20:08:00.000Z","replies":[],"displayName":"Mr. Stradivarius"}]}]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Finnusertop-2015-10-15T12:51:00.000Z","type":"heading","level":0,"id":"h-Requesting_Module:Location_map/data/Pyongyang-2015-10-15T12:51:00.000Z","replies":[{"timestamp":"2015-10-15T12:51:00.000Z","author":"Finnusertop","type":"comment","level":1,"id":"c-Finnusertop-2015-10-15T12:51:00.000Z-Requesting_Module:Location_map/data/Pyongyang","replies":[{"timestamp":"2015-10-18T16:02:00.000Z","author":"MrPenguin20","type":"comment","level":2,"id":"c-MrPenguin20-2015-10-18T16:02:00.000Z-Finnusertop-2015-10-15T12:51:00.000Z","replies":[]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-BurritoBazooka-2015-11-10T02:07:00.000Z","type":"heading","level":0,"id":"h-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o-2015-11-10T02:07:00.000Z","replies":[{"timestamp":"2015-11-10T02:07:00.000Z","author":"BurritoBazooka","type":"comment","level":1,"id":"c-BurritoBazooka-2015-11-10T02:07:00.000Z-Is_it_possible_to_get_the_dates_of_modification_for_files_(in_this_case,_files_o","replies":[{"timestamp":"2015-11-10T02:46:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-11-10T02:46:00.000Z-BurritoBazooka-2015-11-10T02:07:00.000Z","replies":[{"timestamp":"2015-11-10T02:49:00.000Z","author":"BurritoBazooka","type":"comment","level":3,"id":"c-BurritoBazooka-2015-11-10T02:49:00.000Z-Mr._Stradivarius-2015-11-10T02:46:00.000Z","replies":[]}],"displayName":"Mr. Stradivarius"}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Psychoslave-2015-11-25T12:50:00.000Z","type":"heading","level":0,"id":"h-Why_are_module_main_objects_called_p?-2015-11-25T12:50:00.000Z","replies":[{"timestamp":"2015-11-25T12:50:00.000Z","author":"Psychoslave","type":"comment","level":1,"id":"c-Psychoslave-2015-11-25T12:50:00.000Z-Why_are_module_main_objects_called_p?","replies":[{"timestamp":"2015-11-25T14:04:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2015-11-25T14:04:00.000Z-Psychoslave-2015-11-25T12:50:00.000Z","replies":[{"timestamp":"2015-11-25T14:41:00.000Z","author":"Anomie","type":"comment","level":3,"id":"c-Anomie-2015-11-25T14:41:00.000Z-Mr._Stradivarius-2015-11-25T14:04:00.000Z","replies":[]}],"displayName":"Mr. Stradivarius"}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Jc3s5h-2015-11-29T14:30:00.000Z","type":"heading","level":0,"id":"h-Is_Lua_the_right_way_to_do_a_table_lookup?-2015-11-29T14:30:00.000Z","replies":[{"timestamp":"2015-11-29T14:30:00.000Z","author":"Jc3s5h","type":"comment","level":1,"id":"c-Jc3s5h-2015-11-29T14:30:00.000Z-Is_Lua_the_right_way_to_do_a_table_lookup?","replies":[{"timestamp":"2015-11-29T15:02:00.000Z","author":"Trappist the monk","type":"comment","level":2,"id":"c-Trappist_the_monk-2015-11-29T15:02:00.000Z-Jc3s5h-2015-11-29T14:30:00.000Z","replies":[{"timestamp":"2015-11-29T22:01:00.000Z","author":"Mr. Stradivarius","type":"comment","level":3,"id":"c-Mr._Stradivarius-2015-11-29T22:01:00.000Z-Trappist_the_monk-2015-11-29T15:02:00.000Z","replies":[{"timestamp":"2015-11-29T22:14:00.000Z","author":"Jc3s5h","type":"comment","level":4,"id":"c-Jc3s5h-2015-11-29T22:14:00.000Z-Mr._Stradivarius-2015-11-29T22:01:00.000Z","replies":[]}],"displayName":"Mr. Stradivarius"}]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Traveler100-2016-01-04T18:03:00.000Z","type":"heading","level":0,"id":"h-scan_for_template_text_in_category_of_articles-2016-01-04T18:03:00.000Z","replies":[{"timestamp":"2016-01-04T18:03:00.000Z","author":"Traveler100","type":"comment","level":1,"id":"c-Traveler100-2016-01-04T18:03:00.000Z-scan_for_template_text_in_category_of_articles","replies":[{"timestamp":"2016-01-04T22:16:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2016-01-04T22:16:00.000Z-Traveler100-2016-01-04T18:03:00.000Z","replies":[{"timestamp":"2016-01-05T06:01:00.000Z","author":"Traveler100","type":"comment","level":3,"id":"c-Traveler100-2016-01-05T06:01:00.000Z-Johnuniq-2016-01-04T22:16:00.000Z","replies":[{"timestamp":"2016-01-05T13:03:00.000Z","author":"Mr. Stradivarius","type":"comment","level":4,"id":"c-Mr._Stradivarius-2016-01-05T13:03:00.000Z-Traveler100-2016-01-05T06:01:00.000Z","replies":[{"timestamp":"2016-01-14T01:53:00.000Z","author":"Matroc","type":"comment","level":5,"id":"c-Matroc-2016-01-14T01:53:00.000Z-Mr._Stradivarius-2016-01-05T13:03:00.000Z","replies":[{"timestamp":"2016-01-14T15:47:00.000Z","author":"קיפודנחש","type":"comment","level":6,"id":"c-קיפודנחש-2016-01-14T15:47:00.000Z-Matroc-2016-01-14T01:53:00.000Z","replies":[],"displayName":"קיפודנחש (aka kipod)"},{"timestamp":"2016-01-14T22:22:00.000Z","author":"Matroc","type":"comment","level":6,"id":"c-Matroc-2016-01-14T22:22:00.000Z-Matroc-2016-01-14T01:53:00.000Z","replies":[]}]}],"displayName":"Mr. Stradivarius"}]}]}]}],"uneditableSection":true},{"headingLevel":2,"name":"h-Jeblad-2016-01-18T18:03:00.000Z","type":"heading","level":0,"id":"h-Code_review_of_Module:Timing-2016-01-18T18:03:00.000Z","replies":[{"timestamp":"2016-01-18T18:03:00.000Z","author":"Jeblad","type":"comment","level":1,"id":"c-Jeblad-2016-01-18T18:03:00.000Z-Code_review_of_Module:Timing","replies":[{"timestamp":"2016-01-19T08:36:00.000Z","author":"Johnuniq","type":"comment","level":2,"id":"c-Johnuniq-2016-01-19T08:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z","replies":[{"timestamp":"2016-01-19T09:42:00.000Z","author":"Jeblad","type":"comment","level":3,"id":"c-Jeblad-2016-01-19T09:42:00.000Z-Johnuniq-2016-01-19T08:36:00.000Z","replies":[{"timestamp":"2016-01-19T10:24:00.000Z","author":"Johnuniq","type":"comment","level":4,"id":"c-Johnuniq-2016-01-19T10:24:00.000Z-Jeblad-2016-01-19T09:42:00.000Z","replies":[{"timestamp":"2016-01-20T02:01:00.000Z","author":"Johnuniq","type":"comment","level":5,"id":"c-Johnuniq-2016-01-20T02:01:00.000Z-Johnuniq-2016-01-19T10:24:00.000Z","replies":[]}]}]}]},{"timestamp":"2016-01-21T03:36:00.000Z","author":"Anomie","type":"comment","level":2,"id":"c-Anomie-2016-01-21T03:36:00.000Z-Jeblad-2016-01-18T18:03:00.000Z","replies":[{"timestamp":"2016-01-22T01:33:00.000Z","author":"Jeblad","type":"comment","level":3,"id":"c-Jeblad-2016-01-22T01:33:00.000Z-Anomie-2016-01-21T03:36:00.000Z","replies":[]}]}]}],"uneditableSection":true}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.084"},"limitreport":{"cputime":"0.339","walltime":"1.155","ppvisitednodes":{"value":1404,"limit":1000000},"postexpandincludesize":{"value":7909,"limit":2097152},"templateargumentsize":{"value":675,"limit":2097152},"expansiondepth":{"value":14,"limit":100},"expensivefunctioncount":{"value":17,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":6695,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 855.336 1 -total"," 9.37% 80.106 1 Template:Talkarchive"," 7.76% 66.342 3 Template:Code"," 2.61% 22.302 2 Template:Is_redirect"," 2.03% 17.370 15 Template:Ping"," 0.70% 6.024 1 Template:FULLBASEPAGENAME"," 0.67% 5.704 1 Template:Section_link"," 0.62% 5.286 8 Template:Tl"," 0.60% 5.148 1 Template:Background_color"," 0.48% 4.078 1 Template:Ec"]},"scribunto":{"limitreport-timeusage":{"value":"0.046","limit":"10.000"},"limitreport-memusage":{"value":1718494,"limit":52428800}},"cachereport":{"origin":"mw-web.eqiad.main-5dc468848-f8tvw","timestamp":"20241124023014","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>

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