User contributions for Alex
Jump to navigation
Jump to search
13 October 2024
- 02:2102:21, 13 October 2024 diff hist +7,084 N 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..." current
- 02:2102:21, 13 October 2024 diff hist +68 N MediaWiki:Gadget-titleparenthesis.css Created page with ".title-parenthesis { color: var(--subtle-color); font-size: 80%; }" current
- 02:2102:21, 13 October 2024 diff hist +697 N 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..." current
- 02:2002:20, 13 October 2024 diff hist +1,384 N 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..." current
- 02:2002:20, 13 October 2024 diff hist +25,027 N 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..."
- 02:2002:20, 13 October 2024 diff hist +112 N MediaWiki:Gadget-highlightTable.js Created page with "$(function () { if ($("table.lighttable").length) { mw.loader.load( 'ext.gadget.highlightTable-core' ); } })" current
- 02:1902:19, 13 October 2024 diff hist +432 N 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'); } } }); })"
- 02:1902:19, 13 October 2024 diff hist +1,641 N 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)/),..."
- 02:1602:16, 13 October 2024 diff hist +1,162 N 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..."
- 02:1502:15, 13 October 2024 diff hist +16,761 N MediaWiki:Gadget-compare-core.js Created page with "→* * Adds links for compare popups * * @author Quarenon * @author Ryan PM * @author Joeytje50 * @author Cqm * @author JaydenKieran * * @license GPLv3 <https://www.gnu.org/licenses/gpl-3.0.html> * * @todo try to find a standard img url domain to use * @todo re-center (vertical & horizontally) with new items added, or find a way to do it with pure CSS * might require overhaul to #overlay structure/styles: 'use strict'; var modalOpenedPrev = false; va..."
- 02:1502:15, 13 October 2024 diff hist +122 N MediaWiki:Gadget-compare.js Created page with "$(function () { if ($('.cioCompareLink, .infobox-bonuses').length) { mw.loader.load( 'ext.gadget.compare-core' ); } })"
- 02:1502:15, 13 October 2024 diff hist +54,828 N MediaWiki:Gadget-GECharts-core.js Created page with "/** <nowiki> * Grand Exchange Charts * Displays price data of item(s) in a chart * * Highstock docs <https://api.highcharts.com/highstock/> * Highstock change log <https://www.highcharts.com/blog/changelog/#highstock> * * @author Joeytje50 * @author Cqm * @author JaydenKieran * * @todo move Highcharts to a core ResourceLoader module * * @todo use a consistent variable for the chart id * currently it's one of c, i or id * @todo remove script URLs (jav..."
- 02:1402:14, 13 October 2024 diff hist +104 N MediaWiki:Gadget-GECharts.js Created page with "$(function () { if ($( '.GEdatachart' ).length) { mw.loader.load( 'ext.gadget.GECharts-core' ); } })" current
- 02:1402:14, 13 October 2024 diff hist +459 N MediaWiki:Gadget-exchangePages-core.js Created page with "$(function () { $('.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, href: href }); $(e).parent().append(button.$element); $(e).remove(); }); var exchangeOverlay = $('<div>'); exchangeOverlay .css({position: 'relative', 'z-index': 100}) .attr('id', 'rsw-exchange-overlay') .appendTo('body'); })"
- 02:1402:14, 13 October 2024 diff hist +112 N MediaWiki:Gadget-exchangePages.js Created page with "if (mw.config.get('wgCanonicalNamespace') == 'Exchange') { mw.loader.load( 'ext.gadget.exchangePages-core' ); }"
- 02:1202:12, 13 October 2024 diff hist +2,701 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 > .switch-infobox-triggers { display: none; } .trigger.button { white-space: pre; } .infobox-buttons, .switch-infobox-triggers..." current
- 02:1102:11, 13 October 2024 diff hist +28,269 N MediaWiki:Gadget-switch-infobox.js Created page with "/* 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 * * The scri..."
- 02:1102:11, 13 October 2024 diff hist +798 N MediaWiki:Gadget-Less.css Created page with "→This wouldn't be needed if the interface possibly used OOUI instead of being * hand-crafted: body.wgl-theme-dark #less-modal, body.wgl-theme-browntown #less-modal { background: var(--body-light) !important; color: var(--text-color) !important; } body.wgl-theme-dark #less-modal a, body.wgl-theme-browntown #less-modal a { color: var(--link-color) !important; } body.wgl-theme-dark #less-modal #less-header, body.wgl-theme-browntown #less-modal #less-header { bor..." current
- 02:1002:10, 13 October 2024 diff hist +30,900 N MediaWiki:Vector-theme-browntown.css Created page with "→<pre>: html:has(body.wgl-theme-browntown) { color-scheme: dark; } body.wgl-theme-browntown { color-scheme: dark; --body-background-image: url('https://wiki2.runerealm.org/images/rss/background_brown_darkmode.jpg'); --body-background-color: #1b1612; --body-main: #28221d; --body-light: #3e362f; --body-mid: #312a25; --body-dark: #312a25; --body-border: #736559; --link-color: #b79d7e; --background-link-color: var(--link-color..."
- 02:0802:08, 13 October 2024 diff hist −7 MediaWiki:Vector-darkmode.css No edit summary Tag: Reverted
- 02:0702:07, 13 October 2024 diff hist +30,256 N MediaWiki:Vector-darkmode.css Created page with "→<pre>: html:has(body.wgl-theme-dark) { color-scheme: dark; } body.wgl-theme-dark { color-scheme: dark; --body-background-image: url('filepath://Old_School_RuneScape_Wiki_background_darkmode.jpg'); --body-background-color: #071022; --body-main: #172136; --body-light: #313e59; --body-mid: #222e45; --body-dark: #222e45; --body-border: #596e96; --link-color: #8cabe6; --background-link-color: var(--link-color); --redlink-c..."
- 02:0602:06, 13 October 2024 diff hist +12,874 N MediaWiki:Test.css Created page with "→<pre>: body.page-Old_School_RuneScape_Wiki .mw-parser-output { max-width: 75em; margin: 0 auto; } body.page-Old_School_RuneScape_Wiki.action-view .catlinks, body.page-Old_School_RuneScape_Wiki.action-view #contentSub, body.page-Old_School_RuneScape_Wiki.action-view #siteNotice { display: none; } body.page-Old_School_RuneScape_Wiki .line-break { display: none !important; } .mainpage-header { display: flex; margin: 2.6em 1.75em 1.5em; } .ma..."
- 02:0502:05, 13 October 2024 diff hist +2 MediaWiki:Minerva-darkmode.css No edit summary Tag: Reverted
- 02:0402:04, 13 October 2024 diff hist +16,088 N MediaWiki:Minerva-darkmode.css Created page with "→<pre>: html:has(body.wgl-theme-dark) { color-scheme: dark; } body.wgl-theme-dark { color-scheme: dark; --body-background-image: url('filepath://Old_School_RuneScape_Wiki_background_darkmode.jpg?width=900px'); --body-background-color: #071022; --body-main: #172136; --body-light: #313e59; --body-mid: #222e45; --body-dark: #222e45; --body-border: #596e96; --ooui-text: var(--text-color); --ooui-interface: #222e45; --ooui-..."
- 02:0302:03, 13 October 2024 diff hist +2,026 N MediaWiki:Gadget-toplinksDropdown.css Created page with "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-bottom: 1.4em; background-position: left center; } body:not(.mw-special-Preferences) #pt-us..." current
- 02:0202:02, 13 October 2024 diff hist +239 N MediaWiki:Kartographer.css Created page with "→2022/8/22 note: the css in this page is applied before the default css thus * making it ineffective on certain pages e.g.: [[Elladan]] and * [[X Marks the Spot]], but not [[Demonic gorilla]] (maybe only broken for * <mapframe>s?): "
- 02:0102:01, 13 October 2024 diff hist +583 N MediaWiki:Gadget-Less.js Created page with "window.lessTargets = [ // globals 'MediaWiki:Common.css', 'MediaWiki:Kartographer.css', 'MediaWiki:Minerva.css', 'MediaWiki:Minerva-darkmode.css', 'MediaWiki:Test.css', 'MediaWiki:Vector.css', 'MediaWiki:Vector-darkmode.css', 'MediaWiki:Vector-theme-browntown.css', // gadgets 'MediaWiki:Gadget-toplinksDropdown.css', ] if ( window.lessTargets.includes( mw.config.get( 'wgPageName' ).replace(new RegExp('\.less$'),'.css' ) ) ) {..." current
- 01:5701:57, 13 October 2024 diff hist +12,576 N MediaWiki:Gadget-rsw-util.js Created page with "(function ($, mw, rs) { 'use strict'; function createOOUIWindowManager() { if (window.OOUIWindowManager == undefined) { window.OOUIWindowManager = new OO.ui.WindowManager(); $( 'body' ).append( window.OOUIWindowManager.$element ); } return window.OOUIWindowManager; } /** * Reusable functions * * These are available under the `rswiki` global variable. * @example `rswiki.addCommas` * The alias `rs` is also avai..."
- 01:4901:49, 13 October 2024 diff hist +12,799 N MediaWiki:Gadgets-definition Created page with "This page contains the definitions for all gadgets on the wiki. In most cases, code that could be placed in Common.js should be made into a module here instead for granularity and better support for mobile, etc. Edits to this page should be done with care. Gadgets are by default enabled on both desktop and mobile; ensure that the gadget '''works''' on mobile properly by debugging it on mobile devices. Some mobile devices do not allow JavaScript to run, or do not run it..."
- 01:3501:35, 13 October 2024 diff hist +1,235 N MediaWiki:Gadget-autocollapse.js Created page with "→* * Automatically collapsed navboxes under certain conditions: (function($, mw){ if ($( ".mw-collapsible-toggle" ).length) expandMaps(); if ( !$('.navbox-autocollapse').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 stay collapsed maxShow = 1, // maximum allowable height of navbox before it s..."
- 01:3401:34, 13 October 2024 diff hist +700 N User:Alex Created page with "{{Navbox |state = uncollapsed |name = |title = |gtitle1 = Level 1 Title 1 |group1 = |gtitle2 = Level 1 Title 2 |group2 = |gtitle3 = Level 1 Title 3 |group3 = |gtitle4 = Level 1 Title 4 |group4 = |gtitle5 = Level 1 Title 5 |gtype5 = subgroup |group5 = {{Navbox |subgroup = yes |gtitle1 = Level 2 Title 1 |group1 = |gtitle2 = Level 2 Title 2 |group2 = |gtitle3 = Level 2 Title 3 |gtype3 = subgroup |group3 = {{Navbox |subgroup = yes |gtitle1 = L..."
- 01:2201:22, 13 October 2024 diff hist +34 N Infernal cape (l) Redirected page to Infernal cape#Locked current Tag: New redirect
- 01:2101:21, 13 October 2024 diff hist +27 N Infernal cape (broken) Redirected page to Infernal cape current Tag: New redirect
- 01:1801:18, 13 October 2024 diff hist +232 N Category:Dumping infoboxes Created page with "These pages have an infobox that uses the parameter <code>__dump__</code>. This parameter is intended only for testing purposes and should never be used in the mainspace. Category:Maintenance categories __EXPECTUNUSEDCATEGORY__" current
- 01:0801:08, 13 October 2024 diff hist +1,035 N Template:UD/doc Created page with "{{Documentation}} Creates a wikilink to update pages with the Update prefix removed. This template is designed to greatly reduce the amount of wikicode required for linking an update on pages such as date pages or lists. It is designed to create a wikilink where the displayed text is exactly the same as the page name without the "Update:" prefix. ==Usage== {{T|UD|Update name}} ==Examples== {{T|UD|Song of t..."
- 01:0801:08, 13 October 2024 diff hist +92 N Template:UD Created page with "<includeonly>[[Update:{{{1}}}|{{{2|{{{1}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>" current
- 01:0801:08, 13 October 2024 diff hist +1,963 N Template:Reflist/doc Created page with "{{Documentation}} __NOTOC__ Use this template to create a reference list in an article with a small font. For details on how to use references, see the reference guide. ==Usage== The basic usage requires no parameters: <pre>{{Reflist}}</pre> ===Quotes=== If the references contain a large number of quotes, to hide the quotes (and only the quotes) add <code>quotes=no</code>: <pre>{{Reflist|quotes=no}}</pre> ===Column wi..." current
- 01:0801:08, 13 October 2024 diff hist +88 N Template:Reflist Created page with "<includeonly>{{#invoke:References|reflist}}</includeonly><noinclude>{{/doc}}</noinclude>" current
- 01:0301:03, 13 October 2024 diff hist +17 N Module:Navbox/doc Created page with "{{Documentation}}"
- 01:0201:02, 13 October 2024 diff hist +20 N Module:Category handler/doc Created page with "{{No_documentation}}"
- 01:0201:02, 13 October 2024 diff hist +1,109 N Template:Elink/doc Created page with "{{Documentation}} This template displays a link to the emote, whilst providing a visual. ==Usage== {{T|Elink|Emote Name|txt=text}} ==Examples== {{T|Elink|Wave}}<br /> {{Elink|Wave}} {{T|Elink|Dance|txt=Caramelldansen}}<br /> {{Elink|Dance|txt=Caramelldansen}} ==See also== * Template:Plink * Template:Ilink ==Parameters== <templatedata> { "description": "", "params": { "1": { "label": "Emote", "description": "This parame..." current
- 01:0201:02, 13 October 2024 diff hist +172 N Template:Elink Created page with "<includeonly>[[File:{{{pic|{{{2|{{{1}}} emote icon}}}}}}.png|link={{{1}}}|35x30px]] [[{{{1}}}|{{{txt|{{{alt|{{{1}}}}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>" current
- 01:0101:01, 13 October 2024 diff hist +3,107 N Template:Ilinkt/doc Created page with "{{Documentation}} The '''icon link table''' template is used to created image-and-text links within tables where the image file is suffixed with "icon". ==Usage== {{T|ilink|item|pic=file name|txt=text|size=size without px}} ==Examples== {|class="wikitable" !Code ! colspan="2" | Produces !Standard syntax |- |<code><nowiki>{{ilinkt|Balance beam}}</nowiki></code> |{{ilinkt|Balance beam}} |<code><nowiki>link=Balance beam||Balance beam</n..." current
- 01:0101:01, 13 October 2024 diff hist +198 N Template:Ilinkt Created page with "<includeonly><span class="plink-template">[[File:{{{pic|{{{1}}} icon}}}.{{{type|png}}}|link={{{1}}}|{{{size|}}}px]]</span>||[[{{{1}}}|{{{txt|{{{1}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>" current
- 01:0101:01, 13 October 2024 diff hist +3,122 N Template:Ilink/doc Created page with "{{Documentation}} This template creates an image and links it to the page as well as including text as well as resizing it to the given size in pixels. ==Usage== {{T|ilink|item|pic=file name|txt=text|size=size without px}} ==Examples== {|class="wikitable" !Code ! style="min-width:150px;" | Produces !Standard syntax |- |<code><nowiki>{{ilink|Balance beam}}</nowiki></code> |{{ilink|Balance beam}} |<code><nowiki>link=Balance beam Balance..." current
- 01:0101:01, 13 October 2024 diff hist +226 N Template:Ilink Created page with "<includeonly><span class="plink-template">[[File:{{{pic|{{{1}}} icon}}}.{{{type|png}}}|link={{{1}}}{{#if:{{{size|}}}|{{!}}{{{size|}}}px}}]]</span> [[{{{1}}}|{{{txt|{{{1}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>" current
- 01:0001:00, 13 October 2024 diff hist +1,832 N Template:Plinkt/doc Created page with "{{Documentation}} The '''picture link table''' template is a variant of {{t|plink}} used to created image-and-text links within tables. ==Usage== {{T|plinkt|item|pic=file name|txt=text}} ==Examples== {|class="wikitable" !Code ! colspan="2" |Produces !Standard syntax |- |<code><nowiki>{{plinkt|Abyssal whip}}</nowiki></code> |{{plinkt|Abyssal whip}} |<code><nowiki>link=Abyssal whip||Abyssal whip</nowiki></code> |- |<code><nowiki>{{plinkt|Gra..." current
- 01:0001:00, 13 October 2024 diff hist +299 N Template:Plinkt Created page with "<includeonly><!-- -->rowspan="{{{rowspan|1}}}" colspan="{{{colspan|1}}}" class="plinkt-image" | [[File:{{{pic|{{{1}}}}}}.png|link={{{1}}}]] ||<!-- -->rowspan="{{{rowspan|1}}}" colspan="{{{colspan|1}}}" class="plinkt-link" | [[{{{1}}}|{{{txt|{{{1}}}}}}]]</includeonly><noinclude>{{/doc}}</noinclude>" current
- 00:5900:59, 13 October 2024 diff hist +4,347 N Template:Ctg/doc Created page with "{{Documentation}} {{Invokes|Category handler}} Adds every category listed in the unnamed parameters to the page it is used on. This handler also includes built in sorting mechanics: * Pages that match the category name exactly will be sorted as <code><nowiki>[[Category:<category>| ]]</nowiki></code>, placing them at the front of the category. ** This rule also applies to titles that are simple plurals of each other; e.g. '''Rune''' and '''Runes''' * Pages that begin wi..."
- 00:5800:58, 13 October 2024 diff hist +992 N Template:Obsidian equipment Created page with "{{Navbox |name = Obsidian equipment |title = Obsidian equipment |gtitle1 = Weapons |gtype1 = Subgroup |group1 = {{navbox |subgroup = Yes |gtitle1 = Melee |group1 = * {{plink|Toktz-xil-ek|txt=Knife}} * {{plink|Toktz-xil-ak|txt=Sword}} * {{plink|Tzhaar-ket-em|txt=Mace}} * {{plink|Tzhaar-ket-om|txt=Maul}} <sup>(t)</sup> |gtitle2 = Ranged |group2 = * {{plink|Toktz-xil-ul|txt=Throwing ring}} |gtitle3 = Magic |group3..." current