User contributions for Soulgazer
Jump to navigation
Jump to search
- 08:06, 16 February 2022 diff hist +18,540 N MediaWiki:Gadget-checkboxList-core.js Created page with "→* <pre> * 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: [..." current
- 08:06, 16 February 2022 diff hist +112 N MediaWiki:Gadget-Charts.js Created page with "// <nowiki> if ($( '.rsw-chartjs-config' ).length) { mw.loader.load( 'ext.gadget.Charts-core' ); } // </nowiki>" current
- 08:05, 16 February 2022 diff hist +7,047 N MediaWiki:Gadget-Charts-core.js Created page with "var DARKMODE_TEXT = '#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) return; var c = {}; console.log(dataElement...." current
- 08:03, 16 February 2022 diff hist +125 N MediaWiki:Gadget-compare.js Created page with "// <nowiki> if ($('.cioCompareLink, .infobox-bonuses').length) { mw.loader.load( 'ext.gadget.compare-core' ); } // </nowiki>" current
- 08:00, 16 February 2022 diff hist +107 N MediaWiki:Gadget-GECharts.js Created page with "// <nowiki> if ($( '.GEdatachart' ).length) { mw.loader.load( 'ext.gadget.GECharts-core' ); } // </nowiki>" current
- 08:00, 16 February 2022 diff hist +514 N MediaWiki:Gadget-exchangePages-core.js Created page with "//<nowiki> $('.gemw-button.secondary').each(function(i,e){ var txt = $(e).find('a').text(); var href = $(e).find('a').attr('href'); var button = new OO.ui.ButtonWidget({ label: txt, title: href }); button.$element.on('mousedown', function(){ window.open(href, '_blank'); }); $(e).parent().append(button.$element); $(e).remove(); }); var exchangeOverlay = $('<div>'); exchangeOverlay .css({position: 'relative', 'z-index': 100}) .attr('id', 'rsw-exchange-ov..." current
- 08:00, 16 February 2022 diff hist +137 N MediaWiki:Gadget-exchangePages.js Created page with "// <nowiki> if (mw.config.get('wgCanonicalNamespace') == 'Exchange') { mw.loader.load( 'ext.gadget.exchangePages-core' ); } // </nowiki>" current
- 08:00, 16 February 2022 diff hist +2,117 N MediaWiki:Gadget-switch-infobox.css Created page with ".switch-infobox > p, .switch-infobox-triggers > p { display: none; } .switch-infobox > p:first-child, .switch-infobox-triggers > p:first-child { display: block; } .switch-infobox > .item { display: none; } .switch-infobox > .item.showing { display: block; } .switch-infobox > .loading-button { display: none; } .switch-infobox.loading > .loading-button { display: inline-block; } .switch-infobox.loading > .switch-infobox-triggers { display:..." current
- 07:59, 16 February 2022 diff hist +23,765 N MediaWiki:Gadget-switch-infobox.js Created page with "// <nowiki> /* switch infobox code for infoboxes * contains switching code for both: * * originalInfoboxes: * older infobox switching, such as Template:Infobox Bonuses * which works my generating complete infoboxes for each version * * moduleInfoboxes: * newer switching, as implemented by Module:Infobox * which generates one infobox and a resources pool for switching * * synced switches * as generated by Module:Synced switch and its template *..." current
- 07:59, 16 February 2022 diff hist +1,235 N MediaWiki:Gadget-Less.js Created page with "window.lessOpts = window.lessOpts || []; window.lessOpts.push( { target: 'MediaWiki:Common.css', source: 'MediaWiki:Common.less', load: [ 'MediaWiki:Common.css', 'MediaWiki:Common.less' ] }, { target: 'MediaWiki:Vector.css', source: 'MediaWiki:Vector.less', load: [ 'MediaWiki:Vector.css', 'MediaWiki:Vector.less' ], }, { target: 'MediaWiki:Gadget-toplinksDropdown.css', source: 'MediaWiki:Gadget-topli..." current
- 06:58, 16 February 2022 diff hist −69 MediaWiki:Common.css
- 06:46, 16 February 2022 diff hist +70 MediaWiki:Common.css
- 06:34, 16 February 2022 diff hist +207 MediaWiki:Common.css
- 06:13, 16 February 2022 diff hist −13,009 Relic Tag: Reverted
- 22:57, 15 February 2022 diff hist +13,011 Relic Tag: Reverted
- 22:56, 15 February 2022 diff hist +5,049 N Module:FetchItemStats Created page with "-- Note: This module is not meant to be invoked directly, and instead is intended to be used from other modules. local exchange = require('Module:Exchange') local yesno = require('Module:Yesno') local p = {} -- Obtain information about which version of an item is the default version of the item -- if no switch infoobox is present, the item name itself will be returned. -- The second return value is the actual pagename of the page that is retrieved in the SMW call, taki..." current
- 22:55, 15 February 2022 diff hist +19,056 N Module:Exchange Created page with "--[[ {{Helper module|name=Exchange |fname1=_price(arg) |ftype1=String |fuse1=Gets the current median price of item named arg |fname2=_value(arg) |ftype2=String |fuse2=Gets the value of item named arg }} --]] -- <nowiki> -- -- Implements various exchange templates -- See Individual method docs for more details -- -- See also: -- - Module:ExchangeData -- - Module:ExchangeDefault -- -- Original version: http://runescape.wiki/w/Module:Exchange local p = {} -- only..." current
- 22:55, 15 February 2022 diff hist +9,191 N Module:Equipment Created page with "-- <pre>Sandbox for testing stuff. Infoked by User:Joeytje50/Module -- Current module being tested: Module:Equipment local p = {} local hasc = require('Module:Paramtest').has_content local itemstats = require('Module:FetchItemStats') local yesno = require('Module:Yesno') local lang = mw.language.getContentLanguage() local GEPrice = require('Module:Exchange')._price -- Parse item string and check if GIF icons are allowed local function parseItem(ret, itemString, eq..." current
- 22:54, 15 February 2022 diff hist +3,327 N Module:Table list Created page with "-- <pre> local p = {} local alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0' function p.main(frame) return p._main(frame:getParent().args) end function p._main(args) local columns = tonumber(args.columns) or 4 local header = args.header or '' local links = string.lower(args.links or '') local alphabeticalheaders = string.lower(args.alphaheader or '') if alphabeticalheaders == 'yes' then alphabeticalheaders = true else alphabeticalheaders = false end local entrie..." current
- 22:54, 15 February 2022 diff hist +823 N Module:Tabber Created page with "local p = {} -- Access point for other modules -- argument format: {{"tab 1 label", "tab 1 content"}, {"tab 2 label", "tab 2 content"}, {"etc", "..."}} function p.tabber(tabs) preprocess = preprocess == nil and true or preprocess -- if no preprocess defined, set to true local tabber = "" for i, tab in ipairs(tabs) do if i > 1 then tabber = tabber .. "\n|-|\n" end tabber = tabber .. mw.text.trim(tab[1]) .. ' = ' .. tab[2] end return mw.getCurrentFrame():cal..." current
- 22:52, 15 February 2022 diff hist +4,044 N Module:SCP Created page with "-- <pre> local p = {} local pics = { quests = { image = 'Quest point icon', link = 'Quest points' }, quest = { image = 'Quest point icon', link = 'Quest points' }, ['quest points'] = { image = 'Quest point icon', link = 'Quest points' }, combat = { image = 'Attack style icon', link = 'Combat level' }, all = { image = 'Attack style icon', link = 'Combat styles' }, music = { image = 'Music', link = 'Music' }, favour = { image = 'Kourend Favour icon', link = 'Great..."
- 22:52, 15 February 2022 diff hist +2,394 N Module:Inventory Created page with "-- <pre> local p = {} local hasc = require('Module:Paramtest').has_content function formatAmount(_x) local x = tonumber(_x) or 1 if x < 100000 then return x, 'qty-1' elseif x < 10000000 then return tostring(math.floor(x/1000))..'K', 'qty-100k' else return tostring(math.floor(x/1000000))..'M', 'qty-10m' end end function p.main(frame) local bgType = frame.args.bgType if bgType == nil then bgType = "inventory"..." current
- 22:50, 15 February 2022 diff hist +8,874 N Module:Navbox Created page with "-- <nowiki> -- -- Implements {{navbox}} -- local p = {} local tnavbar = require( 'Module:Tnavbar' ) local yesno = require( 'Module:Yesno' ) local page_title = mw.title.getCurrentTitle().fullText -- -- Helper for inserting a new row into the navbox -- -- @param tbl {mw.html table} -- @return tbl {mw.html table} -- local function insertRow( tbl ) return tbl:tag( 'tr' ) end -- -- Creates the navbox table -- -- @param args {table} -- @return tbl {mw.html table} -- local f..." current
- 22:49, 15 February 2022 diff hist +869 N Module:Mainonly Created page with "--[[ {{Helper module|name=Mainonly |fname1=_main(arg) |ftype1=Any value |fuse1=If the module is invoked in the content namespace, it will return arg, otherwise, it will return an empty string |fname2=on_main() |ftype2=N/A |fuse2=Returns true if invoked in the content namespace, otherwise false }} --]] -- -- Module to return text only when invoked in the content namespace -- local p = {} function p.main(frame) local ret = frame:getParent().args[1] or '' return p._main..." current
- 22:48, 15 February 2022 diff hist −13,009 Relic Tag: Manual revert
- 22:46, 15 February 2022 diff hist +2,055 N Module:Paramtest Created page with "--[[ {{Helper module |name=Paramtest |fname1 = is_empty(arg) |ftype1 = String |fuse1 = Returns true if arg is not defined or contains only whitespace |fname2 = has_content(arg) |ftype2 = String |fuse2 = Returns true if arg exists and does not only contain whitespace |fname3 = default_to(arg1,arg2) |ftype3 = String, Any value |fuse3 = If arg1 exists and does not only contain whitespace, the function returns arg1, otherwise returns arg2 |fname4 = defaults{ {arg1,arg2},...}..." current
- 22:45, 15 February 2022 diff hist +3,376 N Module:Recommended equipment Created page with "local p = {} local params = require('Module:Paramtest') local slots = { { placement = 1, name = 'helm', icon = 'Head slot', txt = 'Head', link = 'Head slot table' }, { placement = 2, name = 'neck', icon = 'Neck slot', txt = 'Neck', link = 'Neck slot table' }, { placement = 3, name = 'cape', icon = 'Cape slot', txt = 'Back', link = 'Cape slot table' }, { placement = 4, name = 'body', icon = 'Body slot', txt = 'Body', link = 'Body slot table' }, { placement = 5, nam..." current
- 22:44, 15 February 2022 diff hist +13,009 Relic Tag: Reverted
- 20:33, 15 February 2022 diff hist +183 MediaWiki:Common.css
- 20:33, 15 February 2022 diff hist −18 MediaWiki:Common.css
- 20:31, 15 February 2022 diff hist −313 MediaWiki:Common.css
- 20:30, 15 February 2022 diff hist +10 MediaWiki:Common.css
- 20:30, 15 February 2022 diff hist −5 Relic Tags: Manual revert Reverted
- 20:27, 15 February 2022 diff hist +15 Relic Tag: Reverted
- 20:27, 15 February 2022 diff hist −10 Relic →Silver Relics Tag: Reverted
- 20:24, 15 February 2022 diff hist −9 Relic Tag: Reverted
- 20:23, 15 February 2022 diff hist +20 MediaWiki:Common.css
- 20:21, 15 February 2022 diff hist +118 MediaWiki:Common.css
- 20:20, 15 February 2022 diff hist −14 Relic
- 20:11, 15 February 2022 diff hist −2,327 Relic Tag: Manual revert
- 20:05, 15 February 2022 diff hist −20 Relic Tag: Reverted
- 20:04, 15 February 2022 diff hist −44 Relic Tag: Reverted
- 20:03, 15 February 2022 diff hist −92 Relic Tag: Reverted
- 19:52, 15 February 2022 diff hist +2,483 Relic Tag: Reverted
- 19:45, 15 February 2022 diff hist +24 MediaWiki:Common.css
- 19:40, 15 February 2022 diff hist +19 N Silver Relic Redirected page to Relic current Tag: New redirect
- 19:39, 15 February 2022 diff hist +19 N Gold Relic Redirected page to Relic current Tag: New redirect
- 19:36, 15 February 2022 diff hist +19 N Relics Redirected page to Relic current Tag: New redirect
- 19:34, 15 February 2022 diff hist 0 MediaWiki:Common.css
- 19:34, 15 February 2022 diff hist +10 MediaWiki:Common.css