User talk:SBEyes/Archive1

From Star Trek Online Wiki
Jump to: navigation, search

This is an archive of User talk:SBEyes.

  • Please do not edit this page!
  • If needed, direct any comments to the current talk page.

Templates with tabs[edit source]

Hey Eyes. You seem pretty comfortable with wiki code and the like. That's why I wanted to ask you about something. Over at Zelda Wiki they use nav templates with tabs (see also template:tab). Which I think is pretty convenient and could come in handy for templates regarding missions or systems (which are much needed, IMO). However, I'd imagine they require a lot of code and other sub-templates. Would you be able to pull something like that off? Regards, -- Backyardserenade 11:47, 27 June 2011 (UTC)

The simple answer is that I believe I can. I've done something similar to create a method for hiding spoiler text and revealing it only when a link is clicked. The same basic method should work for this.
There are caveats with this particular wiki because we seem to be close to a vanilla installation of MediaWiki with only a handful of extensions installed. More specifically:
  • Having user CSS/JS enabled would let me develop and test this without affecting other users, but that's disabled by default. I couldn't get changing the font size to work by adding appropriate CSS to User:Eyes/Cavendish.css a while back, so I think we're at the default setting. We'd need an admin to bug Curse to change LocalSettings.php to enable this. I can't edit Mediawiki:Common.css or Mediawiki:Common.js as a regular user (which is best, since working directly with those two pages before fully testing it would make my mistakes affect every user), so I'd have to develop and test elsewhere.
  • Using Mediawiki:Common.css or Mediawiki:Common.js would add some small overhead to every page load, whether the tabs were used on that page or not, but it's the only way I can do it in a vanilla install. An extension that lets me add CSS or JS directly to the template page would be best, but for security reasons, these extensions usually only allow this to be done on protected pages, so either way, we'd need an admin backing this. The overhead might not significant enough to affect performance noticeably, though.
    • The Secure HTML extension installed here might work, but if I'm reading the documentation for that right, it'd require each page using whatever tabs template I make to be protected. I'm not entirely sure I'm reading it right, though. (Might also require a configuration file change... the page mentioned $wgRawHTML, and I don't think Curse would want to enable that setting. [I don't blame them.]) Looks like I'd have to experiment to figure it out, but I can't protect pages.
Also, I dislike creating features that don't accommodate those with Javascript disabled, and the Zelda wiki's method doesn't. The contents of the other tabs are inaccessible without it. My solution would be to start out with the contents of all tabs displayed (essentially in a column) and then hide all but the first using Javascript when the page runs. I would also generate the actual tabs at the same time; that way, those with Javascript disabled could still get at all of the contents. This could be a problem for any page layouts that count on the tab box being compact, though.
So, tl;dr, I'm pretty sure I can do it, but there are a few issues to consider, admin support is needed, and getting Curse to tweak a few settings would be helpful. Time to figure out who here is our contact with them. Eyes User-Eyes-Sig.png 13:12, 27 June 2011 (UTC)

Admin?[edit source]

Hi Eyes,

would you like to join the Admin team? You have been very helpful in the last couple of months, so MatthewM and I would like to grant you admin privileges (and duties). Drop me a line, if you are interested.

Regards, --RachelGarrett 15:22, 19 July 2011 (UTC)

Sure, I'm interested. It's looking like I'm going to be unusually busy for the next day or two, though, so I won't be able to start too much right away, but I'm looking forward to taking a more involved role in the wiki. Thank you for considering me. Eyes User-Eyes-Sig.png 19:20, 19 July 2011 (UTC)
Congratulations! You are now a STOWiki Admin. Enjoy the ride! --RachelGarrett 20:41, 20 July 2011 (UTC)

Show/hide option[edit source]

Congratulations on becoming an admin! To the best of my knowledge, the show/hide (aka collapsible or hidden) option for tables, templates, etc. is not currently possible on STOwiki with the sole exception of the TOC. Do you know if there is a simple way to add this functionality to the site? --MatthewM 14:36, 22 July 2011 (UTC)

