Jump to navigation Jump to search
m (Robot: Archiving 2 threads from StrategyWiki:Staff lounge.)
 
m (Robot: Archiving 3 threads from StrategyWiki:Staff lounge.)
Line 17: Line 17:
:As was mentioned from the get go, the control selector isn't meant to be used for lots of tabular information the way you did. You can see on enemies pages in other guides that individual sections for enemies with {{t|alphabetTOC}} at the top works just fine and avoids these problems. So yes, I would say it needs an overhaul. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 18:44, 4 July 2012 (UTC)
:As was mentioned from the get go, the control selector isn't meant to be used for lots of tabular information the way you did. You can see on enemies pages in other guides that individual sections for enemies with {{t|alphabetTOC}} at the top works just fine and avoids these problems. So yes, I would say it needs an overhaul. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 18:44, 4 July 2012 (UTC)
::It was fun while it lasted. --{{User:Notmyhandle/Sig}} 19:47, 4 July 2012 (UTC)
::It was fun while it lasted. --{{User:Notmyhandle/Sig}} 19:47, 4 July 2012 (UTC)
== Bug list ==
Feel free to add anything you spot to the list.
# Classes for {{t|tag}} need to be updated for the "small" functionality that used to have a mouseover box on the right in BlueCloud. This actually still works in Monobook. I don't know if we just want to get rid of this functionality all together, or make it work in all skins. ([http://strategywiki.org/w/index.php?title=Template:Tag&action=view&useskin=dolphin Dolphin], [http://strategywiki.org/w/index.php?title=Template:Tag&action=view&useskin=vector Vector], [http://strategywiki.org/w/index.php?title=Template:Tag&action=view&useskin=monobook Monobook]).
#*Here's a new tag template based on the look of Wikipedia's cleanup tags: [[User:Najzere/Tag]]. This goes away completely from the "hidden", expandable box that used to go off to the side. It's pretty simple, just puts a normal box at the top like {{t|stub}} does, or a smaller one for sections. Here are examples: [[User:Najzere/Sandbox#Tag template test|test cases]]. Each [[:Category:Header box templates|header box template]] would set its own colors/icons or use a standard one and we could make a [[wp:Template:Multiple issues|multiple issues]] style template to combine them. The <tt>header_box</tt> class could be updated with the new styles and <tt>developer_header_box</tt> could be removed completely. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 16:24, 8 May 2012 (UTC)
#* And here is the [[User:Najzere/Multiple issues|multiple issues template]], also added to the test cases. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 18:02, 11 May 2012 (UTC)
#**I like this. Would the currently invisible templates ({{t|needinfobox}}, {{t|needcat}}, etc.) be merged into this? -- [[User:Garrett|Garrett]] ([[User talk:Garrett|talk]]) 03:36, 12 May 2012 (UTC)
#***I'd still like to bring back the "tagging" feature.  They could probably be added something like a toolbox on the side.  Perhaps a "tagbox" or something. -- [[User:Prod|Prod]] ([[User talk:Prod|Talk]]) 04:21, 12 May 2012 (UTC)
#***Yes, it's set up to include needinfobox and needcat, but we don't need to include any that we want to be category-only, with no messaging. Also I left some out that I thought should always be their own separate banner, like delete and future. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 17:03, 13 May 2012 (UTC)
#{{t|subtoc}} doesn't seem to center when transcluded. See [[Super Mario 64/Walkthrough]], expand TOC, see header "Super Mario 64 DS" aligned left, see [[Super Mario 64/Table of Contents]] where header is centered. --{{User:Notmyhandle/Sig}} 16:29, 22 June 2012 (UTC)
#*They're both centered in my browser. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 17:00, 22 June 2012 (UTC)
#**Uncentered in the ToC in Google Chrome, Monobook. Uncentered in FireFox 13.0.1 in Dolphin. Hmmm... --{{User:Notmyhandle/Sig}} 18:03, 22 June 2012 (UTC)
#***Seems to be caused by the rule <code>.header_nav .NavHead { text-align: left; }</code>, which is part of [[MediaWiki:Common.css]]. Not sure what other effects removing/editing that rule will have however. --{{User:Ryan Schmidt/sig4}} 08:06, 24 June 2012 (UTC)
#****Should be fixed, please confirm. -- [[User:Prod|Prod]] ([[User talk:Prod|talk]]) 02:46, 26 June 2012 (UTC)
# Extension ConfirmEdit is giving trouble again.  The wikimedia update for 1.19 doesn't work with Asirra.  --[[Special:Contributions/76.10.168.59|76.10.168.59]] 03:57, 21 July 2012 (UTC)
===Done===
# First off, if BlueCloud is completely killed, can everyone's preferences be updated to Dolphin automatically?
#* Done. -- [[User:Prod|Prod]] ([[User talk:Prod|Talk]]) 05:05, 3 May 2012 (UTC)
#**Awesome thanks. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 05:36, 3 May 2012 (UTC)
# {{t|featured}} needs to use a class instead of inline styles to properly place the star in different skins. ([http://strategywiki.org/w/index.php?title=Pok%C3%A9mon_Yellow/Table%20of%20Contents&action=view&useskin=Dolphin Dolphin], [http://strategywiki.org/w/index.php?title=Pok%C3%A9mon_Yellow/Table%20of%20Contents&action=view&useskin=vector Vector], [http://strategywiki.org/w/index.php?title=Pok%C3%A9mon_Yellow/Table%20of%20Contents&action=view&useskin=monobook Monobook]).
#* Looks like the class was already ready, I just did some tweaking to the css rules. -- [[User:Prod|Prod]] ([[User talk:Prod|Talk]]) 19:58, 6 May 2012 (UTC)
# Restore functionality of sortable for custom skins.
#* If anyone is having problems with this, try disabling abxy scripts, which worked for me. Likewise a fix on the abxy side may be needed.
#** Removed the abxy script includes, so it should be working now, with new arrows too! -- [[User:Prod|Prod]] ([[User talk:Prod|Talk]]) 06:01, 8 May 2012 (UTC)
# We need a new graphic for the top left corner in Vector and Monobook. It's clickable to get to the main page, but shouldn't be empty.
#* Same old image, but at least it isn't blank.  Not the highest priority to make a new image, but it'll get updated at the same time we update any other images. -- [[User:Prod|Prod]] ([[User talk:Prod|Talk]]) 06:01, 8 May 2012 (UTC)
# The <code>nav_toc</code> class needs to be eliminated, and I think Prod has already started that by deprecating {{t|sidebartoc}}.
#* All uses have been removed and the template deleted. -- [[User:Garrett|Garrett]] ([[User talk:Garrett|talk]]) 03:36, 12 May 2012 (UTC)
===Discussion===
They just released 1.19, and I'm going to be updating to that soon (next week if no new extensions break), so expect new bugs to crop up then. -- [[User:Prod|Prod]] ([[User talk:Prod|Talk]]) 05:05, 3 May 2012 (UTC)
:Cool. Have you seen the new diff engine they rolled out on Wikipedia as part of the 1.20wmf1 upgrade? Most people hate it, but I think it's pretty cool and would be perfect with a little palette enhancement. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 05:36, 3 May 2012 (UTC)
::I still haven't accepted the fact that they managed to release 1.19 on time... -- [[User:Prod|Prod]] ([[User talk:Prod|Talk]]) 05:59, 3 May 2012 (UTC)
Can we just use the Facebook logo for Monobook? --{{User:Notmyhandle/Sig}} 20:52, 3 May 2012 (UTC)
:Yeah, it's the right size, but it's also from the old logo, so an updated one would be good (to replace the FB one too). — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 00:22, 4 May 2012 (UTC)
== Spoiler image script ==
I'm proposing an addition to the site wide javascript for spoiler image functionality. It replaces images with a spoiler placeholder image and reveals the hidden image on mouseover. Usage would be something like <tt><nowiki>{{spoilerimage|</nowiki>''image name''}}</tt>. To see it in action, add <tt>importScript('User:Najzere/spoilerimage.js');</tt> to your [[Special:MyPage/common.js|common JS]] or [[Special:MyPage/skin.js|skin-specific JS]] and visit [[User:Najzere/Sandbox#image swap test|my sandbox]] for an example. The example just swaps two images, but obviously the "top" image would be the spoiler placeholder. If javascript is disabled by the user, then the normal image would appear without the spoiler placeholder. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 21:03, 4 July 2012 (UTC)
:Do we support users without javascript enabled? I mean, who doesn't have js enabled while browsing? My real concern is with using mismatched file sizes. Can you script the spoiler image to resize according to the size of the image it is covering up? --{{User:Notmyhandle/Sig}} 22:45, 4 July 2012 (UTC)
::We support them in the sense that we try not to do things that will entirely fuck them if they don't have javascript enabled, but if you take something like {{t|spoiler}} for example, you can see that there is precedence for making content entirely inaccessible without js enabled. This particular script won't do that, you'll get the normal image if you don't have javascript on. But really in this day and age you would be hard-pressed to find any site that doesn't use some javascript, it's really not worth worrying about anymore.
::The spoiler image will be sized to whatever the original is set at, or its natural size if nothing is set. Only the source of the image is changed. For the spoiler image, the easiest way from a coding perspective would probably be to just use a .png image with a single color that will look the same at any dimensions. The spoiler image template would add text somewhere (like above or below) with instructions to mouseover to reveal the image. There are other methods if you wanted the placeholder image itself to say "mouse over me", but there would always be either scaling issues, funky image size changing issues or unnecessary complexity. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 00:08, 5 July 2012 (UTC)
:::There's no way to pass the image size as a parameter of the script? Or, would it be possible to put an image on top of the spoiler image? Like, have a "SPOILER" text image centered on top of the, say, red spoiler block image that would scale? --{{User:Notmyhandle/Sig}} 16:14, 5 July 2012 (UTC)
::::SVGs seemed to scale all right as far as not getting pixelated at larger sizes, but you'll always have problems with odd stretching if you try to use one image considering you can have very wide and short dimensions or very tall and thin dimensions. I updated the script to use another method, which repeats a small background image and hides the original image. This works with any size or dimension after 50×12 (the size of the background image). You can see different image shapes at the [[User:Najzere/Sandbox#image swap test|example section]]. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 17:22, 5 July 2012 (UTC)
::::Okay, I updated the script to center "SPOILER" over the image cover and it reveals the image when you mouseover. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 23:32, 6 July 2012 (UTC)
:::::It should also say "(mouse over)" so people know it's not just an image. --{{User:Notmyhandle/Sig}} 02:08, 7 July 2012 (UTC)
:This is pretty sweet :).  Though I'd prefer if we changed the colour and figured out a more descriptive caption.  Perhaps a default that can be changed through a parameter for really small images (is that possible)? -- [[User:Prod|Prod]] ([[User talk:Prod|talk]]) 12:26, 21 July 2012 (UTC)
::You can consider the stuff I used to be placeholders, I just wanted to demonstrate how it would work, not that we should use a hideous yellow background. For the "caption", yes we could switch out where it says "spoiler" for other stuff based on the template parameters. However, I think how it works is self-evident and everyone's first reaction to it would be to try and click it to see what it does. One change I was considering was to leave the image unhidden after mouseout, so you don't have to keep mousing over it if you want to see it again. That way it will be only be hidden every time you load the page before the first mouseover. — [[User:Najzere|<span style="color:#909090;font-variant:small-caps;">Najzere</span>]]&nbsp;·&nbsp;[[User talk:Najzere|<span style="color:#993300;font-variant:small-caps;font-weight:normal;">Talk</span>]] 21:26, 21 July 2012 (UTC)
:::I like that setting. We'll have to make the placeholder text clear. Black background with white text is better? Or making it fit better with Dolphin? --{{User:Notmyhandle/Sig}} 21:02, 22 July 2012 (UTC)
== Adding new pages ==
How do I add a new page to an existing guide? I searched, but wasn't able to find anything. If there is something on this, please show me the way.
--[[User:Pokelover11|Pokelover11]] ([[User talk:Pokelover11|talk]]) 19:31, 23 July 2012 (UTC)
:First, edit the guide's table of contents to add a link to the new page. The link will be red at first to indicate that the page isn't there yet. Then you just click that new link and it'll let you create the page. [[User:Wanderer|Wanderer]] ([[User talk:Wanderer|talk]]) 22:10, 23 July 2012 (UTC)