User talk:Poke/archive/2012

From Guild Wars 2 Wiki
Jump to navigationJump to search
Archive This page is an archive. Please do not edit the content of this page. Add additional comments here instead.

Dynamic Page List

Hello, i have a project of translation of the Guild Wars 2 english content into portuguese. And a friend had recomended not install the Dynamic Page List for possible security problems. What is you opinion about that? And if you agree in not install there is another option for that?--Qoff 22:33, 8 January 2012 (UTC)

Hey, the current DPL version does indeed have security issues, although they are technically not worse than the versions before. We are currently using an experimental, non-public pre-release version of the next major DPL release which no longer has those security issues (but is experimental and might contain other bugs instead). That version is not yet available but I don't expect it to take that much longer until it is released (as the version seems pretty stable). Until then, I personally think you can even go with the current stable release despite those security issues. Usually they shouldn't be that problematic; it's just that we have to be on the very safe side for GWW/GW2W extensions. poke | talk 19:19, 9 January 2012 (UTC)

Tabs

Hey Poke. I was wondering what your positions on "gimmicky code" and tabs (such as the ones on DA Wiki's mainpage) in the main page design were. Aqua (T|C) 23:48, 8 January 2012 (UTC)

I was actually working on a tab-like script before that was supposed to enhance the collapsible tables we have so far. Not sure exactly what happened with it ^^ Also I'm not sure if it would be that a good option for the main page, but feel free to propose the basic idea on the editcopy. If people think it would be useful, I wouldn't really have a problem with it (although I doubt we already have enough content to warrant it). poke | talk 19:22, 9 January 2012 (UTC)

Hey Poke

Is there anyway to make my monobook friendly towards an iphone? Such as that the wiki seems to fit in it? Jones Wanna talk? 02:12, 15 January 2012 (UTC)

The pesky screen resolution problem

I was wondering if there existed code (JS or something) that could check the resolution of a user and then change the appearance of a page (i.e. the main page) to accomodate that resolution.
The current problem we're having is that a "< 800px" looks abysmal on pretty much any resolution above that, but any size bigger than that breaks the 800x600 resolution. Aqua (T|C) 01:14, 19 January 2012 (UTC)

  1. if ((screen.width>=1024) && (screen.height>=768))
  2. <link rel="stylesheet" media="screen and (min-device-width: 1024px)" href="1024.css" />
Depends on if you want to write something like mw:1024.css or not. I'm thinking that would be the easiest / best way to do it, as the alternative really would make editing the main page absolute hell. User A F K When Needed Signature Icon.png A F K When Needed 02:05, 19 January 2012 (UTC)
I'd be willing to do pretty much anything to avoid having to make the main page either scrolling width (I don't even think I can...) or "<600 px" thin. I'm presuming that those would go in the JS? And then would I have another if statement for a screen with fewer... Aqua (T|C) 02:53, 19 January 2012 (UTC)
800x600 is extinct. Don't expend effort designing for it. Felix Omni Signature.png 17:10, 19 January 2012 (UTC)
1 and 2 are separate options. Obviously, each is an example - the main code - and not the entirety for the sake of not destroying the conversation by spewing a shitload of code onto poor Poke's talk page.
As I said, it depends on if you feel like writing an entire CSS page (or two, depending on how you look at it).
Basically, there are multiple (i.e., more than two) ways of going down that path, however I do think it would be better to try to make a "one size fits all" page instead of either using different .css pages or using what amounts to crude hacks to display stuff if the resolution meets the specified critera.
That said, shout if you want help. User A F K When Needed Signature Icon.png A F K When Needed 03:01, 20 January 2012 (UTC)

auto-patrol

Is there a way to mark all the diffs I look at as patrolled on this wiki? – Emmett 00:02, 23 March 2012 (UTC)

