RuneScape:Administrative requests

Administrator requests
Note: Please only make requests on this page that specifically require sysop tools to fulfill.

Better pengLocation script
I have improved the script that makes the list in dndl selectable.

The new script can be tested here: User:Tyilo/PengTest

You will need to include importScript('User:Tyilo/peng_test.js'); in your skin.js

The improvements are:
 * When you select an item in the long list it will also be selected in the short list (and vice versa).
 * "Reset marked locations" button on both lists.
 * Option to float the shortlist.

The new script is located here: User:Tyilo/peng_test.js

If you accept this improvement you will need to change the line containing if (wgPageName == 'User:Tyilo/PengTest') /*(wgPageName == 'Distractions_and_Diversions_Locations' || wgPageName == 'Distractions_and_Diversions_Locations/Penguin_Hide_and_Seek')*/ {

with

if (wgPageName == 'Distractions_and_Diversions_Locations' || wgPageName == 'Distractions_and_Diversions_Locations/Penguin_Hide_and_Seek') {

22:10, February 1, 2012 (UTC)


 * As the guy who updates the page with Team Penguin info, I would point out that the "short list" isn't really part of the page nor is it something I intend to maintain. I don't see a lot of value in entering the same information twice to keep 2 lists of the same info on the same page. Perhaps that discussion should occur first. -- 01:09, February 2, 2012 (UTC)


 * If you don't have a gigantic display you can't see all the penguins at once. But with the short list you can quickly get an overview of all the penguins. 01:17, February 2, 2012 (UTC)
 * I could easily just remove the maps. -- 02:48, February 2, 2012 (UTC)
 * Is it possible to have a hide/show option for the map column, so they are still there, but can be hidden if people just want the short list? 02:57, February 2, 2012 (UTC)
 * I don't think we should leave out the maps. It would be possible to have a hide/show option, but should it be for each penguin or one at the top hiding/showing all maps at once? 06:29, February 2, 2012 (UTC)
 * One at the top makes the most sense. I'm assuming it's possible, not 100% sure though. 09:34, February 2, 2012 (UTC)
 * I have updated the script at User:Tyilo/PengTest with the option to hide/show the maps on the large table.
 * I'd suggest removing the support for the "short list" (floating, syncing selected rows, whatever else) from the js, since the whole point of hiding the maps is to make the short list unnecessary. Also, if we ever deploy the script, I'd suggest NOT doing it around peng reset time. -- 11:14, February 6, 2012 (UTC)
 * I'd suggest removing the support for the "short list" (floating, syncing selected rows, whatever else) from the js, since the whole point of hiding the maps is to make the short list unnecessary. Also, if we ever deploy the script, I'd suggest NOT doing it around peng reset time. -- 11:14, February 6, 2012 (UTC)

Comment - Would this become obsolete with Forum:New javascript calculators (if it passes)? 14:25, March 6, 2012 (UTC)
 * It's not even close to being a calculator, so no. -- 18:51, March 6, 2012 (UTC)
 * Well the calculator script also has something for penguin points, so it could be. 12:44, March 10, 2012 (UTC)
 * Have a look at the page. It's a list of spawn points (a table), which changes weekly. Ten penguins are chosen from approximately 65 possible ones. This JS deals with highlighting and formatting the table. No calculation occurs. -- 13:11, March 10, 2012 (UTC)
 * The script by Stewbasic doesn't just calculate. It also deals with highlighting. Check User:Stewbasic/calc after importing User:Stewbasic/calc.js to your JS to see. And even if your script does more than that, couldn't you just talk to stewbasic and ask him to merge the scripts? 14:02, March 10, 2012 (UTC)

Fix nature rune's display of alchemy prices
On the Common Trade Index and other pages, the alchemy price of nature runes doesn't display. The following change to Template:ExcgTable will fix this: Change these lines from this: | |

To this: | | --Jackmcbarn 01:05, March 25, 2012 (UTC)


 * The intent of the first code snippet is to use 0.4*Value as the LowAlch and 0.6*Value as the HighAlch, doing away with the LowAlch and HighAlch parameters. Apparently it's buggy. Your code snippet, however, turns the calculations of 0.4*Value and 0.6*Value into dead code. -- 01:31, March 25, 2012 (UTC)
 * It doesn't make them into dead code. It says to use HighAlch and LowAlch only if they are passed, which is only the case for nature runes, because they use ExchangeItemNat instead of ExchangeItem. For all other items, the #if switch uses the Value parameter, since HighAlch and LowAlch aren't passed. --Jackmcbarn 01:36, March 25, 2012 (UTC)
 * I see that Template:ExchangeItemNat calculates the values of LowAlch and HighAlch and passes them instead of the value for Value. I'm uncertain why someone was trying to make a special case for nature runes, but if Template:ExcgTable is going to use the value of Value, then Template:ExchangeItemNat should pass that instead of calculating the values of LowAlch and HighAlch (and passing them). Since these pages are protected and since Exchange:Nature rune has the comment not to touch anything, perhaps someone could explain why nature runes are a special case that get their own (broken) templates. -- 01:54, March 25, 2012 (UTC)
 * I believe it's for Category:Profitable Alchemy Items - the profitability is calculated on the exchange page using the price of nature runes. If this was attempted on the nature rune page it would cause a template loop, so the nature rune uses different templates to avoid this. -- 02:06, March 25, 2012 (UTC)


 * Would probably be better just to change Template:ExchangeItemNat in accordance with the change on the regular ExchangeItem template. Change:
 * |table=
 * to
 * |table=
 * -- 01:51, March 25, 2012 (UTC)
 * I'm not sure where exactly profitable alching is calculated, so I'm not sure if that would break it or not, but if it wouldn't, I'm fine with doing it instead. --Jackmcbarn 02:31, March 25, 2012 (UTC)
 * Primarily for use in Grand Exchange Market Watch/High Alchemy. 14:07, March 25, 2012 (UTC)
 * I'm concerned with the section where items are added to the profitable alchemy category. --Jackmcbarn 14:23, March 25, 2012 (UTC)
 * Oh I misread, its in ExcgDefault:

--><!--
 * 14:28, March 25, 2012 (UTC)
 * Okay, making the change to ExcgDefault ExchangeItemNat looks safe. While we're editing this, though, ExcgDefaultNat is way out of date with new changes too. --Jackmcbarn 14:51, March 25, 2012 (UTC)

Fix MediaWiki:Common.js/sitemeter.js
The sitemeter counter appears in Monobook, but not in Oasis. Please check the code and fix it. Thanks! 09:45, April 2, 2012 (UTC)
 * For me, the thing still appears at the "RuneScape Wiki Copyright" notice. 19:26, April 2, 2012 (UTC)
 * Oh, my bad. 22:42, April 2, 2012 (UTC)

People randomly changing the theme..
1. Can someone figure out how to change the ToC color as well as the border color around image thumbs? This would be helpful when changing themes in the future because currently it's ugly, and you can't see the voted-on-text-color with the beige.

2. When in editing mode, the color at the top where it says what page you're editing also retains the ugly beige.

3. The colors when viewing differences also retains its default beige thing.

Please and thanks. 02:38, April 6, 2012 (UTC)
 * I was the random changer, but it had to be done (links couldn't be seen in the ToC, image borders, etc). All the issues you mentioned are controlled by Mediawiki:Common.css afaik, but I'm not exactly sure how to fix them... -- 02:48, April 6, 2012 (UTC)
 * Yeah I know. (: Some of the colors I could find with ctrl+f, but I don't dare change them. Couldn't find the beige background color at all. So confused, hopefully someone (Ryan/iiiiiii) will come along. <3 02:55, April 6, 2012 (UTC)

removed styling in wikia.css for ToC, changed header bar to darker brown, reduced the amount of bright-green, and changed boxes on main page to match the background. i still have to fix colors for infoboxes, templates, and the Yew Grove. hope you don't mind me hijacking your theme. -- 17:53, April 6, 2012 (UTC)