RuneScape:Administrative requests/Archive 6

From the RuneScape Wiki, the wiki for all things RuneScape
Jump to: navigation, search
Archive
This page or section is an archive.
Please do not edit the contents of this page. Direct any additional comments to the current project page or contact an administrator for aid if no talk page exists.

Making citations easier to use[edit source]

Here's some stuff that would make citing things easier in both VisualEditor and source editor:

I'm too lazy to do any/all of this. If anyone wants to help (non-admins can fill out TemplateData), please do. Iiii I I I 23:03, 26 March 2019 (UTC)

@Iiii I I I does this still need doing or are you happy for it to be archived? cqm talk 21:17, 22 September 2019 (UTC)

Penguin Locations Gadget[edit source]

... is broken. Highlighting doesn't work. Reset is today. Please fix asap. I suggest just reverting the code. --Saftzie (talk) 00:17, 10 July 2019 (UTC)

Somebody deleted the CSS class that it shares with highlight table. --Saftzie (talk) 00:47, 10 July 2019 (UTC)
This should be fixed now. We changed the highlightTable CSS to only load on pages with table.lighttable, but this didn't catch #pengLocations. Can we move the penguin locations to use the standard lighttable, and make the gadget only deal with the toggling? Are there any downsides to this? ʞooɔ 07:35, 10 July 2019 (UTC)
"Clear highlighted rows" is an ugly long button label. (FWIW, highlightTable is - or has been - a derivative of pengLocations.) I think only one special load instead of two would be preferable. --Saftzie (talk) 03:48, 11 July 2019 (UTC)

MediaWiki:External image whitelist[edit source]

tinypic is shutting down September 16. It already doesn't allow embedding its images. It can be deleted from the whitelist. Maybe add turboimg.net? It seems to be an anonymous, small-image hoster with broad SSL/TLS support like tinypic was. --Saftzie (talk) 23:09, 10 September 2019 (UTC)

@Saftzie I would add it, but currently it's returning 502 errors to me via cloudflare. Do you have any example URLs or a regex I can add in the meantime? cqm talk 21:17, 22 September 2019 (UTC)
All the embedding ("hot-linking") hosts appear to follow the format ^https://s\dd\d\.turboimg\.net/. The front-end for uploading is at https://www.turboimagehost.com/. --Saftzie (talk) 23:19, 24 September 2019 (UTC)
Done cqm talk 17:47, 30 September 2019 (UTC)

perkcalc[edit source]

could someone add <nowiki></nowiki> tags to the perkcalc gadgets so they don't appear in Category:Pages using invalid self-closed HTML tags please? thanks Nericat (talk) 11:15, 28 October 2019 (UTC)

Done. :) Farming-icon.png Salix of Prifddinas (Talk) Prifddinas lodestone icon.png 09:25, 29 October 2019 (UTC)
thanks :d Nericat (talk) 09:44, 29 October 2019 (UTC)

Minor fix to Module:Questreq/data[edit source]

A Guild of Our Own is duplicated on line 31 and 136. They quest requirements also need to be consolidated to {"Started:The Feud", "Lost Her Marbles"} Mnewton (talk) 03:08, 10 November 2019 (UTC)

It has been fixed and I've also reordered everything alphabetically to prevent this in the future. :) Farming-icon.png Salix of Prifddinas (Talk) Prifddinas lodestone icon.png 10:32, 11 November 2019 (UTC)

Add some CSS to fix ironman requirements on Achievement pages[edit source]

Hi :) I'm requesting the following 2 rules be added to Common.css, please.

table .im-task-reqs {
    text-align: left;
}
table .im-task-reqs p {
    margin: 0.8em 0 0 0;
}

This new class "im-task-reqs" would be passed into Template:Ironmanreqs section's "class" parameter on achievement-related pages for a cleaner look. Following image shows the rules in action. Left without the rules, right with. uLHIWev.png

Thanks :) My contributions Dalek SecTalk to me 15:43, 16 November 2019 (UTC)

I've added the rule to MediaWiki:Common.less/ironmanreqs.less Meeeeerds msg 16:27, 16 November 2019 (UTC)

Modification to lighttables for basic rowspan support[edit source]

DEMO PAGE