You could try adding the automaticPatrol script from GWWT on GWW:
var script = document.createElement('script');
script.src = 'http://wiki.guildwars.com/index.php?title=User:Poke/GuildWarsWikiTools/automaticPatrol.js&action=raw&ctype=text/javascript';
script.type = 'text/javascript';
document.getElementsByTagName('head')[0].appendChild(script);
I'm not sure if it will work correctly, but you can try I guess ;) poke | talk 15:49, 31 March 2012 (UTC)
Didn't seem to work. Are you planning on "porting" your GWWT here? :) -- ab.er.rant User Ab.er.rant Sig.png 15:08, 9 April 2012 (UTC)
Yeah, something similar is in the works. I’m going to take a look at the patrol thing tomorrow to see why it doesn’t work (it actually shouldn’t have any dependencies on GWWT iirc). poke | talk 19:13, 9 April 2012 (UTC)

*pokes poke*

Damn, you still around!?! I heard that the community here is totally different.(Looks with a sly eye to that Erasculio dude...) I guess I can't show my face here either then... ;-) -- CoRrRan (CoRrRan / talk) 14:50, 10 April 2012 (UTC)

How can't you, though. - Infinite - talk 15:22, 10 April 2012 (UTC)
Oh wow, Cor, you’re alive! So good to see you! Are you getting GW2? :D *handscookiefromthegoodoldjar* poke | talk 15:28, 10 April 2012 (UTC)
Really depends on time constraints. Got a little one coming real, real soon, so I bet there's not much time left. *munch munch* I always liked GW, except that I don't know if GW2 will be as entertaining for me as GW1 has been. -- CoRrRan (CoRrRan / talk) 14:42, 17 April 2012 (UTC)

trouble retrieving account

I lost my wiki account password and have tried to retrive it by having it being sent to my e-mail, unfortunately I have a feeling I might have made a typo when I set up the account e-mail. Is there any way for me to get access to my profile now? Or should i just make a new one? My profile is Draconik. I'm sorry if this isn't the place for this kind of issue but I'm a veritable noob when it comes to the wiki's organization and I imagined an admin could point me in the right direction. Thanks in advance. 79.168.226.169 10:42, 20 April 2012 (UTC)

I’m afraid, we are not able to offer any help in recovering accounts. The only option a user has is that the email address is set correctly. If it does not work for you, you can only create a new account. Btw. when add an email address to an account, you usually have to confirm it, so if you didn’t get any confirmation mail, then yeah, it looks as if you mistyped the address. Sorry that I cannot really help you. poke | talk 11:02, 20 April 2012 (UTC)
It seems it just took the server a long time to send the e-mail, but the issue is resolved now. Thank for your quick response in any case. Draconik 11:22, 20 April 2012 (UTC)
You're welcome, and I’m glad to hear that you got it back :) poke | talk 16:57, 20 April 2012 (UTC)

Rfa order

I was just following the hidden text that said "recent first" --JonTheMon 14:51, 21 April 2012 (UTC)

clock

Is there a way to make the clock not show as 24 hours? And show as 12 hours instead?-User Zesbeer sig.png Zesbeer 00:06, 29 April 2012 (UTC)

As of now, the 24 hour format is fixed and cannot be changed. You could however disable the clock and replace it with your own, or I adjust it to allow am/pm time as well… poke | talk 22:37, 29 April 2012 (UTC)

Skill icons

... are up! As PNG, as we said. This means that there's a gazillion old JPGs lying around. Something for wikichu perhaps? (Also, this is Galil.) — Rhoot User Rhoot sig.png 08:14, 2 May 2012 (UTC)

Now we no longer need to wait on Wikichu to take down all them redirects! :D - Infinite - talk 10:49, 2 May 2012 (UTC)

CollapsibleTables script failing

Hi Poke, I'm Valento from the portuguese version of GW2W, we've added the same code you put for collapsible tables but it's not working at all, an example is shown here, I've set up common.js and collapsibletables.js correcly I guess but I can't figure out what is causing the issue, could you help me? - 177.0.27.252 18:45, 8 May 2012 (UTC)

