CINXE.COM
MediaWiki talk:Gadget-switcher.js - 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>MediaWiki talk:Gadget-switcher.js - 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":"1844a3bc-c3d4-42cc-8e75-d5e8169b3990","wgCanonicalNamespace":"MediaWiki_talk","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":9,"wgPageName":"MediaWiki_talk:Gadget-switcher.js","wgTitle":"Gadget-switcher.js","wgCurRevisionId":1241201235,"wgRevisionId":1241201235,"wgArticleId":49452534,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":[],"wgPageViewLanguage":"en","wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgRelevantPageName":"MediaWiki_talk:Gadget-switcher.js","wgRelevantArticleId":49452534,"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":[],"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.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","jquery.makeCollapsible.styles":"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","jquery.makeCollapsible","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&modules=ext.discussionTools.init.styles%7Cext.pygments%2CwikimediaBadges%7Cext.uls.interlanguage%7Cext.visualEditor.desktopArticleTarget.noscript%7Cext.wikimediamessages.styles%7Cjquery.makeCollapsible.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.6"> <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="MediaWiki talk:Gadget-switcher.js - 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/MediaWiki_talk:Gadget-switcher.js"> <link rel="alternate" type="application/x-wiki" title="Edit this page" href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&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/MediaWiki_talk:Gadget-switcher.js"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en"> <link rel="alternate" type="application/atom+xml" title="Wikipedia Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//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-9 ns-talk mw-editable page-MediaWiki_talk_Gadget-switcher_js rootpage-MediaWiki_talk_Gadget-switcher_js 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'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/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=en.wikipedia.org&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=MediaWiki+talk%3AGadget-switcher.js" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=MediaWiki+talk%3AGadget-switcher.js" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="Log in and more options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=en.wikipedia.org&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=MediaWiki+talk%3AGadget-switcher.js" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=MediaWiki+talk%3AGadget-switcher.js" title="You're encouraged to log in; however, it's not mandatory. [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div 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-Disable/fix_for_mobile_skin" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Disable/fix_for_mobile_skin"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>Disable/fix for mobile skin</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">5 comments</span> <ul id="toc-Disable/fix_for_mobile_skin-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Gadget_switcher_broken" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Gadget_switcher_broken"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>Gadget switcher broken</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Gadget_switcher_broken-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-More_aesthetic_layout_for_many_images" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#More_aesthetic_layout_for_many_images"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>More aesthetic layout for many images</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-More_aesthetic_layout_for_many_images-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Custom_styles_for_labels" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Custom_styles_for_labels"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>Custom styles for labels</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">2 comments</span> <ul id="toc-Custom_styles_for_labels-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Disable_show_all?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Disable_show_all?"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>Disable show all?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">7 comments</span> <ul id="toc-Disable_show_all?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Space_between_the_button_and_text" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Space_between_the_button_and_text"> <div class="vector-toc-text"> <span class="vector-toc-numb">6</span> <span>Space between the button and text</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Space_between_the_button_and_text-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label"> <div class="vector-toc-text"> <span class="vector-toc-numb">7</span> <span>Interface-protected edit request on 8 July 2023: Fix grammar of "Show all" label</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_and_text" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_and_text"> <div class="vector-toc-text"> <span class="vector-toc-numb">8</span> <span>Interface-protected edit request on 27 July 2023: Add space between the button and text</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">12 comments</span> <ul id="toc-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_and_text-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Implement_in_the_Occitan_Wikipedia._How?" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Implement_in_the_Occitan_Wikipedia._How?"> <div class="vector-toc-text"> <span class="vector-toc-numb">9</span> <span>Implement in the Occitan Wikipedia. How?</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">3 comments</span> <ul id="toc-Implement_in_the_Occitan_Wikipedia._How?-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons"> <div class="vector-toc-text"> <span class="vector-toc-numb">10</span> <span>Interface-protected edit request on 1 August 2024 fix floating radio buttons</span> </div> </a> <span class="ext-discussiontools-init-sidebar-meta">4 comments</span> <ul id="toc-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons-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">MediaWiki talk</span><span class="mw-page-title-separator">:</span><span class="mw-page-title-main">Gadget-switcher.js</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-mediawiki" class="vector-tab-noicon mw-list-item"><a href="/wiki/MediaWiki:Gadget-switcher.js" title="View the system message [c]" accesskey="c"><span>Interface page</span></a></li><li id="ca-talk" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/MediaWiki_talk:Gadget-switcher.js" 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/MediaWiki_talk:Gadget-switcher.js"><span>Read</span></a></li><li id="ca-edit" class="istalk vector-tab-noicon mw-list-item"><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&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=MediaWiki_talk:Gadget-switcher.js&action=edit&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=MediaWiki_talk:Gadget-switcher.js&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/MediaWiki_talk:Gadget-switcher.js"><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=MediaWiki_talk:Gadget-switcher.js&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=MediaWiki_talk:Gadget-switcher.js&action=edit&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=MediaWiki_talk:Gadget-switcher.js&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/MediaWiki_talk:Gadget-switcher.js" 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/MediaWiki_talk:Gadget-switcher.js" 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=MediaWiki_talk:Gadget-switcher.js&oldid=1241201235" 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=MediaWiki_talk:Gadget-switcher.js&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:UrlQ%C4%B1sald%C4%B1c%C4%B1s%C4%B1&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMediaWiki_talk%3AGadget-switcher.js"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrKodu&url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMediaWiki_talk%3AGadget-switcher.js"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=MediaWiki_talk%3AGadget-switcher.js&action=show-download-screen" title="Download this page as a PDF file"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects emptyPortlet" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div class="mw-indicators"> </div> <div id="siteSub" class="noprint">From Wikipedia, the free encyclopedia</div> </div> <div id="contentSub"><div id="mw-content-subtitle"></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Jdlrobson-2016-02-16T21:45:00.000Z","type":"heading","level":0,"id":"h-Disable\/fix_for_mobile_skin-2016-02-16T21:45:00.000Z","replies":["c-Jdlrobson-2016-02-16T21:45:00.000Z-Disable\/fix_for_mobile_skin","c-Jdlrobson-2016-02-16T22:40:00.000Z-Disable\/fix_for_mobile_skin"],"text":"Disable\/fix for mobile skin","linkableTitle":"Disable\/fix for mobile skin"}--><h2 id="Disable/fix_for_mobile_skin" data-mw-thread-id="h-Disable/fix_for_mobile_skin-2016-02-16T21:45:00.000Z"><span id="Disable.2Ffix_for_mobile_skin"></span><span data-mw-comment-start="" id="h-Disable/fix_for_mobile_skin-2016-02-16T21:45:00.000Z"></span>Disable/fix for mobile skin<span data-mw-comment-end="h-Disable/fix_for_mobile_skin-2016-02-16T21:45:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=1" title="Edit section: Disable/fix for mobile skin"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Jdlrobson-2016-02-16T21:45:00.000Z","type":"heading","level":0,"id":"h-Disable\/fix_for_mobile_skin-2016-02-16T21:45:00.000Z","replies":["c-Jdlrobson-2016-02-16T21:45:00.000Z-Disable\/fix_for_mobile_skin","c-Jdlrobson-2016-02-16T22:40:00.000Z-Disable\/fix_for_mobile_skin"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Jdlrobson-2017-07-20T17:42:00.000Z-Jackmcbarn-2016-02-16T22:48:00.000Z","timestamp":"2017-07-20T17:42:00.000Z"}__--><!--__DTCOMMENTCOUNT__5__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Jdlrobson-2016-02-16T21:45:00.000Z","type":"heading","level":0,"id":"h-Disable\/fix_for_mobile_skin-2016-02-16T21:45:00.000Z","replies":["c-Jdlrobson-2016-02-16T21:45:00.000Z-Disable\/fix_for_mobile_skin","c-Jdlrobson-2016-02-16T22:40:00.000Z-Disable\/fix_for_mobile_skin"],"text":"Disable\/fix for mobile skin","linkableTitle":"Disable\/fix for mobile skin"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Jdlrobson-2016-02-16T21:45:00.000Z-Disable/fix_for_mobile_skin"></span>Hi <a href="/wiki/User:Jackmcbarn" title="User:Jackmcbarn">User:Jackmcbarn</a> I see this gadget is loaded by default on the mobile experience but I do not see it being used anywhere. </p><p>Given top loaded styles are problematic for slow connections, can I ask that you fix this gadget to work on mobile or disable it on mobile for the time being (remove the mobile target)? </p><p>Please do let me know if I can help in any way. <a href="/wiki/User:Jdlrobson" title="User:Jdlrobson">Jdlrobson</a> (<a href="/wiki/User_talk:Jdlrobson" title="User talk:Jdlrobson">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Jdlrobson-2016-02-16T21:45:00.000Z-Disable/fix_for_mobile_skin" class="ext-discussiontools-init-timestamplink">21:45, 16 February 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jdlrobson-2016-02-16T21:45:00.000Z-Disable/fix_for_mobile_skin"><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":"2016-02-16T21:45:00.000Z","author":"Jdlrobson","type":"comment","level":1,"id":"c-Jdlrobson-2016-02-16T21:45:00.000Z-Disable\/fix_for_mobile_skin","replies":["c-Jackmcbarn-2016-02-16T22:16:00.000Z-Jdlrobson-2016-02-16T21:45:00.000Z"]}}--></span><span data-mw-comment-end="c-Jdlrobson-2016-02-16T21:45:00.000Z-Disable/fix_for_mobile_skin"></span> </p> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Jackmcbarn-2016-02-16T22:16:00.000Z-Jdlrobson-2016-02-16T21:45:00.000Z"></span>@<a href="/wiki/User:Jdlrobson" title="User:Jdlrobson">Jdlrobson</a>:</span> It seems to work fine on <a class="external free" href="https://en.m.wikipedia.org/wiki/Broadway_Hollywood_Building">https://en.m.wikipedia.org/wiki/Broadway_Hollywood_Building</a> for me (radio buttons in infobox). Does it not work there for you? <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/MediaWiki_talk:Gadget-switcher.js#c-Jackmcbarn-2016-02-16T22:16:00.000Z-Jdlrobson-2016-02-16T21:45:00.000Z" class="ext-discussiontools-init-timestamplink">22:16, 16 February 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jackmcbarn-2016-02-16T22:16:00.000Z-Jdlrobson-2016-02-16T21:45: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":"2016-02-16T22:16:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2016-02-16T22:16:00.000Z-Jdlrobson-2016-02-16T21:45:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Jackmcbarn-2016-02-16T22:16:00.000Z-Jdlrobson-2016-02-16T21:45:00.000Z"></span></dd></dl> <p><span data-mw-comment-start="" id="c-Jdlrobson-2016-02-16T22:40:00.000Z-Disable/fix_for_mobile_skin"></span>Thanks for the quick response @Jackmcbarn :) I have updated the bug - it seems like this is the symptom of a larger problem <a class="external free" href="https://phabricator.wikimedia.org/T126817">https://phabricator.wikimedia.org/T126817</a> <a href="/wiki/User:Jdlrobson" title="User:Jdlrobson">Jdlrobson</a> (<a href="/wiki/User_talk:Jdlrobson" title="User talk:Jdlrobson">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Jdlrobson-2016-02-16T22:40:00.000Z-Disable/fix_for_mobile_skin" class="ext-discussiontools-init-timestamplink">22:40, 16 February 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jdlrobson-2016-02-16T22:40:00.000Z-Disable/fix_for_mobile_skin"><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":"2016-02-16T22:40:00.000Z","author":"Jdlrobson","type":"comment","level":1,"id":"c-Jdlrobson-2016-02-16T22:40:00.000Z-Disable\/fix_for_mobile_skin","replies":["c-Jackmcbarn-2016-02-16T22:48:00.000Z-Jdlrobson-2016-02-16T22:40:00.000Z"]}}--></span><span data-mw-comment-end="c-Jdlrobson-2016-02-16T22:40:00.000Z-Disable/fix_for_mobile_skin"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Jackmcbarn-2016-02-16T22:48:00.000Z-Jdlrobson-2016-02-16T22:40:00.000Z"></span>For anyone else reading this, here's the conversation we had on IRC:</dd></dl> <pre><jdlrobson> jackmcbarn: i see it now yup i didnt realise that's what it did- that said do you know why it's top loading CSS given they are just radio buttons? <jackmcbarn> i wasn't aware it was top loading any css * jackmcbarn looks <jackmcbarn> i can't see any css it's loading anywhere at all. where do you see it at? <jdlrobson> yeh that's what legoktm was suggesting <jdlrobson> i suspect there's some kind of bug in the stack.. </pre> <dl><dd><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/MediaWiki_talk:Gadget-switcher.js#c-Jackmcbarn-2016-02-16T22:48:00.000Z-Jdlrobson-2016-02-16T22:40:00.000Z" class="ext-discussiontools-init-timestamplink">22:48, 16 February 2016 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jackmcbarn-2016-02-16T22:48:00.000Z-Jdlrobson-2016-02-16T22:40: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":"2016-02-16T22:48:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2016-02-16T22:48:00.000Z-Jdlrobson-2016-02-16T22:40:00.000Z","replies":["c-Jdlrobson-2017-07-20T17:42:00.000Z-Jackmcbarn-2016-02-16T22:48:00.000Z"]}}--></span><span data-mw-comment-end="c-Jackmcbarn-2016-02-16T22:48:00.000Z-Jdlrobson-2016-02-16T22:40:00.000Z"></span></dd></dl> <dl><dd><dl><dd><span data-mw-comment-start="" id="c-Jdlrobson-2017-07-20T17:42:00.000Z-Jackmcbarn-2016-02-16T22:48:00.000Z"></span>Looks like this is now fixed. For some reason, thanks to a mysterious ping from <span class="template-ping">@<a href="/wiki/User:Liridon" title="User:Liridon">Liridon</a>:</span>, I only just got this notification so thank you for looking into it! <a href="/wiki/User:Jdlrobson" title="User:Jdlrobson">Jdlrobson</a> (<a href="/wiki/User_talk:Jdlrobson" title="User talk:Jdlrobson">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Jdlrobson-2017-07-20T17:42:00.000Z-Jackmcbarn-2016-02-16T22:48:00.000Z" class="ext-discussiontools-init-timestamplink">17:42, 20 July 2017 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jdlrobson-2017-07-20T17:42:00.000Z-Jackmcbarn-2016-02-16T22:48: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":"2017-07-20T17:42:00.000Z","author":"Jdlrobson","type":"comment","level":3,"id":"c-Jdlrobson-2017-07-20T17:42:00.000Z-Jackmcbarn-2016-02-16T22:48:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Jdlrobson-2017-07-20T17:42:00.000Z-Jackmcbarn-2016-02-16T22:48:00.000Z"></span></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Lam-ang-2018-08-21T06:11:00.000Z","type":"heading","level":0,"id":"h-Gadget_switcher_broken-2018-08-21T06:11:00.000Z","replies":["c-Lam-ang-2018-08-21T06:11:00.000Z-Gadget_switcher_broken"],"text":"Gadget switcher broken","linkableTitle":"Gadget switcher broken"}--><h2 id="Gadget_switcher_broken" data-mw-thread-id="h-Gadget_switcher_broken-2018-08-21T06:11:00.000Z"><span data-mw-comment-start="" id="h-Gadget_switcher_broken-2018-08-21T06:11:00.000Z"></span>Gadget switcher broken<span data-mw-comment-end="h-Gadget_switcher_broken-2018-08-21T06:11:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=2" title="Edit section: Gadget switcher broken"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Lam-ang-2018-08-21T06:11:00.000Z","type":"heading","level":0,"id":"h-Gadget_switcher_broken-2018-08-21T06:11:00.000Z","replies":["c-Lam-ang-2018-08-21T06:11:00.000Z-Gadget_switcher_broken"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Krinkle-2018-08-22T16:59:00.000Z-\u041f\u0435\u0442\u0430\u0440_\u041f\u0435\u0442\u043a\u043e\u0432\u0438\u045b-2018-08-22T12:05:00.000Z","timestamp":"2018-08-22T16:59:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Lam-ang-2018-08-21T06:11:00.000Z","type":"heading","level":0,"id":"h-Gadget_switcher_broken-2018-08-21T06:11:00.000Z","replies":["c-Lam-ang-2018-08-21T06:11:00.000Z-Gadget_switcher_broken"],"text":"Gadget switcher broken","linkableTitle":"Gadget switcher broken"}--></div></div></div> <p><span class="template-ping"><span data-mw-comment-start="" id="c-Lam-ang-2018-08-21T06:11:00.000Z-Gadget_switcher_broken"></span>@<a href="/wiki/User:Krinkle" title="User:Krinkle">Krinkle</a>:</span> your last edit seemed to have broken the gadget, the show all radio button disappeared, and most of the <a href="/wiki/Template:Switcher/testcases" title="Template:Switcher/testcases">testcases</a> for template <span class="nowrap">{{</span><a href="/wiki/Template:Switcher" title="Template:Switcher">switcher</a><span class="nowrap">}}</span> are not working. <a href="/wiki/User:Lam-ang" title="User:Lam-ang">Lam-ang</a> (<a href="/wiki/User_talk:Lam-ang" title="User talk:Lam-ang">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Lam-ang-2018-08-21T06:11:00.000Z-Gadget_switcher_broken" class="ext-discussiontools-init-timestamplink">06:11, 21 August 2018 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Lam-ang-2018-08-21T06:11:00.000Z-Gadget_switcher_broken"><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-08-21T06:11:00.000Z","author":"Lam-ang","type":"comment","level":1,"id":"c-Lam-ang-2018-08-21T06:11:00.000Z-Gadget_switcher_broken","replies":["c-\u041f\u0435\u0442\u0430\u0440_\u041f\u0435\u0442\u043a\u043e\u0432\u0438\u045b-2018-08-22T12:05:00.000Z-Lam-ang-2018-08-21T06:11:00.000Z"]}}--></span><span data-mw-comment-end="c-Lam-ang-2018-08-21T06:11:00.000Z-Gadget_switcher_broken"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Петар_Петковић-2018-08-22T12:05:00.000Z-Lam-ang-2018-08-21T06:11:00.000Z"></span>Yes, we've got <code>Uncaught ReferenceError: $showAllRadio is not defined</code> after the recent changes. --<a href="/wiki/User:%D0%9F%D0%B5%D1%82%D0%B0%D1%80_%D0%9F%D0%B5%D1%82%D0%BA%D0%BE%D0%B2%D0%B8%D1%9B" title="User:Петар Петковић">Петар Петковић</a> (<a href="/wiki/User_talk:%D0%9F%D0%B5%D1%82%D0%B0%D1%80_%D0%9F%D0%B5%D1%82%D0%BA%D0%BE%D0%B2%D0%B8%D1%9B" title="User talk:Петар Петковић">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Петар_Петковић-2018-08-22T12:05:00.000Z-Lam-ang-2018-08-21T06:11:00.000Z" class="ext-discussiontools-init-timestamplink">12:05, 22 August 2018 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Петар_Петковић-2018-08-22T12:05:00.000Z-Lam-ang-2018-08-21T06: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":"2018-08-22T12:05:00.000Z","author":"\u041f\u0435\u0442\u0430\u0440 \u041f\u0435\u0442\u043a\u043e\u0432\u0438\u045b","type":"comment","level":2,"id":"c-\u041f\u0435\u0442\u0430\u0440_\u041f\u0435\u0442\u043a\u043e\u0432\u0438\u045b-2018-08-22T12:05:00.000Z-Lam-ang-2018-08-21T06:11:00.000Z","replies":["c-Krinkle-2018-08-22T16:59:00.000Z-\u041f\u0435\u0442\u0430\u0440_\u041f\u0435\u0442\u043a\u043e\u0432\u0438\u045b-2018-08-22T12:05:00.000Z"]}}--></span><span data-mw-comment-end="c-Петар_Петковић-2018-08-22T12:05:00.000Z-Lam-ang-2018-08-21T06:11:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Krinkle-2018-08-22T16:59:00.000Z-Петар_Петковић-2018-08-22T12:05:00.000Z"></span>Apologies. I've fixed issue now. <a href="/wiki/User:Krinkle" title="User:Krinkle">Krinkle</a> (<a href="/wiki/User_talk:Krinkle" title="User talk:Krinkle">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Krinkle-2018-08-22T16:59:00.000Z-Петар_Петковић-2018-08-22T12:05:00.000Z" class="ext-discussiontools-init-timestamplink">16:59, 22 August 2018 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Krinkle-2018-08-22T16:59:00.000Z-Петар_Петковић-2018-08-22T12:05: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-08-22T16:59:00.000Z","author":"Krinkle","type":"comment","level":3,"id":"c-Krinkle-2018-08-22T16:59:00.000Z-\u041f\u0435\u0442\u0430\u0440_\u041f\u0435\u0442\u043a\u043e\u0432\u0438\u045b-2018-08-22T12:05:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Krinkle-2018-08-22T16:59:00.000Z-Петар_Петковић-2018-08-22T12:05:00.000Z"></span></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Ergo_Sum-2019-11-24T00:15:00.000Z","type":"heading","level":0,"id":"h-More_aesthetic_layout_for_many_images-2019-11-24T00:15:00.000Z","replies":["c-Ergo_Sum-2019-11-24T00:15:00.000Z-More_aesthetic_layout_for_many_images"],"text":"More aesthetic layout for many images","linkableTitle":"More aesthetic layout for many images"}--><h2 id="More_aesthetic_layout_for_many_images" data-mw-thread-id="h-More_aesthetic_layout_for_many_images-2019-11-24T00:15:00.000Z"><span data-mw-comment-start="" id="h-More_aesthetic_layout_for_many_images-2019-11-24T00:15:00.000Z"></span>More aesthetic layout for many images<span data-mw-comment-end="h-More_aesthetic_layout_for_many_images-2019-11-24T00:15:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=3" title="Edit section: More aesthetic layout for many images"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Ergo_Sum-2019-11-24T00:15:00.000Z","type":"heading","level":0,"id":"h-More_aesthetic_layout_for_many_images-2019-11-24T00:15:00.000Z","replies":["c-Ergo_Sum-2019-11-24T00:15:00.000Z-More_aesthetic_layout_for_many_images"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z","timestamp":"2019-11-25T05:50:00.000Z"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__1__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Ergo_Sum-2019-11-24T00:15:00.000Z","type":"heading","level":0,"id":"h-More_aesthetic_layout_for_many_images-2019-11-24T00:15:00.000Z","replies":["c-Ergo_Sum-2019-11-24T00:15:00.000Z-More_aesthetic_layout_for_many_images"],"text":"More aesthetic layout for many images","linkableTitle":"More aesthetic layout for many images"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Ergo_Sum-2019-11-24T00:15:00.000Z-More_aesthetic_layout_for_many_images"></span>Would it be possible to modify the template to allow for the organization of the clickable buttons in columns when there are above a certain number of images? Since the template accommodates up to 40 images, it is unwieldy to have a vertical list of 40, since that just takes up space. An example of this phenomenon is <a href="/wiki/User:Ergo_Sum/sandbox" title="User:Ergo Sum/sandbox">in my sandbox</a>. Continuing this discussion from <a href="/wiki/Template_talk:Switcher#More_aesthetic_layout_for_many_images" title="Template talk:Switcher">Template talk:Switcher</a>. Pinging <span class="template-ping">@<a href="/wiki/User:PrimeHunter" title="User:PrimeHunter">PrimeHunter</a> and <a href="/wiki/User:Jackmcbarn" title="User:Jackmcbarn">Jackmcbarn</a>:</span> <a href="/wiki/User:Ergo_Sum" title="User:Ergo Sum"><b><span style="color:#0645AD">Ergo Sum</span></b></a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Ergo_Sum-2019-11-24T00:15:00.000Z-More_aesthetic_layout_for_many_images" class="ext-discussiontools-init-timestamplink">00:15, 24 November 2019 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ergo_Sum-2019-11-24T00:15:00.000Z-More_aesthetic_layout_for_many_images"><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-24T00:15:00.000Z","author":"Ergo Sum","type":"comment","level":1,"id":"c-Ergo_Sum-2019-11-24T00:15:00.000Z-More_aesthetic_layout_for_many_images","replies":["c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z","c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z-1"]}}--></span><span data-mw-comment-end="c-Ergo_Sum-2019-11-24T00:15:00.000Z-More_aesthetic_layout_for_many_images"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z"></span>Pinging <span class="template-ping">@<a href="/wiki/User:Krinkle" title="User:Krinkle">Krinkle</a>:</span> per <a href="/wiki/User:PrimeHunter" title="User:PrimeHunter">PrimeHunter</a>'s suggestion, who may be able to assist. <a href="/wiki/User:Ergo_Sum" title="User:Ergo Sum"><b><span style="color:#0645AD">Ergo Sum</span></b></a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z" class="ext-discussiontools-init-timestamplink">05:50, 25 November 2019 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15: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":"2019-11-25T05:50:00.000Z","author":"Ergo Sum","type":"comment","level":2,"id":"c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z"></span></dd> <dd><span data-mw-comment-start="" id="c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z-1"></span>An active example of the problem can now be found on <a href="/wiki/1838_Jesuit_slave_sale" title="1838 Jesuit slave sale">1838 Jesuit slave sale</a>. <a href="/wiki/User:Ergo_Sum" title="User:Ergo Sum"><b><span style="color:#0645AD">Ergo Sum</span></b></a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z-1" class="ext-discussiontools-init-timestamplink">05:50, 25 November 2019 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z-1"><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-25T05:50:00.000Z","author":"Ergo Sum","type":"comment","level":2,"id":"c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z-1","replies":[]}}--></span><span data-mw-comment-end="c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z-1"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Naypta-2020-06-10T10:04:00.000Z","type":"heading","level":0,"id":"h-Custom_styles_for_labels-2020-06-10T10:04:00.000Z","replies":["c-Naypta-2020-06-10T10:04:00.000Z-Custom_styles_for_labels"],"text":"Custom styles for labels","linkableTitle":"Custom styles for labels"}--><h2 id="Custom_styles_for_labels" data-mw-thread-id="h-Custom_styles_for_labels-2020-06-10T10:04:00.000Z"><span data-mw-comment-start="" id="h-Custom_styles_for_labels-2020-06-10T10:04:00.000Z"></span>Custom styles for labels<span data-mw-comment-end="h-Custom_styles_for_labels-2020-06-10T10:04:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=4" title="Edit section: Custom styles for labels"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Naypta-2020-06-10T10:04:00.000Z","type":"heading","level":0,"id":"h-Custom_styles_for_labels-2020-06-10T10:04:00.000Z","replies":["c-Naypta-2020-06-10T10:04:00.000Z-Custom_styles_for_labels"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Jackmcbarn-2020-07-27T21:24:00.000Z-Naypta-2020-06-10T10:04:00.000Z","timestamp":"2020-07-27T21:24:00.000Z"}__--><!--__DTCOMMENTCOUNT__2__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Naypta-2020-06-10T10:04:00.000Z","type":"heading","level":0,"id":"h-Custom_styles_for_labels-2020-06-10T10:04:00.000Z","replies":["c-Naypta-2020-06-10T10:04:00.000Z-Custom_styles_for_labels"],"text":"Custom styles for labels","linkableTitle":"Custom styles for labels"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Naypta-2020-06-10T10:04:00.000Z-Custom_styles_for_labels"></span>Hi <a href="/wiki/User:Krinkle" title="User:Krinkle">Krinkle</a> - apologies for the unsolicited ping, I understand you're the maintainer of the switcher gadget. </p><p>Would it be possible to make a change to the gadget which would permit custom styles being put on the <code><label></code> elements? <a href="/wiki/User_talk:Yapperbot/COVIDdata/template" title="User talk:Yapperbot/COVIDdata/template">Over here</a> we've been discussing using it in a template, but by default the switcher radio buttons fly off to the other side, which isn't very helpful. Essentially, what I want to do is plonk the radio buttons on top of the templates - which I can do by setting them to display inline - but of course, there's no way to do that in the current gadget code. </p><p>No worries if it's not possible for any reason, I know this is a bit of an edge case - it'd just be useful here <abbr title="Smiling face" style="border-bottom: none;"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/18px-Face-smile.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/27px-Face-smile.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/7/79/Face-smile.svg/36px-Face-smile.svg.png 2x" data-file-width="48" data-file-height="48"/></span></span></abbr> </p><p>Cheers! <a href="/wiki/User:Naypta" title="User:Naypta">Naypta</a> ☺ | <small><a href="/wiki/User_talk:Naypta" title="User talk:Naypta">✉ talk page</a></small> | <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Naypta-2020-06-10T10:04:00.000Z-Custom_styles_for_labels" class="ext-discussiontools-init-timestamplink">10:04, 10 June 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Naypta-2020-06-10T10:04:00.000Z-Custom_styles_for_labels"><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-06-10T10:04:00.000Z","author":"Naypta","type":"comment","level":1,"id":"c-Naypta-2020-06-10T10:04:00.000Z-Custom_styles_for_labels","replies":["c-Jackmcbarn-2020-07-27T21:24:00.000Z-Naypta-2020-06-10T10:04:00.000Z"]}}--></span><span data-mw-comment-end="c-Naypta-2020-06-10T10:04:00.000Z-Custom_styles_for_labels"></span> </p> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Jackmcbarn-2020-07-27T21:24:00.000Z-Naypta-2020-06-10T10:04:00.000Z"></span>@<a href="/wiki/User:Naypta" title="User:Naypta">Naypta</a>:</span> I wrote some new code to let you both change the style and move them to the top. To try it out, disable the switcher gadget in <a href="/wiki/Special:Preferences" title="Special:Preferences">Special:Preferences</a>, then add <code>importScript('User:Jackmcbarn/switcher-unstable.js'); // Linkback: [[User:Jackmcbarn/switcher-unstable.js]]</code> to <a href="/wiki/Special:MyPage/common.js" title="Special:MyPage/common.js">Special:MyPage/common.js</a>. I added example wikicode to use it at <a href="/wiki/User:Jackmcbarn/switcher#Testing_new_features" title="User:Jackmcbarn/switcher">User:Jackmcbarn/switcher#Testing new features</a>. Let me know if this is what you want, and if so, I'll put in a request to update the real gadget 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/MediaWiki_talk:Gadget-switcher.js#c-Jackmcbarn-2020-07-27T21:24:00.000Z-Naypta-2020-06-10T10:04:00.000Z" class="ext-discussiontools-init-timestamplink">21:24, 27 July 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jackmcbarn-2020-07-27T21:24:00.000Z-Naypta-2020-06-10T10:04: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-07-27T21:24:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2020-07-27T21:24:00.000Z-Naypta-2020-06-10T10:04:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Jackmcbarn-2020-07-27T21:24:00.000Z-Naypta-2020-06-10T10:04:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Onceinawhile-2020-08-12T15:03:00.000Z","type":"heading","level":0,"id":"h-Disable_show_all?-2020-08-12T15:03:00.000Z","replies":["c-Onceinawhile-2020-08-12T15:03:00.000Z-Disable_show_all?","c-Zero0000-2020-08-13T02:33:00.000Z-Disable_show_all?"],"text":"Disable show all?","linkableTitle":"Disable show all?"}--><h2 id="Disable_show_all?" data-mw-thread-id="h-Disable_show_all?-2020-08-12T15:03:00.000Z"><span id="Disable_show_all.3F"></span><span data-mw-comment-start="" id="h-Disable_show_all?-2020-08-12T15:03:00.000Z"></span>Disable show all?<span data-mw-comment-end="h-Disable_show_all?-2020-08-12T15:03:00.000Z"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=5" title="Edit section: Disable show all?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Onceinawhile-2020-08-12T15:03:00.000Z","type":"heading","level":0,"id":"h-Disable_show_all?-2020-08-12T15:03:00.000Z","replies":["c-Onceinawhile-2020-08-12T15:03:00.000Z-Disable_show_all?","c-Zero0000-2020-08-13T02:33:00.000Z-Disable_show_all?"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Jackmcbarn-2020-08-13T06:12:00.000Z-Zero0000-2020-08-13T02:33:00.000Z","timestamp":"2020-08-13T06:12:00.000Z"}__--><!--__DTCOMMENTCOUNT__7__--><!--__DTAUTHORCOUNT__4__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Onceinawhile-2020-08-12T15:03:00.000Z","type":"heading","level":0,"id":"h-Disable_show_all?-2020-08-12T15:03:00.000Z","replies":["c-Onceinawhile-2020-08-12T15:03:00.000Z-Disable_show_all?","c-Zero0000-2020-08-13T02:33:00.000Z-Disable_show_all?"],"text":"Disable show all?","linkableTitle":"Disable show all?"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Onceinawhile-2020-08-12T15:03:00.000Z-Disable_show_all?"></span>Hi <span class="template-ping">@<a href="/wiki/User:Jackmcbarn" title="User:Jackmcbarn">Jackmcbarn</a>:</span> is there a way to disable the “show all” button? I would like to add that option as a feature on <a href="/wiki/Template:Historical_map_series" title="Template:Historical map series">Template:Historical map series</a>. <a href="/wiki/User:Onceinawhile" title="User:Onceinawhile">Onceinawhile</a> (<a href="/wiki/User_talk:Onceinawhile" title="User talk:Onceinawhile">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Onceinawhile-2020-08-12T15:03:00.000Z-Disable_show_all?" class="ext-discussiontools-init-timestamplink">15:03, 12 August 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Onceinawhile-2020-08-12T15:03:00.000Z-Disable_show_all?"><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-08-12T15:03:00.000Z","author":"Onceinawhile","type":"comment","level":1,"id":"c-Onceinawhile-2020-08-12T15:03:00.000Z-Disable_show_all?","replies":["c-Jackmcbarn-2020-08-12T21:53:00.000Z-Onceinawhile-2020-08-12T15:03:00.000Z"]}}--></span><span data-mw-comment-end="c-Onceinawhile-2020-08-12T15:03:00.000Z-Disable_show_all?"></span> </p> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Jackmcbarn-2020-08-12T21:53:00.000Z-Onceinawhile-2020-08-12T15:03:00.000Z"></span>@<a href="/wiki/User:Onceinawhile" title="User:Onceinawhile">Onceinawhile</a>:</span> When I wrote this, I intentionally didn't allow suppressing "show all". When a user doesn't have JavaScript or has the switcher gadget disabled, they're effectively permanently in "show all" mode. My worry was that by allowing hiding that mode from most users, the templates that did so would quickly end up with really ugly or stretched out pages in that case. Do you think it's worth letting it be hidden anyway? It wouldn't be difficult to add that if there were a reason for 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/MediaWiki_talk:Gadget-switcher.js#c-Jackmcbarn-2020-08-12T21:53:00.000Z-Onceinawhile-2020-08-12T15:03:00.000Z" class="ext-discussiontools-init-timestamplink">21:53, 12 August 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jackmcbarn-2020-08-12T21:53:00.000Z-Onceinawhile-2020-08-12T15:03: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-08-12T21:53:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2020-08-12T21:53:00.000Z-Onceinawhile-2020-08-12T15:03:00.000Z","replies":["c-Onceinawhile-2020-08-12T22:04:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z","c-Sdkb-2020-08-13T00:21:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z"]}}--></span><span data-mw-comment-end="c-Jackmcbarn-2020-08-12T21:53:00.000Z-Onceinawhile-2020-08-12T15:03:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Onceinawhile-2020-08-12T22:04:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z"></span>Hi <a href="/wiki/User:Jackmcbarn" title="User:Jackmcbarn">Jackmcbarn</a>, thanks very much for your answer here, and for creating this valuable gadget in the first place. If I understand you correctly, you are saying that because some readers will only ever see the showall mode, it is healthy for editors to be conscious of this - and permanent showall button ensures that.</dd> <dd></dd> <dd>It was <a href="/wiki/User:Zero0000" title="User:Zero0000">Zero0000</a> who asked me about this originally, so I will defer to him as to value of optionality here.</dd> <dd></dd> <dd>Best regards, <a href="/wiki/User:Onceinawhile" title="User:Onceinawhile">Onceinawhile</a> (<a href="/wiki/User_talk:Onceinawhile" title="User talk:Onceinawhile">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Onceinawhile-2020-08-12T22:04:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z" class="ext-discussiontools-init-timestamplink">22:04, 12 August 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Onceinawhile-2020-08-12T22:04:00.000Z-Jackmcbarn-2020-08-12T21:53: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-08-12T22:04:00.000Z","author":"Onceinawhile","type":"comment","level":3,"id":"c-Onceinawhile-2020-08-12T22:04:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z","replies":["c-Jackmcbarn-2020-08-13T00:13:00.000Z-Onceinawhile-2020-08-12T22:04:00.000Z"]}}--></span><span data-mw-comment-end="c-Onceinawhile-2020-08-12T22:04:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z"></span> <dl><dd><span data-mw-comment-start="" id="c-Jackmcbarn-2020-08-13T00:13:00.000Z-Onceinawhile-2020-08-12T22:04:00.000Z"></span>Yes, you understand me correctly. <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/MediaWiki_talk:Gadget-switcher.js#c-Jackmcbarn-2020-08-13T00:13:00.000Z-Onceinawhile-2020-08-12T22:04:00.000Z" class="ext-discussiontools-init-timestamplink">00:13, 13 August 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jackmcbarn-2020-08-13T00:13:00.000Z-Onceinawhile-2020-08-12T22:04: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-08-13T00:13:00.000Z","author":"Jackmcbarn","type":"comment","level":4,"id":"c-Jackmcbarn-2020-08-13T00:13:00.000Z-Onceinawhile-2020-08-12T22:04:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Jackmcbarn-2020-08-13T00:13:00.000Z-Onceinawhile-2020-08-12T22:04:00.000Z"></span></dd></dl></dd> <dd><a href="/wiki/User:Jackmcbarn" title="User:Jackmcbarn"><span data-mw-comment-start="" id="c-Sdkb-2020-08-13T00:21:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z"></span>Jackmcbarn</a>, thanks for that explanation. I'm not tech-savvy enough to know, how many users still don't have JavaScript, and is there no way to program the gadget so that it doesn't need JavaScript? I've wanted to suppress the show all button in the past myself, so there is very much demand for this feature, but your reasoning makes sense if we're not yet ready to throw out support for those without JavaScript. <span style="color:#AAA"><small>{{u|</small><span style="border-radius:9em;padding:0 5px;background:#088"><a href="/wiki/User:Sdkb" title="User:Sdkb"><span style="color:#FFF"><b>Sdkb</b></span></a></span><small>}}</small></span> <sup><a href="/wiki/User_talk:Sdkb" title="User talk:Sdkb"><b>talk</b></a></sup> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Sdkb-2020-08-13T00:21:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z" class="ext-discussiontools-init-timestamplink">00:21, 13 August 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Sdkb-2020-08-13T00:21:00.000Z-Jackmcbarn-2020-08-12T21:53: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-08-13T00:21:00.000Z","author":"Sdkb","type":"comment","level":3,"id":"c-Sdkb-2020-08-13T00:21:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Sdkb-2020-08-13T00:21:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z"></span></dd></dl></dd></dl> <p><span data-mw-comment-start="" id="c-Zero0000-2020-08-13T02:33:00.000Z-Disable_show_all?"></span>Hi <span class="template-ping">@<a href="/wiki/User:Jackmcbarn" title="User:Jackmcbarn">Jackmcbarn</a>:</span>, thanks for the explanation. My knowledge of javascript is very primitive so maybe this suggestion is nonsense. An option which applied the javascript <i>object</i>.style.display="none" attribute to the showall line would not be effective for users with javascript off and would just make a little space for others. Not perfect, but something. Is there a better way to have the suppression of showall a javascript action so that it is only effective when javascript is on? Cheers. <a href="/wiki/User:Zero0000" title="User:Zero0000">Zero</a><sup><small><a href="/wiki/User_talk:Zero0000" title="User talk:Zero0000">talk</a></small></sup> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Zero0000-2020-08-13T02:33:00.000Z-Disable_show_all?" class="ext-discussiontools-init-timestamplink">02:33, 13 August 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Zero0000-2020-08-13T02:33:00.000Z-Disable_show_all?"><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-08-13T02:33:00.000Z","author":"Zero0000","type":"comment","level":1,"id":"c-Zero0000-2020-08-13T02:33:00.000Z-Disable_show_all?","replies":["c-Jackmcbarn-2020-08-13T06:12:00.000Z-Zero0000-2020-08-13T02:33:00.000Z"],"displayName":"Zero"}}--></span><span data-mw-comment-end="c-Zero0000-2020-08-13T02:33:00.000Z-Disable_show_all?"></span> </p> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Jackmcbarn-2020-08-13T06:12:00.000Z-Zero0000-2020-08-13T02:33:00.000Z"></span>@<a href="/wiki/User:Zero0000" title="User:Zero0000">Zero0000</a>:</span> From a purely technical perspective, I can absolutely easily do that. My concern is that by doing so, editors would forget that the "show all" view still exists for some viewers and so would inadvertently make decisions that significantly harm the quality of 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/MediaWiki_talk:Gadget-switcher.js#c-Jackmcbarn-2020-08-13T06:12:00.000Z-Zero0000-2020-08-13T02:33:00.000Z" class="ext-discussiontools-init-timestamplink">06:12, 13 August 2020 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jackmcbarn-2020-08-13T06:12:00.000Z-Zero0000-2020-08-13T02:33: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-08-13T06:12:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2020-08-13T06:12:00.000Z-Zero0000-2020-08-13T02:33:00.000Z","replies":[]}}--></span><span data-mw-comment-end="c-Jackmcbarn-2020-08-13T06:12:00.000Z-Zero0000-2020-08-13T02:33:00.000Z"></span></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Number_57-20221128203400","type":"heading","level":0,"id":"h-Space_between_the_button_and_text-20221128203400","replies":["c-Number_57-20221128203400-Space_between_the_button_and_text"],"text":"Space between the button and text","linkableTitle":"Space between the button and text"}--><h2 id="Space_between_the_button_and_text" data-mw-thread-id="h-Space_between_the_button_and_text-20221128203400"><span data-mw-comment-start="" id="h-Space_between_the_button_and_text-20221128203400"></span>Space between the button and text<span data-mw-comment-end="h-Space_between_the_button_and_text-20221128203400"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=6" title="Edit section: Space between the button and text"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Number_57-20221128203400","type":"heading","level":0,"id":"h-Space_between_the_button_and_text-20221128203400","replies":["c-Number_57-20221128203400-Space_between_the_button_and_text"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Izno-20230713195700-Cmglee-20230710211200","timestamp":"20230713195700"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Number_57-20221128203400","type":"heading","level":0,"id":"h-Space_between_the_button_and_text-20221128203400","replies":["c-Number_57-20221128203400-Space_between_the_button_and_text"],"text":"Space between the button and text","linkableTitle":"Space between the button and text"}--></div></div></div> <p><span class="template-ping"><span data-mw-comment-start="" id="c-Number_57-20221128203400-Space_between_the_button_and_text"></span>@<a href="/wiki/User:Jackmcbarn" title="User:Jackmcbarn">Jackmcbarn</a>:</span> As discussed <a href="/wiki/Template_talk:Switcher#Spacing" title="Template talk:Switcher">here</a>, would it be possible to add a space between the radio button and 'Show all' text to make it a bit easier to read? Cheers, <a href="/wiki/User:Number_57" title="User:Number 57"><span style="color: orange;">Number</span></a> <a href="/wiki/User_talk:Number_57" title="User talk:Number 57"><span style="color: green;">5</span></a><a href="/wiki/Special:Contributions/Number_57" title="Special:Contributions/Number 57"><span style="color: blue;">7</span></a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Number_57-20221128203400-Space_between_the_button_and_text" class="ext-discussiontools-init-timestamplink">20:34, 28 November 2022 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Number_57-20221128203400-Space_between_the_button_and_text"><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":"20221128203400","author":"Number 57","type":"comment","level":1,"id":"c-Number_57-20221128203400-Space_between_the_button_and_text","replies":["c-Cmglee-20230710211200-Number_57-20221128203400"],"displayName":"Number"}}--></span><span data-mw-comment-end="c-Number_57-20221128203400-Space_between_the_button_and_text"></span> </p> <dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Cmglee-20230710211200-Number_57-20221128203400"></span>@<a href="/wiki/User:Izno" title="User:Izno">Izno</a>:</span> I agree with <span class="template-ping">@<a href="/wiki/User:Number_57" title="User:Number 57">Number 57</a>:</span>. Suggested change:</dd></dl> <pre> $( '<label style="display:block"></label>' ).append( $radio, label.childNodes ).appendTo( container );</pre><p> to </p><pre> $( '<label style="display:block; margin-left:1ex;"></label>' ).append( $radio, label.childNodes ).appendTo( container );</pre><p> and </p><pre> $( '<label style="display:block">Show all</label>' ).prepend(</pre><p> to </p><pre> $( '<label style="display:block; margin-left:1ex;">Show all</label>' ).prepend(</pre> <dl><dd>Thanks in advance,<br/><b><a href="/wiki/User:Cmglee" title="User:Cmglee">cmɢʟee</a></b>⎆<a href="/wiki/User_talk:Cmglee" title="User talk:Cmglee">τaʟκ</a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Cmglee-20230710211200-Number_57-20221128203400" class="ext-discussiontools-init-timestamplink">21:12, 10 July 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Cmglee-20230710211200-Number_57-20221128203400"><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":"20230710211200","author":"Cmglee","type":"comment","level":2,"id":"c-Cmglee-20230710211200-Number_57-20221128203400","replies":["c-Izno-20230713195700-Cmglee-20230710211200"],"displayName":"cm\u0262\u029fee"}}--></span><span data-mw-comment-end="c-Cmglee-20230710211200-Number_57-20221128203400"></span> <dl><dd><span data-mw-comment-start="" id="c-Izno-20230713195700-Cmglee-20230710211200"></span>Please feel free to submit an edit request. <a href="/wiki/User:Izno" title="User:Izno">Izno</a> (<a href="/wiki/User_talk:Izno" title="User talk:Izno">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Izno-20230713195700-Cmglee-20230710211200" class="ext-discussiontools-init-timestamplink">19:57, 13 July 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Izno-20230713195700-Cmglee-20230710211200"><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":"20230713195700","author":"Izno","type":"comment","level":3,"id":"c-Izno-20230713195700-Cmglee-20230710211200","replies":[]}}--></span><span data-mw-comment-end="c-Izno-20230713195700-Cmglee-20230710211200"></span></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Cmglee-20230708005200","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_\"Show_all\"_label-20230708005200","replies":["c-Cmglee-20230708005200-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_\"Show_all\"_label"],"text":"Interface-protected edit request on 8 July 2023: Fix grammar of \"Show all\" label","linkableTitle":"Interface-protected edit request on 8 July 2023: Fix grammar of \"Show all\" label"}--><h2 id="Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label" data-mw-thread-id="h-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label-20230708005200"><span id="Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_.22Show_all.22_label"></span><span data-mw-comment-start="" id="h-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label-20230708005200"></span>Interface-protected edit request on 8 July 2023: Fix grammar of "Show all" label<span data-mw-comment-end="h-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label-20230708005200"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=7" title="Edit section: Interface-protected edit request on 8 July 2023: Fix grammar of "Show all" label"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Cmglee-20230708005200","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_\"Show_all\"_label-20230708005200","replies":["c-Cmglee-20230708005200-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_\"Show_all\"_label"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Cmglee-20230710210100-Cmglee-20230710004300","timestamp":"20230710210100"}__--><!--__DTCOMMENTCOUNT__4__--><!--__DTAUTHORCOUNT__2__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Cmglee-20230708005200","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_\"Show_all\"_label-20230708005200","replies":["c-Cmglee-20230708005200-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_\"Show_all\"_label"],"text":"Interface-protected edit request on 8 July 2023: Fix grammar of \"Show all\" label","linkableTitle":"Interface-protected edit request on 8 July 2023: Fix grammar of \"Show all\" label"}--></div></div></div> <span data-mw-comment-start="" id="c-Cmglee-20230708005200-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label"></span><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 mbox-small tmbox-notice editrequest" role="presentation" data-origlevel="interface"><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> Is it possible to change the line</p><pre> $( '<label style="display:block">Show all</label>' ).prepend( </pre><p> to </p><pre><p> $( '<label style="display:block">Show ' + (switchers.length > 2 ? 'all' : 'both') + '</label>' ).prepend( </p> </pre><p> so that the labels have correct grammar ("Show both" when there are two images and "Show all" when there are more)? </p><p>Thanks! <b><a href="/wiki/User:Cmglee" title="User:Cmglee">cmɢʟee</a></b>⎆<a href="/wiki/User_talk:Cmglee" title="User talk:Cmglee">τaʟκ</a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Cmglee-20230708005200-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label" class="ext-discussiontools-init-timestamplink">00:52, 8 July 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Cmglee-20230708005200-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label"><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":"20230708005200","author":"Cmglee","type":"comment","level":1,"id":"c-Cmglee-20230708005200-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_\"Show_all\"_label","replies":["c-Izno-20230708012700-Cmglee-20230708005200"],"displayName":"cm\u0262\u029fee"}}--></span><span data-mw-comment-end="c-Cmglee-20230708005200-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_"Show_all"_label"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Izno-20230708012700-Cmglee-20230708005200"></span>Show all isn't incorrect grammar for the case of two? <a href="/wiki/User:Izno" title="User:Izno">Izno</a> (<a href="/wiki/User_talk:Izno" title="User talk:Izno">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Izno-20230708012700-Cmglee-20230708005200" class="ext-discussiontools-init-timestamplink">01:27, 8 July 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Izno-20230708012700-Cmglee-20230708005200"><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":"20230708012700","author":"Izno","type":"comment","level":2,"id":"c-Izno-20230708012700-Cmglee-20230708005200","replies":["c-Cmglee-20230710004300-Izno-20230708012700"]}}--></span><span data-mw-comment-end="c-Izno-20230708012700-Cmglee-20230708005200"></span> <dl><dd><span data-mw-comment-start="" id="c-Cmglee-20230710004300-Izno-20230708012700"></span>Thanks for your reply, <span class="template-ping">@<a href="/wiki/User:Izno" title="User:Izno">Izno</a>:</span> I was taught to use "both" for exactly two items and "all" for more than two but haven't been able to find an authroritative source addressing this specifically, though <a href="/wiki/Dual_(grammatical_number)" title="Dual (grammatical number)">Dual_(grammatical_number)</a> states</dd></dl></dd></dl> <dl><dd><dl><dd></dd></dl></dd></dl> <table class="cquote pullquote" role="presentation" style="margin:auto; border-collapse: collapse; border: none; width: auto;"> <tbody><tr> <td style="width: 20px; vertical-align: top; border: none; color: #B2B7F2; font-size: 40px; font-family: 'Times New Roman', Times, serif; font-weight: bold; line-height: .6em; text-align: left; padding: 10px 10px;">“ </td> <td style="vertical-align: top; border: none; padding: 4px 10px;">The majority of modern Indo-European languages, including modern English, have lost the dual number through their development. Its function has mostly been replaced by the simple plural. They may however show residual traces of the dual, for example in the English distinctions: both vs. all, either vs. any, neither vs. none, and so on. A commonly used sentence to exemplify dual in English is "Both go to the same school." where both refers to two specific people who had already been determined in the conversation. </td> <td style="width: 20px; vertical-align: bottom; border: none; color: #B2B7F2; font-size: 40px; font-family: 'Times New Roman', Times, serif; font-weight: bold; line-height: .6em; text-align: right; padding: 10px 10px;">” </td></tr> </tbody></table> <dl><dd><dl><dd>I've asked on <a class="external free" href="https://en.wikipedia.org/w/index.php?title=Wikipedia:Reference_desk/Language&diff=prev&oldid=1164599617">http://en.wikipedia.org/w/index.php?title=Wikipedia:Reference_desk/Language&diff=prev&oldid=1164599617</a></dd></dl></dd></dl> <dl><dd><dl><dd>Cheers,<br/><b><a href="/wiki/User:Cmglee" title="User:Cmglee">cmɢʟee</a></b>⎆<a href="/wiki/User_talk:Cmglee" title="User talk:Cmglee">τaʟκ</a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Cmglee-20230710004300-Izno-20230708012700" class="ext-discussiontools-init-timestamplink">00:43, 10 July 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Cmglee-20230710004300-Izno-20230708012700"><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":"20230710004300","author":"Cmglee","type":"comment","level":3,"id":"c-Cmglee-20230710004300-Izno-20230708012700","replies":["c-Cmglee-20230710210100-Cmglee-20230710004300"],"displayName":"cm\u0262\u029fee"}}--></span><span data-mw-comment-end="c-Cmglee-20230710004300-Izno-20230708012700"></span></dd></dl></dd></dl> <dl><dd><dl><dd><dl><dd><span class="template-ping"><span data-mw-comment-start="" id="c-Cmglee-20230710210100-Cmglee-20230710004300"></span>@<a href="/wiki/User:Izno" title="User:Izno">Izno</a>:</span> <a href="/wiki/Wikipedia:Reference_desk/Language#Can_"all"_apply_to_exactly_two_items?" title="Wikipedia:Reference desk/Language">Wikipedia:Reference_desk/Language#Can_"all"_apply_to_exactly_two_items?</a> concurs that "all" is fine so I withdraw the change request. It would be good if the space-before-labels request could be addressed, though. Thanks, <b><a href="/wiki/User:Cmglee" title="User:Cmglee">cmɢʟee</a></b>⎆<a href="/wiki/User_talk:Cmglee" title="User talk:Cmglee">τaʟκ</a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Cmglee-20230710210100-Cmglee-20230710004300" class="ext-discussiontools-init-timestamplink">21:01, 10 July 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Cmglee-20230710210100-Cmglee-20230710004300"><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":"20230710210100","author":"Cmglee","type":"comment","level":4,"id":"c-Cmglee-20230710210100-Cmglee-20230710004300","replies":[],"displayName":"cm\u0262\u029fee"}}--></span><span data-mw-comment-end="c-Cmglee-20230710210100-Cmglee-20230710004300"></span></dd></dl></dd></dl></dd></dl> <div class="mw-archivedtalk" style="background: var(--background-color-success-subtle, #E3F9DF); color: inherit; padding:0 10px; border:1px solid #AAA;"><i>The following discussion is closed and will soon be archived.</i> <b> </b></div> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Cmglee-20230727212700","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a-20230727212700","replies":["c-Cmglee-20230727212700-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a"],"text":"Interface-protected edit request on 27 July 2023: Add space between the button and text","linkableTitle":"Interface-protected edit request on 27 July 2023: Add space between the button and text"}--><h2 id="Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_and_text" data-mw-thread-id="h-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a-20230727212700"><span data-mw-comment-start="" id="h-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a-20230727212700"></span>Interface-protected edit request on 27 July 2023: Add space between the button and text<span data-mw-comment-end="h-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a-20230727212700"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=8" title="Edit section: Interface-protected edit request on 27 July 2023: Add space between the button and text"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Cmglee-20230727212700","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a-20230727212700","replies":["c-Cmglee-20230727212700-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Alexis_Jazz-20230909053100-Nardog-20230909034000","timestamp":"20230909053100"}__--><!--__DTCOMMENTCOUNT__12__--><!--__DTAUTHORCOUNT__5__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Cmglee-20230727212700","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a-20230727212700","replies":["c-Cmglee-20230727212700-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a"],"text":"Interface-protected edit request on 27 July 2023: Add space between the button and text","linkableTitle":"Interface-protected edit request on 27 July 2023: Add space between the button and text"}--></div></div></div> <span data-mw-comment-start="" id="c-Cmglee-20230727212700-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a"></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="interface"><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>As per <a href="#Space_between_the_button_and_text">#Space between the button and text</a> above, is it possible to change the lines </p> <table class="diff" style="width:100%"><tbody><tr><td class="diff-marker" style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">−</td><td class="diff-deletedline" style="border-color: var(--background-color-content-removed,#ffe49c); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;">$( '<label style="display:block"></label>' ).append( $radio, label.childNodes ).appendTo( container );</div></td><td style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">+</td><td class="diff-addedline" style="border-color: var(--background-color-content-added,#a3d3ff); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;">$( '<label style="display:block<ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">;</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">m</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">a</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">r</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">g</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">i</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">n</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">-</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">l</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">e</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">f</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">t</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">:</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">1</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">e</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">x</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">;</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins>"></label>' ).append( $radio, label.childNodes ).appendTo( container );</div></td></tr></tbody></table> <table class="diff" style="width:100%"><tbody><tr><td class="diff-marker" style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">−</td><td class="diff-deletedline" style="border-color: var(--background-color-content-removed,#ffe49c); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;">$( '<label style="display:block">Show all</label>' ).prepend(</div></td><td style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">+</td><td class="diff-addedline" style="border-color: var(--background-color-content-added,#a3d3ff); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;">$( '<label style="display:block<ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">;</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">m</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">a</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">r</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">g</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">i</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">n</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">-</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">l</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">e</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">f</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">t</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">:</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">1</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">e</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">x</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">;</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"></ins>">Show all</label>' ).prepend(</div></td></tr></tbody></table> <p>so that there is some space between the labels and the radio buttons? </p><p>Thanks in advance,<br/><b><a href="/wiki/User:Cmglee" title="User:Cmglee">cmɢʟee</a></b>⎆<a href="/wiki/User_talk:Cmglee" title="User talk:Cmglee">τaʟκ</a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Cmglee-20230727212700-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a" class="ext-discussiontools-init-timestamplink">21:27, 27 July 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Cmglee-20230727212700-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a"><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":"20230727212700","author":"Cmglee","type":"comment","level":1,"id":"c-Cmglee-20230727212700-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a","replies":["c-Alexis_Jazz-20230821111300-Cmglee-20230727212700","c-Izno-20230908214700-Cmglee-20230727212700"],"displayName":"cm\u0262\u029fee"}}--></span><span data-mw-comment-end="c-Cmglee-20230727212700-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a"></span> </p> <dl><dd><a href="/wiki/User:Cmglee" title="User:Cmglee"><span data-mw-comment-start="" id="c-Alexis_Jazz-20230821111300-Cmglee-20230727212700"></span>Cmglee</a>, I changed your request to use <span class="nowrap">{{</span><a href="/wiki/Template:StringDiff" class="mw-redirect" title="Template:StringDiff">StringDiff</a><span class="nowrap">}}</span>. However, your proposed change won't work, it would just move the radio button+label to the right. <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="w"> </span><span class="ow">typeof</span><span class="w"> </span><span class="nx">switchers</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="s1">'undefined'</span><span class="w"> </span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nx">mw</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">addCSS</span><span class="p">(</span><span class="s1">'.switcher-container label input{margin-right:0.5em}'</span><span class="p">)</span><span class="w"> </span><span class="p">}</span> </pre></div> works but shouldn't this gadget use ooUI instead?<span id="Alexis_Jazz:1692616381407:MediaWiki_talkFTTCLNGadget-switcher.js" class="FTTCmt"> — <span style="color:#e08020">Alexis Jazz</span> (<a href="/wiki/User_talk:Alexis_Jazz" title="User talk:Alexis Jazz">talk</a> or ping me) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Alexis_Jazz-20230821111300-Cmglee-20230727212700" class="ext-discussiontools-init-timestamplink">11:13, 21 August 2023 (UTC)</a></span><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Alexis_Jazz-20230821111300-Cmglee-20230727212700"><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":"20230821111300","author":"Alexis Jazz","type":"comment","level":2,"id":"c-Alexis_Jazz-20230821111300-Cmglee-20230727212700","replies":["c-Alexis_Jazz-20230821175100-Alexis_Jazz-20230821111300"]}}--></span><span data-mw-comment-end="c-Alexis_Jazz-20230821111300-Cmglee-20230727212700"></span> <dl><dd><a href="/wiki/Wikipedia:Village_pump_(technical)#Switcher_gadget:_please_take_a_quick_look" title="Wikipedia:Village pump (technical)"><span data-mw-comment-start="" id="c-Alexis_Jazz-20230821175100-Alexis_Jazz-20230821111300"></span>Wikipedia:Village pump (technical)#Switcher gadget: please take a quick look</a><span id="Alexis_Jazz:1692640260984:MediaWiki_talkFTTCLNGadget-switcher.js" class="FTTCmt"> — <span style="color:#e08020">Alexis Jazz</span> (<a href="/wiki/User_talk:Alexis_Jazz" title="User talk:Alexis Jazz">talk</a> or ping me) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Alexis_Jazz-20230821175100-Alexis_Jazz-20230821111300" class="ext-discussiontools-init-timestamplink">17:51, 21 August 2023 (UTC)</a></span><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Alexis_Jazz-20230821175100-Alexis_Jazz-20230821111300"><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":"20230821175100","author":"Alexis Jazz","type":"comment","level":3,"id":"c-Alexis_Jazz-20230821175100-Alexis_Jazz-20230821111300","replies":["c-Cmglee-20230822160500-Alexis_Jazz-20230821175100"]}}--></span><span data-mw-comment-end="c-Alexis_Jazz-20230821175100-Alexis_Jazz-20230821111300"></span> <dl><dd><span data-mw-comment-start="" id="c-Cmglee-20230822160500-Alexis_Jazz-20230821175100"></span>Hi <span class="template-ping">@<a href="/wiki/User:Alexis_Jazz" title="User:Alexis Jazz">Alexis Jazz</a>:</span> Thank you very much for looking into this. I'm unfamiliar with Mediawiki software so cannot comment on what the correct approach is but am happy to beta-test it. <a rel="nofollow" class="external free" href="https://commons.wikimedia.beta.wmflabs.org/wiki/Template:Switcher">https://commons.wikimedia.beta.wmflabs.org/wiki/Template:Switcher</a> has adequate space between each radio button and its label, though there is much larger vertical separation between rows than on <a href="/wiki/Template:Switcher/doc#Example" title="Template:Switcher/doc">Template:Switcher/doc#Example</a>: Firefox's Inspector shows that the wmflabs version has each label in a separate <i>div</i> where the original template has just <i>label</i> elements. Cheers, <b><a href="/wiki/User:Cmglee" title="User:Cmglee">cmɢʟee</a></b>⎆<a href="/wiki/User_talk:Cmglee" title="User talk:Cmglee">τaʟκ</a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Cmglee-20230822160500-Alexis_Jazz-20230821175100" class="ext-discussiontools-init-timestamplink">16:05, 22 August 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Cmglee-20230822160500-Alexis_Jazz-20230821175100"><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":"20230822160500","author":"Cmglee","type":"comment","level":4,"id":"c-Cmglee-20230822160500-Alexis_Jazz-20230821175100","replies":[],"displayName":"cm\u0262\u029fee"}}--></span><span data-mw-comment-end="c-Cmglee-20230822160500-Alexis_Jazz-20230821175100"></span></dd></dl></dd></dl></dd> <dd><span data-mw-comment-start="" id="c-Izno-20230908214700-Cmglee-20230727212700"></span><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Red_information_icon_with_gradient_background.svg/20px-Red_information_icon_with_gradient_background.svg.png" decoding="async" width="20" height="20" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Red_information_icon_with_gradient_background.svg/30px-Red_information_icon_with_gradient_background.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/1/1f/Red_information_icon_with_gradient_background.svg/40px-Red_information_icon_with_gradient_background.svg.png 2x" data-file-width="62" data-file-height="62"/></span></span> <b>Not done for now:</b> please establish a <a href="/wiki/Wikipedia:Consensus" title="Wikipedia:Consensus">consensus</a> for this alteration <b><a href="/wiki/Wikipedia:Edit_requests" title="Wikipedia:Edit requests">before</a></b> using the <code>{{<a href="/wiki/Template:Edit_interface-protected" title="Template:Edit interface-protected">Edit interface-protected</a>}}</code> template. <a href="/wiki/User:Izno" title="User:Izno">Izno</a> (<a href="/wiki/User_talk:Izno" title="User talk:Izno">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Izno-20230908214700-Cmglee-20230727212700" class="ext-discussiontools-init-timestamplink">21:47, 8 September 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Izno-20230908214700-Cmglee-20230727212700"><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":"20230908214700","author":"Izno","type":"comment","level":2,"id":"c-Izno-20230908214700-Cmglee-20230727212700","replies":["c-Number_57-20230908215200-Izno-20230908214700"]}}--></span><span data-mw-comment-end="c-Izno-20230908214700-Cmglee-20230727212700"></span> <dl><dd><span data-mw-comment-start="" id="c-Number_57-20230908215200-Izno-20230908214700"></span>This is fixing an obvious problem, rather than being a potentially controversial change. <a href="/wiki/User:Number_57" title="User:Number 57"><span style="color: orange;">Number</span></a> <a href="/wiki/User_talk:Number_57" title="User talk:Number 57"><span style="color: green;">5</span></a><a href="/wiki/Special:Contributions/Number_57" title="Special:Contributions/Number 57"><span style="color: blue;">7</span></a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Number_57-20230908215200-Izno-20230908214700" class="ext-discussiontools-init-timestamplink">21:52, 8 September 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Number_57-20230908215200-Izno-20230908214700"><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":"20230908215200","author":"Number 57","type":"comment","level":3,"id":"c-Number_57-20230908215200-Izno-20230908214700","replies":["c-Izno-20230908232300-Number_57-20230908215200"],"displayName":"Number"}}--></span><span data-mw-comment-end="c-Number_57-20230908215200-Izno-20230908214700"></span> <dl><dd><span data-mw-comment-start="" id="c-Izno-20230908232300-Number_57-20230908215200"></span>@<a href="/wiki/User:Number_57" title="User:Number 57">Number 57</a>, have you tested the alternatives sufficiently? Consensus isn't just a question of why something needs changing but what needs to change, and I do not see above that there's a consensus on what needs to change. @<a href="/wiki/User:Alexis_Jazz" title="User:Alexis Jazz">Alexis Jazz</a> said "that doesn't work" (and I trust Alexis on the point), provided a different suggestion but not a specific location to insert it in. I would have run with that suggestion if they had, or if there were actual agreement on the choice of change. <a href="/wiki/User:Izno" title="User:Izno">Izno</a> (<a href="/wiki/User_talk:Izno" title="User talk:Izno">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Izno-20230908232300-Number_57-20230908215200" class="ext-discussiontools-init-timestamplink">23:23, 8 September 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Izno-20230908232300-Number_57-20230908215200"><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":"20230908232300","author":"Izno","type":"comment","level":4,"id":"c-Izno-20230908232300-Number_57-20230908215200","replies":["c-Number_57-20230908232900-Izno-20230908232300","c-Alexis_Jazz-20230909031100-Izno-20230908232300"]}}--></span><span data-mw-comment-end="c-Izno-20230908232300-Number_57-20230908215200"></span> <dl><dd><span data-mw-comment-start="" id="c-Number_57-20230908232900-Izno-20230908232300"></span>No (and you know I haven't as I've made it clear that I don't know how to resolve this). The issue was that you appeared to be requiring a consensus for the change, when none is needed. It merely needs someone to have come up with a solution that works. If the solution above didn't work, you could have declined the edit request because it didn't work (or was unclear it would work) rather than saying the problem was a lack of consensus for the change. Also, no need to ping me as I have this on my watchlist. Cheers, <a href="/wiki/User:Number_57" title="User:Number 57"><span style="color: orange;">Number</span></a> <a href="/wiki/User_talk:Number_57" title="User talk:Number 57"><span style="color: green;">5</span></a><a href="/wiki/Special:Contributions/Number_57" title="Special:Contributions/Number 57"><span style="color: blue;">7</span></a> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Number_57-20230908232900-Izno-20230908232300" class="ext-discussiontools-init-timestamplink">23:29, 8 September 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Number_57-20230908232900-Izno-20230908232300"><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":"20230908232900","author":"Number 57","type":"comment","level":5,"id":"c-Number_57-20230908232900-Izno-20230908232300","replies":[],"displayName":"Number"}}--></span><span data-mw-comment-end="c-Number_57-20230908232900-Izno-20230908232300"></span></dd> <dd><a href="/wiki/User:Izno" title="User:Izno"><span data-mw-comment-start="" id="c-Alexis_Jazz-20230909031100-Izno-20230908232300"></span>Izno</a>, I just realized the condition could be simpler: (now with context and just to be safe mw.loader) <div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">$</span><span class="p">.</span><span class="nx">each</span><span class="p">(</span><span class="w"> </span><span class="nb">document</span><span class="p">.</span><span class="nx">querySelectorAll</span><span class="p">(</span><span class="w"> </span><span class="s1">'.switcher-container'</span><span class="w"> </span><span class="p">),</span><span class="w"> </span><span class="kd">function</span><span class="w"> </span><span class="p">(</span><span class="w"> </span><span class="nx">i</span><span class="p">,</span><span class="w"> </span><span class="nx">container</span><span class="w"> </span><span class="p">)</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="w"> </span><span class="nx">i</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mf">0</span><span class="w"> </span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nx">mw</span><span class="p">.</span><span class="nx">loader</span><span class="p">.</span><span class="nx">using</span><span class="p">([</span><span class="s1">'mediawiki.util'</span><span class="p">],</span><span class="w"> </span><span class="kd">function</span><span class="p">(){</span><span class="nx">mw</span><span class="p">.</span><span class="nx">util</span><span class="p">.</span><span class="nx">addCSS</span><span class="p">(</span><span class="s1">'.switcher-container label input{margin-right:0.5em}'</span><span class="p">)})</span><span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="nx">selected</span><span class="p">,</span><span class="w"> </span><span class="nx">$radio</span><span class="p">;</span> </pre></div>The condition is only to prevent the CSS from being added multiple times. It wouldn't really hurt if the CSS would be re-added for each switcher but it'd be sloppy.<span id="Alexis_Jazz:1694229088627:MediaWiki_talkFTTCLNGadget-switcher.js" class="FTTCmt"> — <span style="color:#e08020">Alexis Jazz</span> (<a href="/wiki/User_talk:Alexis_Jazz" title="User talk:Alexis Jazz">talk</a> or ping me) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Alexis_Jazz-20230909031100-Izno-20230908232300" class="ext-discussiontools-init-timestamplink">03:11, 9 September 2023 (UTC)</a></span><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Alexis_Jazz-20230909031100-Izno-20230908232300"><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":"20230909031100","author":"Alexis Jazz","type":"comment","level":5,"id":"c-Alexis_Jazz-20230909031100-Izno-20230908232300","replies":["c-Nardog-20230909034000-Alexis_Jazz-20230909031100","c-Izno-20230909034600-Alexis_Jazz-20230909031100"]}}--></span><span data-mw-comment-end="c-Alexis_Jazz-20230909031100-Izno-20230908232300"></span> <dl><dd><span data-mw-comment-start="" id="c-Nardog-20230909034000-Alexis_Jazz-20230909031100"></span>You don't have to load mediawiki.util if you use mw.loader.addStyleTag(). <a href="/wiki/User:Nardog" title="User:Nardog">Nardog</a> (<a href="/wiki/User_talk:Nardog" title="User talk:Nardog">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Nardog-20230909034000-Alexis_Jazz-20230909031100" class="ext-discussiontools-init-timestamplink">03:40, 9 September 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Nardog-20230909034000-Alexis_Jazz-20230909031100"><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":"20230909034000","author":"Nardog","type":"comment","level":6,"id":"c-Nardog-20230909034000-Alexis_Jazz-20230909031100","replies":["c-Alexis_Jazz-20230909053100-Nardog-20230909034000"]}}--></span><span data-mw-comment-end="c-Nardog-20230909034000-Alexis_Jazz-20230909031100"></span> <dl><dd><a href="/wiki/User:Nardog" title="User:Nardog"><span data-mw-comment-start="" id="c-Alexis_Jazz-20230909053100-Nardog-20230909034000"></span>Nardog</a>, thanks for the info! Indeed, that appears to work as well. According to <a class="external free" href="https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.util">https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.util</a> addCSS may "call the mw.loader.addStyleTag method directly", so <s>addStyleTag is a subset of addCSS</s> it's complicated, addStyleTag returns an element and accepts a second argument to define the next node while addCSS calls addStyleTag and returns the stylesheet instead of the element. Either way, we're not using whatever is returned so it makes no difference for this. Loading mediawiki.util isn't a big deal as it is (almost?) universally loaded anyway, but using addStyleTag the code could indeed be shortened:<div class="mw-highlight mw-highlight-lang-javascript mw-content-ltr" dir="ltr"><pre><span></span><span class="nx">$</span><span class="p">.</span><span class="nx">each</span><span class="p">(</span><span class="w"> </span><span class="nb">document</span><span class="p">.</span><span class="nx">querySelectorAll</span><span class="p">(</span><span class="w"> </span><span class="s1">'.switcher-container'</span><span class="w"> </span><span class="p">),</span><span class="w"> </span><span class="kd">function</span><span class="w"> </span><span class="p">(</span><span class="w"> </span><span class="nx">i</span><span class="p">,</span><span class="w"> </span><span class="nx">container</span><span class="w"> </span><span class="p">)</span><span class="w"> </span><span class="p">{</span> <span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="w"> </span><span class="nx">i</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="mf">0</span><span class="w"> </span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nx">mw</span><span class="p">.</span><span class="nx">loader</span><span class="p">.</span><span class="nx">addStyleTag</span><span class="p">(</span><span class="s1">'.switcher-container label input{margin-right:0.5em}'</span><span class="p">)</span><span class="w"> </span><span class="p">}</span> <span class="w"> </span><span class="kd">var</span><span class="w"> </span><span class="nx">selected</span><span class="p">,</span><span class="w"> </span><span class="nx">$radio</span><span class="p">;</span> </pre></div><span id="Alexis_Jazz:1694237491492:MediaWiki_talkFTTCLNGadget-switcher.js" class="FTTCmt">— <span style="color:#e08020">Alexis Jazz</span> (<a href="/wiki/User_talk:Alexis_Jazz" title="User talk:Alexis Jazz">talk</a> or ping me) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Alexis_Jazz-20230909053100-Nardog-20230909034000" class="ext-discussiontools-init-timestamplink">05:31, 9 September 2023 (UTC)</a><span data-mw-comment-end="c-Alexis_Jazz-20230909053100-Nardog-20230909034000"></span></span><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Alexis_Jazz-20230909053100-Nardog-20230909034000"><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":"20230909053100","author":"Alexis Jazz","type":"comment","level":7,"id":"c-Alexis_Jazz-20230909053100-Nardog-20230909034000","replies":[]}}--></span></dd></dl></dd> <dd><span data-mw-comment-start="" id="c-Izno-20230909034600-Alexis_Jazz-20230909031100"></span>Cool, I've made this adjustment. No comment on Nardog's. <a href="/wiki/User:Izno" title="User:Izno">Izno</a> (<a href="/wiki/User_talk:Izno" title="User talk:Izno">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Izno-20230909034600-Alexis_Jazz-20230909031100" class="ext-discussiontools-init-timestamplink">03:46, 9 September 2023 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Izno-20230909034600-Alexis_Jazz-20230909031100"><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":"20230909034600","author":"Izno","type":"comment","level":6,"id":"c-Izno-20230909034600-Alexis_Jazz-20230909031100","replies":[]}}--></span><span data-mw-comment-end="c-Izno-20230909034600-Alexis_Jazz-20230909031100"></span></dd></dl></dd></dl></dd></dl></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-Jfblanc-20240103171500","type":"heading","level":0,"id":"h-Implement_in_the_Occitan_Wikipedia._How?-20240103171500","replies":["c-Jfblanc-20240103171500-Implement_in_the_Occitan_Wikipedia._How?"],"text":"Implement in the Occitan Wikipedia. How?","linkableTitle":"Implement in the Occitan Wikipedia. How?"}--><h2 id="Implement_in_the_Occitan_Wikipedia._How?" data-mw-thread-id="h-Implement_in_the_Occitan_Wikipedia._How?-20240103171500"><span id="Implement_in_the_Occitan_Wikipedia._How.3F"></span><span data-mw-comment-start="" id="h-Implement_in_the_Occitan_Wikipedia._How?-20240103171500"></span>Implement in the Occitan Wikipedia. How?<span data-mw-comment-end="h-Implement_in_the_Occitan_Wikipedia._How?-20240103171500"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=9" title="Edit section: Implement in the Occitan Wikipedia. How?"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-Jfblanc-20240103171500","type":"heading","level":0,"id":"h-Implement_in_the_Occitan_Wikipedia._How?-20240103171500","replies":["c-Jfblanc-20240103171500-Implement_in_the_Occitan_Wikipedia._How?"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-PrimeHunter-20240103221700-Pppery-20240103190200","timestamp":"20240103221700"}__--><!--__DTCOMMENTCOUNT__3__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-Jfblanc-20240103171500","type":"heading","level":0,"id":"h-Implement_in_the_Occitan_Wikipedia._How?-20240103171500","replies":["c-Jfblanc-20240103171500-Implement_in_the_Occitan_Wikipedia._How?"],"text":"Implement in the Occitan Wikipedia. How?","linkableTitle":"Implement in the Occitan Wikipedia. How?"}--></div></div></div> <p><span data-mw-comment-start="" id="c-Jfblanc-20240103171500-Implement_in_the_Occitan_Wikipedia._How?"></span>Hello, this .js exists in the English and Catalan versions, but not in the Occitan one. As a bureaucrat of the OC wikipedia, I am not allowed to create it. Any idea on who could do this for us? Thanks in advance. Best regards. — <a href="/wiki/User:Jfblanc" title="User:Jfblanc">J. F. B.</a> (<a href="/wiki/User_talk:Jfblanc" title="User talk:Jfblanc">me´n parlar</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Jfblanc-20240103171500-Implement_in_the_Occitan_Wikipedia._How?" class="ext-discussiontools-init-timestamplink">17:15, 3 January 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Jfblanc-20240103171500-Implement_in_the_Occitan_Wikipedia._How?"><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":"20240103171500","author":"Jfblanc","type":"comment","level":1,"id":"c-Jfblanc-20240103171500-Implement_in_the_Occitan_Wikipedia._How?","replies":["c-Pppery-20240103190200-Jfblanc-20240103171500"],"displayName":"J. F. B."}}--></span><span data-mw-comment-end="c-Jfblanc-20240103171500-Implement_in_the_Occitan_Wikipedia._How?"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Pppery-20240103190200-Jfblanc-20240103171500"></span>You need to be an <a href="/wiki/Wikipedia:Interface_admin" class="mw-redirect" title="Wikipedia:Interface admin">interface admin</a>. As a crat you have the technical ability to go to <a href="https://oc.wikipedia.org/wiki/Special:UserRights/Jfblanc" class="extiw" title="oc:Special:UserRights/Jfblanc">oc:Special:UserRights/Jfblanc</a> and tick the "interfàcia d'administracion" box and save, which would then give you the ability to edit the page. Note that interface admins are required by WMF policy to have <a href="/wiki/Help:Two-factor_authentication" title="Help:Two-factor authentication">2FA</a> enabled. <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/MediaWiki_talk:Gadget-switcher.js#c-Pppery-20240103190200-Jfblanc-20240103171500" class="ext-discussiontools-init-timestamplink">19:02, 3 January 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Pppery-20240103190200-Jfblanc-20240103171500"><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":"20240103190200","author":"Pppery","type":"comment","level":2,"id":"c-Pppery-20240103190200-Jfblanc-20240103171500","replies":["c-PrimeHunter-20240103221700-Pppery-20240103190200"],"displayName":"* Pppery *"}}--></span><span data-mw-comment-end="c-Pppery-20240103190200-Jfblanc-20240103171500"></span> <dl><dd><span data-mw-comment-start="" id="c-PrimeHunter-20240103221700-Pppery-20240103190200"></span>Your wiki currently has no interface administrators <a class="external autonumber" href="https://oc.wikipedia.org/wiki/Especial:Lista_dels_utilizaires?username=&group=interface-admin&wpsubmit=&wpFormIdentifier=mw-listusers-form&limit=50&uselang=en">[1]</a> but you can both add the group to yourself and others. If you want it to be a gadget then <a href="https://oc.wikipedia.org/wiki/MediaWiki:Gadgets-definition" class="extiw" title="oc:MediaWiki:Gadgets-definition">oc:MediaWiki:Gadgets-definition</a> also needs a line like <code>* switcher [ResourceLoader |default] |switcher.js</code> in <a href="/wiki/MediaWiki:Gadgets-definition" title="MediaWiki:Gadgets-definition">MediaWiki:Gadgets-definition</a>. This also requires an interface administrator. <a href="/wiki/User:PrimeHunter" title="User:PrimeHunter">PrimeHunter</a> (<a href="/wiki/User_talk:PrimeHunter" title="User talk:PrimeHunter">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-PrimeHunter-20240103221700-Pppery-20240103190200" class="ext-discussiontools-init-timestamplink">22:17, 3 January 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-PrimeHunter-20240103221700-Pppery-20240103190200"><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":"20240103221700","author":"PrimeHunter","type":"comment","level":3,"id":"c-PrimeHunter-20240103221700-Pppery-20240103190200","replies":[]}}--></span><span data-mw-comment-end="c-PrimeHunter-20240103221700-Pppery-20240103190200"></span></dd></dl></dd></dl> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><!--__DTSUBSCRIBEBUTTONDESKTOP__{"headingLevel":2,"name":"h-142.113.140.146-20240801075700","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons-20240801075700","replies":["c-142.113.140.146-20240801075700-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons"],"text":"Interface-protected edit request on 1 August 2024 fix floating radio buttons","linkableTitle":"Interface-protected edit request on 1 August 2024 fix floating radio buttons"}--><h2 id="Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons" data-mw-thread-id="h-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons-20240801075700"><span data-mw-comment-start="" id="h-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons-20240801075700"></span>Interface-protected edit request on 1 August 2024 fix floating radio buttons<span data-mw-comment-end="h-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons-20240801075700"></span></h2><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&action=edit&section=10" title="Edit section: Interface-protected edit request on 1 August 2024 fix floating radio buttons"><span>edit</span></a><span class="mw-editsection-bracket">]</span></span><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-142.113.140.146-20240801075700","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons-20240801075700","replies":["c-142.113.140.146-20240801075700-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons"]}}--><div class="ext-discussiontools-init-section-bar"><div class="ext-discussiontools-init-section-metadata"><!--__DTLATESTCOMMENTTHREAD__{"id":"c-Pppery-20240819221900-142.113.140.146-20240801190800","timestamp":"20240819221900"}__--><!--__DTCOMMENTCOUNT__4__--><!--__DTAUTHORCOUNT__3__--></div><div class="ext-discussiontools-init-section-actions"><!--__DTSUBSCRIBEBUTTONMOBILE__{"headingLevel":2,"name":"h-142.113.140.146-20240801075700","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons-20240801075700","replies":["c-142.113.140.146-20240801075700-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons"],"text":"Interface-protected edit request on 1 August 2024 fix floating radio buttons","linkableTitle":"Interface-protected edit request on 1 August 2024 fix floating radio buttons"}--></div></div></div> <span data-mw-comment-start="" id="c-142.113.140.146-20240801075700-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons"></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="interface"><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> <style data-mw-deduplicate="TemplateStyles:r1256386598">.mw-parser-output .cot-header-mainspace{background:#F0F2F5;color:inherit}.mw-parser-output .cot-header-other{background:#CCFFCC;color:inherit}@media screen{html.skin-theme-clientpref-night .mw-parser-output .cot-header-mainspace{background:#14181F;color:inherit}html.skin-theme-clientpref-night .mw-parser-output .cot-header-other{background:#003500;color:inherit}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cot-header-mainspace{background:#14181F;color:inherit}html.skin-theme-clientpref-os .mw-parser-output .cot-header-other{background:#003500;color:inherit}}</style> <div style="margin-left:0"> <table class="mw-collapsible mw-archivedtalk mw-collapsed" style="color:inherit; background: transparent; text-align: left; border: 1px solid Silver; margin: 0.2em auto auto; width:100%; clear: both; padding: 1px;"> <tbody><tr> <th class="cot-header-other" style="; font-size:87%; padding:0.2em 0.3em; text-align:center;"><div style="font-size:115%;margin:0 4em">Old solution</div> </th></tr> <tr> <td style="color:inherit; border: solid 1px Silver; padding: 0.6em; background: var(--background-color-base, #fff);"> <table class="diff" style="width:100%"><tbody><tr><td class="diff-marker" style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">−</td><td class="diff-deletedline" style="border-color: var(--background-color-content-removed,#ffe49c); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;">label style="display:block"</div></td><td style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">+</td><td class="diff-addedline" style="border-color: var(--background-color-content-added,#a3d3ff); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;">label style="display:<ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">inline</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">-</ins>block"</div></td></tr></tbody></table> <p>Edit: also need this: </p> <table class="diff" style="width:100%"><tbody><tr><td class="diff-marker" style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">−</td><td class="diff-deletedline" style="border-color: var(--background-color-content-removed,#ffe49c); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;">$( label ).remove();</div></td><td style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">+</td><td class="diff-addedline" style="border-color: var(--background-color-content-added,#a3d3ff); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;"><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">if</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">(</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">j</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">)</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">{</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">$(</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">'<br>'</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">)</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">.</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">appendTo(</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">container</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">);</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">}</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins>$( label ).remove();</div></td></tr></tbody></table> </td></tr></tbody></table></div> <table class="diff" style="width:100%"><tbody><tr><td class="diff-marker" style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">−</td><td class="diff-deletedline" style="border-color: var(--background-color-content-removed,#ffe49c); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;">$( '<label style="display:<del class="diffchange diffchange-inline" style="background: var(--background-color-content-removed,#ffe49c); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">block"></label>'</del> )</div></td><td style="width: 2%; padding: 0.25em; font-weight: bold;font-size: 1.25em; text-align: end;">+</td><td class="diff-addedline" style="border-color: var(--background-color-content-added,#a3d3ff); vertical-align:top; width: 48%; border-style: solid; border-radius: 0.33em; padding: 0.33em 0.5em; color: inherit; font-size: 1em; font-family: monospace; white-space: pre-wrap; border-width: 1px 1px 1px 4px; -webkit-border-end-width: 1px; -webkit-border-start-width: 4px; -moz-border-end-width: 1px; -moz-border-start-width: 4px;"><div style="word-wrap: break-word; direction: ltr;">$( '<label style="display:<ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">'</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">+</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">(j</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">?</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">"block"</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> : </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">"inline</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">-</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">block")</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">+</ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;"> </ins><ins class="diffchange diffchange-inline" style="background: var(--background-color-content-added,#a3d3ff); color: inherit; padding: 0.25em 0; font-weight: bold; text-decoration: initial;">'"></label>'</ins> )</div></td></tr></tbody></table> <p>This should fix the problem at <a href="/wiki/2024_Wayanad_landslides" title="2024 Wayanad landslides">2024_Wayanad_landslides</a> (<span class="plainlinks"><a class="external text" href="https://en.wikipedia.org/w/index.php?title=&diff=1237936510&oldid=">sandbox</a></span>). The map's right float was separating the circle of the radio button from the label. It's weird to see a radio button circle near the top left of the map while the other labels are below it. <a href="/wiki/Special:Contributions/142.113.140.146" title="Special:Contributions/142.113.140.146">142.113.140.146</a> (<a href="/wiki/User_talk:142.113.140.146" title="User talk:142.113.140.146">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-142.113.140.146-20240801075700-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons" class="ext-discussiontools-init-timestamplink">07:57, 1 August 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-142.113.140.146-20240801075700-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons"><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":"20240801075700","author":"142.113.140.146","type":"comment","level":1,"id":"c-142.113.140.146-20240801075700-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons","replies":["c-Xaosflux-20240801133200-142.113.140.146-20240801075700"]}}--></span><span data-mw-comment-end="c-142.113.140.146-20240801075700-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons"></span> </p> <dl><dd><span data-mw-comment-start="" id="c-Xaosflux-20240801133200-142.113.140.146-20240801075700"></span>What sort of testing have you completed for this? — <a href="/wiki/User:Xaosflux" title="User:Xaosflux"><span style="color:#FF9933; font-weight:bold; font-family:monotype;">xaosflux</span></a> <sup><a href="/wiki/User_talk:Xaosflux" title="User talk:Xaosflux"><span style="color:#009933;">Talk</span></a></sup> <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-Xaosflux-20240801133200-142.113.140.146-20240801075700" class="ext-discussiontools-init-timestamplink">13:32, 1 August 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Xaosflux-20240801133200-142.113.140.146-20240801075700"><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":"20240801133200","author":"Xaosflux","type":"comment","level":2,"id":"c-Xaosflux-20240801133200-142.113.140.146-20240801075700","replies":["c-142.113.140.146-20240801190800-Xaosflux-20240801133200"]}}--></span><span data-mw-comment-end="c-Xaosflux-20240801133200-142.113.140.146-20240801075700"></span> <dl><dd><span data-mw-comment-start="" id="c-142.113.140.146-20240801190800-Xaosflux-20240801133200"></span>Thank you for looking into this. Upon further testing on the non-first labels, I fixed a bug I accidentally introduced.</dd> <dd>I originally used DevTools on the CSS of those 2 pages to add inline-block to the first label. I tested the result looks good on {Windows,Linux,Android} {Chrome,Firefox}. The bug is slightly different on Firefox Windows, but is also fixed. Android looks unchanged. I then tested a random sample of 10 pages from <a href="/wiki/Special:WhatLinksHere/Template:Location_map" title="Special:WhatLinksHere/Template:Location map">Special:WhatLinksHere/Template:Location_map</a>, rejection-sampling out anything without radio buttons. The CSS editing worked.</dd> <dd>I would appreciate testing from a registered editor with the access level to edit JavaScript (or userscripts). Someone can also propose another solution as I am unfamiliar with JQuery and my goal is just fixing the display of that article. <a href="/wiki/Special:Contributions/142.113.140.146" title="Special:Contributions/142.113.140.146">142.113.140.146</a> (<a href="/wiki/User_talk:142.113.140.146" title="User talk:142.113.140.146">talk</a>) <a href="https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-switcher.js#c-142.113.140.146-20240801190800-Xaosflux-20240801133200" class="ext-discussiontools-init-timestamplink">19:08, 1 August 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-142.113.140.146-20240801190800-Xaosflux-20240801133200"><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":"20240801190800","author":"142.113.140.146","type":"comment","level":3,"id":"c-142.113.140.146-20240801190800-Xaosflux-20240801133200","replies":["c-Pppery-20240819221900-142.113.140.146-20240801190800"]}}--></span><span data-mw-comment-end="c-142.113.140.146-20240801190800-Xaosflux-20240801133200"></span> <dl><dd><span data-mw-comment-start="" id="c-Pppery-20240819221900-142.113.140.146-20240801190800"></span><span class="nowrap"><span typeof="mw:File"><span><img alt="" src="//upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/18px-Yes_check.svg.png" decoding="async" width="18" height="18" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/27px-Yes_check.svg.png 1.5x, //upload.wikimedia.org/wikipedia/en/thumb/f/fb/Yes_check.svg/36px-Yes_check.svg.png 2x" data-file-width="600" data-file-height="600"/></span></span><b> Done</b></span> I used slightly different code to achieve the same result. <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/MediaWiki_talk:Gadget-switcher.js#c-Pppery-20240819221900-142.113.140.146-20240801190800" class="ext-discussiontools-init-timestamplink">22:19, 19 August 2024 (UTC)</a><span class="ext-discussiontools-init-replylink-buttons" data-mw-thread-id="c-Pppery-20240819221900-142.113.140.146-20240801190800"><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":"20240819221900","author":"Pppery","type":"comment","level":4,"id":"c-Pppery-20240819221900-142.113.140.146-20240801190800","replies":[],"displayName":"* Pppery *"}}--></span><span data-mw-comment-end="c-Pppery-20240819221900-142.113.140.146-20240801190800"></span></dd></dl></dd></dl></dd></dl> <!-- NewPP limit report Parsed by mw‐web.codfw.main‐59b954b7fb‐fvbt8 Cached time: 20241208113221 Cache expiry: 864000 Reduced expiry: true Complications: [show‐toc] DiscussionTools time usage: 0.043 seconds CPU time usage: 0.257 seconds Real time usage: 0.596 seconds Preprocessor visited node count: 1352/1000000 Post‐expand include size: 72471/2097152 bytes Template argument size: 3057/2097152 bytes Highest expansion depth: 9/100 Expensive parser function count: 3/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 11892/5000000 bytes Lua time usage: 0.056/10.000 seconds Lua memory usage: 1507277/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 440.835 1 -total 8.82% 38.899 3 Template:Edit_interface-protected 6.84% 30.140 16 Template:Ping 4.70% 20.717 2 Template:StringDiff 3.37% 14.863 1 Template:Cquote 3.12% 13.766 1 Template:Cot 2.75% 12.104 2 Template:Main_other 2.21% 9.739 3 Template:Td 2.14% 9.443 3 Template:Ifsubst 1.50% 6.599 1 Template:Tlx --> <!-- Saved in parser cache with key enwiki:pcache:49452534:|#|:idhash:canonical and timestamp 20241208113221 and revision id 1241201235. 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?useformat=desktop&type=1x1&usesul3=0" 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=MediaWiki_talk:Gadget-switcher.js&oldid=1241201235">https://en.wikipedia.org/w/index.php?title=MediaWiki_talk:Gadget-switcher.js&oldid=1241201235</a>"</div></div> <div id="catlinks" class="catlinks catlinks-allhidden" data-mw="interface"></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 19 August 2024, at 22:19<span class="anonymous-show"> (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=MediaWiki_talk:Gadget-switcher.js&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-66c5b56c76-7qhnc","wgBackendResponseTime":134,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-Jdlrobson-2016-02-16T21:45:00.000Z","type":"heading","level":0,"id":"h-Disable/fix_for_mobile_skin-2016-02-16T21:45:00.000Z","replies":[{"timestamp":"2016-02-16T21:45:00.000Z","author":"Jdlrobson","type":"comment","level":1,"id":"c-Jdlrobson-2016-02-16T21:45:00.000Z-Disable/fix_for_mobile_skin","replies":[{"timestamp":"2016-02-16T22:16:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2016-02-16T22:16:00.000Z-Jdlrobson-2016-02-16T21:45:00.000Z","replies":[]}]},{"timestamp":"2016-02-16T22:40:00.000Z","author":"Jdlrobson","type":"comment","level":1,"id":"c-Jdlrobson-2016-02-16T22:40:00.000Z-Disable/fix_for_mobile_skin","replies":[{"timestamp":"2016-02-16T22:48:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2016-02-16T22:48:00.000Z-Jdlrobson-2016-02-16T22:40:00.000Z","replies":[{"timestamp":"2017-07-20T17:42:00.000Z","author":"Jdlrobson","type":"comment","level":3,"id":"c-Jdlrobson-2017-07-20T17:42:00.000Z-Jackmcbarn-2016-02-16T22:48:00.000Z","replies":[]}]}]}]},{"headingLevel":2,"name":"h-Lam-ang-2018-08-21T06:11:00.000Z","type":"heading","level":0,"id":"h-Gadget_switcher_broken-2018-08-21T06:11:00.000Z","replies":[{"timestamp":"2018-08-21T06:11:00.000Z","author":"Lam-ang","type":"comment","level":1,"id":"c-Lam-ang-2018-08-21T06:11:00.000Z-Gadget_switcher_broken","replies":[{"timestamp":"2018-08-22T12:05:00.000Z","author":"Петар Петковић","type":"comment","level":2,"id":"c-Петар_Петковић-2018-08-22T12:05:00.000Z-Lam-ang-2018-08-21T06:11:00.000Z","replies":[{"timestamp":"2018-08-22T16:59:00.000Z","author":"Krinkle","type":"comment","level":3,"id":"c-Krinkle-2018-08-22T16:59:00.000Z-Петар_Петковић-2018-08-22T12:05:00.000Z","replies":[]}]}]}]},{"headingLevel":2,"name":"h-Ergo_Sum-2019-11-24T00:15:00.000Z","type":"heading","level":0,"id":"h-More_aesthetic_layout_for_many_images-2019-11-24T00:15:00.000Z","replies":[{"timestamp":"2019-11-24T00:15:00.000Z","author":"Ergo Sum","type":"comment","level":1,"id":"c-Ergo_Sum-2019-11-24T00:15:00.000Z-More_aesthetic_layout_for_many_images","replies":[{"timestamp":"2019-11-25T05:50:00.000Z","author":"Ergo Sum","type":"comment","level":2,"id":"c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z","replies":[]},{"timestamp":"2019-11-25T05:50:00.000Z","author":"Ergo Sum","type":"comment","level":2,"id":"c-Ergo_Sum-2019-11-25T05:50:00.000Z-Ergo_Sum-2019-11-24T00:15:00.000Z-1","replies":[]}]}]},{"headingLevel":2,"name":"h-Naypta-2020-06-10T10:04:00.000Z","type":"heading","level":0,"id":"h-Custom_styles_for_labels-2020-06-10T10:04:00.000Z","replies":[{"timestamp":"2020-06-10T10:04:00.000Z","author":"Naypta","type":"comment","level":1,"id":"c-Naypta-2020-06-10T10:04:00.000Z-Custom_styles_for_labels","replies":[{"timestamp":"2020-07-27T21:24:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2020-07-27T21:24:00.000Z-Naypta-2020-06-10T10:04:00.000Z","replies":[]}]}]},{"headingLevel":2,"name":"h-Onceinawhile-2020-08-12T15:03:00.000Z","type":"heading","level":0,"id":"h-Disable_show_all?-2020-08-12T15:03:00.000Z","replies":[{"timestamp":"2020-08-12T15:03:00.000Z","author":"Onceinawhile","type":"comment","level":1,"id":"c-Onceinawhile-2020-08-12T15:03:00.000Z-Disable_show_all?","replies":[{"timestamp":"2020-08-12T21:53:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2020-08-12T21:53:00.000Z-Onceinawhile-2020-08-12T15:03:00.000Z","replies":[{"timestamp":"2020-08-12T22:04:00.000Z","author":"Onceinawhile","type":"comment","level":3,"id":"c-Onceinawhile-2020-08-12T22:04:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z","replies":[{"timestamp":"2020-08-13T00:13:00.000Z","author":"Jackmcbarn","type":"comment","level":4,"id":"c-Jackmcbarn-2020-08-13T00:13:00.000Z-Onceinawhile-2020-08-12T22:04:00.000Z","replies":[]}]},{"timestamp":"2020-08-13T00:21:00.000Z","author":"Sdkb","type":"comment","level":3,"id":"c-Sdkb-2020-08-13T00:21:00.000Z-Jackmcbarn-2020-08-12T21:53:00.000Z","replies":[]}]}]},{"timestamp":"2020-08-13T02:33:00.000Z","author":"Zero0000","type":"comment","level":1,"id":"c-Zero0000-2020-08-13T02:33:00.000Z-Disable_show_all?","replies":[{"timestamp":"2020-08-13T06:12:00.000Z","author":"Jackmcbarn","type":"comment","level":2,"id":"c-Jackmcbarn-2020-08-13T06:12:00.000Z-Zero0000-2020-08-13T02:33:00.000Z","replies":[]}],"displayName":"Zero"}]},{"headingLevel":2,"name":"h-Number_57-20221128203400","type":"heading","level":0,"id":"h-Space_between_the_button_and_text-20221128203400","replies":[{"timestamp":"20221128203400","author":"Number 57","type":"comment","level":1,"id":"c-Number_57-20221128203400-Space_between_the_button_and_text","replies":[{"timestamp":"20230710211200","author":"Cmglee","type":"comment","level":2,"id":"c-Cmglee-20230710211200-Number_57-20221128203400","replies":[{"timestamp":"20230713195700","author":"Izno","type":"comment","level":3,"id":"c-Izno-20230713195700-Cmglee-20230710211200","replies":[]}],"displayName":"cmɢʟee"}],"displayName":"Number"}]},{"headingLevel":2,"name":"h-Cmglee-20230708005200","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_\"Show_all\"_label-20230708005200","replies":[{"timestamp":"20230708005200","author":"Cmglee","type":"comment","level":1,"id":"c-Cmglee-20230708005200-Interface-protected_edit_request_on_8_July_2023:_Fix_grammar_of_\"Show_all\"_label","replies":[{"timestamp":"20230708012700","author":"Izno","type":"comment","level":2,"id":"c-Izno-20230708012700-Cmglee-20230708005200","replies":[{"timestamp":"20230710004300","author":"Cmglee","type":"comment","level":3,"id":"c-Cmglee-20230710004300-Izno-20230708012700","replies":[{"timestamp":"20230710210100","author":"Cmglee","type":"comment","level":4,"id":"c-Cmglee-20230710210100-Cmglee-20230710004300","replies":[],"displayName":"cmɢʟee"}],"displayName":"cmɢʟee"}]}],"displayName":"cmɢʟee"}]},{"headingLevel":2,"name":"h-Cmglee-20230727212700","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a-20230727212700","replies":[{"timestamp":"20230727212700","author":"Cmglee","type":"comment","level":1,"id":"c-Cmglee-20230727212700-Interface-protected_edit_request_on_27_July_2023:_Add_space_between_the_button_a","replies":[{"timestamp":"20230821111300","author":"Alexis Jazz","type":"comment","level":2,"id":"c-Alexis_Jazz-20230821111300-Cmglee-20230727212700","replies":[{"timestamp":"20230821175100","author":"Alexis Jazz","type":"comment","level":3,"id":"c-Alexis_Jazz-20230821175100-Alexis_Jazz-20230821111300","replies":[{"timestamp":"20230822160500","author":"Cmglee","type":"comment","level":4,"id":"c-Cmglee-20230822160500-Alexis_Jazz-20230821175100","replies":[],"displayName":"cmɢʟee"}]}]},{"timestamp":"20230908214700","author":"Izno","type":"comment","level":2,"id":"c-Izno-20230908214700-Cmglee-20230727212700","replies":[{"timestamp":"20230908215200","author":"Number 57","type":"comment","level":3,"id":"c-Number_57-20230908215200-Izno-20230908214700","replies":[{"timestamp":"20230908232300","author":"Izno","type":"comment","level":4,"id":"c-Izno-20230908232300-Number_57-20230908215200","replies":[{"timestamp":"20230908232900","author":"Number 57","type":"comment","level":5,"id":"c-Number_57-20230908232900-Izno-20230908232300","replies":[],"displayName":"Number"},{"timestamp":"20230909031100","author":"Alexis Jazz","type":"comment","level":5,"id":"c-Alexis_Jazz-20230909031100-Izno-20230908232300","replies":[{"timestamp":"20230909034000","author":"Nardog","type":"comment","level":6,"id":"c-Nardog-20230909034000-Alexis_Jazz-20230909031100","replies":[{"timestamp":"20230909053100","author":"Alexis Jazz","type":"comment","level":7,"id":"c-Alexis_Jazz-20230909053100-Nardog-20230909034000","replies":[]}]},{"timestamp":"20230909034600","author":"Izno","type":"comment","level":6,"id":"c-Izno-20230909034600-Alexis_Jazz-20230909031100","replies":[]}]}]}],"displayName":"Number"}]}],"displayName":"cmɢʟee"}]},{"headingLevel":2,"name":"h-Jfblanc-20240103171500","type":"heading","level":0,"id":"h-Implement_in_the_Occitan_Wikipedia._How?-20240103171500","replies":[{"timestamp":"20240103171500","author":"Jfblanc","type":"comment","level":1,"id":"c-Jfblanc-20240103171500-Implement_in_the_Occitan_Wikipedia._How?","replies":[{"timestamp":"20240103190200","author":"Pppery","type":"comment","level":2,"id":"c-Pppery-20240103190200-Jfblanc-20240103171500","replies":[{"timestamp":"20240103221700","author":"PrimeHunter","type":"comment","level":3,"id":"c-PrimeHunter-20240103221700-Pppery-20240103190200","replies":[]}],"displayName":"* Pppery *"}],"displayName":"J. F. B."}]},{"headingLevel":2,"name":"h-142.113.140.146-20240801075700","type":"heading","level":0,"id":"h-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons-20240801075700","replies":[{"timestamp":"20240801075700","author":"142.113.140.146","type":"comment","level":1,"id":"c-142.113.140.146-20240801075700-Interface-protected_edit_request_on_1_August_2024_fix_floating_radio_buttons","replies":[{"timestamp":"20240801133200","author":"Xaosflux","type":"comment","level":2,"id":"c-Xaosflux-20240801133200-142.113.140.146-20240801075700","replies":[{"timestamp":"20240801190800","author":"142.113.140.146","type":"comment","level":3,"id":"c-142.113.140.146-20240801190800-Xaosflux-20240801133200","replies":[{"timestamp":"20240819221900","author":"Pppery","type":"comment","level":4,"id":"c-Pppery-20240819221900-142.113.140.146-20240801190800","replies":[],"displayName":"* Pppery *"}]}]}]}]}],"wgPageParseReport":{"discussiontools":{"limitreport-timeusage":"0.043"},"limitreport":{"cputime":"0.257","walltime":"0.596","ppvisitednodes":{"value":1352,"limit":1000000},"postexpandincludesize":{"value":72471,"limit":2097152},"templateargumentsize":{"value":3057,"limit":2097152},"expansiondepth":{"value":9,"limit":100},"expensivefunctioncount":{"value":3,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":11892,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 440.835 1 -total"," 8.82% 38.899 3 Template:Edit_interface-protected"," 6.84% 30.140 16 Template:Ping"," 4.70% 20.717 2 Template:StringDiff"," 3.37% 14.863 1 Template:Cquote"," 3.12% 13.766 1 Template:Cot"," 2.75% 12.104 2 Template:Main_other"," 2.21% 9.739 3 Template:Td"," 2.14% 9.443 3 Template:Ifsubst"," 1.50% 6.599 1 Template:Tlx"]},"scribunto":{"limitreport-timeusage":{"value":"0.056","limit":"10.000"},"limitreport-memusage":{"value":1507277,"limit":52428800}},"cachereport":{"origin":"mw-web.codfw.main-59b954b7fb-fvbt8","timestamp":"20241208113221","ttl":864000,"transientcontent":true}}});});</script> </body> </html>