I've set up a demo page (see link above) that showcases proposed changes to highlightTable-core.js (a.k.a. "lighttables"). These changes would add some basic (read: non-nested) rowspan support to both the hover/click highlight effects of lighttables. As noted on my userpage, the best example would be Yak Track Tasks table.

The UI change I went with was to highlight all rows in a rowspan when any row in the span is hovered/clicked. Some alternatives would be:

  1. Break out the rowspan cells and only highlight the active row + those rowspan cells. In the context of the demo, that would mean the "Tier" cell would always be highlighted, but for the remaining columns only the row under the cursor would get highlighted. This proposes a bit more complexity in the local storage aspect (though I suspect it would be easy to overcome by not using the "rows" mode and storing each cell's highlight state individually).
  2. No change; the OCD in some of us will watch the "Tier" column bounce from highlights/no highlights for span'd rows and cry internally but otherwise survive.

Mr Dew the Green (level: 122) 04:52, 9 December 2019 (UTC)

Please don't delete discussions. Farming-icon.png Salix of Prifddinas (Talk) Prifddinas lodestone icon.png 12:41, 12 December 2019 (UTC)

Adding maintenance template to protected files[edit source]

Need to add {{Java inventory icon}} to:

Habblet (talk) 15:28, 14 December 2019 (UTC)

Has been done Seers headband 2 chathead.png Elessar2 (talk) 15:53, 29 February 2020 (UTC)

Sidebar request[edit source]

Shouldn't "New images" in the sidebar be changed to "New files"? After all that is what the page is actually called, and it also contains sounds and animations. Exaldin (talk) 21:36, 15 January 2020 (UTC)

Done Seers headband 2 chathead.png Elessar2 (talk) 15:53, 29 February 2020 (UTC)

{{Wiki News/doc}}[edit source]

Can someone please place {{Wiki News/doc}} on {{Wiki News}} so it doesn't show up as unused? -Hourglass (2011 Hallowe'en event) detail.png I Am Myself Talk III The Spark.png- 15:58, 27 January 2020 (UTC)

Done User talk:ThePsionic.png: RS3 Inventory image of User talk:ThePsionic ThePsionic Special:Contributions/ThePsionic.png: RS3 Inventory image of Special:Contributions/ThePsionic 16:16, 27 January 2020 (UTC)

Move page over an existing redirect[edit source]

In order to correct the Concentrated sandstone rock page name, it must be moved to the existing redirect page Mineral deposit. I moved the former mineral deposit page to Mineral deposit (disambiguation) and changed the appropriate links from the old page to the new page. Tanrockstan34 (talk) 20:48, 28 January 2020 (UTC)

Done, the page has been moved and renamed where needed. :) Farming-icon.png Salix of Prifddinas (Talk) Prifddinas lodestone icon.png 09:14, 29 January 2020 (UTC)

Purge revision history[edit source]

Might be wise to purge this edit and the one immediately preceding it. 193.58.148.22 10:07, 7 February 2020 (UTC)

The revision has been deleted. Farming-icon.png Salix of Prifddinas (Talk) Prifddinas lodestone icon.png 10:30, 7 February 2020 (UTC)

Dark mode CSS for comboboxes[edit source]

I would like someone to add the dark mode css used on osw to rsw. see ? ? ? ? for an example of how it looks; compare that to Watermelons which doesn't have the same dark mode styles. Nericat (talk) 07:25, 12 February 2020 (UTC)

FWIW, this could be as easy as adding the class mw-input to the <div> container in that template - that would then pick up the darkmode styling defined in MediaWiki:Vector-darkmode.less/elements.less. MrDew (talk) 07:44, 12 February 2020 (UTC)
What parts specifically? The border on the infobox and the switch styles? Seers headband 2 chathead.png Elessar2 (talk) 08:02, 12 February 2020 (UTC)
I'm not sure what the variables are but the styles I believe are
background: #313e59;
color: #cbd9f4;
border-color: #596e96;
border-block-end-color: #596e96;
border-block-start-color: #596e96;
border: 1px solid #596e96;
border-radius: 3px;
Chen (talk) 08:11, 12 February 2020 (UTC)
Styles were added (some time ago) Seers headband 2 chathead.png Elessar2 (talk) 15:24, 29 February 2020 (UTC)