Well, never mind, we'll be using another code provided by MediaWiki and used in official Wikipedia, it's said that code is cleaner and updated. You can check the links above soon to see how they work, it uses the collapsible code and has a class name for customizing the link itself in Common.css. See you! - 177.0.27.252 21:37, 8 May 2012 (UTC)
Back then, when I made the script, I did a lot investigation on the script Wikipedia used at that time. My tests showed that their script was very inefficient and slow, which is why I made a script myself. I don’t know if Wikipedia updated the script much since then though.
“it’s said that code is cleaner and updated” – exactly who says that? Someone from Wikipedia commenting about their solution? I doubt they even know about my script.
But of course, you’re more than welcome to use whatever you like, so if you are happy with Wikipedia’s script, use it :) poke | talk 15:58, 12 May 2012 (UTC)
I'm pretty sure he's talking about this, which was a core feature introduced in MW 1.18. Uh, obviously not, since they're still using 1.17. Never mind. —Dr Ishmael User Dr ishmael Diablo the chicken.png 16:10, 12 May 2012 (UTC)
I forgot to check for this page since I asked about that code, actually I used theirs because it solved the problem easily, but surely I'll be reconsidering using yours, performance is always welcome! - Valento 23:39, 25 May 2012 (UTC)

DPL

I've been told here to talk to you about the DPL code you're using in this wiki, our wiki is considering using DPL since it's very time-consuming updating every page so they reflect the changes in individual pages, but there's a security problem in it. Dr Ishmael has pointed you've modified DPL to remove the security issue, how can I have your modified version? - Valento 23:42, 25 May 2012 (UTC)

Sorry for the delayed reply. Unfortunately Semeb, the author of DPL, has not yet released his updated “beta” version to the public. As such I’m not entirely sure if I should distribute it in public further without his agreement. The bad news however is, that I haven’t been able to reach him since a while, so I’m not sure what his plans with the version are, especially as I personally see it rather stable (we have been using it here for a while without problems now). So, if you send me a wiki-email, I’ll give you the version he gave me back then. poke | talk 21:33, 29 May 2012 (UTC)
Sure! Sorry for the noobish question but I couldn't find your wiki-email, where is it? By the way, it's really cool that ArenaNet officially announced german and french wikis, you must be excited about working on those! :) - Valento 18:51, 30 May 2012 (UTC)
In the sidebar on the left, under "toolbox" there should be a link to "E-mail this user." If you don't see it, it's probably because you haven't entered an email address in your preferences yet - MediaWiki requires that in order to make sure you can receive replies from the other user. —Dr Ishmael User Dr ishmael Diablo the chicken.png 19:02, 30 May 2012 (UTC)
Yeah, I realized that but you repplied faster heheh; thanks Dr. Ishmael, I've sent Poke an e-mail. - Valento 19:05, 30 May 2012 (UTC)

Oh wise and glorious poke

Are you able to explain to me what I am doing wrong here. I think it is obvious what I am trying to do, but in case it isn't, I am trying to get a skill description and skill type (and a bunch of other variables) into variables that I can then use later in the template, the ultimate goal being trying to get DPL to be called only once in here. I'm pretty new to DPL and I can see how you can generate lists and can even list out the variables I want, but I don't want to list them, I want to stick them in other parts of my template and do pretty things depending on what the values are. Help poke (or someone else who sees this)! Misery 14:32, 2 August 2012 (UTC)

All you have to do is extend the lists of include and secseparators in the DPL call at the top of your "concise" template. I'll do it for profession so you can see what needs to happen.
Also, when you're setting the profession color, you should use a single #switch instead of repeated #ifeq's just use the profession name as a class name for the table: class="{{#var:profession-{{{1}}}}} table"Dr Ishmael User Dr ishmael Diablo the chicken.png 14:39, 2 August 2012 (UTC)
Yeah, I will change to switches later. My first move was a dirty hack I admit and doesn't allow for any default option. It is better than the nested ifs I had planned originally. Luckily the maximum of 7 nested ifs foiled me. See, I tried variations of what you just did, but the problem is, when I call the variables I get nothing. The type and description should be showing up, but only the parts of the skill box I filled using templates like [[Template:Skill variables]] are showing up, the variables I am calling from that big DPL call at the top seem to be void. See User:Misery/Simple template here for a simpler example, i.e. me trying to work out what was going on in a simpler environment. I know the code looks quite different to the original, but that was returning blank variables too. You can find that in the now extensive page history. I did work out eventually that I could copy the code to another page, replace {{{1|}}} with a skill name and use that to check the functionality without spamming Recent Changes, but I still haven't found a variation that returns anything for the variables. Am I simply using the wrong command to call a variable? Misery 14:49, 2 August 2012 (UTC)
Doctor ishmael's comments on the talk page of the template solved my problem, so sorry to bother you poke! Misery 14:58, 2 August 2012 (UTC)