As I've seen the functionality, the Javascript is usually set up for a specific case. It's a little easier that way because you know what type of elements you're working with, and more importantly, where you'd add your show/hide link (that's the part that makes writing a very general script for it more difficult). But ultimately, they're all the same basic technique and just require the following:
  • A class on whatever you want to hide that lets the Javascript find it, and generally a class on whatever element you want the show/hide link.
  • One Javascript function that initializes everything on the page load. (You want to do it this way so you can have things set up correctly for those who have Javascript off.)
  • One function to actually do the show/hide.
But, yeah, it's trickier to set up for the generic situation. If you already know what type of elements you're showing/hiding and where the show/hide link should be placed, it's generally easy enough. Eyes User-Eyes-Sig.png 14:50, 22 July 2011 (UTC)

Spam filter[edit source]

The spam filter is being overzealous when I'm trying to post image links from the devs on the upcoming content article. Is there a way to grant admin-overwrite or otherwise edit the settings? --MatthewM 06:40, 3 September 2011 (UTC)

I'm not sure which extension is responsible. Is it making you do a math problem before saving, or just completely blocking an edit? I might need to try to trigger it myself to figure out which one is the problem. Eyes User-Eyes-Sig.png 12:10, 3 September 2011 (UTC)
It was completely blocking the edit (didn't matter if the image was from yfrog or had a shorturl (or other similar service)). --MatthewM 12:40, 3 September 2011 (UTC)
I'm betting it was SpamBlacklist. I didn't see any configuration settings to let sysops bypass it... it looks like the only control it gives is using MediaWiki:Spam-blacklist and MediaWiki:Spam-whitelist to fine-tune the filters. (Or using LocalSettings.php to change the source of the filters. Currently, it gets them from , which does block yfrog.) :( I tried whitelisting yfrog; hopefully, that solves the immediate problem. Eyes User-Eyes-Sig.png 13:34, 3 September 2011 (UTC)
If it becomes a frequent problem, it looks like we could ask Bumble to remove all the external blacklists from SpamBlacklist's configuration. Then, to get any use out of the extension, we'd have to add our own entries, probably after banning spammers. Eyes User-Eyes-Sig.png 14:25, 3 September 2011 (UTC)

Column overflow with nowiki[edit source]

Hi Eyes,

I've noticed, that with our templates the <nowiki> environment produces lines that wont wrap. That makes the formating guides very hard to read. As our resident CSS guru, would you happen to know a way to fix this?

Regards, --RachelGarrett 09:31, 18 September 2011 (UTC)

That is actually the normal behavior for it in any skin, which is why I didn't change it until now. I've put in a change now that should cause it to wrap within the columns. Eyes User-Eyes-Sig.png 09:56, 18 September 2011 (UTC)

Could you promote me?[edit source]

Hi, I don't have any admin or crat rights on this wiki, it'd be cool if you could promote me into the Curse usergroup. I need to write a metadescription for you guys for Google search but I can't do it without any rights. --Bumbletalk 16:13, 29 September 2011 (UTC)

Thanks, I appreciate it! --Bumbletalk 16:37, 29 September 2011 (UTC)

Feedback[edit source]

Hello! I want to thank you for everything you have done for the Star Trek Online Wiki. Allow me to introduce myself. I am Tesla, a wiki manager for Curse. The reason I am posting on your talk page is for some feedback. I was hoping you could tell me if there was something you would like to see on the wiki or if you think there is something we could do to help improve the quality of our service to the community. If you have any ideas at all, please feel free to stop by on my talk page and leave me your thoughts. Thank you! DjTesla 10:14, 28 October 2011 (UTC)

Re; Category sort keys[edit source]

Thanks for letting me know. That old namespace behavior has always been a problem on the wikis I've used. KarikaCommunicator 22:17, 28 October 2011 (UTC)

File: No_Icon.png[edit source]

I assume there are two uploads from Angelus214 that need to be surgically removed for the file to work again properly. --Dukedom 17:48, 12 November 2011 (UTC)

doff unique powers[edit source]

With the recent addition of such duty officers as Automated Personnel Unit a slight problem has occured. The DOff has an unique power (doubles exposes if I recall correctly). I assume you could add a uniquepower ?property? to the doffpage itself that would override the standard powers? --Dukedom 11:04, 9 December 2011 (UTC)

It's added with the powerdesc1 and powerdesc2 parameters now overriding the standard power from the specialization. Also took the opportunity to update the infobox to include "Space" or "Ground" after the specialization as per the updated look in the game. (Note you might have to click the refresh button next to the watch button to force the wiki to update the look for doffs already on the wiki.) Eyes User-Eyes-Sig.png 12:22, 9 December 2011 (UTC)

revisit to boff traits?[edit source]

As you can see Trait: Acute Senses/boff there are some things wonky when I tried to update the first boff page to the shiny semantic. --Dukedom 13:55, 15 December 2011 (UTC)

{{Bofftraittablespeciesrow}} needed a minor fix. The {{#show: ...}} parts should be left alone. Since they are querying information from the same page they are on, it's possible the results won't show up the first time the page is saved. (iirc, there's a flaw where queries get run before the properties get set during a page save.) Eyes User-Eyes-Sig.png 14:31, 15 December 2011 (UTC)

Blocking.[edit source]

It seems I have been blocked wrongly. And I am not sure where I should bring this up, but I thought I should bring this to an admistrator's attention. I have been blocked indefinitely for "Creating a large spam page", I have not. This "spam page" was my userpage. It seems this blocking ws caused when I tried to create this: [1] (At the top of the page), which uses (very) long coding. I thought I should bring this to an admimistrator's attention, as I believe I have been wrongly blocked. My username was User:Tentacletornado Thanks.

  • Thanks, much appreciated.I'll try not to use long coding next time. --Tentacletornado 17:40, 15 December 2011 (UTC)
I've been auto-banned from a Curse network wiki once for the same reason. Unfortunately, I don't think there's a good way to refine the abuse filter to tell the difference between adding a valid large userpage with external links and a spam edit, so you just need to be careful about adding external links until you have a handful of edits under your belt. Apologies for the inconvenience, and let me know if it triggers again. Eyes User-Eyes-Sig.png 17:49, 15 December 2011 (UTC)

Template:NPCinfo editing[edit source]

Dear Eyes, I'd like to modify the Template:NPCinfo but have been unsuccessful. Could you help me with it, please? I've outline the issues on the Community Portal talk page under section 1.14. Thank you very much, and have a Merry Christmas! Regards, --Markonian 13:45, 22 December 2011 (UTC)

Events[edit source]

Looks like we run into each other on many different wikis, eyes. Why can't an event be a mainspace? The Guild Wars wiki, allows all events to be made as a main page events with a little category thing that says "This is a community ran event". Example is at the top of this url. So why can't it be a main page event similar to that? This makes no sense to me. Please let me know, thanks. DjTesla 21:38, 27 December 2011 (UTC)

Sorry, currently this is not possible with our policies. We can have a discussion about the policies and ask the community to vote on change suggestions. Until then, however, Eyes was right to delete the page in the main namespace. I'm sorry about the inconvenience. --RachelGarrett 12:52, 28 December 2011 (UTC)
Its ok, I just wasn't aware of something like that. Since I'm a wiki manager, I should know things like that right? ^^ Well now I know for the future. Thanks. I would suggest doing something like that for the future though. Thanks again! DjTesla 22:23, 28 December 2011 (UTC)

Cavendish[edit source]

I noticed you mention recently that people shouldn't be using the Cavendish skin any more. I'm still using Cavendish as I don't like the new skins. If I absolutely need to switch then I will, but if I'm still using it then other people probably are also. Is there a way to determine this automagically? --Zutty 17:05, 1 January 2012 (UTC)

It should be disabled currently; odd that people are still able to use it. (It isn't showing as an option in my preferences right now.) There's no interface in the wiki that I know of that allows us to determine who's using what skin. Must be some quirk in the MediaWiki configuration. I'll look into it when I have more time. Eyes User-Eyes-Sig.png 20:42, 1 January 2012 (UTC)

Admin[edit source]

Since you are a admin I wanted to know how people became Admins —The preceding unsigned comment was added by Tuvok2409 (talk · contr)

User:RachelGarrett is our bureaucrat and selects new admins, usually consulting the other admins first. Eyes User-Eyes-Sig.png 18:47, 22 February 2012 (UTC)

mainspace username-article spam[edit source]

I've seen a lot of those recently. You could write a filter to block them:

article_namespace = 0 & article_text = user_name & article_articleid = 0

It would suck for anyone who named themselves after something in-game, of course, but that's not very likely. —Dr Ishmael User Dr ishmael Diablo the chicken.gif 16:13, 14 March 2012 (UTC)

Thank you. My abuse-filter-fu is still weak, and this pattern has been a long-running one. I'm happy to shut that spam if that's the only real drawback. Now we just get to wait for their next annoying method of beating the filters... Eyes User-Eyes-Sig.png 16:22, 14 March 2012 (UTC)

a poke that is probably unnecessary but just in case...[edit source]

pokeDr Ishmael User Dr ishmael Diablo the chicken.gif 19:49, 14 March 2012 (UTC)

new CSS for Stocommon[edit source]

Could you promote my CSS from here to the main CSS? I'm rearranging how the chain info is displayed on assignments (see example here) to make it both more compact and more noticeable, and it was a LOT easier to style it with stylesheet rules rather than inline styles. So that CSS needs to be installed before I can promote the changes from my test page to the real template.

Also, let me know if you have any suggestions on improving the new chain info display. —Dr Ishmael User Dr ishmael Diablo the chicken.gif 19:25, 19 March 2012 (UTC)

Got another one:

.itemlist li {
  clear: both;

This fixes the icon nesting in mission rewards as discussed here. Simply ensure that each list item is placed beneath all floating elements in the previous one, so that any floats it contains are not affected by them. —Dr Ishmael User Dr ishmael Diablo the chicken.gif 18:26, 3 April 2012 (UTC)

Done, and thanks for the fixes. Eyes User-Eyes-Sig.png 18:33, 3 April 2012 (UTC)

Widget:Duty officer icons[edit source]

Looks like the MW upgrade borked this one up. Maybe need to reconfigure the event listeners? Also the counts per species/gender combinations need to be updated (I have all the doffshots indexed at User:Dr ishmael/Doff icon index for easy counting). —Dr Ishmael User Dr ishmael Diablo the chicken.gif 19:15, 24 April 2012 (UTC)

Nah, the widget was using addOnloadHook as well, the same thing that borked the hide/show code. I think that was the only problem. Tomorrow, I'll either update the counts, or I'll update the widget to use a similar hack as the one I used to display the available common powers. Eyes User-Eyes-Sig.png 19:23, 24 April 2012 (UTC)