User talk:Cqm

Feedback abuselog
Why was it hidden from public again? How would willing editors know what to improve on the page, if the feedback for said page is offlimits? --Jlun2 (talk) 02:16, September 27, 2014 (UTC)

RSHiscores Update
Hi, I am TehKittyCat, or well Catcrewser until the renaming finishes and the account is unlocked so I can reply to this to confirm it is indeed me (although an IP lookup would confirm). I'm in the process of becoming active again and noticed RSHiscores is working again, which means Wikia finally fixed their firewall (the debug code was temporary to confirm it was on Wikia’s side and not a block by Jagex). As such, I would like to remove that debug code, cleanup RSHiscores (I went blind when I saw my coding style on it yesterday) and fix its design shortcomings that exist in the age of Lua and (in-hindsight) for the JS calculators it was primarily designed for. I saw in Forum:Scraping hiscore data for calculators that you were most familiar with the code, so I thought I would it be best to collaborate with you. I agree with adding a data parameter, in-fact that’s what I should have made the extension output by default, but I was focused on reducing processing time for template usage by doing everything in-code rather than with parser functions, that I neglected that JS could just do a single call for the raw data and parse everything itself. Do you think the parsing on the extension-side is still beneficial in this Lua/JS age? Given its purpose for all-things hiscores I am considering adding support for the 2007scape hiscores and the new JSON-based apis as well, but haven’t decided on the interface. In context of that thread, I would like to confirm the limit is two users (for comparisons), not two calls, since I was concerned of the possibility of abuse and before I wrote the extension attempts to use YQL(see the existing calc.js) and other sites like anyorigin were made, but they were unreliable and subject to limiting. Ultimately the best solution is for Jagex to add CORS headers to their APIs, for which the Origin header would prevent the abuse of. At the time, support for that wasn’t widespread so didn’t pursue suggesting that (although I did propose the GE APIs that now exist). Do we still have contacts to suggest this, such as the fansite email? In the meantime I’ll fix RSHiscores. Btw, the code is now at and I've added the full history, including Wikia's changes, please feel free to submit any changes there. -- 71.31.104.70 17:50, September 30, 2014 (UTC)


 * Hi :) I saw your userpage update the other day and have been meaning to ask you about it, but sadly haven't found the time to sit down and work out what we need. I have to say I was pleasantly surprised to find it still worked, I was expecting it to only work with the API as you'd last seen it which didn't reflect new skills/minigames being released. If you're looking to redo some of it, it might be worth taking a look at the current standard of parser functions set out by mediawiki. I'm not sure if they've changed all that much but they've made a number of large scale changes since RSHiscores was originally written, so it's probably worth checking just in case.
 * With regards to lua, it's not possible to convert the extension to pure lua at the moment, due to mediawiki's stripped down version of lua not having any way to make http requests. I think LuaSocket adds this functionality, but I haven't got around to exploring how likely it is for us to get that. In the mean time, an extension is probably the best way to go about getting the data. As for the parsing, lua could do the job but I don't think there's much difference about where it happens as long as we can update it when we need. Unfortunately, code updates made by 3rd parties to the wikia codebase can take weeks, or even months, to be merged so perhaps we should factor that in when considering any updates or relocation of parsing.
 * As for the fansite contacts, I'm not sure what's going on with that at the moment. There were a few incidents recently, last I heard we're waiting on a reply to an email discussing a number of issues. However, as this is more technical I don't see why it would conflict with that discussion and it's certainly worth a try.


 * Thanks for replying here, I don't know where best to reply is either, it has been two days for far. Yeah, I specifically made sure to relatively future-proof the extension after Jagex changed the API to add minigames and knowing Wikia's slow updates I left the skill naming to templates. I didn't mean convert the extension to Lua, but I can add extensions to the Lua side or at least make it native (otherwise the returned numbers are Lua strings), for example ParserFunctions does this, though for now something like frame:callParserFunction( '#hs', { 'TehKitty-Cat', 0 }) should work. I know the slow update routine, it took 2 months to get the extension added the first time and about a month for every update to it. I'll try an email. Just let me know any suggestions you have, I'll try to add a plan to wiki page or maybe track it on Github. If IRC would be a better place to discuss this, just let me know. -- 71.31.104.70 00:59, October 1, 2014 (UTC)


 * Here is my draft email for proposing adding CORS headers to the Hiscores API, I'm going to think it over a bit more before sending, so feel free to suggest any changes before I send it. -- 71.31.104.70 03:12, October 1, 2014 (UTC)


 * I'd suggest expanding the CORS headers scope to the GED API as well as the hiscores api and any other jagex might have such as the bestiary. I'm not sure if the GED API actually returns application/json as the content type either (YQL, Anyorigin and Whateverorigin all return something slightly different) so maybe we could get them to check that at the same time?
 * I am curious why you added both a parser function and a magic word in the extension. Assuming the parser function returns either the parsed data or the entire data string (in a sort of .csv format), adding a magic word would prevent the template from working removing the local level of control. Or have I misunderstood something? Incidentally, hs isn't a magic word, so I got a bit confused when I was looking at it


 * Okay, I'll expand the scope of the request, I meant to, but I overly focused on the hiscores API. Incidentally, it doesn't matter the content type, all cross-origin requests through XMLHttpRequest are blocked by default. It turns out the restriction can be disabled for testing using '--disable-web-security' in Chrome. Unfortunately, with my account locked (I decided 3 days was long enough before requesting a status update, so I just sent Wikia an email) I can't double check at the moment what I'm saying is true in practice. I'll get a calculator working with that disabled before sending the email though. Yeah, when I reviewed my code I was thrown off by the magic word as well, but removing it causes an exception, it turns out there are two types of magic words -- variables and parser functions. That said, the mechanism has been deprecated since I wrote RSHiscores, unfortunately that is what allowed me to use a single file, so since I have to add a i18n file for the magic word anyways, I'll make my extension laid out properly as required for use on Wikimedia wikis. The magic word is actually '#hs', because unless it's added with the 'SFH_NO_HASH' flag, the parser function magic word gets a '#' prefix. -- 75.88.125.5 19:33, October 1, 2014 (UTC)


 * Here is an updated draft email, I think it better handles the issues and resolves concern about the other APIs. -- 75.88.125.5 20:04, October 1, 2014 (UTC)


 * That looks good :) Let me know what they say, or if the do at all


 * As of a week ago, it was passed to the web team. I haven't heard anything since, hopefully because of RuneFest. I'll get back to updating RSHiscores and adding commented-out JS support for if/when Jagex implements the CORS changes. - 14:49, October 14, 2014 (UTC)


 * Yep, Wikia never replied back after determining the problem was the rename job stalled, so I decided enough was enough and moved the pages myself. I merged the pull request, the repository is already much better than the wiki page. That's fine, eventually I planned to do that anyway as part of code style, though currently I'm trying to get a local instance of Wikia running for better testing. I managed it 3 years ago, hopefully Wikia hasn't broken things too much more. - 17:46, October 14, 2014 (UTC)

