CINXE.COM

Module talk:Yesno - 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>Module talk:Yesno - 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":"54eb9eec-cc9e-4ea2-bea0-ef9fe16773fe","wgCanonicalNamespace":"Module_talk","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":829,"wgPageName":"Module_talk:Yesno","wgTitle":"Yesno","wgCurRevisionId":1252138397,"wgRevisionId":1252138397,"wgArticleId":38665073,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Wikipedia pages using copied template"],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"Module_talk:Yesno","wgRelevantArticleId":38665073,"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":20000,"wgRelatedArticlesCompat":[],"wgCentralAuthMobileDomain":false,"wgEditSubmitButtonLabelPublish":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"source","wgULSPosition":"interlanguage","wgULSisCompactLinksEnabled":false,"wgVector2022LanguageInHeader":true,"wgULSisLanguageSelectorEmpty":true,"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.inputBox.styles":"ready","ext.pygments":"ready","ext.discussionTools.init.styles":"ready","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.wikimediamessages.styles":"ready","ext.visualEditor.desktopArticleTarget.noscript":"ready","ext.uls.interlanguage":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp", "ext.gadget.ReferenceTooltips","ext.gadget.switcher","ext.urlShortener.toolbar","ext.centralauth.centralautologin","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.inputBox.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&amp;only=styles&amp;skin=vector-2022"> <script async="" src="/w/load.php?lang=en&amp;modules=startup&amp;only=scripts&amp;raw=1&amp;skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&amp;modules=site.styles&amp;only=styles&amp;skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:title" content="Module talk:Yesno - 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/Module_talk:Yesno"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=Module_talk:Yesno&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/Module_talk:Yesno"> <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-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-829 ns-talk mw-editable page-Module_talk_Yesno rootpage-Module_talk_Yesno 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=Module+talk%3AYesno" 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=Module+talk%3AYesno" 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=Module+talk%3AYesno" 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=Module+talk%3AYesno" 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-Testcases_and_documentation" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Testcases_and_documentation"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Testcases and documentation</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">6 comments</span> <ul id="toc-Testcases_and_documentation-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Why?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Why?"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Why?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Why?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-test_failed" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#test_failed"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>test failed</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">5 comments</span> <ul id="toc-test_failed-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Null?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Null?"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Null?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Null?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Rewrite" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Rewrite"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Rewrite</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-Rewrite-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-All_testcases_failed" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#All_testcases_failed"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>All testcases failed</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">1 comment</span> <ul id="toc-All_testcases_failed-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Protected_edit_request_on_24_February_2014" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Protected_edit_request_on_24_February_2014"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Protected edit request on 24 February 2014</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Protected_edit_request_on_24_February_2014-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-New_version" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#New_version"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>New version</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-New_version-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Doc_questions_(blank_string_true/false)" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Doc_questions_(blank_string_true/false)"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Doc questions (blank string true/false)</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-Doc_questions_(blank_string_true/false)-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Render_T_as_true_as_well?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Render_T_as_true_as_well?"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>Render T as true as well?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-Render_T_as_true_as_well?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Support_on/off_detection" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Support_on/off_detection"> <div class="vector-toc-text"> <span class="vector-toc-numb">11</span> <span>Support on/off detection</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-Support_on/off_detection-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Upgrade_of_protection_level" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Upgrade_of_protection_level"> <div class="vector-toc-text"> <span class="vector-toc-numb">12</span> <span>Upgrade of protection level</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Upgrade_of_protection_level-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Multilingual_version?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Multilingual_version?"> <div class="vector-toc-text"> <span class="vector-toc-numb">13</span> <span>Multilingual version?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Multilingual_version?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Option:_Binary-only?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Option:_Binary-only?"> <div class="vector-toc-text"> <span class="vector-toc-numb">14</span> <span>Option: Binary-only?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">5 comments</span> <ul id="toc-Option:_Binary-only?-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">Module talk</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Yesno</span></h1> <div id="p-lang-btn" class="vector-dropdown mw-portlet mw-portlet-lang mw-portlet-lang-icon-only" > <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-empty" 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--icon-only mw-portlet-lang-heading-empty" aria-hidden="true" ><span class="vector-icon mw-ui-icon-language mw-ui-icon-wikimedia-language"></span> <span class="vector-dropdown-label-text">Add languages</span> </label> <div class="vector-dropdown-content"> <div class="mw-portlet-empty-language-selector-body"> Page contents not supported in other languages. </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-module" class="vector-tab-noicon mw-list-item"><a href="/wiki/Module:Yesno" title="View the module page [c]" accesskey="c"><span>Module</span></a></li><li id="ca-talk" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Module_talk:Yesno" rel="discussion" title="Discuss improvements to the content page [t]" accesskey="t"><span>Talk</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">English</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Module_talk:Yesno"><span>Read</span></a></li><li id="ca-edit" class="istalk vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-addsection" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=new" title="Start a new section [+]" accesskey="+"><span>Add topic</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Module_talk:Yesno&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/Module_talk:Yesno"><span>Read</span></a></li><li id="ca-more-edit" class="istalk vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit" title="Edit this page [e]" accesskey="e"><span>Edit</span></a></li><li id="ca-more-addsection" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=new"><span>Add topic</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Module_talk:Yesno&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/Module_talk:Yesno" 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/Module_talk:Yesno" 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=Module_talk:Yesno&amp;oldid=1252138397" 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=Module_talk:Yesno&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%2FModule_talk%3AYesno"><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%2FModule_talk%3AYesno"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-electronpdfservice-sidebar-portlet-heading" class="vector-menu mw-portlet mw-portlet-electronpdfservice-sidebar-portlet-heading" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="electron-print_pdf" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&amp;page=Module_talk%3AYesno&amp;action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="javascript:print();" rel="alternate" 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></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:r1237879475">.mw-parser-output .tmbox{margin:4px 0;border-collapse:collapse;border:1px solid #c0c090;background-color:#f8eaba;box-sizing:border-box}.mw-parser-output .tmbox.mbox-small{font-size:88%;line-height:1.25em}.mw-parser-output .tmbox-speedy{border:2px solid #b32424;background-color:#fee7e6}.mw-parser-output .tmbox-delete{border:2px solid #b32424}.mw-parser-output .tmbox-content{border:2px solid #f28500}.mw-parser-output .tmbox-style{border:2px solid #fc3}.mw-parser-output .tmbox-move{border:2px solid #9932cc}.mw-parser-output .tmbox .mbox-text{border:none;padding:0.25em 0.9em;width:100%}.mw-parser-output .tmbox .mbox-image{border:none;padding:2px 0 2px 0.9em;text-align:center}.mw-parser-output .tmbox .mbox-imageright{border:none;padding:2px 0.9em 2px 0;text-align:center}.mw-parser-output .tmbox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .tmbox .mbox-invalid-type{text-align:center}@media(min-width:720px){.mw-parser-output .tmbox{margin:4px 10%}.mw-parser-output .tmbox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;width:238px}}@media screen{html.skin-theme-clientpref-night .mw-parser-output .tmbox{background-color:#2e2505}html.skin-theme-clientpref-night .mw-parser-output .tmbox-speedy{background-color:#310402}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .tmbox{background-color:#2e2505}html.skin-theme-clientpref-os .mw-parser-output .tmbox-speedy{background-color:#310402}}body.skin--responsive .mw-parser-output table.tmbox img{max-width:none!important}</style><table class="plainlinks tmbox tmbox-protection" role="presentation"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/4/44/Full-protection-shackle.svg/45px-Full-protection-shackle.svg.png" decoding="async" width="45" height="45" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/4/44/Full-protection-shackle.svg/68px-Full-protection-shackle.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/4/44/Full-protection-shackle.svg/90px-Full-protection-shackle.svg.png 2x" data-file-width="512" data-file-height="512"/></span></span></td><td class="mbox-text"><a href="/wiki/Module:Yesno" title="Module:Yesno">Module:Yesno</a> is <b>permanently <a href="/wiki/Wikipedia:Protection_policy" title="Wikipedia:Protection policy">protected</a> from editing</b> because it is a <a href="/wiki/Wikipedia:High-risk_templates" title="Wikipedia:High-risk templates">heavily used or highly visible module</a>. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by <a href="/wiki/Wikipedia:Consensus" title="Wikipedia:Consensus">consensus</a>, editors may use {{<a href="/wiki/Template:Edit_protected" title="Template:Edit protected">edit protected</a>}} to notify an administrator to make the requested edit. <div style="padding:0.5em"><style data-mw-deduplicate="TemplateStyles:r1127644699">.mw-parser-output #request_edit_inputbox .commentboxInput,.mw-parser-output #request_edit_inputbox br{display:none}</style> <div class="mw-inputbox-centered" style=""><form name="commentbox" class="commentbox mw-inputbox-form" action="/w/index.php" method="get" id="request_edit_inputbox"><input type="hidden" value="edit" name="action"/><input type="hidden" value="Template:Request edit button/preload" name="preload"/><input type="hidden" value="Edit fully-protected" name="preloadparams[]"/><div class="cdx-text-input"><input type="hidden" name="preloadtitle" class="mw-inputbox-input commentboxInput cdx-text-input__input" value="Edit request {{subst:#time:j F Y}}" placeholder="" size="50" dir="ltr"/></div><input type="hidden" value="new" name="section"/><input type="hidden" value="Module talk:Yesno" name="title"/><br/><input type="submit" name="create" value="Request edit" class="cdx-button cdx-button--action-progressive cdx-button--weight-primary"/></form></div></div></td></tr></tbody></table> <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1237879475"><table class="plainlinks tmbox tmbox-notice copiednotice" role="presentation"><tbody><tr><td class="mbox-image"><span class="mw-default-size" typeof="mw:File/Frameless"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Splitsection.svg/50px-Splitsection.svg.png" decoding="async" width="50" height="25" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Splitsection.svg/75px-Splitsection.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Splitsection.svg/100px-Splitsection.svg.png 2x" data-file-width="40" data-file-height="20"/></span></span></td><td class="mbox-text">Text and/or other creative content from <a class="external text" href="https://en.wikipedia.org/w/index.php?title=Module%3AYesno&amp;oldid=828075573">this version</a> of <span class="plainlinks"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=Module%3AYesno&amp;redirect=no">Module:Yesno</a></span> was copied or moved into <a href="https://incubator.wikimedia.org/wiki/Module:Wp/nod/Yesno" class="extiw" title="incubator:Module:Wp/nod/Yesno">incubator:Module:Wp/nod/Yesno</a> with <a class="external text" href="https://incubator.wikimedia.org/wiki/Module:Wp/nod/Yesno?diff=4237022&amp;oldid=prev">this edit</a>. The former page's <a class="external text" href="https://en.wikipedia.org/w/index.php?title=Module%3AYesno&amp;action=history">history</a> now serves to <a href="/wiki/Wikipedia:Copying_within_Wikipedia" title="Wikipedia:Copying within Wikipedia">provide attribution</a> for that content in the latter page, and it must not be deleted as long as the latter page exists.</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-Ori.livneh-2013-02-28T10:46:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Testcases_and_documentation-2013-02-28T10:46:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation&quot;,&quot;c-Ori.livneh-2013-02-28T10:46:00.000Z-Testcases_and_documentation&quot;,&quot;c-DePiep-2013-03-23T13:16:00.000Z-Testcases_and_documentation&quot;],&quot;text&quot;:&quot;Testcases and documentation&quot;,&quot;linkableTitle&quot;:&quot;Testcases and documentation&quot;}--><h2 id="Testcases_and_documentation" data-mw-thread-id="h-Testcases_and_documentation-2013-02-28T10:46:00.000Z"><span data-mw-comment-start="" id="h-Testcases_and_documentation-2013-02-28T10:46:00.000Z"></span>Testcases and documentation<span data-mw-comment-end="h-Testcases_and_documentation-2013-02-28T10:46:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=1" title="Edit section: Testcases and documentation"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Ori.livneh-2013-02-28T10:46:00.000Z","type":"heading","level":0,"id":"h-Testcases_and_documentation-2013-02-28T10:46:00.000Z","replies":["c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation","c-Ori.livneh-2013-02-28T10:46:00.000Z-Testcases_and_documentation","c-DePiep-2013-03-23T13:16:00.000Z-Testcases_and_documentation"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation","timestamp":"2013-09-20T14:25:00.000Z"}__--><!--__DTCOMMENTCOUNT__6__--><!--__DTAUTHORCOUNT__4__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Ori.livneh-2013-02-28T10:46:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Testcases_and_documentation-2013-02-28T10:46:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation&quot;,&quot;c-Ori.livneh-2013-02-28T10:46:00.000Z-Testcases_and_documentation&quot;,&quot;c-DePiep-2013-03-23T13:16:00.000Z-Testcases_and_documentation&quot;],&quot;text&quot;:&quot;Testcases and documentation&quot;,&quot;linkableTitle&quot;:&quot;Testcases and documentation&quot;}--></div></div></div> <pre><span data-mw-comment-start="" id="c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation"></span>{| class="wikitable" |+ Test Cases (via [[Template:Yesno/doc]]) |- ! Module output ! Template output ! Expected |- | {{#invoke:Yesno|yesno|yes}} | {{yesno|yes}} | yes |- | {{#invoke:Yesno|yesno|YeS}} | {{yesno|YeS}} | yes |- | {{#invoke:Yesno|yesno|Y}} | {{yesno|Y}} | yes |- | {{#invoke:Yesno|yesno|y}} | {{yesno|y}} | yes |- | {{#invoke:Yesno|yesno|no}} | {{yesno|no}} | ''(blank)'' |- | {{#invoke:Yesno|yesno|}} | {{yesno|}} | ''(blank)'' |- | {{#invoke:Yesno|yesno}} | {{yesno}} | ''(blank)'' |- | {{#invoke:Yesno|yesno|¬}} | {{yesno|¬}} | ''(blank)'' |- | {{#invoke:Yesno|yesno|purplemonkeydishwasher}} | {{yesno|purplemonkeydishwasher}} | yes |- | {{#invoke:Yesno|yesno|yes|yes=bacon}} | {{yesno|yes|yes=bacon}} | bacon |- | {{#invoke:Yesno|yesno|no|no=ham}} | {{yesno|no|no=ham}} | ham |- | {{#invoke:Yesno|yesno|blank= eggs}} | {{yesno|blank= eggs}} | |- | {{#invoke:Yesno|yesno|no=ham}} | {{yesno|no=ham}} | |- | {{#invoke:Yesno|yesno|blank= eggs|no=ham}} | {{yesno|blank= eggs|no=ham}} | |- | {{#invoke:Yesno|yesno|¬|¬=sausage}} | {{yesno|¬|¬=sausage}} | sausage |- | {{#invoke:Yesno|yesno|purplemonkeydishwasher|def=cup-of-tea}} | {{yesno|purplemonkeydishwasher|def=cup-of-tea}} | cup-of-tea |- | {{#invoke:Yesno|yesno|purplemonkeydishwasher|yes=bacon}} | {{yesno|purplemonkeydishwasher|yes=bacon}} | bacon |- | {{#invoke:Yesno|yesno|purplemonkeydishwasher|def=cup-of-tea|yes=bacon}} | {{yesno|purplemonkeydishwasher|def=cup-of-tea|yes=bacon}} | cup-of-tea |- | {{#invoke:Yesno|yesno|yes|yes=no|no=yes}} | {{yesno|yes|yes=no|no=yes}} | no |- | {{#invoke:Yesno|yesno|no|yes=no|no=yes}} | {{yesno|no|yes=no|no=yes}} | yes |- | {{#invoke:Yesno|yesno| no |no=no}} | {{yesno| no |no=no}} | no |} </pre> <dl><dd><small>Note: Pre tags added to suppress script errors. — <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/Module_talk:Yesno#c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation" class="ext-discussiontools-init-timestamplink">14:25, 20 September 2013 (UTC)</a><span data-mw-comment-end="c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation"></span></small><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-09-20T14:25:00.000Z","author":"Mr. Stradivarius","type":"comment","level":1,"id":"c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation","replies":[]}}--></span></dd></dl> <p><span data-mw-comment-start="" id="c-Ori.livneh-2013-02-28T10:46:00.000Z-Testcases_and_documentation"></span>As you can see, the template does not behave exactly as its documentation claims it does. I was not sure which to regard as authoritative: the ideal or actual implementation. I ultimately went with the former. Removing <code>and not any</code> from the Lua code will make the module behave like exactly like the template. </p><p>--<a href="/wiki/User:Ori.livneh" class="mw-redirect" title="User:Ori.livneh">Ori.livneh</a> (<a href="/wiki/User_talk:Ori.livneh" class="mw-redirect" title="User talk:Ori.livneh">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Ori.livneh-2013-02-28T10:46:00.000Z-Testcases_and_documentation" class="ext-discussiontools-init-timestamplink">10:46, 28 February 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ori.livneh-2013-02-28T10:46:00.000Z-Testcases_and_documentation"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-02-28T10:46:00.000Z","author":"Ori.livneh","type":"comment","level":1,"id":"c-Ori.livneh-2013-02-28T10:46:00.000Z-Testcases_and_documentation","replies":["c-WOSlinker-2013-03-02T11:41:00.000Z-Ori.livneh-2013-02-28T10:46:00.000Z"]}}--></span><span data-mw-comment-end="c-Ori.livneh-2013-02-28T10:46:00.000Z-Testcases_and_documentation"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-WOSlinker-2013-03-02T11:41:00.000Z-Ori.livneh-2013-02-28T10:46:00.000Z"></span>Just needs to handle spaces in the params better. -- <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/Module_talk:Yesno#c-WOSlinker-2013-03-02T11:41:00.000Z-Ori.livneh-2013-02-28T10:46:00.000Z" class="ext-discussiontools-init-timestamplink">11:41, 2 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-WOSlinker-2013-03-02T11:41:00.000Z-Ori.livneh-2013-02-28T10:46:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-02T11:41:00.000Z","author":"WOSlinker","type":"comment","level":2,"id":"c-WOSlinker-2013-03-02T11:41:00.000Z-Ori.livneh-2013-02-28T10:46:00.000Z","replies":["c-Ori.livneh-2013-03-03T05:58:00.000Z-WOSlinker-2013-03-02T11:41:00.000Z"]}}--></span><span data-mw-comment-end="c-WOSlinker-2013-03-02T11:41:00.000Z-Ori.livneh-2013-02-28T10:46:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Ori.livneh-2013-03-03T05:58:00.000Z-WOSlinker-2013-03-02T11:41:00.000Z"></span>Thanks. Fixed. I moved your test case to the table above. --<a href="/wiki/User:Ori.livneh" class="mw-redirect" title="User:Ori.livneh">Ori.livneh</a> (<a href="/wiki/User_talk:Ori.livneh" class="mw-redirect" title="User talk:Ori.livneh">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Ori.livneh-2013-03-03T05:58:00.000Z-WOSlinker-2013-03-02T11:41:00.000Z" class="ext-discussiontools-init-timestamplink">05:58, 3 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ori.livneh-2013-03-03T05:58:00.000Z-WOSlinker-2013-03-02T11:41:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-03T05:58:00.000Z","author":"Ori.livneh","type":"comment","level":3,"id":"c-Ori.livneh-2013-03-03T05:58:00.000Z-WOSlinker-2013-03-02T11:41:00.000Z","replies":["c-DePiep-2013-03-11T22:31:00.000Z-Ori.livneh-2013-03-03T05:58:00.000Z"]}}--></span><span data-mw-comment-end="c-Ori.livneh-2013-03-03T05:58:00.000Z-WOSlinker-2013-03-02T11:41:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-DePiep-2013-03-11T22:31:00.000Z-Ori.livneh-2013-03-03T05:58:00.000Z"></span>Yesno has ~8M transclusions. No question it should handle the legacy 1:1. Test it. -<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/Module_talk:Yesno#c-DePiep-2013-03-11T22:31:00.000Z-Ori.livneh-2013-03-03T05:58:00.000Z" class="ext-discussiontools-init-timestamplink">22:31, 11 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2013-03-11T22:31:00.000Z-Ori.livneh-2013-03-03T05:58:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-11T22:31:00.000Z","author":"DePiep","type":"comment","level":4,"id":"c-DePiep-2013-03-11T22:31:00.000Z-Ori.livneh-2013-03-03T05:58:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-DePiep-2013-03-11T22:31:00.000Z-Ori.livneh-2013-03-03T05:58:00.000Z"></span></dd></dl></dd></dl></dd></dl> <p><span data-mw-comment-start="" id="c-DePiep-2013-03-23T13:16:00.000Z-Testcases_and_documentation"></span>The documentation is wrong. The "egg" example assumes thet the input value is <i>blank</i>. But in the code examples the input parameter is <i>omitted</i>. Compare: </p> <ul><li>{{yesno|blank= eggs|no=ham}} →</li> <li>{{yesno||blank= eggs|no=ham}} → eggs</li></ul> <p>This is what is actually documented: </p> <ul><li>{{yesno|blank= eggs|no=ham|¬=bread}} → bread</li></ul> <dl><dd>I have changed the documentation. Not the table above. -<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/Module_talk:Yesno#c-DePiep-2013-03-23T13:16:00.000Z-Testcases_and_documentation" class="ext-discussiontools-init-timestamplink">13:16, 23 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2013-03-23T13:16:00.000Z-Testcases_and_documentation"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-23T13:16:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2013-03-23T13:16:00.000Z-Testcases_and_documentation","replies":[]}}--></span><span data-mw-comment-end="c-DePiep-2013-03-23T13:16:00.000Z-Testcases_and_documentation"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Dragons_flight-2013-03-12T14:57:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Why?-2013-03-12T14:57:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Dragons_flight-2013-03-12T14:57:00.000Z-Why?&quot;,&quot;c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?&quot;],&quot;text&quot;:&quot;Why?&quot;,&quot;linkableTitle&quot;:&quot;Why?&quot;}--><h2 id="Why?" data-mw-thread-id="h-Why?-2013-03-12T14:57:00.000Z"><span id="Why.3F"></span><span data-mw-comment-start="" id="h-Why?-2013-03-12T14:57:00.000Z"></span>Why?<span data-mw-comment-end="h-Why?-2013-03-12T14:57:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=2" title="Edit section: Why?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Dragons_flight-2013-03-12T14:57:00.000Z","type":"heading","level":0,"id":"h-Why?-2013-03-12T14:57:00.000Z","replies":["c-Dragons_flight-2013-03-12T14:57:00.000Z-Why?","c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?","timestamp":"2019-11-23T15:47:00.000Z"}__--><!--__DTCOMMENTCOUNT__2__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Dragons_flight-2013-03-12T14:57:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Why?-2013-03-12T14:57:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Dragons_flight-2013-03-12T14:57:00.000Z-Why?&quot;,&quot;c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?&quot;],&quot;text&quot;:&quot;Why?&quot;,&quot;linkableTitle&quot;:&quot;Why?&quot;}--></div></div></div> <p><span class="nowrap"><span data-mw-comment-start="" id="c-Dragons_flight-2013-03-12T14:57:00.000Z-Why?"></span>{{</span><a href="/wiki/Template:Yesno" title="Template:Yesno">yesno</a><span class="nowrap">}}</span> is quite simple, so I'm not sure if there is a point in replacing it with functionally equivalent Lua. There are many cases where Lua can be much faster and easier to read, but I'm not sure that is the case here. In fact, because of the slight overhead with #invoke, simple parser functions can actually be slightly faster than the equivalent Lua. I haven't tested that here, but I wouldn't be surprised if there is no performance advantage in a case like this. Seems like a strange template to target for Lua conversion. <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/Module_talk:Yesno#c-Dragons_flight-2013-03-12T14:57:00.000Z-Why?" class="ext-discussiontools-init-timestamplink">14:57, 12 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Dragons_flight-2013-03-12T14:57:00.000Z-Why?"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-12T14:57:00.000Z","author":"Dragons flight","type":"comment","level":1,"id":"c-Dragons_flight-2013-03-12T14:57:00.000Z-Why?","replies":[]}}--></span><span data-mw-comment-end="c-Dragons_flight-2013-03-12T14:57:00.000Z-Why?"></span> </p><p><span data-mw-comment-start="" id="c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?"></span>It’s just for compatibility. For some weird reason, yesno might not work and this will. </p> <pre><span style="font-family:'Arial';"><a href="/w/index.php?title=User:E_Super_Maker&amp;action=edit&amp;redlink=1" class="new" title="User:E Super Maker (page does not exist)">E Super Maker</a></span> (<a href="/w/index.php?title=User_talk:E_Super_Maker&amp;action=edit&amp;redlink=1" class="new" title="User talk:E Super Maker (page does not exist)">😲 shout</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?" class="ext-discussiontools-init-timestamplink">15:47, 23 November 2019 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2019-11-23T15:47:00.000Z","author":"E Super Maker","type":"comment","level":1,"id":"c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?","replies":[]}}--></span><span data-mw-comment-end="c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?"></span> </pre> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-DePiep-2013-03-23T11:54:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-test_failed-2013-03-23T11:54:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2013-03-23T11:54:00.000Z-test_failed&quot;,&quot;c-DePiep-2013-03-23T14:19:00.000Z-test_failed&quot;],&quot;text&quot;:&quot;test failed&quot;,&quot;linkableTitle&quot;:&quot;test failed&quot;}--><h2 id="test_failed" data-mw-thread-id="h-test_failed-2013-03-23T11:54:00.000Z"><span data-mw-comment-start="" id="h-test_failed-2013-03-23T11:54:00.000Z"></span>test failed<span data-mw-comment-end="h-test_failed-2013-03-23T11:54:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=3" title="Edit section: test failed"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-DePiep-2013-03-23T11:54:00.000Z","type":"heading","level":0,"id":"h-test_failed-2013-03-23T11:54:00.000Z","replies":["c-DePiep-2013-03-23T11:54:00.000Z-test_failed","c-DePiep-2013-03-23T14:19:00.000Z-test_failed"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Mr._Stradivarius-2013-03-23T14:38:00.000Z-DePiep-2013-03-23T14:19:00.000Z","timestamp":"2013-03-23T14:38:00.000Z"}__--><!--__DTCOMMENTCOUNT__5__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-DePiep-2013-03-23T11:54:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-test_failed-2013-03-23T11:54:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2013-03-23T11:54:00.000Z-test_failed&quot;,&quot;c-DePiep-2013-03-23T14:19:00.000Z-test_failed&quot;],&quot;text&quot;:&quot;test failed&quot;,&quot;linkableTitle&quot;:&quot;test failed&quot;}--></div></div></div> <span data-mw-comment-start="" id="c-DePiep-2013-03-23T11:54:00.000Z-test_failed"></span><style data-mw-deduplicate="TemplateStyles:r1235781174">.mw-parser-output .hmbox-outer{margin-left:1em}.mw-parser-output .hmbox-inner{display:inline-block;color:var(--color-base,#202122);border:1px solid var(--border-color-base,#a2a9b1);background-color:var(--background-color-interactive-subtle,#f8f9fa);margin-right:0.5em;padding:0.3em 0.5em}</style><div role="note" class="hmbox-outer resolved"><div class="hmbox-inner"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/20px-Yes_check.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/30px-Yes_check.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/40px-Yes_check.svg.png 2x" data-file-width="600" data-file-height="600"/></span></span> Resolved</div></div> <p>One fail found in unit test: value "1= ¬ " (with whitespace). Reason:whitespace not removed before this check. Possible solution; treat '¬' as a character, separate from nil. (if val == nil or val == '¬' then ...). -<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/Module_talk:Yesno#c-DePiep-2013-03-23T11:54:00.000Z-test_failed" class="ext-discussiontools-init-timestamplink">11:54, 23 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2013-03-23T11:54:00.000Z-test_failed"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-23T11:54:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2013-03-23T11:54:00.000Z-test_failed","replies":["c-DePiep-2013-03-23T12:56:00.000Z-DePiep-2013-03-23T11:54:00.000Z","c-DePiep-2013-03-23T14:09:00.000Z-DePiep-2013-03-23T11:54:00.000Z"]}}--></span><span data-mw-comment-end="c-DePiep-2013-03-23T11:54:00.000Z-test_failed"></span> </p> <ul><li><span data-mw-comment-start="" id="c-DePiep-2013-03-23T12:56:00.000Z-DePiep-2013-03-23T11:54:00.000Z"></span>Another fail: input value="00". See <a href="/wiki/Module_talk:Yesno/testcases" title="Module talk:Yesno/testcases">Module talk:Yesno/testcases</a>. -<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/Module_talk:Yesno#c-DePiep-2013-03-23T12:56:00.000Z-DePiep-2013-03-23T11:54:00.000Z" class="ext-discussiontools-init-timestamplink">12:56, 23 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2013-03-23T12:56:00.000Z-DePiep-2013-03-23T11:54:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-23T12:56:00.000Z","author":"DePiep","type":"comment","level":2,"id":"c-DePiep-2013-03-23T12:56:00.000Z-DePiep-2013-03-23T11:54:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-DePiep-2013-03-23T12:56:00.000Z-DePiep-2013-03-23T11:54:00.000Z"></span></li></ul> <dl><dd><span data-mw-comment-start="" id="c-DePiep-2013-03-23T14:09:00.000Z-DePiep-2013-03-23T11:54:00.000Z"></span>also fails when 1=0.0</dd> <dd>Suggestion: change <code>val = args[1]</code> into <code>val = tostring(args[1])</code>. To prevent treating "000" as number. -<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/Module_talk:Yesno#c-DePiep-2013-03-23T14:09:00.000Z-DePiep-2013-03-23T11:54:00.000Z" class="ext-discussiontools-init-timestamplink">14:09, 23 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2013-03-23T14:09:00.000Z-DePiep-2013-03-23T11:54:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-23T14:09:00.000Z","author":"DePiep","type":"comment","level":2,"id":"c-DePiep-2013-03-23T14:09:00.000Z-DePiep-2013-03-23T11:54:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-DePiep-2013-03-23T14:09:00.000Z-DePiep-2013-03-23T11:54:00.000Z"></span></dd></dl> <p><span data-mw-comment-start="" id="c-DePiep-2013-03-23T14:19:00.000Z-test_failed"></span>Solved. Module is changed, although the numeric issue different from my (incorrect) suggestion. -<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/Module_talk:Yesno#c-DePiep-2013-03-23T14:19:00.000Z-test_failed" class="ext-discussiontools-init-timestamplink">14:19, 23 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2013-03-23T14:19:00.000Z-test_failed"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-23T14:19:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2013-03-23T14:19:00.000Z-test_failed","replies":["c-Mr._Stradivarius-2013-03-23T14:38:00.000Z-DePiep-2013-03-23T14:19:00.000Z"]}}--></span><span data-mw-comment-end="c-DePiep-2013-03-23T14:19:00.000Z-test_failed"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2013-03-23T14:38:00.000Z-DePiep-2013-03-23T14:19:00.000Z"></span>Thanks for putting the test cases up. I learned something new about ParserFunctions. :) Still seems to be slower than the old template version though. — <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/Module_talk:Yesno#c-Mr._Stradivarius-2013-03-23T14:38:00.000Z-DePiep-2013-03-23T14:19:00.000Z" class="ext-discussiontools-init-timestamplink">14:38, 23 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2013-03-23T14:38:00.000Z-DePiep-2013-03-23T14:19:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-23T14:38:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2013-03-23T14:38:00.000Z-DePiep-2013-03-23T14:19:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2013-03-23T14:38:00.000Z-DePiep-2013-03-23T14:19: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-DePiep-2013-03-23T17:47:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Null?-2013-03-23T17:47:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2013-03-23T17:47:00.000Z-Null?&quot;],&quot;text&quot;:&quot;Null?&quot;,&quot;linkableTitle&quot;:&quot;Null?&quot;}--><h2 id="Null?" data-mw-thread-id="h-Null?-2013-03-23T17:47:00.000Z"><span id="Null.3F"></span><span data-mw-comment-start="" id="h-Null?-2013-03-23T17:47:00.000Z"></span>Null?<span data-mw-comment-end="h-Null?-2013-03-23T17:47:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=4" title="Edit section: Null?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-DePiep-2013-03-23T17:47:00.000Z","type":"heading","level":0,"id":"h-Null?-2013-03-23T17:47:00.000Z","replies":["c-DePiep-2013-03-23T17:47:00.000Z-Null?"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-DePiep-2013-03-24T00:17:00.000Z-Mr._Stradivarius-2013-03-23T18:24:00.000Z","timestamp":"2013-03-24T00:17: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-2013-03-23T17:47:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Null?-2013-03-23T17:47:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2013-03-23T17:47:00.000Z-Null?&quot;],&quot;text&quot;:&quot;Null?&quot;,&quot;linkableTitle&quot;:&quot;Null?&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-DePiep-2013-03-23T17:47:00.000Z-Null?"></span>The code now says <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">no = "&amp;lt;!-- null --&amp;gt;"</code>. But a "" (nullstring) is not the same as ASCII NULL (0x0000). Also I see no use for adding wiki comment to code this way. -<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/Module_talk:Yesno#c-DePiep-2013-03-23T17:47:00.000Z-Null?" class="ext-discussiontools-init-timestamplink">17:47, 23 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2013-03-23T17:47:00.000Z-Null?"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-23T17:47:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2013-03-23T17:47:00.000Z-Null?","replies":["c-Mr._Stradivarius-2013-03-23T18:24:00.000Z-DePiep-2013-03-23T17:47:00.000Z"]}}--></span><span data-mw-comment-end="c-DePiep-2013-03-23T17:47:00.000Z-Null?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2013-03-23T18:24:00.000Z-DePiep-2013-03-23T17:47:00.000Z"></span>Yes, I agree that it doesn't really make sense. It's just in there to be 100% backwards-compatible with the current template. Those html comments should really have been removed from <span class="nowrap">{{</span><a href="/wiki/Template:Yesno" title="Template:Yesno">yesno</a><span class="nowrap">}}</span> when it was made subst-able, which would have prevented us from having to second-guess whether they actually affect the output of any substitutions in any meaningful way. I suppose it's possible to download a database dump and to run a search on it to find out, but that's probably a bit much for my poor ailing laptop. Or we could just remove the comments and hope nothing breaks - I'm fairly sure that no-one would have written any template code that purposefully used them. There's no way to be sure that there is no code that was inadvertently written to be dependent on the error, though, and that worries me. — <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/Module_talk:Yesno#c-Mr._Stradivarius-2013-03-23T18:24:00.000Z-DePiep-2013-03-23T17:47:00.000Z" class="ext-discussiontools-init-timestamplink">18:24, 23 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2013-03-23T18:24:00.000Z-DePiep-2013-03-23T17:47:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-23T18:24:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2013-03-23T18:24:00.000Z-DePiep-2013-03-23T17:47:00.000Z","replies":["c-DePiep-2013-03-24T00:17:00.000Z-Mr._Stradivarius-2013-03-23T18:24:00.000Z"]}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2013-03-23T18:24:00.000Z-DePiep-2013-03-23T17:47:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-DePiep-2013-03-24T00:17:00.000Z-Mr._Stradivarius-2013-03-23T18:24:00.000Z"></span>Drop it. Come what may. -<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/Module_talk:Yesno#c-DePiep-2013-03-24T00:17:00.000Z-Mr._Stradivarius-2013-03-23T18:24:00.000Z" class="ext-discussiontools-init-timestamplink">00:17, 24 March 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2013-03-24T00:17:00.000Z-Mr._Stradivarius-2013-03-23T18:24:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-03-24T00:17:00.000Z","author":"DePiep","type":"comment","level":3,"id":"c-DePiep-2013-03-24T00:17:00.000Z-Mr._Stradivarius-2013-03-23T18:24:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-DePiep-2013-03-24T00:17:00.000Z-Mr._Stradivarius-2013-03-23T18:24: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-Mr._Stradivarius-2013-09-20T14:37:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Rewrite-2013-09-20T14:37:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite&quot;],&quot;text&quot;:&quot;Rewrite&quot;,&quot;linkableTitle&quot;:&quot;Rewrite&quot;}--><h2 id="Rewrite" data-mw-thread-id="h-Rewrite-2013-09-20T14:37:00.000Z"><span data-mw-comment-start="" id="h-Rewrite-2013-09-20T14:37:00.000Z"></span>Rewrite<span data-mw-comment-end="h-Rewrite-2013-09-20T14:37:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=5" title="Edit section: Rewrite"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Mr._Stradivarius-2013-09-20T14:37:00.000Z","type":"heading","level":0,"id":"h-Rewrite-2013-09-20T14:37:00.000Z","replies":["c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite","timestamp":"2013-09-20T14:37:00.000Z"}__--><!--__DTCOMMENTCOUNT__1__--><!--__DTAUTHORCOUNT__1__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Mr._Stradivarius-2013-09-20T14:37:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Rewrite-2013-09-20T14:37:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite&quot;],&quot;text&quot;:&quot;Rewrite&quot;,&quot;linkableTitle&quot;:&quot;Rewrite&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite"></span>I've rewritten this as a pure Lua function. The new version is a lot simpler, and is also designed to work with Lua data types such as booleans, tables, and functions. Dragons flight's criticism above is well-founded, and giving up on the idea of replacing <span class="nowrap">{{</span><a href="/wiki/Template:Yesno" title="Template:Yesno">yesno</a><span class="nowrap">}}</span> seemed like the best answer. The new version should hopefully retain the basics of <span class="nowrap">{{</span><a href="/wiki/Template:Yesno" title="Template:Yesno">yesno</a><span class="nowrap">}}</span> while playing well with Lua, and allow meta-modules that deal with boolean-style wikitext input to be consistent with each other. (In other words, users won't have to remember whether it was "category=yes" or "category=true" - it should Just Work<sup>TM</sup>.) — <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/Module_talk:Yesno#c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite" class="ext-discussiontools-init-timestamplink">14:37, 20 September 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-09-20T14:37:00.000Z","author":"Mr. Stradivarius","type":"comment","level":1,"id":"c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite","replies":[]}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Jarekt-2013-12-20T16:37:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-All_testcases_failed-2013-12-20T16:37:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed&quot;],&quot;text&quot;:&quot;All testcases failed&quot;,&quot;linkableTitle&quot;:&quot;All testcases failed&quot;}--><h2 id="All_testcases_failed" data-mw-thread-id="h-All_testcases_failed-2013-12-20T16:37:00.000Z"><span data-mw-comment-start="" id="h-All_testcases_failed-2013-12-20T16:37:00.000Z"></span>All testcases failed<span data-mw-comment-end="h-All_testcases_failed-2013-12-20T16:37:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=6" title="Edit section: All testcases failed"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Jarekt-2013-12-20T16:37:00.000Z","type":"heading","level":0,"id":"h-All_testcases_failed-2013-12-20T16:37:00.000Z","replies":["c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed","timestamp":"2013-12-20T16:37:00.000Z"}__--><!--__DTCOMMENTCOUNT__1__--><!--__DTAUTHORCOUNT__1__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Jarekt-2013-12-20T16:37:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-All_testcases_failed-2013-12-20T16:37:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed&quot;],&quot;text&quot;:&quot;All testcases failed&quot;,&quot;linkableTitle&quot;:&quot;All testcases failed&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed"></span>is there some issue with the module, all tests on the <a href="/wiki/Module_talk:Yesno/testcases" title="Module talk:Yesno/testcases">Module talk:Yesno/testcases</a> has failed. --<a href="/wiki/User:Jarekt" title="User:Jarekt">Jarekt</a> (<a href="/wiki/User_talk:Jarekt" title="User talk:Jarekt">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed" class="ext-discussiontools-init-timestamplink">16:37, 20 December 2013 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2013-12-20T16:37:00.000Z","author":"Jarekt","type":"comment","level":1,"id":"c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed","replies":[]}}--></span><span data-mw-comment-end="c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Protected_edit_request_on_24_February_2014-2014-02-24T04:21:00.000Z&quot;,&quot;replies&quot;:[&quot;c-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z-Protected_edit_request_on_24_February_2014&quot;],&quot;text&quot;:&quot;Protected edit request on 24 February 2014&quot;,&quot;linkableTitle&quot;:&quot;Protected edit request on 24 February 2014&quot;}--><h2 id="Protected_edit_request_on_24_February_2014" data-mw-thread-id="h-Protected_edit_request_on_24_February_2014-2014-02-24T04:21:00.000Z"><span data-mw-comment-start="" id="h-Protected_edit_request_on_24_February_2014-2014-02-24T04:21:00.000Z"></span>Protected edit request on 24 February 2014<span data-mw-comment-end="h-Protected_edit_request_on_24_February_2014-2014-02-24T04:21:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=7" title="Edit section: Protected edit request on 24 February 2014"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z","type":"heading","level":0,"id":"h-Protected_edit_request_on_24_February_2014-2014-02-24T04:21:00.000Z","replies":["c-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z-Protected_edit_request_on_24_February_2014"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Technical_13-2014-02-24T04:27:00.000Z-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z","timestamp":"2014-02-24T04:27:00.000Z"}__--><!--__DTCOMMENTCOUNT__2__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Protected_edit_request_on_24_February_2014-2014-02-24T04:21:00.000Z&quot;,&quot;replies&quot;:[&quot;c-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z-Protected_edit_request_on_24_February_2014&quot;],&quot;text&quot;:&quot;Protected edit request on 24 February 2014&quot;,&quot;linkableTitle&quot;:&quot;Protected edit request on 24 February 2014&quot;}--></div></div></div> <span data-mw-comment-start="" id="c-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z-Protected_edit_request_on_24_February_2014"></span><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1237879475"><table class="plainlinks tmbox mbox-small tmbox-notice editrequest" role="presentation" data-origlevel="semi"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/30px-Information_icon4.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/45px-Information_icon4.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/60px-Information_icon4.svg.png 2x" data-file-width="620" data-file-height="620"/></span></span></td><td class="mbox-text">This <a href="/wiki/Wikipedia:Edit_requests" title="Wikipedia:Edit requests">edit request</a> has been answered. Set the <code style="white-space: nowrap;">|answered=</code> or <code style="white-space: nowrap;">|ans=</code> parameter to <b>no</b> to reactivate your request.</td></tr></tbody></table> <p>the information is deceptive </p><p>please delete <a href="/wiki/Special:Contributions/2600:1013:B018:986F:4493:7A2A:52E2:103A" title="Special:Contributions/2600:1013:B018:986F:4493:7A2A:52E2:103A">2600:1013:B018:986F:4493:7A2A:52E2:103A</a> (<a href="/w/index.php?title=User_talk:2600:1013:B018:986F:4493:7A2A:52E2:103A&amp;action=edit&amp;redlink=1" class="new" title="User talk:2600:1013:B018:986F:4493:7A2A:52E2:103A (page does not exist)">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z-Protected_edit_request_on_24_February_2014" class="ext-discussiontools-init-timestamplink">04:21, 24 February 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z-Protected_edit_request_on_24_February_2014"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2014-02-24T04:21:00.000Z","author":"2600:1013:B018:986F:4493:7A2A:52E2:103A","type":"comment","level":1,"id":"c-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z-Protected_edit_request_on_24_February_2014","replies":["c-Technical_13-2014-02-24T04:27:00.000Z-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z"]}}--></span><span data-mw-comment-end="c-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z-Protected_edit_request_on_24_February_2014"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Technical_13-2014-02-24T04:27:00.000Z-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z"></span><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Red_question_icon_with_gradient_background.svg/20px-Red_question_icon_with_gradient_background.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Red_question_icon_with_gradient_background.svg/30px-Red_question_icon_with_gradient_background.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/e/ea/Red_question_icon_with_gradient_background.svg/40px-Red_question_icon_with_gradient_background.svg.png 2x" data-file-width="62" data-file-height="62"/></span></span> <b>Not done:</b> please be more specific about what needs to be changed. Note that this is the talk page for <a href="/wiki/Module:Yesno" title="Module:Yesno">Module:Yesno</a> and there is no information here. What information on which page do you think is deceptive? — <span class="nowrap">{{U|<a href="/wiki/User:Technical_13" title="User:Technical 13">Technical 13</a>}}</span> <sup>(<a href="/wiki/User_talk:Technical_13" title="User talk:Technical 13">t</a> • <a href="/wiki/Special:EmailUser/Technical_13" title="Special:EmailUser/Technical 13">e</a> • <a href="/wiki/Special:Contributions/Technical_13" title="Special:Contributions/Technical 13">c</a>)</sup> <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Technical_13-2014-02-24T04:27:00.000Z-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z" class="ext-discussiontools-init-timestamplink">04:27, 24 February 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Technical_13-2014-02-24T04:27:00.000Z-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2014-02-24T04:27:00.000Z","author":"Technical 13","type":"comment","level":2,"id":"c-Technical_13-2014-02-24T04:27:00.000Z-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Technical_13-2014-02-24T04:27:00.000Z-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21: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-Mr._Stradivarius-2014-04-07T15:22:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-New_version-2014-04-07T15:22:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Mr._Stradivarius-2014-04-07T15:22:00.000Z-New_version&quot;],&quot;text&quot;:&quot;New version&quot;,&quot;linkableTitle&quot;:&quot;New version&quot;}--><h2 id="New_version" data-mw-thread-id="h-New_version-2014-04-07T15:22:00.000Z"><span data-mw-comment-start="" id="h-New_version-2014-04-07T15:22:00.000Z"></span>New version<span data-mw-comment-end="h-New_version-2014-04-07T15:22:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=8" title="Edit section: New version"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Mr._Stradivarius-2014-04-07T15:22:00.000Z","type":"heading","level":0,"id":"h-New_version-2014-04-07T15:22:00.000Z","replies":["c-Mr._Stradivarius-2014-04-07T15:22:00.000Z-New_version"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Mr._Stradivarius-2014-04-22T12:33:00.000Z-Jackmcbarn-2014-04-07T18:57:00.000Z","timestamp":"2014-04-22T12:33:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Mr._Stradivarius-2014-04-07T15:22:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-New_version-2014-04-07T15:22:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Mr._Stradivarius-2014-04-07T15:22:00.000Z-New_version&quot;],&quot;text&quot;:&quot;New version&quot;,&quot;linkableTitle&quot;:&quot;New version&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Mr._Stradivarius-2014-04-07T15:22:00.000Z-New_version"></span>I've put a new version of this module in the sandbox. The new version uses the native Lua string.lower function instead of the Scribunto mw.ustring.lower function. According to my tests it is about 25x faster this way. Would anyone object to me updating the module? — <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/Module_talk:Yesno#c-Mr._Stradivarius-2014-04-07T15:22:00.000Z-New_version" class="ext-discussiontools-init-timestamplink">15:22, 7 April 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2014-04-07T15:22:00.000Z-New_version"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2014-04-07T15:22:00.000Z","author":"Mr. Stradivarius","type":"comment","level":1,"id":"c-Mr._Stradivarius-2014-04-07T15:22:00.000Z-New_version","replies":["c-Jackmcbarn-2014-04-07T18:57:00.000Z-Mr._Stradivarius-2014-04-07T15:22:00.000Z"]}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2014-04-07T15:22:00.000Z-New_version"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Jackmcbarn-2014-04-07T18:57:00.000Z-Mr._Stradivarius-2014-04-07T15:22:00.000Z"></span>I see no issue with it. <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/Module_talk:Yesno#c-Jackmcbarn-2014-04-07T18:57:00.000Z-Mr._Stradivarius-2014-04-07T15:22:00.000Z" class="ext-discussiontools-init-timestamplink">18:57, 7 April 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jackmcbarn-2014-04-07T18:57:00.000Z-Mr._Stradivarius-2014-04-07T15:22:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2014-04-07T18:57:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2014-04-07T18:57:00.000Z-Mr._Stradivarius-2014-04-07T15:22:00.000Z","replies":["c-Mr._Stradivarius-2014-04-22T12:33:00.000Z-Jackmcbarn-2014-04-07T18:57:00.000Z"]}}--></span><span data-mw-comment-end="c-Jackmcbarn-2014-04-07T18:57:00.000Z-Mr._Stradivarius-2014-04-07T15:22:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2014-04-22T12:33:00.000Z-Jackmcbarn-2014-04-07T18:57:00.000Z"></span>The new version is live as of the 18th. — <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/Module_talk:Yesno#c-Mr._Stradivarius-2014-04-22T12:33:00.000Z-Jackmcbarn-2014-04-07T18:57:00.000Z" class="ext-discussiontools-init-timestamplink">12:33, 22 April 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2014-04-22T12:33:00.000Z-Jackmcbarn-2014-04-07T18:57:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2014-04-22T12:33:00.000Z","author":"Mr. Stradivarius","type":"comment","level":3,"id":"c-Mr._Stradivarius-2014-04-22T12:33:00.000Z-Jackmcbarn-2014-04-07T18:57:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2014-04-22T12:33:00.000Z-Jackmcbarn-2014-04-07T18:57: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-DePiep-2014-04-08T09:06:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Doc_questions_(blank_string_true\/false)-2014-04-08T09:06:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2014-04-08T09:06:00.000Z-Doc_questions_(blank_string_true\/false)&quot;],&quot;text&quot;:&quot;Doc questions (blank string true\/false)&quot;,&quot;linkableTitle&quot;:&quot;Doc questions (blank string true\/false)&quot;}--><h2 id="Doc_questions_(blank_string_true/false)" data-mw-thread-id="h-Doc_questions_(blank_string_true/false)-2014-04-08T09:06:00.000Z"><span id="Doc_questions_.28blank_string_true.2Ffalse.29"></span><span data-mw-comment-start="" id="h-Doc_questions_(blank_string_true/false)-2014-04-08T09:06:00.000Z"></span>Doc questions (blank string true/false)<span data-mw-comment-end="h-Doc_questions_(blank_string_true/false)-2014-04-08T09:06:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=9" title="Edit section: Doc questions (blank string true/false)"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-DePiep-2014-04-08T09:06:00.000Z","type":"heading","level":0,"id":"h-Doc_questions_(blank_string_true\/false)-2014-04-08T09:06:00.000Z","replies":["c-DePiep-2014-04-08T09:06:00.000Z-Doc_questions_(blank_string_true\/false)"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Mr._Stradivarius-2014-04-08T12:34:00.000Z-DePiep-2014-04-08T12:10:00.000Z","timestamp":"2014-04-08T12:34:00.000Z"}__--><!--__DTCOMMENTCOUNT__4__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-DePiep-2014-04-08T09:06:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Doc_questions_(blank_string_true\/false)-2014-04-08T09:06:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2014-04-08T09:06:00.000Z-Doc_questions_(blank_string_true\/false)&quot;],&quot;text&quot;:&quot;Doc questions (blank string true\/false)&quot;,&quot;linkableTitle&quot;:&quot;Doc questions (blank string true\/false)&quot;}--></div></div></div> <ol><li><span data-mw-comment-start="" id="c-DePiep-2014-04-08T09:06:00.000Z-Doc_questions_(blank_string_true/false)"></span>In the documentation, I changed the "nil" example into singular. Or are there are other forms of nil covered and to be documented? (uppercase?, a non-initialised variable?).</li> <li>The last paragraph is about the <code>''</code> value (blank string). It says:</li></ol> <dl><dd><i>Although the blank string usually evaluates to false in wikitext, it evaluates to true in Lua.</i> Is this correct here?</dd></dl> <dl><dd>According to this same documentation, it is treated as "not a boolean". It says it returns the default (parameter) value, not the 'true' value. That is: not recognised as a boolean, iic. And elsewhere the doc says "<code>yesno('')</code> returns nil". (I did not test any). -<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/Module_talk:Yesno#c-DePiep-2014-04-08T09:06:00.000Z-Doc_questions_(blank_string_true/false)" class="ext-discussiontools-init-timestamplink">09:06, 8 April 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2014-04-08T09:06:00.000Z-Doc_questions_(blank_string_true/false)"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2014-04-08T09:06:00.000Z","author":"DePiep","type":"comment","level":2,"id":"c-DePiep-2014-04-08T09:06:00.000Z-Doc_questions_(blank_string_true\/false)","replies":["c-Mr._Stradivarius-2014-04-08T09:26:00.000Z-DePiep-2014-04-08T09:06:00.000Z"]}}--></span><span data-mw-comment-end="c-DePiep-2014-04-08T09:06:00.000Z-Doc_questions_(blank_string_true/false)"></span></dd></dl> <dl><dd><dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2014-04-08T09:26:00.000Z-DePiep-2014-04-08T09:06:00.000Z"></span>On nil: there is only one kind of nil. However, there may be many variables in any given module whose value may be nil, hence "nil values". There is no "uppercase nil", and in Lua there is no such thing as a non-initialised variable, as variables are initialised when they are first used. On the blank string: saying that it "evaluates to true" is talking about when it is used in if/then statements or with the <code>and</code> and <code>or</code> operators. For example, the following code will return true:</dd></dl></dd></dl> <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><pre><span></span><span class="kr">if</span> <span class="s1">''</span> <span class="kr">then</span> <span class="kr">return</span> <span class="kc">true</span> <span class="kr">else</span> <span class="kr">return</span> <span class="kc">false</span> <span class="kr">end</span> </pre></div> <dl><dd><dl><dd>Does that clear things up? — <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/Module_talk:Yesno#c-Mr._Stradivarius-2014-04-08T09:26:00.000Z-DePiep-2014-04-08T09:06:00.000Z" class="ext-discussiontools-init-timestamplink">09:26, 8 April 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2014-04-08T09:26:00.000Z-DePiep-2014-04-08T09:06:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2014-04-08T09:26:00.000Z","author":"Mr. Stradivarius","type":"comment","level":3,"id":"c-Mr._Stradivarius-2014-04-08T09:26:00.000Z-DePiep-2014-04-08T09:06:00.000Z","replies":["c-DePiep-2014-04-08T12:10:00.000Z-Mr._Stradivarius-2014-04-08T09:26:00.000Z"]}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2014-04-08T09:26:00.000Z-DePiep-2014-04-08T09:06:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-DePiep-2014-04-08T12:10:00.000Z-Mr._Stradivarius-2014-04-08T09:26:00.000Z"></span>Does it clear things up? Don't know. Documentation did not change. -<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/Module_talk:Yesno#c-DePiep-2014-04-08T12:10:00.000Z-Mr._Stradivarius-2014-04-08T09:26:00.000Z" class="ext-discussiontools-init-timestamplink">12:10, 8 April 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2014-04-08T12:10:00.000Z-Mr._Stradivarius-2014-04-08T09:26:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2014-04-08T12:10:00.000Z","author":"DePiep","type":"comment","level":4,"id":"c-DePiep-2014-04-08T12:10:00.000Z-Mr._Stradivarius-2014-04-08T09:26:00.000Z","replies":["c-Mr._Stradivarius-2014-04-08T12:34:00.000Z-DePiep-2014-04-08T12:10:00.000Z"]}}--></span><span data-mw-comment-end="c-DePiep-2014-04-08T12:10:00.000Z-Mr._Stradivarius-2014-04-08T09:26:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2014-04-08T12:34:00.000Z-DePiep-2014-04-08T12:10:00.000Z"></span>I mean, do you understand it now? — <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/Module_talk:Yesno#c-Mr._Stradivarius-2014-04-08T12:34:00.000Z-DePiep-2014-04-08T12:10:00.000Z" class="ext-discussiontools-init-timestamplink">12:34, 8 April 2014 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2014-04-08T12:34:00.000Z-DePiep-2014-04-08T12:10:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2014-04-08T12:34:00.000Z","author":"Mr. Stradivarius","type":"comment","level":5,"id":"c-Mr._Stradivarius-2014-04-08T12:34:00.000Z-DePiep-2014-04-08T12:10:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2014-04-08T12:34:00.000Z-DePiep-2014-04-08T12:10: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-CRwikiCA-2015-04-14T15:15:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Render_T_as_true_as_well?-2015-04-14T15:15:00.000Z&quot;,&quot;replies&quot;:[&quot;c-CRwikiCA-2015-04-14T15:15:00.000Z-Render_T_as_true_as_well?&quot;,&quot;c-CRwikiCA-2015-04-23T18:17:00.000Z-Render_T_as_true_as_well?&quot;],&quot;text&quot;:&quot;Render T as true as well?&quot;,&quot;linkableTitle&quot;:&quot;Render T as true as well?&quot;}--><h2 id="Render_T_as_true_as_well?" data-mw-thread-id="h-Render_T_as_true_as_well?-2015-04-14T15:15:00.000Z"><span id="Render_T_as_true_as_well.3F"></span><span data-mw-comment-start="" id="h-Render_T_as_true_as_well?-2015-04-14T15:15:00.000Z"></span>Render T as true as well?<span data-mw-comment-end="h-Render_T_as_true_as_well?-2015-04-14T15:15:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=10" title="Edit section: Render T as true as well?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-CRwikiCA-2015-04-14T15:15:00.000Z","type":"heading","level":0,"id":"h-Render_T_as_true_as_well?-2015-04-14T15:15:00.000Z","replies":["c-CRwikiCA-2015-04-14T15:15:00.000Z-Render_T_as_true_as_well?","c-CRwikiCA-2015-04-23T18:17:00.000Z-Render_T_as_true_as_well?"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Od1n-20241020000500-MSGJ-2015-04-27T10:43:00.000Z","timestamp":"20241020000500"}__--><!--__DTCOMMENTCOUNT__4__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-CRwikiCA-2015-04-14T15:15:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Render_T_as_true_as_well?-2015-04-14T15:15:00.000Z&quot;,&quot;replies&quot;:[&quot;c-CRwikiCA-2015-04-14T15:15:00.000Z-Render_T_as_true_as_well?&quot;,&quot;c-CRwikiCA-2015-04-23T18:17:00.000Z-Render_T_as_true_as_well?&quot;],&quot;text&quot;:&quot;Render T as true as well?&quot;,&quot;linkableTitle&quot;:&quot;Render T as true as well?&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-CRwikiCA-2015-04-14T15:15:00.000Z-Render_T_as_true_as_well?"></span>I have seen some applications use T as an option for true as well. It might, therefore, be useful to have the letter T (t) represent a true value as well. <span style="border:1px solid maroon; padding:0 2px"><a href="/wiki/User:CRwikiCA" title="User:CRwikiCA"><span style="font-family:'Courier';color:maroon">CRwikiCA</span></a> <a href="/wiki/User_talk:CRwikiCA" title="User talk:CRwikiCA"><i style="color:navy">talk</i></a></span> <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-CRwikiCA-2015-04-14T15:15:00.000Z-Render_T_as_true_as_well?" class="ext-discussiontools-init-timestamplink">15:15, 14 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-CRwikiCA-2015-04-14T15:15:00.000Z-Render_T_as_true_as_well?"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-14T15:15:00.000Z","author":"CRwikiCA","type":"comment","level":1,"id":"c-CRwikiCA-2015-04-14T15:15:00.000Z-Render_T_as_true_as_well?","replies":[]}}--></span><span data-mw-comment-end="c-CRwikiCA-2015-04-14T15:15:00.000Z-Render_T_as_true_as_well?"></span> </p> <dl><dt>Request</dt></dl> <span data-mw-comment-start="" id="c-CRwikiCA-2015-04-23T18:17:00.000Z-Render_T_as_true_as_well?"></span><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1237879475"><table class="plainlinks tmbox mbox-small tmbox-notice editrequest" role="presentation" data-origlevel="semi"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/30px-Information_icon4.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/45px-Information_icon4.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/60px-Information_icon4.svg.png 2x" data-file-width="620" data-file-height="620"/></span></span></td><td class="mbox-text">This <a href="/wiki/Wikipedia:Edit_requests" title="Wikipedia:Edit requests">edit request</a> has been answered. Set the <code style="white-space: nowrap;">|answered=</code> or <code style="white-space: nowrap;">|ans=</code> parameter to <b>no</b> to reactivate your request.</td></tr></tbody></table> <p>I request a change to the module to recognize T or t and F or f as true and false entries. This would make the full code the following: </p> <div class="mw-highlight mw-highlight-lang-lua mw-content-ltr mw-highlight-lines" dir="ltr"><pre><span></span><span class="linenos" data-line="1"></span><span class="c1">-- Function allowing for consistent treatment of boolean-like wikitext input.</span> <span class="linenos" data-line="2"></span><span class="c1">-- It works similarly to the template {{yesno}}.</span> <span class="linenos" data-line="3"></span> <span class="linenos" data-line="4"></span><span class="kr">return</span> <span class="kr">function</span> <span class="p">(</span><span class="n">val</span><span class="p">,</span> <span class="n">default</span><span class="p">)</span> <span class="linenos" data-line="5"></span> <span class="c1">-- If your wiki uses non-ascii characters for any of "yes", "no", etc., you</span> <span class="linenos" data-line="6"></span> <span class="c1">-- should replace "val:lower()" with "mw.ustring.lower(val)" in the</span> <span class="linenos" data-line="7"></span> <span class="c1">-- following line.</span> <span class="linenos" data-line="8"></span> <span class="n">val</span> <span class="o">=</span> <span class="nb">type</span><span class="p">(</span><span class="n">val</span><span class="p">)</span> <span class="o">==</span> <span class="s1">'string'</span> <span class="ow">and</span> <span class="n">val</span><span class="p">:</span><span class="n">lower</span><span class="p">()</span> <span class="ow">or</span> <span class="n">val</span> <span class="linenos" data-line="9"></span> <span class="kr">if</span> <span class="n">val</span> <span class="o">==</span> <span class="kc">nil</span> <span class="kr">then</span> <span class="linenos" data-line="10"></span> <span class="kr">return</span> <span class="kc">nil</span> <span class="linenos" data-line="11"></span> <span class="kr">elseif</span> <span class="n">val</span> <span class="o">==</span> <span class="kc">true</span> <span class="linenos" data-line="12"></span> <span class="ow">or</span> <span class="n">val</span> <span class="o">==</span> <span class="s1">'yes'</span> <span class="linenos" data-line="13"></span> <span class="ow">or</span> <span class="n">val</span> <span class="o">==</span> <span class="s1">'y'</span> <span class="linenos" data-line="14"></span> <span class="ow">or</span> <span class="n">val</span> <span class="o">==</span> <span class="s1">'true'</span> <span class="linenos" data-line="15"></span> <span class="ow">or</span> <span class="n">val</span> <span class="o">==</span> <span class="s1">'t'</span> <span class="linenos" data-line="16"></span> <span class="ow">or</span> <span class="nb">tonumber</span><span class="p">(</span><span class="n">val</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span> <span class="linenos" data-line="17"></span> <span class="kr">then</span> <span class="linenos" data-line="18"></span> <span class="kr">return</span> <span class="kc">true</span> <span class="linenos" data-line="19"></span> <span class="kr">elseif</span> <span class="n">val</span> <span class="o">==</span> <span class="kc">false</span> <span class="linenos" data-line="20"></span> <span class="ow">or</span> <span class="n">val</span> <span class="o">==</span> <span class="s1">'no'</span> <span class="linenos" data-line="21"></span> <span class="ow">or</span> <span class="n">val</span> <span class="o">==</span> <span class="s1">'n'</span> <span class="linenos" data-line="22"></span> <span class="ow">or</span> <span class="n">val</span> <span class="o">==</span> <span class="s1">'false'</span> <span class="linenos" data-line="23"></span> <span class="ow">or</span> <span class="n">val</span> <span class="o">==</span> <span class="s1">'f'</span> <span class="linenos" data-line="24"></span> <span class="ow">or</span> <span class="nb">tonumber</span><span class="p">(</span><span class="n">val</span><span class="p">)</span> <span class="o">==</span> <span class="mi">0</span> <span class="linenos" data-line="25"></span> <span class="kr">then</span> <span class="linenos" data-line="26"></span> <span class="kr">return</span> <span class="kc">false</span> <span class="linenos" data-line="27"></span> <span class="kr">else</span> <span class="linenos" data-line="28"></span> <span class="kr">return</span> <span class="n">default</span> <span class="linenos" data-line="29"></span> <span class="kr">end</span> <span class="linenos" data-line="30"></span><span class="kr">end</span> </pre></div> <p>Where lines 15 and 23 are new compared to the current code. <span style="border:1px solid maroon; padding:0 2px"><a href="/wiki/User:CRwikiCA" title="User:CRwikiCA"><span style="font-family:'Courier';color:maroon">CRwikiCA</span></a> <a href="/wiki/User_talk:CRwikiCA" title="User talk:CRwikiCA"><i style="color:navy">talk</i></a></span> <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-CRwikiCA-2015-04-23T18:17:00.000Z-Render_T_as_true_as_well?" class="ext-discussiontools-init-timestamplink">18:17, 23 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-CRwikiCA-2015-04-23T18:17:00.000Z-Render_T_as_true_as_well?"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-23T18:17:00.000Z","author":"CRwikiCA","type":"comment","level":1,"id":"c-CRwikiCA-2015-04-23T18:17:00.000Z-Render_T_as_true_as_well?","replies":["c-MSGJ-2015-04-27T10:43:00.000Z-CRwikiCA-2015-04-23T18:17:00.000Z"]}}--></span><span data-mw-comment-end="c-CRwikiCA-2015-04-23T18:17:00.000Z-Render_T_as_true_as_well?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-MSGJ-2015-04-27T10:43:00.000Z-CRwikiCA-2015-04-23T18:17:00.000Z"></span>No opposition, so <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> — 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/Module_talk:Yesno#c-MSGJ-2015-04-27T10:43:00.000Z-CRwikiCA-2015-04-23T18:17:00.000Z" class="ext-discussiontools-init-timestamplink">10:43, 27 April 2015 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-MSGJ-2015-04-27T10:43:00.000Z-CRwikiCA-2015-04-23T18:17:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2015-04-27T10:43:00.000Z","author":"MSGJ","type":"comment","level":2,"id":"c-MSGJ-2015-04-27T10:43:00.000Z-CRwikiCA-2015-04-23T18:17:00.000Z","replies":["c-Od1n-20241020000500-MSGJ-2015-04-27T10:43:00.000Z"]}}--></span><span data-mw-comment-end="c-MSGJ-2015-04-27T10:43:00.000Z-CRwikiCA-2015-04-23T18:17:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Od1n-20241020000500-MSGJ-2015-04-27T10:43:00.000Z"></span>I would be interested to know cases where such "t/f" values may be encountered. I know that in command prompts we may encounter "y/n" choices. But I cannot recall having ever encountered "t/f".</dd> <dd>Refs <a href="https://phabricator.wikimedia.org/T137584" class="extiw" title="phab:T137584">T137584</a> (« Allow Scribunto code to add a category without changing output »), which would allow to know on what (and how many) pages these values are actually used.</dd> <dd><a href="/wiki/User:Od1n" title="User:Od1n">Od1n</a> (<a href="/wiki/User_talk:Od1n" title="User talk:Od1n">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Od1n-20241020000500-MSGJ-2015-04-27T10:43:00.000Z" class="ext-discussiontools-init-timestamplink">00:05, 20 October 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Od1n-20241020000500-MSGJ-2015-04-27T10:43:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20241020000500","author":"Od1n","type":"comment","level":3,"id":"c-Od1n-20241020000500-MSGJ-2015-04-27T10:43:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Od1n-20241020000500-MSGJ-2015-04-27T10: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-SMcCandlish-2018-02-22T23:44:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Support_on\/off_detection-2018-02-22T23:44:00.000Z&quot;,&quot;replies&quot;:[&quot;c-SMcCandlish-2018-02-22T23:44:00.000Z-Support_on\/off_detection&quot;],&quot;text&quot;:&quot;Support on\/off detection&quot;,&quot;linkableTitle&quot;:&quot;Support on\/off detection&quot;}--><h2 id="Support_on/off_detection" data-mw-thread-id="h-Support_on/off_detection-2018-02-22T23:44:00.000Z"><span id="Support_on.2Foff_detection"></span><span data-mw-comment-start="" id="h-Support_on/off_detection-2018-02-22T23:44:00.000Z"></span>Support on/off detection<span data-mw-comment-end="h-Support_on/off_detection-2018-02-22T23:44:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=11" title="Edit section: Support on/off detection"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-SMcCandlish-2018-02-22T23:44:00.000Z","type":"heading","level":0,"id":"h-Support_on\/off_detection-2018-02-22T23:44:00.000Z","replies":["c-SMcCandlish-2018-02-22T23:44:00.000Z-Support_on\/off_detection"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-SMcCandlish-2018-05-26T18:37:00.000Z-MSGJ-2018-02-28T12:14:00.000Z","timestamp":"2018-05-26T18:37:00.000Z"}__--><!--__DTCOMMENTCOUNT__4__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-SMcCandlish-2018-02-22T23:44:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Support_on\/off_detection-2018-02-22T23:44:00.000Z&quot;,&quot;replies&quot;:[&quot;c-SMcCandlish-2018-02-22T23:44:00.000Z-Support_on\/off_detection&quot;],&quot;text&quot;:&quot;Support on\/off detection&quot;,&quot;linkableTitle&quot;:&quot;Support on\/off detection&quot;}--></div></div></div> <span data-mw-comment-start="" id="c-SMcCandlish-2018-02-22T23:44:00.000Z-Support_on/off_detection"></span><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1237879475"><table class="plainlinks tmbox mbox-small tmbox-notice editrequest" role="presentation" data-origlevel="full"><tbody><tr><td class="mbox-image"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/30px-Information_icon4.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/45px-Information_icon4.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/1/1d/Information_icon4.svg/60px-Information_icon4.svg.png 2x" data-file-width="620" data-file-height="620"/></span></span></td><td class="mbox-text">This <a href="/wiki/Wikipedia:Edit_requests" title="Wikipedia:Edit requests">edit request</a> has been answered. Set the <code style="white-space: nowrap;">|answered=</code> or <code style="white-space: nowrap;">|ans=</code> parameter to <b>no</b> to reactivate your request.</td></tr></tbody></table> <p>Please add support for <style data-mw-deduplicate="TemplateStyles:r1239335663">.mw-parser-output .mw-tmpl-kbd{background:#EEE;color:var(--color-base)}@media screen{html.skin-theme-clientpref-night .mw-parser-output .mw-tmpl-kbd{background:#171a1d}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .mw-tmpl-kbd{background:#171a1d}}</style><kbd class="mw-tmpl-kbd" style="letter-spacing:0.05em; padding-left:0.25em; padding-right:0.2em;">on</kbd> and <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239335663"><kbd class="mw-tmpl-kbd" style="letter-spacing:0.05em; padding-left:0.25em; padding-right:0.2em;">off</kbd> values (as equivalents of <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239335663"><kbd class="mw-tmpl-kbd" style="letter-spacing:0.05em; padding-left:0.25em; padding-right:0.2em;">1</kbd> and <link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r1239335663"><kbd class="mw-tmpl-kbd" style="letter-spacing:0.05em; padding-left:0.25em; padding-right:0.2em;">0</kbd>, respectively), for consistency with the regular-template version <code>{{<a href="/wiki/Template:Yesno" title="Template:Yesno">Yesno</a>}}</code>, per RfC at <a href="/wiki/Template_talk:Yesno#Support_on/off_detection" title="Template talk:Yesno">Template talk:Yesno#Support on/off detection</a>. <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> 😼 </span> <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-SMcCandlish-2018-02-22T23:44:00.000Z-Support_on/off_detection" class="ext-discussiontools-init-timestamplink">23:44, 22 February 2018 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SMcCandlish-2018-02-22T23:44:00.000Z-Support_on/off_detection"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2018-02-22T23:44:00.000Z","author":"SMcCandlish","type":"comment","level":1,"id":"c-SMcCandlish-2018-02-22T23:44:00.000Z-Support_on\/off_detection","replies":["c-Galobtter-2018-02-25T07:52:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z","c-MSGJ-2018-02-28T12:14:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z"]}}--></span><span data-mw-comment-end="c-SMcCandlish-2018-02-22T23:44:00.000Z-Support_on/off_detection"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Galobtter-2018-02-25T07:52:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z"></span>Very simple change, but i've <a href="/wiki/Module:Yesno/sandbox" title="Module:Yesno/sandbox">sandboxed</a> the change and ran the testcases.. <a href="/wiki/User:Galobtter" title="User:Galobtter">Galobtter</a> (<a href="/wiki/User_talk:Galobtter" title="User talk:Galobtter">pingó mió</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Galobtter-2018-02-25T07:52:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z" class="ext-discussiontools-init-timestamplink">07:52, 25 February 2018 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Galobtter-2018-02-25T07:52:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2018-02-25T07:52:00.000Z","author":"Galobtter","type":"comment","level":2,"id":"c-Galobtter-2018-02-25T07:52:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Galobtter-2018-02-25T07:52:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z"></span></dd> <dd><span data-mw-comment-start="" id="c-MSGJ-2018-02-28T12:14:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z"></span><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/20px-Yes_check.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/30px-Yes_check.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/40px-Yes_check.svg.png 2x" data-file-width="600" data-file-height="600"/></span></span> <b>Done</b> — 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/Module_talk:Yesno#c-MSGJ-2018-02-28T12:14:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z" class="ext-discussiontools-init-timestamplink">12:14, 28 February 2018 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-MSGJ-2018-02-28T12:14:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2018-02-28T12:14:00.000Z","author":"MSGJ","type":"comment","level":2,"id":"c-MSGJ-2018-02-28T12:14:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z","replies":["c-SMcCandlish-2018-05-26T18:37:00.000Z-MSGJ-2018-02-28T12:14:00.000Z"]}}--></span><span data-mw-comment-end="c-MSGJ-2018-02-28T12:14:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-SMcCandlish-2018-05-26T18:37:00.000Z-MSGJ-2018-02-28T12:14:00.000Z"></span>Thank you <a href="/wiki/User:Galobtter" title="User:Galobtter">Galobtter</a>, for the coding work (Lua gives me a headache), and <a href="/wiki/User:MSGJ" title="User:MSGJ">MSGJ</a>, for just getting it implemented, instead of either of you being a thorn in the side about it like several parties were for no defensible reason at the RfC. I've never encountered so much "resist sensible change just because I feel like it" nonsense on a minor technical matter as I did in this particular case. It was weird, verging on inexplicable. <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> 😼 </span> <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-SMcCandlish-2018-05-26T18:37:00.000Z-MSGJ-2018-02-28T12:14:00.000Z" class="ext-discussiontools-init-timestamplink">18:37, 26 May 2018 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-SMcCandlish-2018-05-26T18:37:00.000Z-MSGJ-2018-02-28T12:14:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2018-05-26T18:37:00.000Z","author":"SMcCandlish","type":"comment","level":3,"id":"c-SMcCandlish-2018-05-26T18:37:00.000Z-MSGJ-2018-02-28T12:14:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-SMcCandlish-2018-05-26T18:37:00.000Z-MSGJ-2018-02-28T12:14: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-KylieInTheSkylie-2020-04-06T02:23:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Upgrade_of_protection_level-2020-04-06T02:23:00.000Z&quot;,&quot;replies&quot;:[&quot;c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level&quot;],&quot;text&quot;:&quot;Upgrade of protection level&quot;,&quot;linkableTitle&quot;:&quot;Upgrade of protection level&quot;}--><h2 id="Upgrade_of_protection_level" data-mw-thread-id="h-Upgrade_of_protection_level-2020-04-06T02:23:00.000Z"><span data-mw-comment-start="" id="h-Upgrade_of_protection_level-2020-04-06T02:23:00.000Z"></span>Upgrade of protection level<span data-mw-comment-end="h-Upgrade_of_protection_level-2020-04-06T02:23:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=12" title="Edit section: Upgrade of protection level"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-KylieInTheSkylie-2020-04-06T02:23:00.000Z","type":"heading","level":0,"id":"h-Upgrade_of_protection_level-2020-04-06T02:23:00.000Z","replies":["c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level","timestamp":"2020-04-06T02:23:00.000Z"}__--><!--__DTCOMMENTCOUNT__2__--><!--__DTAUTHORCOUNT__1__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-KylieInTheSkylie-2020-04-06T02:23:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Upgrade_of_protection_level-2020-04-06T02:23:00.000Z&quot;,&quot;replies&quot;:[&quot;c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level&quot;],&quot;text&quot;:&quot;Upgrade of protection level&quot;,&quot;linkableTitle&quot;:&quot;Upgrade of protection level&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level"></span>I believe we should make this template editor protected (I've seen templates with way less of the amount of transclusions than this one being template protected). Just a suggestion before I would put it up in the list. <a href="/wiki/User:KylieInTheSkylie" title="User:KylieInTheSkylie">KylieInTheSkylie</a> (<a href="/wiki/User_talk:KylieInTheSkylie" title="User talk:KylieInTheSkylie">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level" class="ext-discussiontools-init-timestamplink">02:23, 6 April 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2020-04-06T02:23:00.000Z","author":"KylieInTheSkylie","type":"comment","level":1,"id":"c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level","replies":["c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-KylieInTheSkylie-2020-04-06T02:23:00.000Z"]}}--></span><span data-mw-comment-end="c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-KylieInTheSkylie-2020-04-06T02:23:00.000Z"></span>Just realized that full protection is not <a href="/wiki/Wikipedia:ECP" class="mw-redirect" title="Wikipedia:ECP"> Extended confirmed protection.</a> Please disregard this. <a href="/wiki/User:KylieInTheSkylie" title="User:KylieInTheSkylie">KylieInTheSkylie</a> (<a href="/wiki/User_talk:KylieInTheSkylie" title="User talk:KylieInTheSkylie">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-KylieInTheSkylie-2020-04-06T02:23:00.000Z" class="ext-discussiontools-init-timestamplink">02:23, 6 April 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-KylieInTheSkylie-2020-04-06T02:23:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2020-04-06T02:23:00.000Z","author":"KylieInTheSkylie","type":"comment","level":2,"id":"c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-KylieInTheSkylie-2020-04-06T02:23:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-KylieInTheSkylie-2020-04-06T02:23: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-Trigenibinion-2021-03-12T17:21:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Multilingual_version?-2021-03-12T17:21:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Trigenibinion-2021-03-12T17:21:00.000Z-Multilingual_version?&quot;],&quot;text&quot;:&quot;Multilingual version?&quot;,&quot;linkableTitle&quot;:&quot;Multilingual version?&quot;}--><h2 id="Multilingual_version?" data-mw-thread-id="h-Multilingual_version?-2021-03-12T17:21:00.000Z"><span id="Multilingual_version.3F"></span><span data-mw-comment-start="" id="h-Multilingual_version?-2021-03-12T17:21:00.000Z"></span>Multilingual version?<span data-mw-comment-end="h-Multilingual_version?-2021-03-12T17:21:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=13" title="Edit section: Multilingual version?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Trigenibinion-2021-03-12T17:21:00.000Z","type":"heading","level":0,"id":"h-Multilingual_version?-2021-03-12T17:21:00.000Z","replies":["c-Trigenibinion-2021-03-12T17:21:00.000Z-Multilingual_version?"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Pppery-2021-03-13T20:36:00.000Z-Trigenibinion-2021-03-12T17:57:00.000Z","timestamp":"2021-03-13T20:36:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-Trigenibinion-2021-03-12T17:21:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Multilingual_version?-2021-03-12T17:21:00.000Z&quot;,&quot;replies&quot;:[&quot;c-Trigenibinion-2021-03-12T17:21:00.000Z-Multilingual_version?&quot;],&quot;text&quot;:&quot;Multilingual version?&quot;,&quot;linkableTitle&quot;:&quot;Multilingual version?&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-Trigenibinion-2021-03-12T17:21:00.000Z-Multilingual_version?"></span>What about a multilingual version? Would there be any conflicts? <a href="/w/index.php?title=User:Trigenibinion&amp;action=edit&amp;redlink=1" class="new" title="User:Trigenibinion (page does not exist)">Trigenibinion</a> (<a href="/wiki/User_talk:Trigenibinion" title="User talk:Trigenibinion">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Trigenibinion-2021-03-12T17:21:00.000Z-Multilingual_version?" class="ext-discussiontools-init-timestamplink">17:21, 12 March 2021 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Trigenibinion-2021-03-12T17:21:00.000Z-Multilingual_version?"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2021-03-12T17:21:00.000Z","author":"Trigenibinion","type":"comment","level":1,"id":"c-Trigenibinion-2021-03-12T17:21:00.000Z-Multilingual_version?","replies":["c-Trigenibinion-2021-03-12T17:57:00.000Z-Trigenibinion-2021-03-12T17:21:00.000Z"]}}--></span><span data-mw-comment-end="c-Trigenibinion-2021-03-12T17:21:00.000Z-Multilingual_version?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Trigenibinion-2021-03-12T17:57:00.000Z-Trigenibinion-2021-03-12T17:21:00.000Z"></span>It seems this is normally called the same in other languages, where they appear to tend to support English as well as the translation, so this should be usable in a multilingual module. <a href="/w/index.php?title=User:Trigenibinion&amp;action=edit&amp;redlink=1" class="new" title="User:Trigenibinion (page does not exist)">Trigenibinion</a> (<a href="/wiki/User_talk:Trigenibinion" title="User talk:Trigenibinion">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Trigenibinion-2021-03-12T17:57:00.000Z-Trigenibinion-2021-03-12T17:21:00.000Z" class="ext-discussiontools-init-timestamplink">17:57, 12 March 2021 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Trigenibinion-2021-03-12T17:57:00.000Z-Trigenibinion-2021-03-12T17:21:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2021-03-12T17:57:00.000Z","author":"Trigenibinion","type":"comment","level":2,"id":"c-Trigenibinion-2021-03-12T17:57:00.000Z-Trigenibinion-2021-03-12T17:21:00.000Z","replies":["c-Pppery-2021-03-13T20:36:00.000Z-Trigenibinion-2021-03-12T17:57:00.000Z"]}}--></span><span data-mw-comment-end="c-Trigenibinion-2021-03-12T17:57:00.000Z-Trigenibinion-2021-03-12T17:21:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Pppery-2021-03-13T20:36:00.000Z-Trigenibinion-2021-03-12T17:57:00.000Z"></span>There is no need for a multilingual version of this module to exist on this wiki, since its content is in only one language. Furthermore, were one created, it would be a recreation of <a href="/w/index.php?title=Module:YesnoTNT&amp;action=edit&amp;redlink=1" class="new" title="Module:YesnoTNT (page does not exist)">Module:YesnoTNT</a>, which was deleted per <a href="/wiki/Wikipedia:Templates_for_discussion/Log/2019_December_11#Module:YesnoTNT" title="Wikipedia:Templates for discussion/Log/2019 December 11">Wikipedia:Templates for discussion/Log/2019 December 11#Module:YesnoTNT</a>, and I would move for it to be speedy deleted per <a href="/wiki/Wikipedia:CSD#G4" class="mw-redirect" title="Wikipedia:CSD">WP:CSD#G4</a> <a href="/wiki/User:Pppery" title="User:Pppery">* Pppery *</a> <a href="/wiki/User_talk:Pppery" title="User talk:Pppery"><sub style="color:#800000">it has begun...</sub></a> <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Pppery-2021-03-13T20:36:00.000Z-Trigenibinion-2021-03-12T17:57:00.000Z" class="ext-discussiontools-init-timestamplink">20:36, 13 March 2021 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Pppery-2021-03-13T20:36:00.000Z-Trigenibinion-2021-03-12T17:57:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2021-03-13T20:36:00.000Z","author":"Pppery","type":"comment","level":3,"id":"c-Pppery-2021-03-13T20:36:00.000Z-Trigenibinion-2021-03-12T17:57:00.000Z","replies":[],"displayName":"* Pppery *"}}--></span><span data-mw-comment-end="c-Pppery-2021-03-13T20:36:00.000Z-Trigenibinion-2021-03-12T17:57: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-DePiep-2021-12-23T04:56:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Option:_Binary-only?-2021-12-23T04:56:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2021-12-23T04:56:00.000Z-Option:_Binary-only?&quot;],&quot;text&quot;:&quot;Option: Binary-only?&quot;,&quot;linkableTitle&quot;:&quot;Option: Binary-only?&quot;}--><h2 id="Option:_Binary-only?" data-mw-thread-id="h-Option:_Binary-only?-2021-12-23T04:56:00.000Z"><span id="Option:_Binary-only.3F"></span><span data-mw-comment-start="" id="h-Option:_Binary-only?-2021-12-23T04:56:00.000Z"></span>Option: Binary-only?<span data-mw-comment-end="h-Option:_Binary-only?-2021-12-23T04:56:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=Module_talk:Yesno&amp;action=edit&amp;section=14" title="Edit section: Option: Binary-only?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-DePiep-2021-12-23T04:56:00.000Z","type":"heading","level":0,"id":"h-Option:_Binary-only?-2021-12-23T04:56:00.000Z","replies":["c-DePiep-2021-12-23T04:56:00.000Z-Option:_Binary-only?"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Od1n-20240922181500-DePiep-2021-12-24T16:35:00.000Z","timestamp":"20240922181500"}__--><!--__DTCOMMENTCOUNT__5__--><!--__DTAUTHORCOUNT__4__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{&quot;headingLevel&quot;:2,&quot;name&quot;:&quot;h-DePiep-2021-12-23T04:56:00.000Z&quot;,&quot;type&quot;:&quot;heading&quot;,&quot;level&quot;:0,&quot;id&quot;:&quot;h-Option:_Binary-only?-2021-12-23T04:56:00.000Z&quot;,&quot;replies&quot;:[&quot;c-DePiep-2021-12-23T04:56:00.000Z-Option:_Binary-only?&quot;],&quot;text&quot;:&quot;Option: Binary-only?&quot;,&quot;linkableTitle&quot;:&quot;Option: Binary-only?&quot;}--></div></div></div> <p><span data-mw-comment-start="" id="c-DePiep-2021-12-23T04:56:00.000Z-Option:_Binary-only?"></span>I want to "propose" to add an option (feature) that makes the module return <b><code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">T/F</code> only, never <code class="mw-highlight mw-highlight-lang-text mw-content-ltr" style="" dir="ltr">nil</code></b>. For example, it could have para <code class="tpl-para" style="word-break:break-word;">|whennil=&lt;True or False></code>. </p><p>The background is that there are many situations (I meet in programming Lua) where a 'nil' return value is not helpful and still has to be handled separately into binary logic. </p><p>But even better, maybe I can <i>learn</i> why this was not added from the start, or why it could be considered bad design/coding. Maybe it could be solved by creating a wrapper like "Module:YesnoNevernil", or is that bad design again? -<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/Module_talk:Yesno#c-DePiep-2021-12-23T04:56:00.000Z-Option:_Binary-only?" class="ext-discussiontools-init-timestamplink">04:56, 23 December 2021 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2021-12-23T04:56:00.000Z-Option:_Binary-only?"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2021-12-23T04:56:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2021-12-23T04:56:00.000Z-Option:_Binary-only?","replies":["c-WOSlinker-2021-12-23T20:09:00.000Z-DePiep-2021-12-23T04:56:00.000Z"]}}--></span><span data-mw-comment-end="c-DePiep-2021-12-23T04:56:00.000Z-Option:_Binary-only?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-WOSlinker-2021-12-23T20:09:00.000Z-DePiep-2021-12-23T04:56:00.000Z"></span>It's easy enough to just handle the nil in your own code, for example: <code class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><span class="n">myvariable</span> <span class="o">=</span> <span class="n">yesno</span><span class="p">(</span><span class="n">value</span><span class="p">)</span> <span class="ow">or</span> <span class="kc">false</span></code> -- <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/Module_talk:Yesno#c-WOSlinker-2021-12-23T20:09:00.000Z-DePiep-2021-12-23T04:56:00.000Z" class="ext-discussiontools-init-timestamplink">20:09, 23 December 2021 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-WOSlinker-2021-12-23T20:09:00.000Z-DePiep-2021-12-23T04:56:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2021-12-23T20:09:00.000Z","author":"WOSlinker","type":"comment","level":2,"id":"c-WOSlinker-2021-12-23T20:09:00.000Z-DePiep-2021-12-23T04:56:00.000Z","replies":["c-Mr._Stradivarius-2021-12-23T22:11:00.000Z-WOSlinker-2021-12-23T20:09:00.000Z"]}}--></span><span data-mw-comment-end="c-WOSlinker-2021-12-23T20:09:00.000Z-DePiep-2021-12-23T04:56:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Mr._Stradivarius-2021-12-23T22:11:00.000Z-WOSlinker-2021-12-23T20:09:00.000Z"></span>This can also mostly be handled by specifying the default parameter (i.e. <code class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><span class="n">myvariable</span> <span class="o">=</span> <span class="n">yesno</span><span class="p">(</span><span class="n">value</span><span class="p">,</span> <span class="kc">false</span><span class="p">)</span></code>), although this does leave the case <code class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><span class="n">yesno</span><span class="p">(</span><span class="kc">nil</span><span class="p">,</span> <span class="kc">false</span><span class="p">)</span></code>, which evaluates to <code class="mw-highlight mw-highlight-lang-lua mw-content-ltr" dir="ltr"><span class="kc">nil</span></code>. The reason I originally programmed the module this way is so that it can be mostly backwards-compatible with <a href="/wiki/Template:Yesno" title="Template:Yesno">Template:Yesno</a>, which it is intended to replace. Originally the plan was to do a straight conversion of <a href="/wiki/Template:Yesno" title="Template:Yesno">Template:Yesno</a> to Lua, but it turned out that doing that was actually slower than just using the template, given the template's simplicity and the initial cost of switching between PHP and Lua. So instead this module became Lua-only, with most of the behaviour of <a href="/wiki/Template:Yesno" title="Template:Yesno">Template:Yesno</a>. The intention there was that module writers could easily incorporate it into modules that convert more complex templates without having to change the template logic too much. — <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/Module_talk:Yesno#c-Mr._Stradivarius-2021-12-23T22:11:00.000Z-WOSlinker-2021-12-23T20:09:00.000Z" class="ext-discussiontools-init-timestamplink">22:11, 23 December 2021 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Mr._Stradivarius-2021-12-23T22:11:00.000Z-WOSlinker-2021-12-23T20:09:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2021-12-23T22:11:00.000Z","author":"Mr. Stradivarius","type":"comment","level":3,"id":"c-Mr._Stradivarius-2021-12-23T22:11:00.000Z-WOSlinker-2021-12-23T20:09:00.000Z","replies":["c-DePiep-2021-12-24T16:35:00.000Z-Mr._Stradivarius-2021-12-23T22:11:00.000Z"],"displayName":"Mr.\u00a0Stradivarius"}}--></span><span data-mw-comment-end="c-Mr._Stradivarius-2021-12-23T22:11:00.000Z-WOSlinker-2021-12-23T20:09:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-DePiep-2021-12-24T16:35:00.000Z-Mr._Stradivarius-2021-12-23T22:11:00.000Z"></span>OK, thx. I can use this code solution with confidence now, no research-&amp;-test needed. Might as well add it to the /doc. -<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/Module_talk:Yesno#c-DePiep-2021-12-24T16:35:00.000Z-Mr._Stradivarius-2021-12-23T22:11:00.000Z" class="ext-discussiontools-init-timestamplink">16:35, 24 December 2021 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-DePiep-2021-12-24T16:35:00.000Z-Mr._Stradivarius-2021-12-23T22:11:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"2021-12-24T16:35:00.000Z","author":"DePiep","type":"comment","level":4,"id":"c-DePiep-2021-12-24T16:35:00.000Z-Mr._Stradivarius-2021-12-23T22:11:00.000Z","replies":["c-Od1n-20240922181500-DePiep-2021-12-24T16:35:00.000Z"]}}--></span><span data-mw-comment-end="c-DePiep-2021-12-24T16:35:00.000Z-Mr._Stradivarius-2021-12-23T22:11:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Od1n-20240922181500-DePiep-2021-12-24T16:35:00.000Z"></span>The abovementioned <code>yesno(value) or true/false</code> has a common pitfall and should be avoided: if value is "false", <code>yesno(value) or true</code> would gives "true", instead of the presumably expected "false". See section « Standard solution: and/or » on <a rel="nofollow" class="external text" href="http://lua-users.org/wiki/TernaryOperator">this page</a>. <a href="/wiki/User:Od1n" title="User:Od1n">Od1n</a> (<a href="/wiki/User_talk:Od1n" title="User talk:Od1n">talk</a>) <a href="https://en.wikipedia.org/wiki/Module_talk:Yesno#c-Od1n-20240922181500-DePiep-2021-12-24T16:35:00.000Z" class="ext-discussiontools-init-timestamplink">18:15, 22 September 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Od1n-20240922181500-DePiep-2021-12-24T16:35:00.000Z"><span class="ext-discussiontools-init-replylink-bracket">[</span><a class="ext-discussiontools-init-replylink-reply" role="button" tabindex="0" href="">reply</a><span class="ext-discussiontools-init-replylink-bracket">]</span><!--__DTELLIPSISBUTTON__{"threadItem":{"timestamp":"20240922181500","author":"Od1n","type":"comment","level":5,"id":"c-Od1n-20240922181500-DePiep-2021-12-24T16:35:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Od1n-20240922181500-DePiep-2021-12-24T16:35:00.000Z"></span></dd></dl></dd></dl></dd></dl></dd></dl> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐7d9797f5d‐l2qq9 Cached time: 20241120045025 Cache expiry: 864000 Reduced expiry: true Complications: [show‐toc] DiscussionTools time usage: 0.042 seconds CPU time usage: 0.245 seconds Real time usage: 0.788 seconds Preprocessor visited node count: 774/1000000 Post‐expand include size: 12577/2097152 bytes Template argument size: 279/2097152 bytes Highest expansion depth: 12/100 Expensive parser function count: 11/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 19545/5000000 bytes Lua time usage: 0.033/10.000 seconds Lua memory usage: 1243367/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 432.025 1 -total 31.54% 136.268 3 Template:Code 18.30% 79.046 1 Template:Permprot 16.31% 70.451 1 Template:Tmbox 3.30% 14.244 2 Template:Edit_protected 3.23% 13.948 1 Template:Request_edit_button 2.53% 10.935 1 Template:Tlg 2.42% 10.470 4 Template:Kbd 1.97% 8.515 1 Template:Resolved 1.60% 6.894 1 Template:Hmbox --> <!-- Saved in parser cache with key enwiki:pcache:idhash:38665073-0!canonical and timestamp 20241120045025 and revision id 1252138397. 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=Module_talk:Yesno&amp;oldid=1252138397">https://en.wikipedia.org/w/index.php?title=Module_talk:Yesno&amp;oldid=1252138397</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:Wikipedia_pages_using_copied_template" title="Category:Wikipedia pages using copied template">Wikipedia pages using copied template</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 20 October 2024, at 00:05<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=Module_talk:Yesno&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-f69cdc8f6-d7pw2","wgBackendResponseTime":119,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-Ori.livneh-2013-02-28T10:46:00.000Z","type":"heading","level":0,"id":"h-Testcases_and_documentation-2013-02-28T10:46:00.000Z","replies":[{"timestamp":"2013-09-20T14:25:00.000Z","author":"Mr. Stradivarius","type":"comment","level":1,"id":"c-Mr._Stradivarius-2013-09-20T14:25:00.000Z-Testcases_and_documentation","replies":[]},{"timestamp":"2013-02-28T10:46:00.000Z","author":"Ori.livneh","type":"comment","level":1,"id":"c-Ori.livneh-2013-02-28T10:46:00.000Z-Testcases_and_documentation","replies":[{"timestamp":"2013-03-02T11:41:00.000Z","author":"WOSlinker","type":"comment","level":2,"id":"c-WOSlinker-2013-03-02T11:41:00.000Z-Ori.livneh-2013-02-28T10:46:00.000Z","replies":[{"timestamp":"2013-03-03T05:58:00.000Z","author":"Ori.livneh","type":"comment","level":3,"id":"c-Ori.livneh-2013-03-03T05:58:00.000Z-WOSlinker-2013-03-02T11:41:00.000Z","replies":[{"timestamp":"2013-03-11T22:31:00.000Z","author":"DePiep","type":"comment","level":4,"id":"c-DePiep-2013-03-11T22:31:00.000Z-Ori.livneh-2013-03-03T05:58:00.000Z","replies":[]}]}]}]},{"timestamp":"2013-03-23T13:16:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2013-03-23T13:16:00.000Z-Testcases_and_documentation","replies":[]}]},{"headingLevel":2,"name":"h-Dragons_flight-2013-03-12T14:57:00.000Z","type":"heading","level":0,"id":"h-Why?-2013-03-12T14:57:00.000Z","replies":[{"timestamp":"2013-03-12T14:57:00.000Z","author":"Dragons flight","type":"comment","level":1,"id":"c-Dragons_flight-2013-03-12T14:57:00.000Z-Why?","replies":[]},{"timestamp":"2019-11-23T15:47:00.000Z","author":"E Super Maker","type":"comment","level":1,"id":"c-E_Super_Maker-2019-11-23T15:47:00.000Z-Why?","replies":[]}]},{"headingLevel":2,"name":"h-DePiep-2013-03-23T11:54:00.000Z","type":"heading","level":0,"id":"h-test_failed-2013-03-23T11:54:00.000Z","replies":[{"timestamp":"2013-03-23T11:54:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2013-03-23T11:54:00.000Z-test_failed","replies":[{"timestamp":"2013-03-23T12:56:00.000Z","author":"DePiep","type":"comment","level":2,"id":"c-DePiep-2013-03-23T12:56:00.000Z-DePiep-2013-03-23T11:54:00.000Z","replies":[]},{"timestamp":"2013-03-23T14:09:00.000Z","author":"DePiep","type":"comment","level":2,"id":"c-DePiep-2013-03-23T14:09:00.000Z-DePiep-2013-03-23T11:54:00.000Z","replies":[]}]},{"timestamp":"2013-03-23T14:19:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2013-03-23T14:19:00.000Z-test_failed","replies":[{"timestamp":"2013-03-23T14:38:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2013-03-23T14:38:00.000Z-DePiep-2013-03-23T14:19:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-DePiep-2013-03-23T17:47:00.000Z","type":"heading","level":0,"id":"h-Null?-2013-03-23T17:47:00.000Z","replies":[{"timestamp":"2013-03-23T17:47:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2013-03-23T17:47:00.000Z-Null?","replies":[{"timestamp":"2013-03-23T18:24:00.000Z","author":"Mr. Stradivarius","type":"comment","level":2,"id":"c-Mr._Stradivarius-2013-03-23T18:24:00.000Z-DePiep-2013-03-23T17:47:00.000Z","replies":[{"timestamp":"2013-03-24T00:17:00.000Z","author":"DePiep","type":"comment","level":3,"id":"c-DePiep-2013-03-24T00:17:00.000Z-Mr._Stradivarius-2013-03-23T18:24:00.000Z","replies":[]}]}]}]},{"headingLevel":2,"name":"h-Mr._Stradivarius-2013-09-20T14:37:00.000Z","type":"heading","level":0,"id":"h-Rewrite-2013-09-20T14:37:00.000Z","replies":[{"timestamp":"2013-09-20T14:37:00.000Z","author":"Mr. Stradivarius","type":"comment","level":1,"id":"c-Mr._Stradivarius-2013-09-20T14:37:00.000Z-Rewrite","replies":[]}]},{"headingLevel":2,"name":"h-Jarekt-2013-12-20T16:37:00.000Z","type":"heading","level":0,"id":"h-All_testcases_failed-2013-12-20T16:37:00.000Z","replies":[{"timestamp":"2013-12-20T16:37:00.000Z","author":"Jarekt","type":"comment","level":1,"id":"c-Jarekt-2013-12-20T16:37:00.000Z-All_testcases_failed","replies":[]}]},{"headingLevel":2,"name":"h-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z","type":"heading","level":0,"id":"h-Protected_edit_request_on_24_February_2014-2014-02-24T04:21:00.000Z","replies":[{"timestamp":"2014-02-24T04:21:00.000Z","author":"2600:1013:B018:986F:4493:7A2A:52E2:103A","type":"comment","level":1,"id":"c-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z-Protected_edit_request_on_24_February_2014","replies":[{"timestamp":"2014-02-24T04:27:00.000Z","author":"Technical 13","type":"comment","level":2,"id":"c-Technical_13-2014-02-24T04:27:00.000Z-2600:1013:B018:986F:4493:7A2A:52E2:103A-2014-02-24T04:21:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-Mr._Stradivarius-2014-04-07T15:22:00.000Z","type":"heading","level":0,"id":"h-New_version-2014-04-07T15:22:00.000Z","replies":[{"timestamp":"2014-04-07T15:22:00.000Z","author":"Mr. Stradivarius","type":"comment","level":1,"id":"c-Mr._Stradivarius-2014-04-07T15:22:00.000Z-New_version","replies":[{"timestamp":"2014-04-07T18:57:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2014-04-07T18:57:00.000Z-Mr._Stradivarius-2014-04-07T15:22:00.000Z","replies":[{"timestamp":"2014-04-22T12:33:00.000Z","author":"Mr. Stradivarius","type":"comment","level":3,"id":"c-Mr._Stradivarius-2014-04-22T12:33:00.000Z-Jackmcbarn-2014-04-07T18:57:00.000Z","replies":[]}]}]}]},{"headingLevel":2,"name":"h-DePiep-2014-04-08T09:06:00.000Z","type":"heading","level":0,"id":"h-Doc_questions_(blank_string_true/false)-2014-04-08T09:06:00.000Z","replies":[{"timestamp":"2014-04-08T09:06:00.000Z","author":"DePiep","type":"comment","level":2,"id":"c-DePiep-2014-04-08T09:06:00.000Z-Doc_questions_(blank_string_true/false)","replies":[{"timestamp":"2014-04-08T09:26:00.000Z","author":"Mr. Stradivarius","type":"comment","level":3,"id":"c-Mr._Stradivarius-2014-04-08T09:26:00.000Z-DePiep-2014-04-08T09:06:00.000Z","replies":[{"timestamp":"2014-04-08T12:10:00.000Z","author":"DePiep","type":"comment","level":4,"id":"c-DePiep-2014-04-08T12:10:00.000Z-Mr._Stradivarius-2014-04-08T09:26:00.000Z","replies":[{"timestamp":"2014-04-08T12:34:00.000Z","author":"Mr. Stradivarius","type":"comment","level":5,"id":"c-Mr._Stradivarius-2014-04-08T12:34:00.000Z-DePiep-2014-04-08T12:10:00.000Z","replies":[]}]}]}]}]},{"headingLevel":2,"name":"h-CRwikiCA-2015-04-14T15:15:00.000Z","type":"heading","level":0,"id":"h-Render_T_as_true_as_well?-2015-04-14T15:15:00.000Z","replies":[{"timestamp":"2015-04-14T15:15:00.000Z","author":"CRwikiCA","type":"comment","level":1,"id":"c-CRwikiCA-2015-04-14T15:15:00.000Z-Render_T_as_true_as_well?","replies":[]},{"timestamp":"2015-04-23T18:17:00.000Z","author":"CRwikiCA","type":"comment","level":1,"id":"c-CRwikiCA-2015-04-23T18:17:00.000Z-Render_T_as_true_as_well?","replies":[{"timestamp":"2015-04-27T10:43:00.000Z","author":"MSGJ","type":"comment","level":2,"id":"c-MSGJ-2015-04-27T10:43:00.000Z-CRwikiCA-2015-04-23T18:17:00.000Z","replies":[{"timestamp":"20241020000500","author":"Od1n","type":"comment","level":3,"id":"c-Od1n-20241020000500-MSGJ-2015-04-27T10:43:00.000Z","replies":[]}]}]}]},{"headingLevel":2,"name":"h-SMcCandlish-2018-02-22T23:44:00.000Z","type":"heading","level":0,"id":"h-Support_on/off_detection-2018-02-22T23:44:00.000Z","replies":[{"timestamp":"2018-02-22T23:44:00.000Z","author":"SMcCandlish","type":"comment","level":1,"id":"c-SMcCandlish-2018-02-22T23:44:00.000Z-Support_on/off_detection","replies":[{"timestamp":"2018-02-25T07:52:00.000Z","author":"Galobtter","type":"comment","level":2,"id":"c-Galobtter-2018-02-25T07:52:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z","replies":[]},{"timestamp":"2018-02-28T12:14:00.000Z","author":"MSGJ","type":"comment","level":2,"id":"c-MSGJ-2018-02-28T12:14:00.000Z-SMcCandlish-2018-02-22T23:44:00.000Z","replies":[{"timestamp":"2018-05-26T18:37:00.000Z","author":"SMcCandlish","type":"comment","level":3,"id":"c-SMcCandlish-2018-05-26T18:37:00.000Z-MSGJ-2018-02-28T12:14:00.000Z","replies":[]}]}]}]},{"headingLevel":2,"name":"h-KylieInTheSkylie-2020-04-06T02:23:00.000Z","type":"heading","level":0,"id":"h-Upgrade_of_protection_level-2020-04-06T02:23:00.000Z","replies":[{"timestamp":"2020-04-06T02:23:00.000Z","author":"KylieInTheSkylie","type":"comment","level":1,"id":"c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-Upgrade_of_protection_level","replies":[{"timestamp":"2020-04-06T02:23:00.000Z","author":"KylieInTheSkylie","type":"comment","level":2,"id":"c-KylieInTheSkylie-2020-04-06T02:23:00.000Z-KylieInTheSkylie-2020-04-06T02:23:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-Trigenibinion-2021-03-12T17:21:00.000Z","type":"heading","level":0,"id":"h-Multilingual_version?-2021-03-12T17:21:00.000Z","replies":[{"timestamp":"2021-03-12T17:21:00.000Z","author":"Trigenibinion","type":"comment","level":1,"id":"c-Trigenibinion-2021-03-12T17:21:00.000Z-Multilingual_version?","replies":[{"timestamp":"2021-03-12T17:57:00.000Z","author":"Trigenibinion","type":"comment","level":2,"id":"c-Trigenibinion-2021-03-12T17:57:00.000Z-Trigenibinion-2021-03-12T17:21:00.000Z","replies":[{"timestamp":"2021-03-13T20:36:00.000Z","author":"Pppery","type":"comment","level":3,"id":"c-Pppery-2021-03-13T20:36:00.000Z-Trigenibinion-2021-03-12T17:57:00.000Z","replies":[],"displayName":"* Pppery *"}]}]}]},{"headingLevel":2,"name":"h-DePiep-2021-12-23T04:56:00.000Z","type":"heading","level":0,"id":"h-Option:_Binary-only?-2021-12-23T04:56:00.000Z","replies":[{"timestamp":"2021-12-23T04:56:00.000Z","author":"DePiep","type":"comment","level":1,"id":"c-DePiep-2021-12-23T04:56:00.000Z-Option:_Binary-only?","replies":[{"timestamp":"2021-12-23T20:09:00.000Z","author":"WOSlinker","type":"comment","level":2,"id":"c-WOSlinker-2021-12-23T20:09:00.000Z-DePiep-2021-12-23T04:56:00.000Z","replies":[{"timestamp":"2021-12-23T22:11:00.000Z","author":"Mr. Stradivarius","type":"comment","level":3,"id":"c-Mr._Stradivarius-2021-12-23T22:11:00.000Z-WOSlinker-2021-12-23T20:09:00.000Z","replies":[{"timestamp":"2021-12-24T16:35:00.000Z","author":"DePiep","type":"comment","level":4,"id":"c-DePiep-2021-12-24T16:35:00.000Z-Mr._Stradivarius-2021-12-23T22:11:00.000Z","replies":[{"timestamp":"20240922181500","author":"Od1n","type":"comment","level":5,"id":"c-Od1n-20240922181500-DePiep-2021-12-24T16:35:00.000Z","replies":[]}]}],"displayName":"Mr. Stradivarius"}]}]}]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.042"},"limitreport":{"cputime":"0.245","walltime":"0.788","ppvisitednodes":{"value":774,"limit":1000000},"postexpandincludesize":{"value":12577,"limit":2097152},"templateargumentsize":{"value":279,"limit":2097152},"expansiondepth":{"value":12,"limit":100},"expensivefunctioncount":{"value":11,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":19545,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 432.025 1 -total"," 31.54% 136.268 3 Template:Code"," 18.30% 79.046 1 Template:Permprot"," 16.31% 70.451 1 Template:Tmbox"," 3.30% 14.244 2 Template:Edit_protected"," 3.23% 13.948 1 Template:Request_edit_button"," 2.53% 10.935 1 Template:Tlg"," 2.42% 10.470 4 Template:Kbd"," 1.97% 8.515 1 Template:Resolved"," 1.60% 6.894 1 Template:Hmbox"]},"scribunto":{"limitreport-timeusage":{"value":"0.033","limit":"10.000"},"limitreport-memusage":{"value":1243367,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-7d9797f5d-l2qq9","timestamp":"20241120045025","ttl":864000,"transientcontent":true}}});});</script> </body> </html>

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