MediaWiki:Gadget-calc-core.js grammar mistake[edit source]

Line 936 and line 1044: param.error = 'Not a valid selction'; This should be: param.error = 'Not a valid selection';

Another bug I've found: If param1 opens param2, which opens param3, then changing param1 doesn't close param3. Eldevidian (talk) 19:58, 28 February 2020 (UTC)

Fixed the grammar. As far as the nested toggles, that's intrinsic to the way I handled them, not sure there's an easy way to do that without a total rewrite of the toggling system. Seers headband 2 chathead.png Elessar2 (talk) 20:43, 28 February 2020 (UTC)


Calculator progress bar CSS[edit source]

I'd like to add the following CSS to MediaWiki:Common.less/calc.less:

.popVoyagesProgressContainer {
	background-color: #393939;
	background-image: url("https://i.imgur.com/k8T7yKH.png");
	background-repeat: repeat;
	border-image: url("https://i.imgur.com/OoghnYv.png");
	border-image-slice: 3;
	border-color: #5e5e5e;
	border-style: solid;
	border-width: 2px 3px 3px 3px;
	position: relative;
	width: 165px;
}

.popVoyagesProgressBar {
	background-image: url("https://i.imgur.com/Cd0Zs3s.png");
	background-color: #5c8945;
	height: 19px;
	position: absolute;
}

.popVoyagesProgressPercent {
	color: '#cbd9f4';
	display: 'table';
	line-height: '15px';
	margin: '0 auto';
	position: 'sticky';
	text-shadow: '-1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000';
}

- Habblet (talk) 12:35, 29 February 2020 (UTC)

Working with Habblet to have the images local and add the css. Seers headband 2 chathead.png Elessar2 (talk) 15:24, 29 February 2020 (UTC)
Has been done. Seers headband 2 chathead.png Elessar2 (talk) 23:21, 29 February 2020 (UTC)


Special:Editcount[edit source]

transcluding Special:Editcount like {{Special:Editcount/Nericat}} returns the wrong value. Template:Editcounts uses this to make a table but it's noticably wrong (at time of writing it says I have 1433 edits despite my main + file edits totalling 1448). I could fix the template by adding all the separate editcounts together, but that seems suboptimal. a better fix would be appreciated. Nericat (talk) 03:17, 16 July 2019 (UTC)

Tagging @JaydenKieran and @TehKittyCat as I believe this will be something requiring sysadmin attention. At time of writing, {{Special:Editcount/Cqm}} returns 2632 which is not my mainspace edit count or any obvious combination of edits across other namespaces. Could one of you take a peek to see where the number are coming from? cqm talk 21:17, 22 September 2019 (UTC)
Quoting from answer in Discord:

The various editcounts aren't wrong, just computed in different ways. The internal editcount exists as a metric for account usage (in abuse filters, and setting autoconfirmed), so it makes sense for it to be shared across wikis, which is shown on Special:Preferences, and never decreases (deleting revisions/pages doesn't decrement). {{Special:Editcount}} uses the value from Special:Preferences if a namespace isn't given. Whereas if a namespace is given to {{Special:Editcount}} or if on Special:Editcount, only non-deleted revisions are included and unlike the internal editcount, moves are counted twice (source and destination). The fork does have some impact if comparing to Wikia's value, because edit count had to be populated for existing accounts, so only non-deleted revisions at the time of fork counted for the initial edit count, whereas Wikia's included deleted revisions and revisions for Wikia-only namespaces we deleted.

cqm talk 18:34, 29 February 2020 (UTC)

Popcalc CSS v2[edit source]

I'd like to add the following CSS, used in Calculator:Player-owned ports voyages, to MediaWiki:Common.less/calc.less:

#popVoyagesCalcForm #popVoyagesCalcForm-popVoyagesCalcResult-farthestRegion > div.oo-ui-optionWidget.oo-ui-buttonElement > a.oo-ui-buttonElement-button {
    padding-left: 2em;
    min-height: 2em;
    background-position: 0.3em center;
    background-size: auto 1.4em;
    background-repeat: no-repeat;
}