Resetting indentation level. Sorry for not responding here sooner, but I saw your replies and work on GitHub, then ended up carried away coding. Please check the latest code for the results of that. I'm not done, but I think the code is in much better shape, especially after your restructuring and cleaning, along with my initial conversion to OO-style. To-do is still support for raw data, double-checking Lua handling, support for other hiscores, and general reusability (aka splitting render). I don't like how I had to initialise cURL, but unfortunately PHP lacks static constructors. I've seen MediaWiki's vagrant, but haven't gotten around to setting it up yet, however, I am using MediaWiki with full debugging enabled. I hit a dead-end on the Wikia setup and didn't feel like digging through backups to find how I fixed the code and setup the tables years ago, so I'll just copy over as needed for testing. - 17:23, October 17, 2014 (UTC)


 * Adding OS hiscores support at this point is simple, but before I do anymore changes I need to really plan out the interface and test the calculators locally, especially since I just remembered why the original API did what it did, but proving the reasons right or wrong will require some testing. Looking at the existing calculator JavaScript, I am really rethinking how the calculators work for reflow and caching purposes, but that shouldn't cause any changes to my work here. The other APIs will require a different interface, if supporting existing parser function usage is wanted, I could default to the old interface when the first parameter is an int, though the only usage I know of are the hiscores on my user page. I'm also a bit leery of using the PHP JSON support because of memory leaks and security issues years back, so I'm going to make sure that is all fixed first. - 01:08, October 18, 2014 (UTC)

By the way, checkout User:TehKittyCat/Litterbox/3. It turns out what I just remembered served well, all that is needed is mostly cleanup to get good working hiscores calculators. It seems some have been poorly copy+pasted, which works fine when hiscores aren't looked up, but in the case of the fletching calculator it looked-up firemaking's experience once I added the name field. That said, I'm sure the RSHiscores changes could still be helpful and I'll add falsed-out code for if Jagex ever adds the CORS headers. - 03:39, October 21, 2014 (UTC)

I added support for old-school to RSHiscores, so eventually 2007scape can have calculators. In doing so, I went ahead and broke existing usage, so it won't be a problem to support other APIs. Ironman adds different hiscores, but the only difference is rank, so I didn't bother. I didn't add other APIs since in IRC no one saw much use for them. Let me know if it all looks good, if so I'll send it to Wikia. I have really familarised myself with the JS Calc code and its existing usage, so I'm converting it to Lua, making the hiscores changes, templating it, and working on fixing some deficiencies in the process. - 00:34, November 10, 2014 (UTC)


 * Good point and done. I noticed yesterday Scribunto has a category for pages with errors and thought it was neat then. The category I added is used for the specific old-usage case, but I named it generically so we can add other errors to it as needed. Too bad Wikia's tag report doesn't report parser functions anymore. - 02:03, November 10, 2014 (UTC)

Provided everything looks good to you, then go for it. I meant to send the update sooner, but life got in the way. - 03:16, November 30, 2014 (UTC)


 * I just added your change to the GitHub repository, hopefully it's the right fix. At some point, as an exercise in learning unit testing, I might add some unit tests to verify the error cases and handling of unexpected input, but that is for another day. - 04:43, January 20, 2015 (UTC)

wait when did you archive um um THIRD
what is this? do you still need it? 23:40, September 30, 2014 (UTC)

asafsadwecfawxfasdfz
Special:AbuseLog/66443 20:57, October 1, 2014 (UTC)

Theme
Is it possible to adjust the highlighting/selection colour, or is that chosen by the browser? Because it is currently showing like this for me, which barely stands out compared to the default/original. IP83.101.44.209 (talk) 05:22, October 4, 2014 (UTC)
 * Guess I'll go and blame FireFox then. The selection works fine on your talk page text, btw; not elsewhere. Now to figure out how to add that CSS override. Thanks, IP83.101.44.209 (talk) 09:25, October 4, 2014 (UTC)
 * On another note, I believe the CSS class "messagebox" still needs to have its colours changed to the new theme; as seen on Template:FromGame. IP83.101.44.209 (talk) 11:52, October 4, 2014 (UTC)

Mol told me to tell you about RuneScape:Active discussions still looking like the old theme 17:27, October 4, 2014 (UTC)

Sortable Tables
Hi Cqm, I'm having problems with sortable tables on certain pages that I edited and was wondering if you could help fix them and let me know what was causing this problem. I previously asked both IP83.101.44.209 and User:The Mol Man but sadly they doesn't know the answer to this and redirected me to you.

