RuneScape:Administrative requests

From the RuneScape Wiki, the wiki for all things RuneScape
(Redirected from RuneScape:AR)
Jump to: navigation, search
Shortcuts:
If you are reporting vandalism in progress, use this page.

What this page is for[edit source]

    • Protecting and unprotecting pages.
      Highly visible pages or content that may have links from outside websites are encouraged to have some level of protection. This should be done according to the RuneScape:Protection policy.
    • Moving protected pages and files.
      Due to misuse of the page move tool, some pages are protected from being renamed except by an administrator. If you can make a case for a page move, requests for the page move can happen here.
    • Minor edits to protected pages.
      This commonly applies to protected templates that can have a substantial impact on thousands of pages if they are changed, so caution is urged when they are modified.
    • Importing pages from another wiki.
      While seldom used for content on this wiki, this is an option that is available for bringing in content from another wiki and preserving its edit history, which requires administrator rights.
    • Hiding revisions and edit summaries.
      In the case of copyright violations, privacy violations, offensive material, etc., revisions may be hidden using Special:RevisionDelete.
    • General questions for the administrators.
      You will get a faster reply by joining our Discord server and asking there; however, you can still post here and the administrators will answer to the best of their abilities.

What this page is not for[edit source]

    • Requests for deletion.
      If you believe an article does not meet the wiki's standards, post on Requests for deletion. Spam, accidental page creations, and other similar issues should be tagged with {{D|Reason}}.
    • Issues that do not require administrator tools to resolve.
      Visit the user help page instead. If you're not sure if your problem requires an administrator, post it here.
    • Users who may be vandalising pages.
      Instead, please report the user on the Counter-Vandalism Unit.
    • Requests to become an administrator.
      If you are interested in learning what administrators do and how to become one, please visit Administrators for information on the role and Requests for adminship for the process of becoming an administrator.
    • Account deletion requests.
      This is not possible.
    • Account renaming requests.
      This is currently not possible.

Request Content Security Policy addition[edit source]

Please add https://platform.twitter.com to the content security policy to support embedded twitter histories. I have one on my User: page (and the js to load the history in my common.js). I believe this is a web server thing, not a MediaWiki thing, since the CSP is sent in an HTTP header, not as part of the HTML. According to my web console, the current CSP for runescape.wiki is

script-src https://runescape.wiki 'unsafe-inline' 'unsafe-eval' https://static.cloudflareinsights.com/beacon.min.js https://en.wikipedia.org https://commons.wikimedia.org https://www.mediawiki.org https://code.highcharts.com https://ajax.cloudflare.com/ https://cdnjs.cloudflare.com/ajax/libs/Chart.js/ https://www.google.com/recaptcha/ https://www.gstatic.com/recaptcha/ https://www.google-analytics.com https://www.googletagmanager.com https://*.weirdgloop.org https://*.runescape.wiki https://unpkg.com

Thanks. --Saftzie (talk) 01:04, 1 January 2020 (UTC)

  • Copying from my talk page....
    Is the request on RuneScape:Administrative requests still something necessary? couldn't see anything on your userpages. Seers headband 2 chathead.png Elessar2 (talk) 16:15, 29 February 2020 (UTC)
    Yes. The Twitter JS won't run, because the CSP prohibits it. Also, the widget is still there on my User: page. --Saftzie (talk) 23:34, 3 March 2020 (UTC)
@Saftzie Raised a PR to fix this, I'll update when it's merged. cqm talk 09:32, 7 March 2020 (UTC)
PR has been rejected by sysadmins on the basis that modifying the CSP for user scripts isn't a precedent they want to set. There's an open bug in MediaWiki to allow the CSP to be set on a per-user basis which would fix this. I also raised the question of re-adding the twitter tags we used to have on Wikia - at the time of the fork, no replacement was available. Since then the Wikia extension had been ported, so that's an option to explore. cqm talk 09:10, 8 March 2020 (UTC)
You can just use my JS, too. I doubt the extension does anything differently. Seriously, it just parses a tag, then runs JS from twitter.com. Do we not trust twitter.com? This seems like functionality the wiki could use on, say, the Main Page. --Saftzie (talk) 22:35, 10 March 2020 (UTC)
Just to add on here, even though this is old: we're currently looking to reduce our CSP a bit so don't expect expansions to it for the time being. Quest.png Gaz Lloyd 7:^]Events!99s 01:16, 22 April 2020 (UTC)

AbuseFilter rule 13[edit source]

AbuseFilter rule 13 (the warn-IPs-when-editing-in-userspace rule) currently has some exceptions for a few particular project-like pages. I feel like it would be more elegant (and more convenient for users who can't edit filters themselves) to let users somehow tag such pages themselves instead, and have that stop this filter from triggering - something like a mostly empty Template:NoWarnIP and replacing the filter's individual exceptions with something like | "{{NoWarnIP}}" in old_wikitext perhaps?

Also, as a side note, that filter uses the deprecated variable article_text, which should probably be replaced with page_title. -Hourglass (2011 Hallowe'en event) detail.png I Am Fendse Talk III The Spark.png- 19:17, 9 February 2020 (UTC)

I took a look in the code with regards to the deprecated variables and it appears that the REL1_31 branch (which I think we use as we're using mw 1.31.*) does not have these deprecations yet. It's harder to tell if the variables exist in that version, but I suspect not. Until we upgrade, I don't think we should update the abusefilters to avoid the deprecated variables. cqm talk 22:13, 4 April 2020 (UTC)
We do not support the new variable names yet (they throw syntax errors if you try). Quest.png Gaz Lloyd 7:^]Events!99s 01:16, 22 April 2020 (UTC)


Autosort feature wanted[edit source]

The jquery tablesorter supports sorting on multiple columns. To test this click the sorting arrow on one column, hold the shift key and click the arrow on another column.

It would be very useful if this could be supported with the autosort gadget (on osrswiki as well). Say you have a table of equipment bonuses and you wanted to sort it by melee strength first then by prayer bonus second. This is something that isn't currently supported, but it could be, with little effort. Although I suck at javascript so it would be nice if someone more familiar with javascript could take it upon themself to implement this.

To stay backwards compatible with the current syntax I propose using space or alternatively semicolon as a separator between the sorting columns, like so: "2,a 3,a", this would then sort ascending by the second column first, then by the third column.

A big reason for why I'm requesting this is because in SMW sorting on properties that aren't set will remove these entries from the results. In other words sorting in SMW is a potentially destructive operation, and should be discouraged in favor of either Lua table.sort() or jquery tablesorter (autosort). --The scribe (T | C) 05:42, 25 October 2020 (UTC)

Automatically get the users invention level in Gadget-perkcalc-core.js[edit source]

It'd be nice to grab the users invention level in the perkcalc. Since the calc isn't properly integrated into all the normal skill calculator code and as such can't take advantage of all its lovely templating, would a small hack to quickly grab it be sufficient?

I threw this together, though it likely won't be acceptable ;) :

((await (await fetch(`https://runescape.wiki/cors/m=hiscore/index_lite.ws?player=${window.localStorage.getItem("rsn")}`)).text())?.split("\n")?.[27]?.split(",")?.[1]) || 120

Makeshift (talk) 00:29, 13 January 2021 (UTC)

Typo in https://runescape.wiki/w/MediaWiki:Gadget-bestiary-core.js[edit source]

There is a typo in makeShortLink on line 42. Should end with indexOf(q.restriction))); E2 e8 (talk) 10:08, 13 February 2021 (UTC)

Thanks, fixed Quest.png Gaz Lloyd 7:^]Events!99s 13:36, 13 February 2021 (UTC)