#popVoyagesCalcForm [title="The Arc"] {
    background-image: url("/images/d/d7/Bamboo_icon.png?05f2d");
}

#popVoyagesCalcForm [title="The Skull"] {
    background-image: url("/images/4/49/Gunpowder_icon.png?d695f");
}

#popVoyagesCalcForm [title="The Hook"] {
    background-image: url("/images/e/e7/Slate_icon.png?43cdd");
}

#popVoyagesCalcForm [title="The Scythe"] {
    background-image: url("/images/c/cc/Cherrywood_icon.png?71a41");
}

#popVoyagesCalcForm [title="The Bowl"] {
    background-image: url("/images/b/be/Jade_icon.png?aef27");
}

#popVoyagesCalcForm [title="The Pincers"] {
    background-image: url("/images/9/97/Stainless_steel_icon.png?91858");
}

#popVoyagesCalcForm [title="The Loop"] {
    background-image: url("/images/0/0f/Terracotta_icon.png?b3411");
}

#popVoyagesCalcForm [title="The Shield"] {
    background-image: url("/images/2/20/Azure_icon.png?600e1");
}

Habblet (talk) 22:21, 6 March 2020 (UTC)

Or add it to MediaWiki:Gadget-popcalc.css (MediaWiki:Gadget-popcalc), then add this: popcalc[ResourceLoader|type=styles|default]|popcalc.css to MediaWiki:Gadgets-definition#Calculators - Habblet (talk) 11:35, 8 March 2020 (UTC)
Done Meeeeerds msg 17:09, 16 March 2020 (UTC)

mw-header CSS[edit source]

Add this

overflow: hidden;

to

.mw-header

so the underline cuts off before infoboxes

Before and after

Habblet (talk) 22:42, 6 March 2020 (UTC)

Done Meeeeerds msg 17:10, 16 March 2020 (UTC)

Update references to w*kia[edit source]

Update references to w*kia on MediaWiki:Common.js/spreport.js, MediaWiki:Gadget-calc2-core.js and MediaWiki:Common.js/Watchlist.js (the latter one is obsolete) - Habblet (talk) 11:39, 8 March 2020 (UTC)

They have been dealt with. Seers headband 2 chathead.png Elessar2 (talk) 17:19, 16 March 2020 (UTC)

"Vulgar" trivia, worth adding?[edit source]

I just attempted to add this piece of trivia to the Great Pecker page, and it was flagged for vandalism:

"* The name is perhaps an innuendo, as "pecker" can also mean p*nis."

I personally think this is noteworthy, but I admit it's not necessary. I also think it's likely, in light of other innuendos we have from Jagex, e.g. "very good baiter," an obvious reference to the classic "master baiter" pun. Armadyl the GoodAnastasious, Feal to Armadyl (Talk)Armadyl the True 23:43, 11 March 2020 (UTC)

I'd disagree that it's an innuendo, given the existence of birds such as wikipedia:Woodpecker. For now, I'm inclined to not add this trivia. cqm talk 22:04, 4 April 2020 (UTC)

Uniform table row borders in navboxes[edit source]

To keep table row borders uniform in navboxes, in Module:Navbox, change the following

	tbl
		:attr( {
			['data-expandtext'] = 'show',
			['data-collapsetext'] = 'hide'
		} )

to:

	tbl
		:attr( {
        	['cellspacing'] = '0',
			['data-expandtext'] = 'show',
			['data-collapsetext'] = 'hide'
		} )

And in MediaWiki:Common.less/navbox.less, remove border-collapse: collapse; from

