Talk:Ash Functions

From Kolmafia
Revision as of 15:52, 21 July 2010 by imported>Heeheehee
Jump to navigation Jump to search

Now that all the functions on this page have their own pages, wouldn't it be best to remove the page and allow Category:Ash Functions to be our master list of all functions? That would save the trouble of remembering to add new functions to this page like form_fields, entity_encode and entity_decode which aren't listed here. I think that this page has finished serving its purpose. --Bale 00:01, 18 May 2010 (UTC)

I repeat my question. Does anyone want to update this listing, or shall we replace it with [1] --Bale 20:48, 23 May 2010 (UTC)

Now that Heeeheehee commented in his edit, "Two functions that never found their way onto this list. I forget -- do we even maintain this page any more?" I'd like to reiterate that we can stop updating the list and replace it with this. That list will automatically update every time a new function is added. That's the wonder of categories. --Bale 04:25, 21 July 2010 (UTC)

Well, the problem that always comes up with using wiki category pages here is the formatting. Plus, it's not like the category page is going to automatically list new functions that no one has made a page for. My original intent was to write a simple script to parse the correct file(s) from KoLmafia's source and auto-generate the master function list page text. Then, anything without a page will show up red & we'll know what needs to be added, as well as having a well-formed page. Anyone want to take a stab at that? Or perhaps some other ideas for an automated solution? --75.48.127.248 08:35, 21 July 2010 (UTC)

Edit to add: Of course, it might be easier just to write a script to parse "ashref." Hmm. Also, why am I not auto-logging-in anymore? (--StDoodle)

Cookie problem? Also, I haven't really looked at the code behind "ashref", nor do I really know how one would parse it using ASH, if that's what you're referring to. I might write up a bot, if I have enough time to figure it out. I'd assume that it'd parse RuntimeLibrary.java, though, and use some sort of regexp for matching nonsense. --Heeheehee 15:52, 21 July 2010 (UTC)