The issue seem to be that they do not follow alphabetical/numerical orders when sorted ascending/descending. I looked up various guides on the Internet, and found out that they are sorted in ASCII order, in which it usually is fine but sometimes get mixed up with large number values. Thus, I added the attribute "data-sort-type" on the column row headers depending on what order it needs to be sorted by. However, the problem still persists in which certain columns do not follow alphabetical order, and sometimes even the numbers too even after I clearly used the "data-sort-type="text"" and "data-sort-type="number"" respectively. So why is it that it is still not sorting in numerical/alphabetical order?

A clear example is the Solomon's General Store/Animations page I have been editing for the past few days. I used class="sortable" but certain numerical (and alphabetical) orders are messed up. Oddly enough, ascending/descending the sortable "Runecoins" column is fine, but when it came to sorting the "Loyalty points" column that has both number values and the template N/A, the order was a mess with both ascending and descending! The same goes for the "Restriction" column which was suppose to follow alphabetical order for easier type sorting, but unfortunately the sorting itself is chaos.

I would really appreciate it if you could look into this problem, and inform me about anything that must/mustn't be done in my future sortable table edits to prevent this from happening again. Thanks,


 * It is fine with me thank you, take your time. Though do you think that this might really be a bug? Because if it is, I'm quite surprised that this is overlooked.


 * Here is a list of the pages that has sortable tables that are also disarranged when sorted (note that these are probably only few of the pages that I am aware of because I edited them in the past). Some of these pages already contain the attribute "data-sort-type" on selected columns because I experimented them myself. Tables of pages:
 * Solomon's General Store/Equipment - Runecoins column is correctly sorted for both ascending and descending. Loyalty points column is sorted in opposite (ascending is descending and vice versa) with the N/A template carrying a large value to be at the top when sorted descending.
 * Solomon's General Store/Accessories - Runecoins column is correctly sorted for both ascending and descending. Once again, Loyalty points column is in disorder when certain N/A templates fit themselves before and after selected values, and even the descending/ascending values aren't accurately sorted (bigger value after smaller/smaller after bigger value with numerous odd N/A template interruptions). Slot column follows a differently odd order when sorted in both ascending/descending instead of being sorted alphabetical order.
 * Solomon's General Store/Combat Gear - Runecoins column is correctly sorted for both ascending and descending. Loyalty points column experiences the same problem in sorting with the previously explained Solomon's General Store/Accessories page table with values being messed up in order with odd N/A template interruptions. Overriden Weapon Type column follows a differently odd order when sorted in both ascending/descending instead of being sorted alphabetical order.
 * Solomon's General Store/Titles - Runecoins and Loyalty points column is correctly sorted for both ascending and descending. Affixment column follows a differently odd order when sorted in both ascending/descending instead of being sorted alphabetical order, even with only 2 distinguishable values.
 * Solomon's General Store/Services - Runecoins column is correctly sorted for both ascending and descending. Loyalty points column is correctly sorted in ascending/descending values (assuming that due to the lack of number values), with the persisting problem of the odd N/A template interruptions.
 * Solomon's General Store/Animations - As you've seen this page yourself, Runecoins column is correctly sorted for both ascending and descending. Loyalty points column once again experiences the same problem in sorting with the previously explained Solomon's General Store/Combat Gear (and Solomon's General Store/Accessories) page table with values being messed up in order with odd N/A template interruptions. Restrictions column (all tables except Home teleports table) follows a differently odd order when sorted in both ascending/descending instead of being sorted alphabetical order.
 * In conclusion, you will notice the similarity of having the first few (usually only the first one) columns being sorted correctly in numerical order (due to having the price coming first before further informations). Consistent problems with these page tables when sorting include the tendency of not following numerical order, followed by the odd interruptions N/A template, and also the tendency of not following alphabetical order. Attribute "data-sort-type" are only added on selected columns due to experimentation and in general, they seem to bring almost no benefit when sorting (only the few columns which are sorted in numerical values usually benefit from this).


 * This page has sortable tables, but seem to work fine as it is, even without any attributes to sort them. Strangely, all values from the following tables are sorted in order but tables of the Solomon's General Store/Titles (explained earlier) which are not far off in differences of the table information, seem to experience this issue. Tables include:
 * Titles - Note how when sorting the Titles column, [Name] correctly comes first/last then followed with alphabetical order depending on ascending/descending.
 * Tiles
 * Titles


 * And just when you might think the problem arises with the rowspan/colspan, I highly doubt that it is. Mainly because usually a whole different attribute doesn't affect one another, no? The reason why rowspan/colspan is present is to ensure information is conveyed in a easy, digestible way for those who dislike reading the already comprehensive texts on the pages, thus I tried to minimise the information used in a table, focusing more on only the values when possible. Regarding your question, rowspans exists because 2 different animations (as the example given) can only be purchased from a single pack (2 in 1) and can be separately selected in the Animations Customisation interface. Rowspan exists in this case to include two rows because of this similarity.


 * So is there anything I could help around for now as you try to troubleshoot this issue? I'm not really a person who is experienced in coding, I usually just follow instructions I find but if there's something I could help with, I will try my best.
 * Speaking in which, have you tried tweaking the rowspan/colspan around to substantiate the fact that it is indeed the cause of this issue? Just so you know, the sorting disorder also exists where the template N/A isn't used (as mentioned in my last post). In actual fact, some columns that experience sorting disorder previously mentioned also does not use rowspan/colspan because these attributes are only used selectively. Thus this is why I highly doubt that it has any relations to the problem unless they correlate one another.

RE: Historic volume data
replied in my talk page. 00:49, October 15, 2014 (UTC)

