User talk:PanSola

Welcome to the talk page of a devout follower of Lyssa!

= This user is an Admin = If you require the attention of an administrator, you can leave a message on the Admin noticeboard, which I watch. If you want to definitely make sure I be involved in the issue, leave a note here pointing to the discussion on the Admin Noticeboard.

= Archives =
 * Past mistakes are moved into the /MistakeArchive
 * Other closed issues are moved to /Archive/, /Archive2/, /Archive3/, /Archive4/, /Archive5/, /Archive6/, /Archive7/, /Archive8/

= Messages =

Sortable QR
that is by far the coolest thing i have seen all week. --Honorable Sarah 00:54, 12 April 2007 (CDT)


 * And I'm surprised nobody has done it on GuildWiki yet, considering we got the Javascript to do it ages ago (before I came back). There's a minor issue with the current version of the script though, making the spacing around the sort button ugly )-:  -PanSola 00:56, 12 April 2007 (CDT)


 * The whole thing also looks better in Chinese, because characters naturally go in the vertical direction. http://guildwars.wikia.com/wiki/MesmerSkillDescriptionChart  Sadly, most of the data is out of date there, as I don't have the energy to keep it updated. -PanSola 00:58, 12 April 2007 (CDT)

Is there anyway we could get a stable sorting algorithm? With such an algo, it would be possible to do multiple level sorts by just doing them one after the other (for example: sorting by attribute and name -> sort by name, then attribute). From the tests I did, this seems to not work right now, which would mean that it is using an unstable sorting algorithm. I couldn't find the piece of javascript implementation we use, but if you can point me to it, I could modify it into a stable sort. --Theeth (talk)   12:55, 14 April 2007 (CDT)
 * Yes it's possible, it's on my to-do list, but it's much slower so I'm thinking of making it an "advanced" option that is not enabled by default. The javascript I am using right now (which isn't the one you guys see) is User:PanSola/sortable_mod.js.  -PanSola 16:06, 14 April 2007 (CDT)

Try this instead of shaker sort. It's a swapless stable quicksort with non-random pivot. That should fix the speed issue of the sorting. (no guaranty on the errorlessness of the code, it's adapted from some C code I have lying around, my JS skills might be a bit rusty). --Theeth (talk)   16:43, 14 April 2007 (CDT)

static void qsort_data(list, comp_func, head, tail) { pivot = list[head]; ihead = head; itail = tail;

while (head < tail) {		while (comp_func(list[tail], pivot) >= 0 && head < tail) tail--;

if (head != tail) {			list[head] = list[tail] head++; }

while (comp_func(list[head], pivot) <= 0 && head < tail) head++;

if (head != tail) {			list[tail] = list[head] tail--; }	}

list[head] = pivot; if (ihead < head) { qsort_data(t, ihead, head-1); }	if (itail > head) { qsort_data(t, head+1, itail); } }

function qsort(list, comp_func) { qsort_data(list, comp_func, 0, list.length - 1); }


 * I thought quicksort with non-random pivot, by definition, has terrible worse-case performances. O(n^2). -PanSola 17:48, 14 April 2007 (CDT)
 * With presorted list, yes, it's O(n^2) operations and O(n) storage (recursion) whereas shaker sort's worst case is O(n^2) operations and O(1) storage, but average cases are much better with quicksort than shaker. Moreover, the non-random pivot is rather easy to fix, I just didn't want to hunt around for JS randomize functions. --Theeth (talk)   18:33, 14 April 2007 (CDT)

I've been working with some sortable tables in my User space when I came across the work you've been doing. One thing I have been trying unsuccessfully to implement is marking specific columns as non-sortable. I saw that you have a template/function call { {weapon qr top}} that implements this but I can not for the life of me find the article to look at the implementation. All attempts to find weapon qr top return no results. Where can I find this article? I also read in one of the posts that you have a work-around for the current javascript stripping out template/function calls from header rows (my second problem). Would you also let me know where to find information on that fix as well? Thanks! --  Glamtre  (Talk) 13:55, 16 April 2007 (CDT)


 * Template:weapon qr top sets certain header cells to be class="unsortable", which then gets processed by the javascript MediaWiki:sortable_mod.js. It's not exactly documented, but hopefully the code isn't too hard to understand.  Let me know if you have specific questions.  As for the tag-stripping, it's a very tiny modification used in sortable_mod.js also.  The original behavior is in, but my sortable_mod.js completely overrides it. -PanSola 02:07, 17 April 2007 (CDT)


 * Thanks for the info. I totally forgot about the Template namespace and I REALLY hate wiki search!  Are there any plans for your updated code to replace the installed class="sortable" code?  I am happy to implement your code in my namespace for testing, but if it works one way for me and other for someone else I consider that a bad situation. --  Glamtre  [[Image:Axe-icon-right.png]] (Talk) 12:41, 20 April 2007 (CDT)


 * I've been working on it. But IE compatibility seems to be a very weird issue. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 18:45, 20 April 2007 (CDT)

