All public logs
Jump to navigation
Jump to search
Combined display of all available logs of RuneRealm Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 01:39, 13 October 2024 Alex talk contribs created page 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...")
- 01:39, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-editCount.js (Created page with "* * Adds total edit count on User, User talk and Contributions as a PortletLink * @author Jr_Mime: if (mw.config.get('wgNamespaceNumber') === 2 || mw.config.get('wgNamespaceNumber') === 3 || mw.config.get("wgCanonicalSpecialPageName") == "Contributions") { $(function () { var user = mw.config.get('wgRelevantUserName'); mw.util.addPortletLink( 'p-namespaces', mw.util.getUrl('Special:EditCount/' + user), '.. edits', 'ca-nstab-editcount', 'Click...")
- 01:39, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-contributions.js (Created page with "* * Adds a contribution link on User, User talk and Contributions as a PortletLink * @author Jr_Mime: if (mw.config.get('wgNamespaceNumber') === 2 || mw.config.get('wgNamespaceNumber') === 3) { $(function () { mw.util.addPortletLink( 'p-namespaces', mw.util.getUrl('Special:Contributions/' + mw.config.get('wgRelevantUserName')), 'Contributions', 'ca-nstab-contributions', 'Click to open the user\'s contributions' ); }); }")
- 01:38, 13 October 2024 Alex talk contribs created page 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...")
- 01:38, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-livePricesMMG-core.js (Created page with "// // TODO: Do I just do something kind of dumb like use an object here for constant lookup? EXEMPT_FROM_TAX = [ 'Old school bond', 'Chisel', 'Gardening trowel', 'Glassblowing pipe', 'Hammer', 'Needle', 'Pestle and mortar', 'Rake', 'Saw', 'Secateurs', 'Seed dibber', 'Shears', 'Spade', 'Watering can (0)' ]; // Tax is never higher than 5m per item MAX_TAX_AMOUNT = 5000000; MMG_SMW_DATA_ENDPOINT = "https://oldschool.runescape.wiki/api.php?acti...")
- 01:37, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-livePricesMMG.js (Created page with "$(function () { if ($('.mmg-list-table').length) { mw.loader.load( 'ext.gadget.livePricesMMG-core' ); } })")
- 01:37, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-fightcaverotations-core.js (Created page with "// This gadget updates the predicted rotation times on TzHaar Fight Cave/Rotations. Made by Gau Cho, but it was Fjara's idea const ROTATION_CYCLE = 16 function mod(a, n) { return a - (n * Math.floor(a/n)); } function getMinutesFromMidnight(time) { // Gets minutes from UTC midnight return time.getUTCHours()*60 + time.getUTCMinutes() } function formatTime(time) { // Formats time (using the local timezone) return time.getHours() + ':' + ('0' + ti...")
- 01:37, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-fightcaverotations.js (Created page with "$(function () { if ( $('#rotation-table').length ) { mw.loader.load( 'ext.gadget.fightcaverotations-core' ); } })")
- 01:37, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-mmgkc.css (Created page with ".mmg-kph-div { max-width: 35em; } .mmg-kph-div .oo-ui-fieldLayout-header > .oo-ui-labelElement-label { font-weight: bold; } .mmg-kph-selector-field .oo-ui-inputWidget-input { text-align: center; }")
- 01:36, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-mmgkc-core.js (Created page with "// Gets and sets items in local storage for the KPH amount // This allows for repeat visits to use the same KPH. // KPH is saved in local storage with the key "{Subpage name}-mmg-kph" // For ex. "Money making guide/Drinking irresponsibly" would go to the key "Drinking irresponsibly-mmg-kph" // If the page is NOT a subpage, we will not save LS. This might be confusing but is preferable to all TL pages using the same LS key. function parseMmgFloat(x) { var _x = parseFloa...")
- 01:36, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-mmgkc.js (Created page with "$(function () { if ($('.mmg-table.mmg-isperkill').length) { mw.loader.load( 'ext.gadget.mmgkc-core' ); } })")
- 01:36, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-dropDisplay.css (Created page with "Vertical align of the table headers: table.item-drops.filterable th { line-height: 2.3em; } Show/hide members item column and (m) tag after name: table.item-drops.filterable.rsw-dropsline-hidemembers tr.members-item, table.item-drops.filterable.rsw-dropsline-hidememcol tr .members-column { display: none; } table.item-drops.filterable tr td.item-col sub[title="Members only"] { display: none; } table.item-drops.filterable.rsw-dropsline-hidememcol tr td.item-c...")
- 01:35, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-dropDisplay-core.js (Created page with "'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({}, defaultSe...")
- 01:35, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-dropDisplay.js (Created page with "$(function () { if ($('table.item-drops.filterable').length) { mw.loader.load( 'ext.gadget.dropDisplay-core' ); } })")
- 01:35, 13 October 2024 Alex talk contribs created page 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 () { if (mw.config.get('wgNamespaceNumber') !== 116) { return; } function init() { // duplication prevention if ($('#contentSub #mw-content-subtitle .subpages .calculatorDirectoryLink').length) return; var link = $('<a>') .attr({ href: mw.util.g...")
- 01:34, 13 October 2024 Alex talk contribs created page 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...")
- 01:34, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-calc.css (Created page with ".jcConfig { display: none; } .jcTable { margin: 0 !important; } .jcTable th { text-align: left !important; } .jcSubmit img { margin: 0 auto; } div > .jcTable .jsCalc-field.oo-ui-fieldLayout:before, div > .jcTable .jsCalc-field.oo-ui-fieldLayout:after, div > .jcTable .jsCalc-group.oo-ui-layout:before, div > .jcTable .jsCalc-group.oo-ui-layout:after { display: none; } div > .jcTable .jsCalc-group.oo-ui-layout:before, div > .jcTable .jsCalc-group.oo-ui-layout:a...")
- 01:34, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-calc-core.js (Created page with "/** * 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' - Fires when...")
- 01:34, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-calc.js (Created page with "$(function () { if ($('.jcConfig').length) { mw.loader.load( 'ext.gadget.calc-core' ); } })")
- 01:33, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-articlefeedback-tools.js (Created page with "* <nowiki> * Secondary gadget for the wiki article feedback feature, which runs solely on * pages that have the feedback wrapper (talk pages). It allows people to * mark feedback as "resolved". * * @author Jayden: var conf = mw.config.get([ 'wgPageName' ]), main = { * * Startup method: init: function () { var wrappers = $('.gloop-feedback-wrapper'); // Loop through all of the feedback...")
- 01:33, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-articlefeedback.css (Created page with ".wgl-feedback-trigger { position: fixed; bottom: 10px; right: 10px; width: 40px; height: 40px; background: #363636; border-radius: 2em; box-shadow: 5px 4px 6px -6px #000000; display: flex; justify-content: center; align-items: center; color: #b3b3b3; cursor: pointer; transition: background 0.5s ease; } .wgl-feedback-container { font-size: .5em; display: inline-block; position: relative; top: -7px; right: -20px;...")
- 01:33, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-articlefeedback-core.js (Created page with "* <nowiki> * Gadget for the wiki article feedback feature. * @author Jayden: 'use strict'; (function($, mw){ var conf = mw.config.get([ 'wgNamespaceNumber', 'wgTitle', 'wgAction', 'wgArticleId', 'wgUserGroups' ]), self = { // Constants API_ENDPOINT: 'https://api.weirdgloop.org/wiki/feedback', RESTRICTED_PAGES: [ // List of pages where...")
- 01:32, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-articlefeedback.js (Created page with "// <nowiki> if (mw.config.get('wgNamespaceNumber') === 0 && mw.config.get('wgAction') === 'view' && mw.config.get('wgArticleId') > 0) { mw.loader.load( 'ext.gadget.articlefeedback-core' ); } if (mw.config.get('wgUserGroups').includes('autoconfirmed') && $('.gloop-feedback-wrapper').length > 0) { mw.loader.load( 'ext.gadget.articlefeedback-tools' ); } // </nowiki>")
- 01:32, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-tooltipPopup.css (Created page with ".add-tooltip-popup { position: relative; } .add-tooltip-popup .title { position: absolute; top: 20px; background: var(--body-light); padding: 4px; border: 1px solid var(--body-border); box-shadow: 0 0.25rem 0.35rem -0.25rem rgb(0 0 0 / 10%); white-space: nowrap; }")
- 01:31, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-tooltipPopup-core.js (Created page with "// Adapted from // https://stackoverflow.com/questions/12539006/tooltips-for-mobile-browsers function init() { $('.add-tooltip-popup').click(function () { var $title = $(this).find('.title'); if (!$title.length) { // Remove any existing tooltips $('.add-tooltip-popup .title').remove(); const tooltip = $(document.createElement('span')); tooltip.addClass('title').text($(this).attr('title')); tooltip.css('left', 0); $(thi...")
- 01:31, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-tooltipPopup.js (Created page with "$(function () { if ($('.add-tooltip-popup').length) { mw.loader.load( 'ext.gadget.tooltipPopup-core' ); } })")
- 01:31, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-smwlistsfull.css (Created page with "#smw-list-full .oo-ui-fieldLayout-field, #smw-list-full .oo-ui-fieldLayout-header { margin-top: 5px; margin-bottom: 5px; } #smw-list-full .oo-ui-fieldLayout-header { width:12em; font-weight: bold; } #smw-list-full .oo-ui-fieldLayout-body { display: flow; } #smw-list-full .oo-ui-buttonElement { margin-top: 1rem; } #smw-list-full .oo-ui-inputWidget { width: 30%; } .smw-list-error { font-size: larger; color: #d33; }")
- 01:30, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-smwlistsfull-core.js (Created page with "// <nowiki> var SMW_TEMPLATES = [ { name: 'Drop sources (without RDT)', template: 'Drop sources', short: 'drops' }, { name: 'Drop sources', template: 'Drop sources', short: 'dropsrdt', extra_params: '|incrdt=y' }, { name: 'Store locations', template: 'Store locations list', short: 'stores' }, { name: 'Products', template: 'Uses material list', short: 'products' }, { name: 'Facilities', template: 'Uses facility list', short: 'facilities' }, { name: 'Tools', template...")
- 01:30, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-smwlistsfull.js (Created page with "if ($('#smw-list-full').length) { mw.loader.load('ext.gadget.smwlistsfull-core'); }")
- 01:30, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-wikisync-core.css (Created page with ".rs-wikisync-help { margin: .5em 0 !important; } .rs-wikisync-help .oo-ui-fieldLayout-body { border: 1px solid #9f261e; border-radius: 2px; padding: 4px 8px; } .rs-wikisync-help .oo-ui-fieldLayout-header .oo-ui-labelElement-label { color: #9f261e; } body.wgl-theme-dark .rs-wikisync-help .oo-ui-fieldLayout-body, body.wgl-theme-browntown .rs-wikisync-help .oo-ui-fieldLayout-body { border: 1px solid #fbc0ba; } body.wgl-theme-dark .rs-wikisync-help .oo-ui-fieldLayo...")
- 01:29, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-wikisync-core.js (Created page with "* * WikiSync: * - Utilises our WikiSync API, with data provided by users via RuneLite. * - Adds the ability to check a user's completed quests. * * Slightly adapted from https://runescape.wiki/w/MediaWiki:Gadget-questchecker-core.js * * @author Jayden * @author Andmcadams * @author Jakesterwars * @author Cook Me Plox * @author Lezed1 * @author Haidro: var CLASSES = { QC_ACTIVE: "qc-active", QC_INPUT: "qc-input", QC_ICON: "rs-qc-icon", }; var END...")
- 01:29, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-wikisync.js (Created page with "$(function () { if ($('.qc-active').length) { mw.loader.load( 'ext.gadget.wikisync-core' ); } })")
- 01:28, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-sidebar-tracking.js (Created page with ";(function($, mw){ function trackSidebarClick(event) { var $e = $(event.currentTarget), pagename = mw.config.get('wgPageName'), href, click_type, data; href = $e.attr('href'); switch (event.which) { case 1: click_type = 'left'; if (!(event.altKey || event.ctrlKey || event.altKey || event.metaKey)) { $e.attr({'x-href': href, 'x-leftclicked':'1'}).removeAttr('href'); } break; case 2: click_type = 'middle'; b...")
- 01:28, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-navbox-tracking.js (Created page with ";(function($, mw){ if ($('.navbox').length <= 0) return; var LOADING = false; function trackNavboxClick(event) { var $e = $(event.currentTarget), pagename = mw.config.get('wgPageName'), href, navbox, link_type = ['link'], click_type, data; href = $e.attr('href'); navbox = $e.parents('.navbox[data-navbox-name]'); if (navbox.length<1) { // missing name, template not propagated - skip return; } navbox = navbox.attr('d...")
- 01:28, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-Charts-core.js (Created page with "var DARKMODE_TEXT = (($('body.wgl-theme-browntown').length) ? '#f4eaea' : '#cbd9f4'); function RSWChart(i, dataElement) { var self = this; this.is_error = false; this.index = i; function error(t) { dataElement.removeClass('rsw-chartjs-config').addClass("rsw-chart-parsed rsw-chart-error").text(t); self.is_error = true; } function parseData() { console.log('parsing data for ' + self.index); if (self.is_error) retur...")
- 01:26, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-Charts.js (Created page with "$(function () { if ($( '.rsw-chartjs-config' ).length) { mw.loader.load( 'ext.gadget.Charts-core' ); } })")
- 01:26, 13 October 2024 Alex talk contribs created page 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...")
- 01:25, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-checkboxList-core.js (Created page with "* * Adds support for checkbox lists (Template:Checklist) * * Examples/Tests: <https://rs.wiki/User:Cqm/Scrapbook_4> * * History: * - 1.0: Original implementation - Cqm: /* * DATA STORAGE STRUCTURE * ---------------------- * * In its raw, uncompressed format, the stored data is as follows: * { * hashedPageName1: [ * [0, 1, 0, 1, 0, 1], * [1, 0, 1, 0, 1, 0], * [0, 0, 0, 0, 0, 0] * ], * hashedPageName2: [ *...")
- 01:25, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-checkboxList.js (Created page with "$(function () { if ($("ul.checklist, div.checklist > ul").length) { mw.loader.load( 'ext.gadget.checkboxList-core' ); } })")
- 01:24, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-countdown.js (Created page with "* * Countdown * * @version 2.1 * * @author Pecoes <https://c.wikia.com/wiki/User:Pecoes> * @author Asaba <https://dev.wikia.com/wiki/User:Asaba> * * Version 1 authors: * - Splarka <https://c.wikia.com/wiki/User:Splarka> * - Eladkse <https://c.wikia.com/wiki/User:Eladkse> * * documentation and examples at: * <https://dev.wikia.com/wiki/Countdown>: /*jshint jquery:true, browser:true, devel:true, camelcase:true, curly:false, undef:true, bitwise:true, eqeq...")
- 01:23, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-Username.js (Created page with "* * Script for {{USERNAME}}: if (mw.config.get("wgUserName")) $(function(){ $('.insertusername').text(mw.config.get("wgUserName")) });")
- 01:21, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-tooltips.js (Created page with "/* JavaScript tooltips usage: recommended usage: see Template:Tooltip and Template:Tooltip text, or Module:Tooltip for module interface raw usage: Place this where you want the button to appear: <span class="hidden js-tooltip-click" style="display:none;" data-tooltip-name="test">clickable</span> place this elsewhere to define the content of the tooltip: <div class="hidden js-tooltip-wrapper" style="display:none;" data-tooltip-for="test" da...")
- 01:21, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-titleparenthesis.css (Created page with ".title-parenthesis { color: var(--subtle-color); font-size: 80%; }")
- 01:21, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-titleparenthesis.js (Created page with "$(function () { var conf = mw.config.get([ 'wgNamespaceNumber', 'wgTitle' ]); if (conf.wgNamespaceNumber !== 0 || conf.wgTitle.lastIndexOf('(') < 0 || $('.no-parenthesis-style').length) { return; } // use the title in the DOM so this respects DISPLAYTITLE var title = mw.html.escape($('h1#firstHeading').text()), start = title.lastIndexOf('('), end = title.substring(start, title.length).lastIndexOf(')'); // add offset here end += s...")
- 01:20, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-highlightTable-core.css (Created page with "CSS for MediaWiki:Gadget-highlightTable.js: =========================== wikitable lighttables ===========================: :root { RS:THEME colours: --lighttable-bg-hover: #def2cc; lighten(@caper, 10%) in .less: --lighttable-bg-active: #bbee91; lighten(@lima, 30%): --lighttable-link-color: #3c780a; @la-palma: } table.lighttable .highlight-on { background-color: var(--lighttable-bg-active); } table.lighttable .highli...")
- 01:20, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-highlightTable-core.js (Created page with "/** * highlightTable.js * * Description: * Adds highlighting to tables * * History: * - 1.0: Row highlighting - Quarenon * - 1.1: Update from pengLocations.js v1.0 - Quarenon * - 2.0: pengLocations v2.1, Granular cookie - Saftzie * - 2.1: Made compatible with jquery.tablesorter - Cqm * - 2.2: Switch to localStorage - Cqm * - 3.0: Allow cell highlighting - mejrs * - 4.0: Labelled highligh...")
- 01:20, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-highlightTable.js (Created page with "$(function () { if ($("table.lighttable").length) { mw.loader.load( 'ext.gadget.highlightTable-core' ); } })")
- 01:19, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-UncheckFileRedirect.js (Created page with "* Unchecks redirect checkbox on file pages * Because redirects in file namespace are usually unnecessary: $(function () { 'use strict'; var conf = mw.config.get([ 'wgCanonicalSpecialPageName', 'wgRelevantPageName' ]); $(function () { if (conf.wgCanonicalSpecialPageName === 'Movepage'){ if ((/File:/).test(conf.wgRelevantPageName)){ $('#wpLeaveRedirect > input').removeAttr('checked'); } } }); })")
- 01:19, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-autosort.js (Created page with "* * For autosorting sortable tables * @example <>: (function($,mw,rs){ var $sortables = $('.sortable[class*="autosort="]'); if (!$sortables.length) return; rs.autosort = function () { mw.loader.using('jquery.tablesorter', function () { $sortables.each(function () { var $this = $(this), matched = (' ' + $(this).attr( 'class') + ' ') .match(/autosort=(\d+)[,-]{1}(a|d)/),...")
- 01:16, 13 October 2024 Alex talk contribs created page MediaWiki:Gadget-compare.css (Created page with ".cioIcon-crush { background: url('filepath://White_warhammer.png?width=20') center no-repeat; } .cioIcon-magic { background: url('filepath://Magic_icon.png?width=24') center no-repeat; } .cioIcon-prayer { background: url('filepath://Prayer_icon.png?width=22') center no-repeat; } .cioIcon-price { background: url('filepath://Coins_25.png?width=22') center no-repeat; } .cioIcon-ranged { background: url('filepath://Ranged_icon.png?width=22') center no-repeat; } .ci...")