re:gemwupdate.js
(What line is that roughly?) What I think I would have done that for is as a potential fallback for blank pages, where the template had been added but no prices entered yet. I'm not sure though, because I didn't quite find what piece of code you meant. Anyway, I think it might as well have been a just-in-case piece of code, as I do usually build in fallbacks for situations I can imagine happening without seeing any case of it going wrong yet. 17:01, October 20, 2014 (UTC)
 * Ah I think I built that in because when I wrote this script, the GEDB was having some problems every now and then, displaying a whole lot of zeroes for some items that didn't have enough data yet, or something. I'm assuming that GEDB bug has been fixed long ago already, but I do recall there being some problems with it back when I wrote this (I should have really added some documentation to my scripts ). Anyway, I'm assuming it's not really needed anymore. I've tweaked it a bit to also check for  for the reason you mentioned, and I've also added some documentation-comments.
 * And for the  check, I found that somewhere on the internet (I'm guessing some StackOverflow question), and I decided it was better than an   test, because this test also discards   inputs, and the GE only uses  s. 11:19, October 21, 2014 (UTC)
 * Looks really good! Really easy to follow too, with all the comments. I've made a few fixes and/or changes, and added a note about the manual submission when the GEDB is down (in a  comment). Anyway, it looks great! 12:08, October 22, 2014 (UTC)
 * PS: Are there any updates about Wikia adding mw:Extension:Tabs to this wiki? 17:00, October 22, 2014 (UTC)
 * Well, I changed it because that's more specific. What you're checking is if it's not -1, so it's clearer to make the code represent that. Of course  will do exactly the same in this case, and it's even exactly as fast as , but with   it's more obvious what you're doing. If you think   is better, you can change it back of course, it just seems more obvious what you're doing if you use  . 15:03, October 23, 2014 (UTC)

Exchange modules
Just a few questions... Is it possible to:
 * 1) Add commas for the numbers? Prices, value, limit, etc. (except itemID of course). It is hard to differentiate between 10000000 (10m) and 100000000 (100m). This was discussed earlier, I believe, and the decision was to add commas to the prices (and other info) for user-friendly-ness. I know some would say that only bots do the updates, but let's assume that people need to be able to see/decipher the Module pages as well.
 * 2) Remove all the "--" comments?
 * 3) Rearrange the parameters? "Usage" can be placed last, after "Examine". And "itemId" should come up first, before "price".

And, does the GEMW graphs work with the new format in "Module:Exchange/Item/Data"? If I'm not mistaken, you need a "name" parameter to display the title for the graphs. 02:55, October 23, 2014 (UTC)

Module:Exchange
Can you write a short function that can get the price of a specified item, for use in other modules? e.g.  would allow me to get the price as a raw, unformatted number with. 16:26, October 23, 2014 (UTC)

Why monobook no border?
sorry for taking up so much space! 08:34, October 31, 2014 (UTC)

http://i58.tinypic.com/1qreqo.jpg

pls fix
http://runescape.wikia.com/wiki/User_talk:The_Mol_Man?curid=368802&diff=11764048&oldid=11762766

http://runescape.wikia.com/wiki/User_talk:ThePsionic?curid=487735&diff=11764060&oldid=11748743


 * All right, then I at least know it's Wikia being slow again :P

hi Cam
I chose to use hashes, because that makes it much easier to dynamically update the url when you're on a page, so that any changes to the charts will automatically change the URL, which would make linking to the page automatically link to the same chart settings. Besides, url hashes work just fine too right?

I didn't really understand what you meant with that  thing. I couldn't ctrl+find it anywhere on the current or previous versions of the script.

About reviewing the code, and adding comments, I've only got one thing to say: You use, which is not supported by IE8-. Is it intended to support this for modern browsers only, or is it actually unintended to drop IE8 support altogether?

The averages do seem to have a quite some weird stuff in the GEMW/C interface, yes. That's probably because of the different way the charts work on GEMW/C, indeed. The GEMW/C page has no 'default' item listed, to make sure any items can be removed from it (on the popup chart, the default items are always listed). So, since the popup chart uses the original list of prices (in the HTML code; the list of prices that's used to generate the chart initially), it works fine on popups, but not on the GEMW/C page, because that page has no meaningful prices in its HTML code. I tried to fix this in my previous edits to the script, but those didn't really seem to work. I think perhaps the code that generates the averages needs to be changed to use something other than the prices listed in the HTML. I am quite busy with my homework again at the moment, but I might be able to help with a few bits. Like you said, if you don't get to it, I'll probably get to it if you don't. The code is much easier to read now (nice work btw), so it should be easier now, at least.

Good luck with the further changes to the script. 15:29, November 8, 2014 (UTC)
 * I don't remember what that code is for, but below it was another part of the script to which I've added an explanation. 17:45, November 8, 2014 (UTC)

Jadinko seed logs
Hi, I've just finished getting data to update the logs for the types of seed you get when hunting jadinkos (User:IsobelJ/Jadinkos). I would ideally like the data to be turned into logs similar to the ones that are currently on the jadinkos' page but updated to reflect the new seeds they drop, and working more like the charm drop logs where it is easier for editors to add to them. I have no idea to make logs for myself though. I have already asked Joey if he would make something like this but he doesn't want to. Looking over the thread about making the logs again, I saw you said you could have a go at doing this. Would you still consider doing this? Thanks, 16:16, November 10, 2014 (UTC)

RfB
I'm pleased to inform you that your request for bureaucratship was successful. You can now grant and revoke sysop and bot flags, as well as make other users bureaucrats. Please be sure to follow the applicable policies and look for community consensus where necessary. I'm sure you will do a fine job, and feel free to contact me if you have any questions or concerns. Dtm142 (talk) 05:09, November 12, 2014 (UTC)
 * Congrats on the first successful RfA in 537 days, and the first successful RfB (in particular) in 1438 days! 05:55, November 12, 2014 (UTC)
 * Good bye, cam. I'll miss you. 13:31, November 13, 2014 (UTC)