.navbox {
    font-size: .85em;
    background: @white;
    border-collapse: collapse;
    margin: 15px auto;
    width: 100%;
    clear: both;

Before and after:

  • MV9dPVA.png
  • OSS9zpg.png

Habblet (talk) 12:28, 14 March 2020 (UTC)

Done Meeeeerds msg 17:10, 16 March 2020 (UTC)

Dark Mode CSS changes for Doogle Maps[edit source]

Requesting the following CSS changes for increased readability in Dark Mode while viewing map pop-ups. Screenshot of the before-and-after changes posted in Discord.

11 #mw-panel .portal .body li a /* sidebar */ {

to:

11 #mw-panel .portal .body li a, /* sidebar */
12 .mw-kartographer-interactive.leaflet-container a /* doogle maps popups */ {
15 .mw-kartographer-interactive {
16     &.leaflet-container {
17         color: @dark-text;
18     }
19     
20     .leaflet-popup-content-wrapper {
21         background-color: @pickled-bluewood;
22     }
23     
24     .leaflet-popup-tip {
25         border-top-color: @pickled-bluewood;
26     }
27 }
Done Meeeeerds msg 19:04, 16 March 2020 (UTC)

Update to Navbox module (categories param)[edit source]

Added a gcat parameter (takes comma-delimited category names) to subnavboxes, to apply categories to links found within them. Copy Module:Navbox/test to Module:Navbox and feel free to improve it - Habblet (talk) 17:00, 17 March 2020 (UTC)

Updated to copy OSW's SMW removal - Habblet (talk) 00:02, 27 March 2020 (UTC)
Done Meeeeerds msg 00:08, 27 March 2020 (UTC)

Delete User talk:[edit source]

I wish to delete this page.  —The preceding unsigned comment was added by [[Special:Contributions/|]] ([[:User talk:|talk]]) on 12:31, 4 April 2020 (UTC).

Done. HaidroH rune.pngEagle feather 3.pngCandle (blood red).png 1XqyDNM.png Crystal triskelion fragment 3.pngHazelmere's signet ring.png 13:50, 4 April 2020 (UTC)

Rename / Delete User[edit source]

Hi can you please rename my username to rs3wikifanguy or delete my account. Thank you.  —The preceding unsigned comment was added by MrFarbodD (talk) on 14:50, 7 April 2020 (UTC).

Unfortunately, renaming accounts on this wiki platform is not possible yet. If you want to delete your account, please send a message via Special:Contact. Farming-icon.png Salix of Prifddinas (Talk) Prifddinas lodestone icon.png 15:16, 7 April 2020 (UTC)

Lady Hefin's tent[edit source]

Please move/rename File:Tetracompass Lord Amlodd tent.png to File:Tetracompass Lady Hefin tent.png or File:Tetracompass Elf hermit tent.png Exaldin (talk) 23:15, 8 April 2020 (UTC)

Done Talk to Kelsey 23:18, 8 April 2020 (UTC)

Move request[edit source]

Can an admin please move [[Rubber (disambiguation)]] to Rubber please? There is no actual item with the name "Rubber", therefore the disambiguation page does not need "(disambiguation)". The guy who made it clearly didn't know about that... RuneMetrics Paul Z Talk bite me HS Contributions 14:21, 13 April 2020 (UTC)

Done. HaidroH rune.pngEagle feather 3.pngCandle (blood red).png 1XqyDNM.png Crystal triskelion fragment 3.pngHazelmere's signet ring.png 14:22, 13 April 2020 (UTC)

Template:Welcome[edit source]

Can we do something with the logo on Template:Welcome to make it actually visible please? Looks a bit silly at the moment with a white logo on light grey background. Henneyj 22:21, 8 May 2020 (UTC)

Added a drop shadow to make it more visible - Habblet (talk) 15:47, 13 May 2020 (UTC)

Move requests[edit source]

Can an admin move Polar Kebbit to "Polar kebbit" so that it's correctly named, and also in-line with all the other kebbits? RuneMetrics Paul Z Talk bite me HS Contributions 00:15, 13 May 2020 (UTC)

Edit: Same thing but for Feldip Weasel to be moved to "Feldip weasel". RuneMetrics Paul Z Talk bite me HS Contributions 00:18, 13 May 2020 (UTC)
Done - Habblet (talk) 19:35, 13 May 2020 (UTC)

Fix switchfo boxes breaking Doogle maps[edit source]

Currently, the interactive maps become broken if you switch any switchfo box. Apparently, the leafletjs code isn't intended to gracefully support having its DOM container being ripped out from under it. However, there's a simple solution: Tell the Kartographer code to re-initialise all kartographer map frames on the page via emitting a wikipage.content event.

One efficient way to do this would be to modify MediaWiki:Gadget-switch-infobox.js's init() function to register a post-switch callback if a Kartographer map is detected at page load. In others, replace line 608 with the following:

608 		window.switchEventManager.applyDefaultVersion();
609 
610 		// reinitialize any kartographer map frames added due to a switch
611 		if ($('.infobox-switch .mw-kartographer-map').length
612 		 || $('.switch-infobox .mw-kartographer-map').length
613 		 || $('.rsw-synced-switch .mw-karographer-map').length) {
614 			window.switchEventManager.addPostSwitchEvent(function() {
615 				mw.hook('wikipage.content').fire($('#mw-content-text'))
616 			});
617 		}
618 }

MrDew (talk) 07:44, 29 May 2020 (UTC)

Edited code snippet to target the entire article contents in the event after realizing the Kartographer extension tears down all maps on the page and then only rebuilds the ones targeted by the event. MrDew (talk) 08:29, 29 May 2020 (UTC)
Done - Habblet (talk) 09:46, 29 May 2020 (UTC)

Make Chart.js work with form calculators[edit source]

Requesting the following JS changes to make form calculators work with Chart.js:

In MediaWiki:Gadget-calc-core.js in function dispResult add these lines

806 if ($('.rsw-chartjs-config').length) {
807     mw.loader.load('ext.gadget.Charts-core');
808 }

In MediaWiki:Gadget-Charts-core.js add

58 function addHook() {
59     mw.hook('rscalc.submit').add(init);
60     if (!window.charts) { 
61         init();
62     }
63 }

and change then(init, function(){console.error("Failed to load chart.js");}); to then(addHook, function(){console.error("Failed to load chart.js");});. Invention.pngCephHunter talkSlayer.png 23:56, 3 July 2020 (UTC)

Done, good stuff Quest.png Gaz Lloyd 7:^]Events!99s 04:09, 4 July 2020 (UTC)