GWWT

Can the GWWT be moved over here as it is or does it require a bit of re-coding to make it work? Anzenketh 04:51, 11 September 2012 (UTC)

GWWT is not compatible with GW2W, and will never be. Instead a completely new version is being worked on, also focussing on more useful things for this wiki. poke | talk 09:35, 11 September 2012 (UTC)
Any ETA? pling User Pling sig.png 16:50, 11 September 2012 (UTC)
Sadly no, but I’ve recently started working on it again. poke | talk 17:01, 11 September 2012 (UTC)

Dear Poke

Do you have an Android phone or tablet? Felix Omni Signature.png 22:11, 18 September 2012 (UTC)

Yes, why? :) poke | talk 22:13, 18 September 2012 (UTC)
I finally got around to developing my GW2Wiki app, but I need someone to collaborate who's good with css, because I'm not. The app uses Mediawiki's API to grab just the processed html of a page's content (all nice and template-expandy!), so it's lightweight and perfect for viewing. So what I need is a style sheet to wrap that in so it'll look good on small screens. I'll be glad to send you the project files if you're interested- eventually I'm going to GPL it so secrecy isn't really important. Felix Omni Signature.png 22:20, 18 September 2012 (UTC)
That sounds cool! I’ll pop into IRC tomorrow and so we can see what we can do about it :) poke | talk 22:28, 18 September 2012 (UTC)

You overrode my edit... why?

In the page: Teach Quaggans How to Raise Crabs, you removed my experience contribution. Can you please explain why as this is my own personal experience. The preceding unsigned comment was added by Diseraph (talk) at 01:07, 19 September 2012 (UTC).

Hey, from what we know, renown hearts always give the same amount of experience, regardless of the player’s level or other factors. The amount is based on the renown heart level and a fixed factor, as explained on our experience page. As such only one of the numbers listed on the page would be right. So I used the number I experienced myself yesterday when I did the heart, and also double-checked with the formula (Level 46 is 42500 experience, and 8% of that is 3400).
As your number, 4200, equals the amount of experience you get with a level 50 renown heart, I suspect that you mixed it up with a different one in the area. poke | talk 09:09, 19 September 2012 (UTC)
No I didn't get it wrong. I'm level 80 if that made any difference. If its not a consistent thing, perhaps they need to remove it from the template? Diseraph 09:56, 19 September 2012 (UTC)

Experience#Mechanics says "Should content be further than thirty levels below the character level, experience is gained as if the content was thirty levels below the character's. " -- Dagger 15:40, 19 September 2012 (UTC)

Ahh! Okay, that makes sense! :) poke | talk 20:22, 19 September 2012 (UTC)

Finally finished overhauling app layout

Your turn! Felix Omni Signature.png 17:37, 17 October 2012 (UTC)

Alrighty! I’ll take a closer look at it tomorrow night. poke | talk 19:36, 17 October 2012 (UTC)

UI's done

The last two major parts of the app are the custom CSS and getting the UI elements translated. Obviously you've got German, plus Yandere if you want to use him as slave labor. I'm getting my sister to do French and my uncle to do Spanish (if he has time), so that should be set. We are close, man. Felix Omni Signature.png 10:08, 28 October 2012 (UTC)

Alright, I’ll get back to you on this over the weekend. poke | talk 01:22, 2 November 2012 (UTC)
Also, accept my facebook friend request. Felix Omni Signature.png 19:31, 7 November 2012 (UTC)

Event rewards

Noticed your edit summary, is there a page that's using it more than once? I can't think why that would be necessary... —Dr Ishmael User Dr ishmael Diablo the chicken.png 01:15, 2 November 2012 (UTC)

It was used multiple times here which I now moved over to the event itself. I don't know if it's necessary or not; I'm just copying those things ^^ poke | talk 01:17, 2 November 2012 (UTC)
Ah, looks like that event gives rewards based on your character level. I think I know what to do. —Dr Ishmael User Dr ishmael Diablo the chicken.png 01:52, 2 November 2012 (UTC)