Sortable tables
Hey, I've had problems with sortable tables recently, by which I mean they sort once (descending), and the column freezes after that, resulting in nothing happening when you try to sort the table ascending. Sorting another column descending does work, but can afterwards also not be sorted ascending. Cook said that Tylio has also been noticing issues with the tables and that you might be the person to ask about this. Any ideas about what is going on?

gemwupdate (and whatever other scripts you're working on)
Remember you wondered about why we had a "failsafe" for zero prices? Just to give an idea, for this item (and other similar items, 48 items in all), there are zero values for the prices between 12 November and 17 November (but there are prices before and after these dates). Thought you might you see it for yourself, and update the scripts if required. 03:39, November 20, 2014 (UTC)

RuneScape:Lua/Helper modules
Even if only 2 or 3 of us do any coding, I feel this page could prove helpful. 22:18, November 20, 2014 (UTC)
 * Template:Helper module c: 16:12, November 22, 2014 (UTC)

Template:Clear
Are the clear classes enough for the intended purpose? Or should the inline styling be kept as a fallback? I only ask because I need that function for a messy module you shouldn't not look at ;( and I'm just adding the class instead of expanding a template. 02:18, November 22, 2014 (UTC)

Here
Was trolling through some old files o' mine, and found this. Here, you can have it: Cresbot plopped on his Cresbutt 02:18, December 1, 2014 (UTC)

RE: navboxes
I replied on my talk page. 00:50, December 5, 2014 (UTC)

Re: Mobile
Well I honestly don't remember how. It was either while reading Trac, pre-GitHub, or was something I thought would work at the time. It has been three years since I did that though. 01:23, December 5, 2014 (UTC)

uhm
what? 10:28, December 5, 2014 (UTC)


 * Yeah, I saw it right after I posted here that I updated it twice. As far as I'm aware, I only clicked once. 12:29, December 5, 2014 (UTC)

Re: Common.css
I like it with the exception that it does have a single bug. See this diff if you haven't noticed it by this talk message. I'm not sure how much of CSS3 LESS supports, but it was odd to see the pixels turning into percentages and the original percentages being removed. There is also the bit in the same edit that I think a item already in a nest shouldn't have to have a break between both  brackets or for consistency, a break between the first element and the second one. Cheers, 07:21, December 10, 2014 (UTC)

Venus
You caught my attention, what is it if I may ask

Module:Family tree
I have no fucking clue what's wrong. The info on the script error thing isn't helping me at all. 23:00, December 13, 2014 (UTC)

CSS
Can you restore the hasdialogue class removed in this edit? It needs to be separate from normal message boxes because the width tends to push it to the bottom of infoboxes on small pages. 15:51, December 14, 2014 (UTC)

Re: need your help
Hi Cam. I only just saw your message. I assume you mean that the change I made earlier has been broken by Wikia's shiny new global navigation. However, that functionality still seems to work for me no problem, even when I'm not logged in. I may just be misinterpreting your deliberately vague message though. I'm happy to lend my obfuscation services to whatever needs doing. I'll make a conscious effort to check my talk page regularly so that I see your replies and can help you out with this. 09:57, December 19, 2014 (UTC)
 * I'm sorry. I deliberately bullshitted that as much as I could. It wasn't supposed to be usable or maintainable in any capacity at all. I'm sorry I wasn't around when you needed this. In the future if you need me, emailing me at  will make my iPad beep pretty much instantaneously.  01:57, December 20, 2014 (UTC)

navbox spacing
Example issue here: User:Riblet15/Sam This has been happening in navboxes more recently, where there are items and a subgroup inside the same group. In the first example the items outside of the subgroup don't have enough padding in all directions, and in the second navbox there is too much padding on the left side. Any way to fix this? 22:48, December 21, 2014 (UTC)

Hey
Can we talk in private some time? Either s:c or in-game pm would be nice. Let me know when you're available. 11:55, December 23, 2014 (UTC)

small ge graphs not loading...
here: Grand_Exchange_Market_Watch 02:17, December 24, 2014 (UTC)

Global navigation
Hi there, I was wondering if you could tell me how you coded the search bar in global navigation to take you to a page result instead of a search result when you hit enter? Thanks, would be much appreciated. —Sonasaurus 18:28, December 24, 2014 (UTC)

Main page images
Here you go:

Bonus image for events:



The font is white size 30 League Spartan Bold, with a black drop shadow. See w:c:iiiiiii for reference -- 07:15, December 27, 2014 (UTC)

Your userpage redlinks to User:Cqm/wikia.css
Just in case it had slipped your mind 18:31, December 28, 2014 (UTC)

Clan chat rank
Hi, you're now an overseer in the clan chat. There is a rank guide that is worth reading since you were previously a corporal. You can refer to the admin sections since the difference between admin and overseer is largely cosmetic (note that overseer does not have citadel editing rights). There is one "glitch" (I hesitate to call it that because it isn't really a glitch) that an overseer can use to edit the citadel. If you find out the sneaky way and use it to screw up the citadel I will find you and strangle you ;).

Have fun! 19:32, January 1, 2015 (UTC)