Please add following to MediaWiki:Common.css[edit source]

Hi, I have added Chronotes functionality to Module:Currency upon a users request in the discord. I have already created Template:Chronotes but require the following to be added to MediaWiki:Common.css for the images to work.

.chronotes-10000 {
    background-image: url('filepath://Chronotes_10000.png');
    padding: 1px 0 1px 34px;
}

.chronotes-1000 {
    background-image: url('filepath://Chronotes_1000.png');
    padding: 1px 0 1px 34px;
}

.chronotes-250 {
    background-image: url('filepath://Chronotes_250.png');
    padding: 1px 0 1px 32px;
}

.chronotes-100 {
    background-image: url('filepath://Chronotes_100.png');
    padding: 1px 0px 1px 32px;
}

.chronotes-25 {
    background-image: url('filepath://Chronotes_25.png');
    padding-left: 32px;
}

.chronotes-5 {
    background-image: url('filepath://Chronotes_5.png');
    padding-left: 32px;
}

.chronotes-4 {
    background-image: url('filepath://Chronotes_4.png');
    padding-left: 30px;
}

.chronotes-3 {
    background-image: url('filepath://Chronotes_3.png');
    padding-left: 30px;
}

.chronotes-2 {
    background-image: url('filepath://Chronotes_2.png');
    padding-left: 30px;
}

.chronotes-1 {
    background-image: url('filepath://Chronotes_1.png');
    padding-left: 28px;
}

Thanks, Lava hawk.png BlackHawk (Talk)    13:16, 1 August 2020 (UTC)

Done Seers headband 2 chathead.png Elessar2 (talk) 13:24, 1 August 2020 (UTC)

Ele won't offset her top[edit source]

For those (oh so many) of us who have the "Sticky header" feature enabled in MediaWiki:Gadget-skinTogglesNew.js and use the API page to test API queries, the JS console gets spammed with errors whenever you scroll the page. This is caused by the gadget assuming targetEle found the head nav link container and trying to read its offsetTop during every scroll event. The API preview pages have no such element, hence the spam.

Could someone modify the gadget to correct this? One potential solution with minimal change would be to find this:

136 					  	var targetEle = document.getElementById("mw-head");

and after it add this:

137 					  	if (!targetEle) {
138                         	return;
139                         }

TIA - MrDew (talk) 07:56, 2 September 2020 (UTC)

Done Lava hawk.png BlackHawk (Talk)    08:08, 2 September 2020 (UTC)