Proposal
Well, you told me to propose one, so how about this? Looks decent to me --Gimmethegepgun 02:21, 4 April 2008 (UTC)
 * Propose it to the general community, not to me o_O""" That looks like a rabbit on a bad-ear day btw (my personal opinion.  I have no problem setting that as the site's favicon if most of the community likes it) d-: -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 04:11, 4 April 2008 (UTC)
 * Made a better one and fixed link accordingly. [[Image:Entropy Sig.jpg]] (T/C) 06:05, 4 April 2008 (UTC)

Moar Monaco
Right now, the Swords and Shield emblem that has been in the top left corner since time immemorial is being chopped in half vertically. It doesn't look great. 02:47, 4 April 2008 (UTC)
 * Apparently with Monaco, you get no indication that you've been redirected if you attempt to go to a redirect. What I mean is, when I click on my signature image, I'm taken to my userpage with absolutely no (redirect from Image:Felix_Signature.png) message. At the present, I can't find any way at all to access a redirect page with Monaco. D: [[Image:Felix_Omni_Signature.png]] 19:39, 4 April 2008 (UTC)

fix please--‎ Fire  Tock  23:41, 5 April 2008 (UTC)
 * Fix it by, umm, ugh... i forgot what you said, but i remember it was the first one, do the first one (the one on the discussion of the mainpage) to fix it.--[[image:"Burn Baby Burn!".jpg|19px]]‎ Fire  Tock</tt>  03:33, 6 April 2008 (UTC)
 * Eh, keep your comments in the same place please, it gets harder to follow if one conversation is jumping between pages. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 03:34, 6 April 2008 (UTC)

Skill box
Were the changes made to the Common.css involving the skill box the reason why skillbox is so screwed up right now? It seems that the div for the portion is outside of the skill box div now and so it's below it --Gimmethegepgun 00:55, 6 April 2008 (UTC)
 * Screenshot + browser version after refresh cache? -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 00:57, 6 April 2008 (UTC)


 * Browser: Firefox 2.0.0.13 --Gimmethegepgun 01:03, 6 April 2008 (UTC)
 * Well, was just about to contact you about how the colors in the numbers on RC disappeared, but I just fixed that problem (and probably others too) :P --Gimmethegepgun 01:09, 6 April 2008 (UTC)


 * Is the skill box still messed up after that fix? -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 01:10, 6 April 2008 (UTC)
 * Yeah, it's still messed up, it looks to me like the 's    is outside of the skillbox's   instead of inside of it, and only putting it inside (using Firebug) fixed it --Gimmethegepgun 01:14, 6 April 2008 (UTC)
 * It has always been outside though... Can you use firebugs to check the width of the skillbox div, if it is specified? -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 01:18, 6 April 2008 (UTC)
 * Also, check between Monobook, Quartz, and Monaco. See if all 3 skins have the same behavior.  Then try logged out vs logged in.  And if you got different browsers installed, give those a spin too.  I have having trouble reproducing your screenshot directly. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 01:23, 6 April 2008 (UTC)
 * After cycling through all 3, both logged on and logged off, the results were the same. With Firebug, unless I moved the code to inside the div, the only way to bring it to normal was to reduce the height of the skill box div, increase the height of the  (since otherwise the table gets shoved inside the box on the side) and decrease the   's width to make sure it didn't get stuck inside the box on the side. However, when I moved the code to inside the div, it still got stuck inside the box on the side because the p was still too wide, and the table got crunched together because it was close enough to get wedged between the navbar and the box --Gimmethegepgun 01:39, 6 April 2008 (UTC)
 * Ah, I think I found the problem. The skillbox div is far too wide, if it is the same width as the skillbox table then everything works correctly. Why both of them are the same name is beyond me, and is likely the problem --Gimmethegepgun 01:46, 6 April 2008 (UTC)
 * They only have the same classname, and that shouldn't affect things. It seems to be an FF2-specific bug, as I cannot reproduce it on FF3 beta, Safari, or Opera; I had to downgrade my browser to find the problem.  The new skill box code should fix it though. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 01:49, 6 April 2008 (UTC)
 * It looks fixed on the skill box template, but on others such as Shockwave the problem is still there. I WOULD go and test out .css changes, but for some reason I can't make new lines with either of my enter keys in FF, so I'll have to restart FF first --Gimmethegepgun 01:52, 6 April 2008 (UTC)
 * Ah, there we go, it's fixed. Tell me if any problems arise after I mod the Common --Gimmethegepgun 01:56, 6 April 2008 (UTC)
 * Um, with the new ksillbox code, there are no more divs usuing the class Skillbox, so your CSS additions would do nothing. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 02:02, 6 April 2008 (UTC)
 * Ok then, I guess FF was just being dumb before I restarted it, because it wasn't letting me make new lines with Enter either, so it probably wouldn't update after I refreshed my cache. So, we might as well delete those lines in the Common then? --Gimmethegepgun 02:11, 6 April 2008 (UTC)
 * I'll clean it up later, so we don't get edit conflicts. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 02:12, 6 April 2008 (UTC)
 * You killed my skills page :( <font color ="skyblue" size="3px" face ="mistral">Lost-Blue 02:13, 6 April 2008 (UTC)
 * (RI) Alright then, at least we got that bug worked out :) --Gimmethegepgun 02:13, 6 April 2008 (UTC)
 * Well then.... time to get back to work :P Screen please Blue? --Gimmethegepgun 02:14, 6 April 2008 (UTC)
 * Err... when you say your skill page, you mean the one you have in your userspace? Looks fine to me, what's wrong with it? --Gimmethegepgun 02:17, 6 April 2008 (UTC)
 * Yes and on my monitor everything is all squished and tiny and the description is at the very bottom and the pic is elongated. <font color ="skyblue" size="3px" face ="mistral">Lost-Blue 02:19, 6 April 2008 (UTC)
 * What screen resolution and what browser? --Gimmethegepgun 02:20, 6 April 2008 (UTC)

ZOMG
idk you but you're on so http://www.iamscruelty.com/videos.asp <font color ="skyblue" size="3px" face ="mistral">Lost-Blue  06:39, 6 April 2008 (UTC)
 * PETA phails tbh. --Macros 22:17, 7 April 2008 (UTC)

Template:Clear
You broke it :( &mdash; Poki#3, 20:47, 7 April 2008 (UTC)
 * Where is it broken? It works fine for me. --<font face="vivaldi" size="3" color="Steelblue">Shadowcrest  20:53, 7 April 2008 (UTC)
 * Look at my userpage. See the show/hide boxes at the top? They where in separate rows, but now are in 1 row, and I have to cut the one short. Also, both overlap my character box. &mdash; Poki#3 [[Image:Poki.jpg|19px|My Talk Page :o]], 21:27, 7 April 2008 (UTC)


 * The S/H boxes broke when Wikia busted in adopted the Wiki gently. Have you tried to replace every | with | ? That could cause problems. --- [[Image:VipermagiSig.JPG]]-- (s)talkpage 21:55, 7 April 2008 (UTC)
 * Not the point... If I replace

with <br style="clear:both;height:0px;"> (the old content of the clear template) the s/h boxes will be placed like they where again. &mdash; Poki#3, 22:16, 7 April 2008 (UTC)
 * The br one is a less-good clear, because it actualy does take up space despite the height-0 declaration. I'll see if your page can be fixed while using my version of clear. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 23:13, 7 April 2008 (UTC)
 * If not, then I'll just make a "clear2" template, or just use "the ugly way" (pasting in raw code). &mdash; Poki#3 [[Image:Poki.jpg|19px|My Talk Page :o]], 23:25, 7 April 2008 (UTC)

admin board
Pan, could you add a link to the admin noticeboard somewhere under support in the left hand bar? I'd do it myself, but I don't know where the page is and I'd probably mess up :P Thanks,  --<font face="vivaldi" size="3" color="Steelblue">Shadowcrest  01:24, 9 April 2008 (UTC)


 * MediaWiki:Sidebar. That's what you need. I think you needa add "adminnoticeboard-url|adminnoticeboard", but somehow I also think I'm wrong. Go figure ^^' --- [[Image:VipermagiSig.JPG|Ohaider!]]-- (s)talkpage 14:28, 9 April 2008 (UTC)
 * Unprotect it and I'll add the coding if you want, or I could just add the coding into the talkpage for you to enter? &mdash;[[Image:MaySig.png]] Warw/Wick 14:29, 9 April 2008 (UTC)


 * As I stated before, we'll not unprotect and reprotect everytime someone wants to edit. Just give the code and an admin will snip it in if nessecary >.> --- [[Image:VipermagiSig.JPG|Ohaider!]]-- (s)talkpage 14:31, 9 April 2008 (UTC)
 * Dammit, I sooo wanted to get a MediaWiki edit onto my editcount.. =P >_> &mdash;[[Image:MaySig.png]] Warw/Wick 14:32, 9 April 2008 (UTC)
 * There is no unprotect feature for a mediawiki page <B><font color="Blue">RT </B>| <font color="Black"><B>Talk</B>  14:41, 9 April 2008 (UTC)


 * Oh, I see. Not really surprised about that, though. --- [[Image:VipermagiSig.JPG|Ohaider!]]-- (s)talkpage 14:45, 9 April 2008 (UTC)

Halp lol
I'd like to incorporate Entropy's "master template" into my personal css settings somehow, but since I'm using Monaco I can't just copy+paste code from monobook, and I really have no idea how to go about doing it. I'll probably tinker around on my own, but any assistance you can give me would be amazingly great. 01:26, 10 April 2008 (UTC)
 * I meant .js, maybe. [[Image:Felix_Omni_Signature.png]] 01:31, 10 April 2008 (UTC)
 * Can you verbally describe to me what the "master template" does? I'm not seeing anything in Entropy's css/js that are of interest to monaco, -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 02:52, 10 April 2008 (UTC)
 * The master template is just a bunch of links to admin-y things. You can find it at the top of User talk:Gimmethegepgun. The js version is at User:Entropy/monobook.js. [[Image:Felix_Omni_Signature.png]] 02:54, 10 April 2008 (UTC)
 * All Entropy got in her js is stuff that modifies her own sidebar. With monaco, just edit Special:Mypage/Monaco-sidebar.  You can check out mine at User:PanSola/Monaco-sidebar.  If you want something to put at the top of your talkpage/userpage, that'd be done via a normal template, not involving js/css. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 05:46, 10 April 2008 (UTC)
 * That is extraordinarily useful! [[Image:Felix_Omni_Signature.png]] 08:55, 10 April 2008 (UTC)
 * Darn, I only wanted to be ordinarily useful... Well, since I've crossed the line anyways, you can also take a look at MediaWiki:Monaco-toolbox vs User:PanSola/Monaco-toolbox.  -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 09:17, 10 April 2008 (UTC)
 * Only problem with tinkering .js is bit longer page load times. I will freely give credit to Monaco toolbar edits in that they don't seem to cause as much lag for (mostly) same benefits. Btw Pan, if there is an "Admin skin", those are some nice tools to put in it. I know I saw you messing with that sometime. [[Image:Entropy Sig.jpg]] (T/C) 04:15, 12 April 2008 (UTC)
 * MediaWiki:AdminSkin refers to "the skin set by the admin to be the default skin that all anon users see, as well as any logged-in user who didn't picked something in their preferences". There's currently no skin-related stuff that automatically affects all users with admin status (although that can be done via JS). -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 09:13, 12 April 2008 (UTC)

Haha-- Oops..
Looks like I got stuck with the wiki =|. A solo wiki? Meh, less vandalism.. &mdash; Warw/Wick 10:58, 10 April 2008 (UTC)

Help
My screen is totally retarded =|. Its facing sideways instead of upwars... (Instead of ^ its >),.. Don'ts uppose you know how I can fix it, do you? &mdash; Warw/Wick 11:14, 12 April 2008 (UTC)
 * From your description, it sounds like a tablet PC with a misconfigured setting. Unfortunately I have no experience with tablets.  Turn your screen 90 degrees in the mean time until the problem is solved. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 11:17, 12 April 2008 (UTC)
 * Its not a tablet pc. I just rpessed somthing ingame, and when I minimised Guild Wars it was like that.. its just a normal laptop =| &mdash;[[Image:MaySig.png]] Warw/Wick 11:19, 12 April 2008 (UTC)
 * I remember that, it's something like ctrl alt and either up down left or right, i'll try to find info <B><font color="Blue">RT </B>| <font color="Black"><B>Talk</B>  11:21, 12 April 2008 (UTC)
 * Haha, thanks RT! &mdash;[[Image:MaySig.png]] Warw/Wick 11:23, 12 April 2008 (UTC)
 * NP, It's good practical joke btw! <B><font color="Blue">RT </B>| <font color="Black"><B>Talk</B>  11:27, 12 April 2008 (UTC)