User contributions for Soulgazer
Jump to navigation
Jump to search
- 08:31, 16 February 2022 diff hist +293 N MediaWiki:Gadget-sigreminder.js Created page with "// <nowiki> var conf = mw.config.get([ 'wgAction', 'wgNamespaceNumber' ]); var editActions = ['edit', 'submit']; if (editActions.indexOf(conf.wgAction) > -1 && (conf.wgNamespaceNumber % 2 === 1 || conf.wgNamespaceNumber === 110)) { mw.loader.load( 'ext.gadget.sigreminder-core' ); }" current
- 08:30, 16 February 2022 diff hist +73 N MediaWiki:Gadget-hideRCsidebar.css Created page with "→Hide RC on sidebar: #p-Recent_changes { display: none !important; }" current
- 08:30, 16 February 2022 diff hist +1,076 N MediaWiki:Gadget-ringbell.css Created page with "@keyframes ring { 0% { transform: rotate(0); } 1% { transform: rotate(30deg); } 3% { transform: rotate(-28deg); } 5% { transform: rotate(34deg); } 7% { transform: rotate(-32deg); } 9% { transform: rotate(30deg); } 11% { transform: rotate(-28deg); } 13% { transform: rotate(26deg); } 15% { transform: rotate(-24deg); } 17% { transform: rotate(22deg); } 19% { transform: rotate(-20deg); } 21% { transform: rotate(18deg); } 23..." current
- 08:30, 16 February 2022 diff hist +2,826 N MediaWiki:Gadget-readableRC-core.css Created page with "→padding between "Live updates" button and gadget: .gadget-rc-button { margin-left: .5em; } →diff row: .gadget-rc-enabled .mw-changeslist-line { margin: .3em 0; line-height: 1.6; -webkit-hyphens: auto; -ms-hyphens: auto; hyphens: auto; } →this is what makes most of it work: .gadget-rc-enabled .mw-changeslist-line tbody > tr { display: flex; } →pagename/log name column: .gadget-rc-pagename, .gadget-rc-logname { width: 22v..." current
- 08:29, 16 February 2022 diff hist +11,500 N MediaWiki:Gadget-readableRC-core.js Created page with "// <nowiki> // Formats the rows on Special:RecentChanges where all the information runs together // into three columns (page, diff/byte change, and user links) to make it more readable // // @author Iiii_I_I_I // // @TODO: support "Group changes by page" option being unchecked in Special:Preferences? (function ($, mw) { function runReadableRC($content) { if (!$content.hasClass('mw-changeslist')) { return; } $content.addClass('gad..." current
- 08:29, 16 February 2022 diff hist +135 N MediaWiki:Gadget-readableRC.js Created page with "// <nowiki> if (mw.config.get('wgPageName') == 'Special:RecentChanges') { mw.loader.load('ext.gadget.readableRC-core'); } // </nowiki>" current
- 08:29, 16 February 2022 diff hist +2,685 N MediaWiki:Gadget-colorRC.css Created page with "→* * Color certain namespaces in RecentChanges * @todo: add something to distinguish watched pages (since this already bolds by default) * * This gadget is enabled for mobile too, so ensure that all CSS styling done here makes * sense for those viewing the wiki from a mobile device.: →fix this issue <https://css-tricks.com/multi-line-padded-text/>: .mw-changeslist-title { -webkit-box-decoration-break: clone; box-decoration-break: clone; } .mw-changeslist-ns-10..." current
- 08:28, 16 February 2022 diff hist +300 N MediaWiki:Gadget-falseSubpage.js Created page with "→* * Hides the subpage link on pages that should not be considered subpages - see also [[Category:Pages with technically restricted titles]] and [[Template:Restricted title]] * @author Gaz Lloyd *: (function($){ if (!$('.false-subpage').length) return; $('#contentSub .subpages').hide(); })($);" current
- 08:27, 16 February 2022 diff hist +2,955 N MediaWiki:Gadget-stickyTableHeaders.css Created page with "/* keeps table headers stuck to the top of the window, useful for long tables where it normally scrolls offscreen KNOWN PROBLEMS - borders disappear due to browser implementation issue (https://bugs.webkit.org/show_bug.cgi?id=128486) - double-row headers only work as long as the first <tr> does not stretch its height, since MediaWiki doesn't support <thead> - Chrome/Opera/Edge don't support sticky on <thead> anyway (https://caniuse.com/#feat=css-sticky..." current
- 08:26, 16 February 2022 diff hist +495 N MediaWiki:Gadget-equipment.js Created page with "// Make buttons for Items Kept on Death and Equipment Stats on Template:Equipment clickable, // if equipment stats and buttons are shown. $(function() { $('.equipment-statsbutton, .equipment-ikodbutton').click(function() { var ikod = $(this).parents('.equipment').find('.equipment-ikod'), stats = $(this).parents('.equipment').find('.equipment-stats'); if ($(this).is('.equipment-statsbutton')) { ikod.hide(); stats.show(); } else { stats.hide(); ikod...." current
- 08:26, 16 February 2022 diff hist +311 N MediaWiki:Gadget-musicMap.css Created page with "path.leaflet-interactive { stroke: #38f; fill: #38f; fill-opacity: 0.3; opacity: 0.75; } path.leaflet-interactive:hover { fill: #16d; } path.leaflet-interactive.unlocked { fill: #6d6; } path.leaflet-interactive.unlocked:hover { fill: #3b3; } path.leaflet-interactive:active { fill-opacity: 0.25; }" current
- 08:26, 16 February 2022 diff hist +7,410 N MediaWiki:Gadget-musicMap-core.js Created page with "→Music map * Generates an interactive music map that has toggleable polygons on it. Can be used as a 'checklist' to track music track unlock progression. * See [[Map:Music tracks]]: var MM = {}; MM.touch = false; MM.getUnlocked = function() { var ls = localStorage.getItem('musicMap-'+mw.config.get('wgPageName')); if (!ls) return []; // map characters back to numbers and convert to var bitstr = Array.prototype.map.call(ls, function(x) { // go through each cha..." current
- 08:26, 16 February 2022 diff hist +89 N MediaWiki:Gadget-musicMap.js Created page with "// <nowiki> if ($("#musicMap").length) { mw.loader.load( 'ext.gadget.musicmap-core' ); }" current
- 08:26, 16 February 2022 diff hist +1,193 N MediaWiki:Gadget-audioplayer.css Created page with ".rsw-music-player { height: 2em; vertical-align: middle; } →* Styles for [[Template:Playlist]] *: #music-playlist { →more mobile-friendly instead of static width: width: 90%; max-width: 350px; margin: 0 auto; text-align: center; padding-bottom: 0.5em; border: none; border: 1px solid var(--body-border); background: var(--body-light); } #music-playlist button { margin: 2px 0.5em; } #music-player { margin: 5px;..." current
- 08:25, 16 February 2022 diff hist +4,421 N MediaWiki:Gadget-audioplayer-core.js Created page with "$(function() { →* Replace audio track links with the audio file when clicked *: function playTrack(e, playlist) { if ($(this).attr('target') == '_blank') { // do not play another track if the link opens in a new tab. return; } e.preventDefault(); var filename = $(e.target).closest('a').attr('href').match(/File:(.*\.ogg)/)[1]; var $audio = $('<audio>').attr({ src: '/w/Special:Redirect?wptype=file&wpvalue=' + filename, autoplay: playlist !== true,..." current
- 08:25, 16 February 2022 diff hist +118 N MediaWiki:Gadget-audioplayer.js Created page with "// <nowiki> if ($( 'a[href^="/w/File:"][href$=".ogg"]' ).length) { mw.loader.load( 'ext.gadget.audioplayer-core' ); }" current
- 08:24, 16 February 2022 diff hist +2,683 N MediaWiki:Gadget-sectionAnchors.css Created page with "→* * Vector HeadAnchors * @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.css * * Copyright 2013 Timo Tijhof * @license MIT <https://opensource.org/licenses/MIT> * * See also: * https://www.mediawiki.org/wiki/Requests_for_comment/Clickable_section_anchors * https://phabricator.wikimedia.org/T18691: .mw-header { position: relative; /* Disable Vector's `overflow: hidden` because otherwise our negatively positioned anchor won't be..." current
- 08:24, 16 February 2022 diff hist +1,218 N MediaWiki:Gadget-sectionAnchors.js Created page with "→* * Vector HeadAnchors * @source https://www.mediawiki.org/wiki/MediaWiki:Gadget-vector-headanchor.js * @revision 2015-03-07 * * @license http://krinkle.mit-license.org/ * @author Timo Tijhof, 2013–2015 * * See also: * https://www.mediawiki.org/wiki/Requests_for_comment/Clickable_section_anchors * https://phabricator.wikimedia.org/T18691: ( function ( $, mw ) { if ( mw.config.get('wgIsMainPage') ) { // Don't run on the main page, where..." current
- 08:23, 16 February 2022 diff hist +2,760 N MediaWiki:Gadget-toplinksDropdown.css Created page with "→<pre>: body:not(.mw-special-Preferences) #pt-mytalk, body:not(.mw-special-Preferences) #pt-preferences, body:not(.mw-special-Preferences) #pt-watchlist, body:not(.mw-special-Preferences) #pt-mycontris, body:not(.mw-special-Preferences) #pt-logout { display: none; } body:not(.mw-special-Preferences) #p-personal #pt-userpage { float: right; position: relative; padding: 1.4em 0; background-position: left center; } body:not(.mw-special-Preferences)..." current
- 08:22, 16 February 2022 diff hist +822 N MediaWiki:Gadget-toplinksDropdown.js Created page with "→* * De-clutters the personal links at the top by collecting them in a dropdown, * opened by hovering over your username - inspired by the Timeless skin * * @author Iiii_I_I_I: $(function() { var $talk = $('#pt-mytalk'), $contris = $('#pt-mycontris'), $watchlist = $('#pt-watchlist'), $prefs = $('#pt-preferences'), $logout = $('#pt-logout'); // new talk page message $('#pt-mytalk .mw-echo-alert').text('Talk'); // c..." current
- 08:22, 16 February 2022 diff hist +9,684 N MediaWiki:Gadget-relativetime.js Created page with "// Don't load CommentsInLocalTime for namespaces it is disabled for. if ( [-1, 0, 8].indexOf(mw.config.get("wgNamespaceNumber")) === -1 ) { // w:en:User:Mxn/CommentsInLocalTime // en.wikipedia.org/wiki/User:Mxn/CommentsInLocalTime.js /** * Comments in local time * User:Mxn/CommentsInLocalTime * * Adjust timestamps in comment signatures to use easy-to-understand, relative * local time instead of absolute UTC time. * * Inspired by [[Wikipedia:C..." current
- 08:21, 16 February 2022 diff hist +351 N MediaWiki:Gadget-utcclock.css Created page with "→* * Explicitly set width of the UTC-clock list element, so that we can use a * hidden peer gadget to add space where the clock would go before it loads.: .skin-vector #utcdate { width: 3.275em; →* The default margin-left is 0.75em, but set it again here explicitly, so * we can be sure of the exact width.: margin-left: 0.75em; }" current
- 08:21, 16 February 2022 diff hist +2,688 N MediaWiki:Gadget-utcclock.js Created page with "→* * Adapted from https://www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-UTCLiveClock.js: mw.loader.using( ['mediawiki.util', 'mediawiki.api', 'ext.gadget.skinTogglesNew'] ).then( function () { function padWithZeroes( num ) { // Pad a number with zeroes. The number must be an integer where // 0 <= num < 100. return num < 10 ? '0' + num.toString() : num.toString(); } function showTime( $target ) { var now = new Date(); // Set the time. var hh = now.g..." current
- 08:21, 16 February 2022 diff hist +8,352 N MediaWiki:Gadget-skinToggles.css Created page with "→<pre>: #pt-skin-toggles .oo-ui-icon-advanced { width: 15px; min-width: 15px; height: 14px; background-size: 14px; display: block; background-repeat: no-repeat; background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg height='21' viewBox='0 0 21 21' width='21' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m8.85464918.37900488c-1.91149353 1.51069427-3.13816124 3.84973402-3.13816124 6.47527736 0 4.5556..." current
- 08:20, 16 February 2022 diff hist +13,753 N MediaWiki:Gadget-skinTogglesNew.js Created page with "→* * Toggles for skin cookies * * @author Gaz Lloyd * @author JaydenKieran *: ;(function($, mw, rs){ var READER_COOKIE = 'readermode', DARK_COOKIE = 'darkmode', DARK_COOKIE_CONDITIONAL = 'darkmode_conditional', STICKY_HEADER_COOKIE = 'stickyheader', FLOORNUMBER_LS = 'floornumber_display', AF2020_LS = 'af2020', currentReader = $.cookie(READER_COOKIE) === 'true', currentDark = $.cookie(DARK_COOKIE) === 'true', currentDarkConditional = $.cookie(D..." current
- 08:20, 16 February 2022 diff hist +11,276 N MediaWiki:Gadget-code-snippets.js Created page with "→*<nowiki> * Gadget that loads a couple of snippets for easier access to commonly copy/pasted templates and sections * Authors: ** Joeytje50: $(function() { var today = new Date().toLocaleString('en-GB', {day: 'numeric', month: 'long', year: 'numeric', timeZone: 'UTC'}); var pagename = mw.config.get('wgTitle'); var preloadMsgs = [ 'NPC', 'equipment', 'item', 'location', 'monster', 'scenery', 'shop', //'navbox', //'navbox-oneline', //'navbox..." current
- 08:19, 16 February 2022 diff hist +1,109 N MediaWiki:Gadget-editCount.js Created page with "→* * Adds total edit count on User, User talk and Contributions as a PortletLink * @author Jr_Mime: (function ($, mw, rs) { if (mw.config.get('wgNamespaceNumber') === 2 || mw.config.get('wgNamespaceNumber') === 3 || mw.config.get("wgCanonicalSpecialPageName") == "Contributions") { var user = mw.config.get('wgRelevantUserName'); mw.util.addPortletLink( 'p-namespaces', mw.util.getUrl('Special:EditCount/' + user), '.. edits',..." current
- 08:19, 16 February 2022 diff hist +521 N MediaWiki:Gadget-contributions.js Created page with "→* * Adds a contribution link on User, User talk and Contributions as a PortletLink * @author Jr_Mime: (function ($, mw, rs) { if (mw.config.get('wgNamespaceNumber') === 2 || mw.config.get('wgNamespaceNumber') === 3) { mw.util.addPortletLink( 'p-namespaces', mw.util.getUrl('Special:Contributions/' + mw.config.get('wgRelevantUserName')), 'Contributions', 'ca-nstab-contributions', 'Click to open the user\'s contributio..." current
- 08:19, 16 February 2022 diff hist +1,625 N MediaWiki:Gadget-autowelcome.js Created page with "/** * autowelcome.js - from https://runescape.wiki/w/User:Quarenon/autowelcome.js * * Automatically insert the welcome notice code when editing a new user talk page. * * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope th..." current
- 08:18, 16 February 2022 diff hist +126,875 N MediaWiki:Gadget-dps-sandbox-core.js Created page with "// <nowiki> // OSRS DPS Calculator // Version 1.0 // Made by Gau Cho // // // Thanks to Bitterkoekje, Elessar2, Gaz, Koekenpan, riblet15, TehKittyCat // import Gadget-dps-data.js // import Gadget-dps-data2.js →globals equipment, monster, $, rswiki, OO: →jshint es3: true: 'use strict'; //Debug var ticTime = performance.now(); function tic() { ticTime = performance.now(); } function toc() { var ticTocTime = performance.now() - ticTime; console.log(..." current
- 08:17, 16 February 2022 diff hist +175,397 N MediaWiki:Gadget-dps-sprite.css Created page with ".dps-img-ammo{background-image:url(filepath://Combat_Calculator_ammo_sprite.png);background-repeat:no-repeat;} .dps-img-ammo-Broad_arrows{background-position:0 0;width:29px;height:31px;} .dps-img-ammo-Diamond_bolts{background-position:-29px 0;width:29px;height:31px;} .dps-img-ammo-Diamond_bolts_\(e\){background-position:-58px 0;width:29px;height:31px;} .dps-img-ammo-Diamond_dragon_bolts_\(e\){background-position:-87px 0;width:29px;height:31px;} .dps-img-ammo-Dragonstone_..." current
- 08:17, 16 February 2022 diff hist +4,207 N MediaWiki:Gadget-dps-core.css Created page with "→Hello, Gau Cho here. Big thanks to riblet15 for introducing me to CSS Also thanks to Elessar2 for some miscellaneous questions: →Infobox: →Override some parameters to bring the DPS calc in the main space: .infobox.dps { max-width: 1000px; float: none; width: auto; } →Player + Monster skills: div.dps-skill-layout.oo-ui-layout.oo-ui-horizontalLayout { width: 96px; margin-left: 3px; margin-right: 3px; } div.dps-skill-layout.oo-ui-layout...." current
- 08:16, 16 February 2022 diff hist +126,796 N MediaWiki:Gadget-dps-core.js Created page with "// <nowiki> // OSRS DPS Calculator // Version 1.0 // Made by Gau Cho // // // Thanks to Bitterkoekje, Elessar2, Gaz, Koekenpan, riblet15, TehKittyCat // import Gadget-dps-data.js // import Gadget-dps-data2.js →globals equipment, monster, $, rswiki, OO: →jshint es3: true: 'use strict'; //Debug var ticTime = performance.now(); function tic() { ticTime = performance.now(); } function toc() { var ticTocTime = performance.now() - ticTime; console.log(..." current
- 08:16, 16 February 2022 diff hist +467,025 N MediaWiki:Gadget-dps-data2.js Created page with "var monster=JSON.parse('{"A Doubt":{"Hi":50,"aS":6,"cT":[],"id":[3477],"im":"A Doubt","ip":0,"lv":78,"si":1,"vi":1},"Aberrant spectre":{"At":1,"De":90,"Hi":90,"Ma":105,"Ra":1,"St":1,"aS":4,"am":0,"ar":0,"ba":0,"bm":0,"br":0,"bs":0,"cT":["slayer"],"dc":20,"dl":20,"dm":0,"dr":15,"dt":20,"id":[2,3,4,5,6,7],"im":"Aberrant spectre","ip":0,"iv":0,"lv":96,"si":2,"vi":1,"xp":0},"Abhorrent spectre":{"At":1,"De":180,"Hi":250,"Ma":300,"Ra":1,"St":1,"aS":4,"am":0,"ar":0,"ba":0,"bm":..." current
- 08:15, 16 February 2022 diff hist +233 N MediaWiki:Gadget-mmgkc.css Created page with ".mmg-kph-selector-field { display: inline-block; } .mmg-kph-selector-field .oo-ui-labelElement-label { font-weight: bold; } .mmg-kph-selector { width: 15em; } .mmg-kph-selector .oo-ui-inputWidget-input { text-align: center; }" current
- 08:15, 16 February 2022 diff hist +1,876 N MediaWiki:Gadget-dropDisplay.css Created page with "#rsw-drops-overlay2 { font-size: 0.8em; } #rsw-drops-overlay2 .oo-ui-popupWidget-head > .oo-ui-labelElement-label { font-size: 1.25em; font-weight: bold; } #rsw-drops-overlay2 .oo-ui-horizontalLayout { margin-top: 0.85714286em; } #rsw-drops-overlay2 .oo-ui-horizontalLayout > .oo-ui-layout, #rsw-drops-overlay2 .oo-ui-horizontalLayout > .oo-ui-widget { margin-right: 2em; } →Vertical align of the table headers: table.item-drops.filterable th {..." current
- 08:14, 16 February 2022 diff hist +102 N MediaWiki:Gadget-dps-sandbox.js Created page with "// <nowiki> if ( $('.dps').length ) { mw.loader.load( 'ext.gadget.dps-sandbox-core' ); } // </nowiki>" current
- 08:14, 16 February 2022 diff hist +666,531 N MediaWiki:Gadget-dps-data.js Created page with "var equipment=JSON.parse('{"ammo":{"Adamant arrow":{"ac":0,"al":0,"am":0,"ar":0,"at":0,"bm":0,"br":31,"bs":0,"dc":0,"dl":0,"dm":0,"dr":0,"dt":0,"id":[890,20388],"im":"Adamant arrow 5","pr":0,"vi":1},"Adamant arrow(p)":{"ac":0,"al":0,"am":0,"ar":0,"at":0,"bm":0,"br":31,"bs":0,"dc":0,"dl":0,"dm":0,"dr":0,"dt":0,"id":[891],"im":"Adamant arrow(p) 5","po":2,"pr":0,"vi":1},"Adamant arrow(p+)":{"ac":0,"al":0,"am":0,"ar":0,"at":0,"bm":0,"br":31,"bs":0,"dc":0,"dl":0,"dm":0,"dr":0..." current
- 08:13, 16 February 2022 diff hist +94 N MediaWiki:Gadget-dps.js Created page with "// <nowiki> if ( $('.dps').length ) { mw.loader.load( 'ext.gadget.dps-core' ); } // </nowiki>" current
- 08:13, 16 February 2022 diff hist +2,640 N MediaWiki:Gadget-mmgkc-core.js Created page with "function parseMmgFloat(x) { var _x = parseFloat(x); if (isNaN(_x)) { return 0; } return _x; } function formatNum(x) { var _x = Math.abs(x); if (_x > 99) { // if over 100 // round to 0 dp and format with commas if needed _x = Math.round(x); _x = _x.toLocaleString('en'); } else if (_x < 0.1) { // if under 0.1 // round to 2 sf var n = Math.floor(Math.log10(x)) - 1; _x = Math.pow(10, n) * Math.round(x/Math.pow(10,n)); // cull binary representat..." current
- 08:12, 16 February 2022 diff hist +104 N MediaWiki:Gadget-mmgkc.js Created page with "// <nowiki> if ($('.mmg-table.mmg-isperkill').length) { mw.loader.load( 'ext.gadget.mmgkc-core' ); }" current
- 08:12, 16 February 2022 diff hist +5,653 N MediaWiki:Gadget-dropDisplay-core.js Created page with "// <nowiki> 'use strict'; var userSettings, settingsName = 'rsw-drop-display-settings', defaultSettings = {_ratedisp: 2, _valcoldisp: 1}; // grabs settings from localstorage (or defaults if not supported) function getSettings(){ var settings = {}; if (rswiki.hasLocalStorage()) { try { settings = JSON.parse(localStorage.getItem(settingsName)); } catch (err) { settings = {}; } if (settings === null) { settings = {}; } } userSettings = $.extend(..." current
- 08:12, 16 February 2022 diff hist +110 N MediaWiki:Gadget-dropDisplay.js Created page with "// <nowiki> if ($('table.item-drops.filterable').length) { mw.loader.load( 'ext.gadget.dropDisplay-core' ); }" current
- 08:12, 16 February 2022 diff hist +854 N MediaWiki:Gadget-calculatorNS.js Created page with "→* * Adds a link to the main calculators directory to every calculator namespace page * in the same place as other subpage links (creates the element if required) * * @author Gaz Lloyd: (function($, mw){ if (mw.config.get('wgNamespaceNumber') !== 116) { return; } function init() { // duplication prevention if ($('#contentSub .subpages .calculatorDirectoryLink').length) return; var link = $('<a>') .attr({ href: mw.util.getUrl('Calculators'..." current
- 08:11, 16 February 2022 diff hist +3,163 N MediaWiki:Gadget-infoboxQty.js Created page with "/** * Infobox quantity script * Adds a number input box next to specific numbers in tables * Primary use case: the price in Infobox Item * * TODO: add infobox monster support (for what?) * * USAGE: * <td><span class="infobox-quantity" data-val-each="100" data-value="1"><span class="infobox-quantity-replace">100</span> coins</span></td> * Everything inside the td should be wrapped in the outer span, which has class=infobox-quantity and attr data-val-each=(value..." current
- 08:11, 16 February 2022 diff hist +75,789 N MediaWiki:Gadget-calc-core.js Created page with "/** <nowiki> * Calc script for RuneScape Wiki * * MAIN SCRIPT https://runescape.wiki/w/MediaWiki:Gadget-calc.js * https://runescape.wiki/w/MediaWiki:Gadget-calc.css * DUPLICATE TO https://oldschool.runescape.wiki/w/MediaWiki:Gadget-calc.js * https://oldschool.runescape.wiki/w/MediaWiki:Gadget-calc.css * make sure to update the hiscores URL for OSRS * * This script exposes the following hooks, accessible via `mw.hook`: * 1. 'rscalc.setupComplete' - F..." current
- 08:11, 16 February 2022 diff hist +98 N MediaWiki:Gadget-calc.js Created page with "// <nowiki> if ($('.jcConfig').length) { mw.loader.load( 'ext.gadget.calc-core' ); } // </nowiki>" current
- 08:07, 16 February 2022 diff hist +819 N MediaWiki:Gadget-autocollapse.js Created page with "→* * Automatically collapsed navboxes under certain conditions: (function($, mw){ if ( !$('.navbox').length || mw.Uri().query.veaction != undefined ) return; mw.hook('wikipage.collapsibleContent').add(init); function init() { var $navboxes = $('.navbox'), // maximum number of navboxes before they all get collapsed maxShow = 1, // maximum allowable height of navbox before it gets collapsed maxHeight = 300; function collapseNavbox(i,box) {..." current
- 08:07, 16 February 2022 diff hist +129 N MediaWiki:Gadget-checkboxList.js Created page with "// <nowiki> if ($("ul.checklist, div.checklist > ul").length) { mw.loader.load( 'ext.gadget.checkboxList-core' ); } // </nowiki>" current
- 08:06, 16 February 2022 diff hist +2,018 N MediaWiki:Gadget-checkboxList.css Created page with "→CSS for [[MediaWiki:Gadget-checkboxList.js]]: →Use with [[Template:Checklist]]: →=========================== lighttable checklists ===========================: /* checklist will otherwise render anything floated to the right unclickable due to overlap; 300px is the width of infoboxes and default thumbnail size the first rule is the fallback for ancient browsers; the second rule keeps 350px space to the side, down to 1000px width of its co..." current