Exchange modularisation and redirects
Cqm, should the newly created redirect (such as http://runescape.wikia.com/wiki/Module:Exchange/Dragon_platelegs/skirt_ornament_kit_%28or%29/Data?redirect=no) be categorised using R as well (to put them into Category:GEMW_redirects)? IP83.101.44.209 (talk) 05:08, January 13, 2015 (UTC)

Sortable Lighttables within Wikitables
Hi there Cqm. I seem to have succeeded in breaking my autosorting light table. I wanted a table I could use to track spawn locations that were being watched by other people, and I wanted to have it sortable by the order I want people to check, but also be able to sort it by name so I could find and mark locations quickly when needed aswell... This naturally lead me to using both the sortable wikitable, and the lighttable function together, but when they are both used together every time you sort a column the reset button is sorted also, instead of remaining stationary at the bottom. I fixed that problem previously by adding the autosort function, which worked fine for awhile, then stopped working maybe 6 months ago. The table now sorts fine when the page is loaded, but the first time the table is sorted again, the reset button will stick to the very top of the table. Could you look into adding a sort order exclusion for the reset button? Thanks for your time, and any feedback you can give me. Heaven Sent (talk) 05:13, January 14, 2015 (UTC)
 * Thanks! It's working perfectly now. Heaven Sent (talk) 18:17, January 16, 2015 (UTC)

Template:GEP
I don't know what you did but it made MMGs unable to read fractions correctly. <.<   All three of these had 22m/hour profits in fraction form. 05:17, January 16, 2015 (UTC)
 * kK broski 10:48, January 16, 2015 (UTC)

ExchangeItem2
Can Template:ExchangeItem2 be deleted? I can't seem to find a use for it; but it uses Module:ExchangeDefault2, which you deleted recently. IP83.101.44.209 (talk) 04:56, January 17, 2015 (UTC)

Another GE price talk page message
After I updated the Bonds price, neither the Price: on the Exchange: page, nor the price on the article page, were updated to the new price. The price was showing the correct price before, so I'm wondering, is this caused by a cache that can't be ?action=purged? It's been roughly 15 minutes since the update and it's still not updated. 15:47, January 18, 2015 (UTC)
 * Okay, I guess that explains it. Thanks! 22:05, January 18, 2015 (UTC)

RE: Index Data
the calculations are there in each template. i.e. Template:GE Food Index, Template:GE Rune Index, etc... to messy to really explain in words (see Grand Exchange Market Watch/FAQ if you haven't already, its all there). occasionally, the indices are updated when new items are added, per Grand Exchange Market Watch/Adjustments.

for the index data to be updated every day, the bot should scrap the output values from the corresponding index templates on that day, after all items have been updated... 02:34, January 19, 2015 (UTC)

Module:ExchangeData
Couple things:


 * Is there any reason you're splitting the title with mw.text instead of using .subpageText, etc?
 * How come you're still using frame:preprocess?

23:14, January 21, 2015 (UTC)
 * I was thinking it wasn't finished, but it was in use. Also, I see why I thought subpages were enables you tricky onei you. The template has a < BASEPAGE. 23:19, January 21, 2015 (UTC)

explosion
You broke Grand Exchange Market Watch/General Store :(. 20:04, January 22, 2015 (UTC)

Switch infobox module
Cqm, could you take a look at the CSS to figure out why, since its modularisation, the switch buttons no longer seem to have a margin in between them? Buttons now stick together. IP83.101.44.209 (talk) 19:29, January 25, 2015 (UTC)

GE smallcharts
hey... i don't know the progress of the module conversion, but my bot has started updating the new module/data pages. one question i have is this: with the data now in the module/data pages, whats the syntax for me to see the smaller version of the charts? like the ones in Grand Exchange Market Watch or AzBot's page?

currently it is  which displays the small chart. but with the deletion of the exchange data pages, it won't work.

just gives me the text. lol. 00:54, January 29, 2015 (UTC)

Infobox Bonuses
Something seems to have gone wrong at Faithful shield... IP83.101.44.209 (talk) 05:37, February 1, 2015 (UTC)
 * I think I fixed it; sorry if that was the wrong way of going about it. IP83.101.44.209 (talk) 08:09, February 1, 2015 (UTC)

HighAlchTable
What was this template replaced with? There are still two user pages using it (unsuccessfully): User:MarkGyver/Alching and User:Azns0ulz/merchtable. IP83.101.44.209 (talk) 16:12, February 3, 2015 (UTC)

CC thread
Since you closed the thread, I'll post this on your talk:

I've left the RSW clan. For completely unrelated reasons. I've joined PSO because I want to be part of a clan that's a little more action-oriented. I have no hard feelings against RSW, and I still plan to guest in there regularly, because I do like the clan. My new clan literally requires high level bossing to retain membership, and that's just something I think I can enjoy.

I really just want to make it clear that the thread and its outcome had little to do with me leaving. It certainly didn't help, but it wasn't a deciding factor. I'd also like to make clear that I don't think quitting the clan is going to magically erase the past. Whether I am a member of the clan or just a guest, I am still responsible for my behavior. It's best to acknowledge now that my "final" warning will, and should, still apply.

Anyways, again, no hard feelings. I'm not angry at the clan or anything, I just needed some new and exciting scenery. Hopefully we can all get along with me as a guest. And I really just need something to cite, just in case someone tries to turn the timing of the thread closing and me leaving into a knot of lies. Ya never know.

RIP clan XP 13:59, February 4, 2015 (UTC)
 * PS you said general warnings for pt5 and final warnings for pt6; should be the other way around.

Re:Oggs
Well, ew. I can redo them eventually I guess. PS. If I don't, it's very easy; download Audacity, record stuff, then export as ogg. But I'll get round to it some time.... 16:15, February 4, 2015 (UTC)

CC thread
You didn't close it the way I wanted. Bad oneion bad! RABBLE RABBLE RABBLE RABBLE 03:28, February 7, 2015 (UTC)
 * Get in the Citadel Raffle by donating your "oneion"s! 03:33, February 7, 2015 (UTC)

High CPU usage
Cqm, could you take a look at Treasure Hunter/Rewards and perhaps figure out why opening that page, both in IE10 and FF34.0.5, will use a full CPU for a good 30-60 seconds, freezing my browser as a result? Both while being logged in and out. The page loaded without issues before; prior to this week, at least, I can't remember ever having this problem. The article hasn't grown in any significant way as of late, which otherwise could serve as a possible explanation. IP83.101.44.209 (talk) 18:04, February 7, 2015 (UTC)
 * Hmm, I just had the same thing happen on List of books (albeit for a shorter duration). Has something changed to how the Template inclusions / LUA modules are handled/run recently? Perhaps locally instead of caching the generated wiki code? IP83.101.44.209 (talk) 05:36, February 8, 2015 (UTC)
 * The issue may end up being a local problem after all; although I have no idea what it could be. I tested it on another computer, also logged in and also using FF34.0.5, and the issue did not present itself. While the other computer does have a CPU spike while the page is loading, nothing freezes and it doesn't last. Disabling either (or both) the site and personal js did not solve the freezing. I don't think the problem is related to the lazy-loading of images; if I scroll down (quickly) once the page is done freezing and loading, as expected images are lazily loaded. But the images load so fast it's hard to be sure; I don't even see the fade-in (same on the other computer).
 * Both this and the other computer have the GreaseMonkey add-on installed (inserting local js into webpages), but without any scripts enabled for wikia. Disabling that add-on changes nothing. As I'm logged in, wikia shows me no ads; but even if it were to, I have not installed Flash, so at worst I'd get to see a few gifs...
 * Interesting to note, when the page freezes, based on the scrollbar size, the full article HTML has been loaded. The "Recent Changes" activity on the right hand side (and later on chat and "rate this page") is showing the loading icon while frozen.
 * I've tried opening the Web Developer Performance monitor in FF while loading the TH article, but that only generated a 5.47MiB .json file, which apparently FF fails at parsing (it just keeps saying "Loading..." and nothing happens). I'm out of ideas, I'm afraid. IP83.101.44.209 (talk) 11:49, February 8, 2015 (UTC)

Re: AmauriceBot tasks
I can't think of any other problems/catches, and your questions seem to cover most of the areas I can think you might want information on. If you do think of any other questions, then please continue ask. 15:45, February 8, 2015 (UTC)

Charm logs
Vandalism when merging the logs was partially tailored to the type of vandalism that was occurring at the time. Some of it might not be so appropriate now. I'll describe it in case you want to use any of the ideas.

The basic algorithm was to generate a "mismatch" score, which was roughly based on the average difference between the percentage drops in the logs against the "good" results previously recorded. The algorithm was doubly sensitive to differences in the blue charms (because that got vandalised more).

In some cases of vandalisms, the number of dropped charms was often reported as multiples of 10. The bot treated each drop that was a multiple of 10 (or 100 if the monster dropped 10 at the time anyway), as being a bit more suspicious.

I then defined two threshold levels, a "warn" level, which would just log suspicious but accept it (so I could adjust the code appropriately), and a "bad" where the change was rejected. The thresholds used varied according to the following cases:
 * 1) If the "good" sample size is less than 250 kills, then the thresholds were set to warn about most stuff, and reject very little (as it was assumed the wikia was still learning what was a good drop rate).
 * 2) If the "good" sample size was more than 250 kills, and the log entry kills was less than 10% of the previously recorded "good" results, then it would warn if the average difference was more than 5% and reject if more than 10% difference.
 * 3) If the "good" sample size was more than 250 kills, and the log entry kills was more than 10% of the previously recorded (i.e. could more significantly alter the reported percentages, but should be closer matched due to increased sample size), then the warn threshold was set to 2% and reject at 5%.

