RuneScape:Chat/Logs/03 June 2012

 23:10  (btw I'm clueless with js so this is jibberish to me) 23:10  Lol 23:10  Isn't Joey the one who writes the majority of the code for this wiki? 23:10  Nonetheless, I still try and make myself a sidebar for Oasis 23:10  Templates can't contain javascript, either, though. JS can only be added to a number of files that always load wiki-wise, so even if you're just viewing the page for Cook's Assistant, you still get the calc script loaded. Basically, it means we can't have a script for just one page without bloating all the others, so have to be lean. 23:11  Yeah, and it's so good other wikis nick it 23:11  Well no, you can 23:11  It would still load the script, yes, but you can prevent execution or importation of that script on all pages but that page 23:11  True. But messy. 23:11  And if you leave a named div element, you can specify where to output and on what pages 23:12  Absolutely, but it's the only workaround I've found for Wikia 23:12  Lol 23:12  on Wikia* 23:12  Unfortunately. That's what the current calcs here do. 23:12  Finally found it! http://runescape.wikia.com/wiki/User:Stewbasic/calc 23:12 <Foodbandlt> So... what's the problem then? 23:13 <Foodbandlt> Not sure I understand 23:14 <Hofmic> The GU pages, such as Graphical updates/Items have "hard coded" tables. If you want to add an entry in the middle of the table (say, so they can be in order), it's too difficult to bother. I'd like to find a better way to do that. 23:14 <Range riley> dungeoneering anyone? 23:14 <Foodbandlt> Eh 23:14 <Foodbandlt> Only way I know how to do that is through the method I described, lol 23:14 <Hofmic> DPLs can't do it. They're meant for handling a number of pages, not a list of content on pages. Taking a look if calcs can. 23:14 <Foodbandlt> DPLs? 23:15 <TyA> Dynamic Page Lists or something liek that 23:15 <Hofmic> Yeppers 23:15 <Hofmic> <DPL> allows you to list pages in categories that fit specific conditions. 23:15 <Foodbandlt> Ahh 23:16 <Hofmic> For example, it can be used to list the pages inside a "money making guide" category (or perhaps the pages that contain the money making template), grab some info from a template on the page, then show that in a table. 23:16 <Hofmic> Example: http://runescape.wikia.com/wiki/User_talk:Cook_Me_Plox/Sandwich2?action=edit&section=6 23:17 <Foodbandlt> Hm, interesting 23:17 <Foodbandlt> Sounds like the same concept as the forum page kind of 23:17 <Hofmic> Forum pages are made from DPL. 23:17 <Henneyj> could you not just template the rows/cells? 23:17 <Hofmic> As it stands, the entire rows are templated, but they're a row of 2 (or 3, in the case of inventory images)... 23:18 <Foodbandlt> Ah 23:18 <Hofmic> Hmm, maybe I could split the code into just being the cells... Except then adding something in would still require all the others to be "bumped" down. 23:18 <Henneyj> oh didnt know that 23:18 <Henneyj> its already a step up from when i last edited them 23:19 <Hofmic> And doesn't look like calculators would work as a reasonable way to go. We may just have to consider the difficulty of changing the order to be a limitation of the software. 23:19 <Hofmic> I mean, technically, I could use an SQL table with the data, or even just an XML file, and then parse it with PHP, but that's beyond our ability to do here. 23:20 <Hofmic> So I give up, we'll just use the static template =P 23:20 <Jr Mime> http://runescape.wikia.com/wiki/File:Entering_Summoning_portal.gif 23:20 <Jr Mime> Hehehe :D 23:20 <Hofmic> I should finish the inventory items page, me thinks. 23:21 <Hofmic> When I finish the GU pages, perhaps I could focus my efforts on a major calculator revamp. Combine all the profit/loss calcs by skill (so we don't have ten different crafting calcs for finding profit vs loss, but just one for that, and one to find experience needed to level up). 23:22 <Hofmic> PS: Anyone wanna volunteer to do this: http://runescape.wikia.com/wiki/Graphical_updates/Equipped 23:23 <Hofmic> Didn't think so. Oh well. 23:23 <Foodbandlt> Well... technically... 23:23 <Foodbandlt> I've never tried it before, but theoretically you could incorporate PHP into the imported JS 23:23 <Foodbandlt> I've done it on previous websites, but never on Wikia before 23:24 <Foodbandlt> No, actually 23:24 <Hofmic> Hmm, how? I'm not familiar with how to do that. Are you sure it wasn't just Jquery syntax (which uses the "$" for variables, like PHP) 23:24 <Foodbandlt> I don't suppose that would work, the JS is loaded too late to be processed by the server 23:25 <Foodbandlt> Hm, oh well 23:25 <Foodbandlt> It would have to be hard-coded to incorporate into the JS 23:25 <Hofmic> Yeah, PHP is processed serverside, JS is client-side. 23:25 <Foodbandlt> incorporated* 23:25 <Foodbandlt> Eh, I forget that sometimes, lol 23:25 <Hofmic> PHP: PHP Hypertext Preprocessor (a recursive acronym) 23:25 <Hofmic> Actually a backronym. Once stood for "Personal Home Page". 23:26 <Foodbandlt> Lol 23:28 <Hofmic> I never understood the point of recursive acronyms. What, you Zend folks couldn't think up something better for the first "P"? 23:29 <Foodbandlt> You know... 23:30 <TyA> The first P is very important 23:30 <Foodbandlt> What JS page is hard-coded to load by Wikia? 23:30 <TyA> IT MAKES IT PERSONAL 23:30 <Foodbandlt> Never thought about that, but isn't Common.js hard-coded to load? 23:30 <TyA> MediaWiki:Common.js, MediaWiki:Wikia.js, and MediaWiki:Monobook.js 23:30 <TyA> Common.js is for all skins 23:30 <Foodbandlt> Then I wonder why they are always loaded slightly later than the rest of the script... 23:30 <Foodbandlt> scripts* 23:30 <TyA> Wikia.js and Monobook.js is for their respective skins 23:30 <Foodbandlt> Oh, I know 23:31 <Foodbandlt> But Common.js is loaded reguardless, I wonder... 23:31 <Foodbandlt> Be right back 23:31 -!- IdkWhatsRc has left Special:Chat. 23:31 <Hofmic> Pretty sure it's impossible to inject PHP into them. Would be a major, major security risk. 23:31 -!- IdkWhatsRc has joined Special:Chat 23:32 <IdkWhatsRc> Yeah, main problem with Wikia is Calc documentation... 23:32 <IdkWhatsRc> Anywhere I can see a good calc guide? 23:33 <Hofmic> Hofmic: 23:33 <Hofmic> Unfortunately. That's what the current calcs here do. 23:33 <Hofmic> Finally found it! User:Stewbasic/calc 23:33 <Hofmic> User:Stewbasic/calc 23:33 <Foodbandlt> Hm 23:33 <Cåm> !updated 23:33 <RSChatBot> Cåm: The logs were last updated 23:51 ago. There are currently ~86 lines in the log buffer. 23:33 <Foodbandlt> They are not hard-coded to load, something else imports them a little later in the coding 23:35 <Hofmic> What is considered "hard coded" anyway? I've always usually used it to refer to something that's coded in a way that it can't be changed or is coded at a very high level (and thus requiring a more difficult change). 23:35 <Foodbandlt> What I consider hard-coded to be is in the original page source coding 23:36 <Hofmic> I suppose it would depend on the subject, then. Here, hardcoded would be non-changeable MediaWiki values. 23:36 <Foodbandlt> Absolutely, lol 23:36 <Cåm> Baba Yaga 23:36 <Foodbandlt> Didn't know there were none-changeable mediawiki values, lol 23:36 <Hofmic> If we were talking about, say, modding Skyrim, then hardcoded might refer to the AI's thinking. Stuff that's only changeable by Bethesda in the source code, not the modders. 23:37 <Foodbandlt> Same concept for that, with the Skyrim reference 23:37 <TyA> You can just change the source I guess with mediawiki 23:37 <Cåm> Template:HasDialogue 23:37 <Matthew2602> Oooh ooh oh! 23:38 <Foodbandlt> An example, if a Javascript tag was actually written in on the primary page that loads on every single page, I would consider that hard-coded 23:38 <Hofmic> Hi Matty. 23:38 <Foodbandlt> Then again, I suppose the fact that all of the relevant JS pages are imported, it still wouldn't matter 23:38 <Foodbandlt> Lol 23:38 <Hofmic> .... >:o 23:39 <TyA> o: 23:39 <Henneyj> .. 23:39 <Henneyj> o 23:40 <Coelacanth0794> ello 23:40 <Hofmic> It's all Matthew's fault, anyway. 23:41 <Coelacanth0794> i blame hofmic for everything 23:41 <Coelacanth0794> including the miami face-eating incident 23:42 <Hofmic> Wait, what incident? :o 23:44 -!- Range riley has left Special:Chat. 23:45 <Cåm> Shh, that's the sekrit incident that must not be named 23:45 <Hofmic> Don't...really...wanna...know. 23:46 <IdkWhatsRc> I love how the calc guide are in a FREAKING USERPAGE... 23:46 <IdkWhatsRc> Just make me lol how dumb it is... 23:47 <Hofmic> Why not merge them into the calc namespace existing calcs?? 23:48 <Coelacanth0794> http://i.imgur.com/bMDHS.jpg 23:49 <Hofmic> Uh, what Coelacanth0794? 23:49 <Foodbandlt> Hm, how many custom namespaces does RS Wiki have? 23:49 <Cåm> Urm... custom? 23:49 <Foodbandlt> Calc and Map aren't standard namespaces for Wikis o.o 23:49 <Foodbandlt> You have to request them 23:50 -!- HakkaPK has left Special:Chat. 23:50 <Cåm> Nor is calculator. Like Wikia would automatically give us an module free namespace 23:50 <Coelacanth0794> what's to querstion hofmic 23:50 <Foodbandlt> Which is why I ask, lol 23:51 <Foodbandlt> How many custom namespaces does this wiki have exactly? 23:51 <IdkWhatsRc> Like 10. 23:51 <IdkWhatsRc> But you could have 113+ 23:51 <Foodbandlt> Damn o.o 23:51 <IdkWhatsRc> 13 namespace atm. 23:51 <Foodbandlt> Could've sworn is said like max of 4 custom namespaces per wiki xD 23:51 <Cåm> Exchange, Charm, Calc and Map 23:51 <IdkWhatsRc> Exchange namespace ID is 112. 23:51 <Cåm> Are the custom namespaces 23:52 <Foodbandlt> So 4, I see 23:52 <IdkWhatsRc> Namespace	 Article ID	 Talk ID 23:52 <IdkWhatsRc> Media	 -2	 N/A 23:52 <IdkWhatsRc> Special	 -1	 N/A 23:52 <IdkWhatsRc> (main)	 0	 1 23:52 <IdkWhatsRc> User	 2	 3 23:52 <Foodbandlt> What? ^ 23:52 <Foodbandlt> O.o 23:52 <Cåm> RuneScape is what is normally known as the project namespace, every wiki has one 23:52 <IdkWhatsRc> And many more... 23:52 <Coelacanth0794> http://imgur.com/DsXYT.jpg A BEE?!?! 23:52 <Cåm> MediaWiki comes as part of the software 23:52 <Foodbandlt> No no, I know 23:52 <Foodbandlt> Lol 23:52 <IdkWhatsRc> Just saying. 23:52 <Foodbandlt> Was just curious of the custom namespaces, lol 23:53 <Hofmic> Supper time. Let's save and eat. 23:53 <IdkWhatsRc> All the namespaces are X2 because of discussion. 23:53 <Foodbandlt> Thought you guys had more than 4 and was about to ask how you managed that xD 23:53 <Cåm> We also have the remnants of a Message Wall namespace :/ 23:53 <Foodbandlt> Lol 23:53 <TyA> Foodbandlt: Wikia loves us <3 23:53 <Foodbandlt> You only have 4, lol 23:54 <Cåm> Is there a limit on custom namespaces? 23:54 <Foodbandlt> They love you for the amount of users that see the ads xD 23:54 <Cåm> We used to have portal too 23:54 <Foodbandlt> The limit is 4 23:54 <Coelacanth0794> http://mlkshk.com/r/ETUF what did i just stumble into 23:54 <Foodbandlt> ^ A coffee table 23:54 <Foodbandlt> o.o 23:54 <Cåm> Never knew there was a limit :| Is it MediaWiki imposed, or Wikia imposed? 23:55 <TyA> The limit is 3 Foodbandlt 23:55 <TyA> And it's a Wikia restriction 23:55 <Coelacanth0794> http://i.imgur.com/lcSQi.gif 23:55 <Foodbandlt> Could've sworn it said 4... let me find the link 23:55 <TyA> Help:Custom namespaces 23:55 <TyA> That one? 23:56 <TyA> "... each wiki is only allowed three custom namespaces (plus the three associated talk namespaces) ..." 23:56 <Foodbandlt> Odd, they changed it O.o 23:56 <TyA> No... It's been that way forever 23:56 <Cåm> Considering the size and usage of this wiki, I guess they ignore that rule 23:56 <Foodbandlt> And yet you guys have 4 custome namespaces, lol 23:56 <Foodbandlt> Darn, ninja'd 23:56 <TyA> As I said, Wikia loves us 23:57 <Cåm> Wowwiki is the only wiki I know of that has more pages 23:57 <Foodbandlt> Lol 23:57 <Coelacanth0794> http://i.imgur.com/kBZci.gif 23:57 * Coelacanth0794 flies away 23:57 <TyA> There is quite a few Cam 23:57 <Foodbandlt> Wookiepedia has more http://starwars.wikia.com/wiki/Special:WikiActivity 23:57 <Haidro> Rawr 23:57 <Foodbandlt> But they are partially fanon as well, aren't they? 23:57 <TyA> Wookieepedia has 2 e's :P 23:58 <Foodbandlt> Darn ._. 23:58 <Foodbandlt> Making a lot of typos today, heh 23:58 <Cåm> Considering Star Wars is an entire universe, I'm surprised it's not got more pages 23:58 <Haidro> Lol 23:58 <TyA> w:c:lyrics: 23:59 <TyA> 1,737,186 pages 23:59 <Haidro> Wow 00:01 <Foodbandlt> I'm fairly sure Wookieepedia includes fanon as well, but I'm not sure 00:01 <Foodbandlt> Hm, Lyrics wiki... good to know xD 00:01 -!- Henneyj has left Special:Chat. 00:02 <Meter55> Fanon...bleh. 00:02 <Coelacanth0794> http://imgur.com/gallery/dl29F 00:03 <Foodbandlt> Sheesh o.o; http://lyrics.wikia.com/User:NYCScribbler 00:03 <Foodbandlt> That guys crazy 00:03 -!- DeliciousYakSauce has joined Special:Chat 00:03 <DeliciousYakSauce> howdy hey 00:04 <Haidro> User:SmackBot 00:04 <Haidro> User:Cook Me Plox 00:04 <Haidro> You think 150k is a lot? 00:04 <IdkWhatsRc> L 00:04 <Foodbandlt> Lol, but those are bots 00:04 <Foodbandlt> That user wasn't a bot :P 00:04 <Haidro> Cook isn't a bot 00:04 <IdkWhatsRc> Yes rofl... 00:04 <Foodbandlt> Eh, I admit I didn't click the second link 00:04 <Foodbandlt> Lol 00:04 <TyA> w:c:lyrics:User:Lwt is still impressive for a bot 00:04 <IdkWhatsRc> Most of the edits he did was botted. 00:04 <Haidro> Metaphorically he is a bot... 00:05 <Haidro> Nuzzz idk 00:05 <Haidro> Go make teh fm guide :) 00:05 <Foodbandlt> Lol 00:05 <DeliciousYakSauce> well it is a runescape wiki 00:05 <DeliciousYakSauce> so there have to be bots 00:06 <Foodbandlt> No one said there shouldn't be, lol 00:06 <IdkWhatsRc> Cook is able to do 30+ edits in 1 min lol 00:06 <TyA> But our bots are legal ;) 00:06 <Foodbandlt> And other bots are... illegal...? 00:06 <Coelacanth0794> suddenly 00:06 <Foodbandlt> Lol 00:06 <IdkWhatsRc> He's either god... or a bot. 00:06 <Coelacanth0794> thunder 00:06 <TyA> He's Thor 00:06 <DeliciousYakSauce> maybe he is both 00:06 <IdkWhatsRc> A cyborg? 00:06 <DeliciousYakSauce> the legendary bot-god 00:06 <DeliciousYakSauce> a cyberman 00:07 <IdkWhatsRc> :D Now we know his secret. 00:07 <DeliciousYakSauce> but made of lemmings 00:07 <DeliciousYakSauce> runescape drops alot of packets... 00:07 <Foodbandlt> Not that many compared to some other games, actually 00:08 <DeliciousYakSauce> considering that there are about three possible things that can happen on my screen right now, its a pretty high amount 00:08 <Foodbandlt> Lol 00:09 <DeliciousYakSauce> I hate the begining of the runespan 00:09 <DeliciousYakSauce> where i have to fine stuff to be able to find the stuff i need to find stuff i need