In addition to the check against variation, the bot checked that the logged changes were a correct multiple of the number of charms supposed to be dropped. The problem with Vorago was that the charm drop rate was initially set to 25, but drops were actually in any multiple of 5. The problem was resolved by changing the Charm:Vorago page to say the drop rate was multiples of 5.

Another check that the Bot did was to warn if more than 10 log entries had been created since the log file was last consumed. This was to protect against vandalism where someone submitted lots of small changes in an attempt to distort the figures without detection. However, I don't think I ever recalled a case of this attempt being made.

User Hiscore Data
This was created when QBot started to fail to update user highscore data pages. The parameters recognised to the Template:Hiscore_autoupdate are as per the documentation for the template. I'm not sure many people make use of the "history" option, so I suspect that RSHiscores is all that is needed.

The AmauriceBot currently updates highscore data pages for about 100 users a day at the moment. If you want, I could modify AmauriceBot to report the list of users/pages it updates, so that (if necessary) people can be informed to use the RSHiscores instead (or just update appropriate templates).

The rate limit was something I hit when Jagex must of changed their services and added some rather strick DoS protection. What I found was that I could request the highscores for 20 users okay, but then after that requests would fail. It seems that requests were limited to 1 per minute after the first 20 requests from the same IP address. This might not be the case anymore, but I kept it to only requesting one page per 70 seconds just in case.

User Adventure Logs
This was created when QBot started to fail to update user adventure log pages. The RSS feed for some reason was proving unreliable at the time, but I suspect it is okay now and can probably be used instead.

The AmauriceBot currently updates adventure log pages for about 20 users a day at the moment. If you want, I could modify AmauriceBot to report the list of users/pages it updates, so that (if necessary) people can be informed to use the RSS feed used instead.

Level 99's, etc.
This gets the data by scraping the html pages and processing the content.

The general approach when searching the highscores for the lowest player with a 99, was to load in the previous results (so it knew roughly where to start). Then, if lowest player with a 99 can be identified on the appropriate Jagex HS page (i.e. need players with scores below 99 as well as some with 99 to know have correct entries), then this is used.

If the lowest player with a 99 cannot be identified, then a search is done to find at least one page with players having 99, and one page with players not having 99. Depending on which is needed, the Jagex HS pages are checked by jumping to pages with increasing or decreasing HS page numbers.

To avoid loading lots of pages (particularly if the previous level 99's page is vandalised), AmauriceBot would scan the pages with larger jumps (e.g. jump 1 page, then 2 pages, then 4 pages, then 8 pages, etc.). Once a page is found with player having 99 and a page found with players not having 99, then the correct page is narrowed down using normal binary chop.
 * RE:Vorago: Vorago drops 5 charms at a time 5 times. So if there were 20 charms in one kill, it should actually be counted as 5 drops, with 4 sets of charms dropped. The real problem would be Araxxi, who actually does drop variable amounts. In my opinion, the best way to handle Vorago would be to elaborate his drop mechanics on the charms page (just to be safe, anyone who can get enough kills to make a submission should already know how his drops work), asking basically for the kill count to be multiplied by 5, one for each drop, and charms to be treated as normal (and leaving the per kill at 5). For Araxxi, I would have to think of setting something up differently because I believe the charm count is completely random. I'm thinking something like we use 1 charm is dropped at a time for submission purposes so that instead of actually logging the number of charms you get, you log the number of times you get it. 15:53, February 8, 2015 (UTC)

Forum
Thanks for this; indeed a mistake on my part. IP83.101.44.209 (talk) 10:13, February 10, 2015 (UTC)

Re: AmauriceBot tasks
As for the charms, I agree, using the existing js vandalism checks, etc, seems the appropriate way to go.

Also, I have updated AmauriceBot to record the good highscore request pages and good advlog request pages. Maybe you could update the Template:Hiscore_autoupdate and Template:Advlog_autoupdate pages documentation to say they are being deprecated and give information on how to use the alternatives.

Maybe we could pick a cut-off date, like the 31 March, after which the Bot will no longer action the auto templates. Either you could post something on the relevant user talk pages, or maybe I could do a temporary modification to the Bot to post on the user talk pages that the auto updates will stop on the 31 March and give them a link to the relevant autoupdate page for details on the alternatives. What do you think? 10:43, February 10, 2015 (UTC)


 * Looks like you have made good progress. As for the highscore scrapper, I think the category_type determines whether it is skills (category_type=0) or activities (category_type=1). In AmauriceBot, I just specify the category_type=0 to be sure. The time_filter is whether it is the all time, weekly or monthly. In AmauriceBot, I did not even bother adding this to the url as it does default to all time. As for the overall scores, I've actually turned that off in the bot, because it was actually using the overall count of players with total score of 2595, which is all the players with 120 in DG and 99 in other skills. I don't have a solution for the overall scores, so currently this has to be done manually by people. 11:25, February 13, 2015 (UTC)


 * I have updated AmauriceBot to also record in the good highscore request pages the history requested, and record in the good advlog request pages the format requested. Looking at the highscore pages, although several users request history, only two users actually use the history (in User:Quarenon/Stats and User:SandroHc/Stats) to show the change. Neither of these users look active any more. In fact, Quarenon was the creator of the autoupdate template when it was his QBot that used to do the updates. So it looks like you can safely drop any requirement for highscore history option.  12:39, February 13, 2015 (UTC)

It is quite possible that the rate limits aren't there in the same way now, as I think Jagex did install a new (maybe smarter) DoS protection system since then. For the 99's, the only thought I have is whether it would help to get the list of players with 99+ in two or three of the least popular skills (e.g. agility, construction, divination) and filtering on those lists to reduce the number of players to check. Otherwise I don't have any other ideas. 09:31, February 15, 2015 (UTC)


 * I have updated Template:Hiscore_autoupdate to suggest using Template:Hiscore instead. I have modified AmauriceBot to replace existing user's hiscore data pages with appropriate Template:Hiscore calls, and have now disabled the user hiscore data updating. Assuming there are no issues with this over the next few days, I will then move onto doing a simliar shutdown of the user adventure log updating too (suggesting the RSS feed instead). How's the highscore scraper with the level 99's, etc, pages going? 10:54, February 21, 2015 (UTC)


 * Looks like you're almost there then. I've turned off the updating of the Module:Hiscore counts in AmauriceBot so it won't get in the way of Cresbot updates.  00:25, March 3, 2015 (UTC)

Infobox Item and exchange graphs
I've noticed that exchange graphs for potions, such as perfect juju herblore potion and prayer potion now only show a single price series, instead of a differently coloured series per dose-variant of that potion. Was something left forgotten in the Template/js to Module migration? IP83.101.44.209 (talk) 16:02, February 13, 2015 (UTC)

Infobox item
Remember this for whenever you begin a serious rework of infobox item. I know that I said the other day there were a couple things to discuss, and they're fresh in my head:


 * Multiple parameter values
 * Particularly:
 * default (stuff like quest) could maybe use a list template like to spit out a ul with all the items. Mainly to keep things consistent with how multiple values are handled
 * value/high/low; For these, I'm thinking a template that would be like, and the first 2 params would automatically add "coins" after them, the last one wouldn't (because it's added by the infobox).
 * Weights (AFAIK this is just for items that reduce weight when equipped); Thinking similar to above, it would be, and it would spit out like Equipped: -1 Inventory: 2 (remember "kg" is added by infobox)
 * Make "noalch" a single param instead of "high=no" and "low=no"
 * I know we discussed value as just 1 param, and maybe pulling it from exchange pages for some items (discussed with cook too); we won't forget it, but might as well bring it up

None of this is important now, but I just wanted it to be somewhere because it's fresh in my head. You might see this message being edited a couple times if some things pop into my head that I forgot. 13:19, February 21, 2015 (UTC)

2015 RSW Family Photo
Yo, I notice you haven't submitted a photo yet. You have until March 1st. Please try to get it in. Remember the dimensions should be 150x250px. Thanks, 16:24, February 22, 2015 (UTC)