Feed The Beast Wiki:Administrators' noticeboard/Archive/2015

Common.js
I noticed an unused function called "ModifySidebar" in the common.js, apparently unused anywhere and wondered if it was worth keeping? Cblair91 (talk) 13:03, 26 January 2015 (UTC)
 * Resolved in my JS cleanup Cblair91 (talk) 09:11, 27 May 2015 (UTC)

Problems accessing wiki pages like /dev/null
The problem arises from how the wiki does its links: it doesn't check for restricted characters, leading it to try to send anyone trying to get to the /dev/null page to the literal web address "/dev/null" because it tries to link to //dev/null. To actually access the /dev/null page you have to directly access the url "http://ftb.gamepedia.com/%2Fdev%2Fnull", which has the '/'s replaced with the URL encoding for '/': %2F.
 * We are well aware of this issue. This problem is something that can't be avoided as it a limitation of the website itself; however there was a quick fix made to circumvent this issue when the article was made which gives a fully operating link in the Navbox for the OpenBlocks mod. For quick reference the link in the Navbox targets /dev/null rather than the conventional location. -- Wolfman_123_ ·&#32;✉ F T B  Wiki Staff  01:31, 13 March 2015 (UTC)
 * Still suggest you create a page like dev/null for users using the search box. --  Jin bo  bo  16:27, 26 May 2015 (UTC)
 * Damn that's a mind screw. dev/null created. PaladinAHOne  Staff (talk) 08:12, 27 May 2015 (UTC)

Ftb.css
Just checking through your CSS and stuff, I notice you have a FTB.css, yet it's never directly imported/called/used? Cblair91 (talk) 07:49, 26 January 2015 (UTC)
 * That is the old theme from before we moved to Gamepedia. 🐇 R e t e p 9 9 8 🐇🐰 Bunny Overlord 🐰 07:53, 26 January 2015 (UTC)
 * So it's technically safe to remove? :) Cblair91 (talk) 13:03, 26 January 2015 (UTC)
 * Should be --  Satanic Santa F T B Wiki Admin 14:56, 26 January 2015 (UTC)
 * Needs deleting then :P Cblair91 (talk) 09:13, 27 May 2015 (UTC)

PLZ PATCH
Patch from commit df529ac. It's so annoying.

If you don't mind breaking the slide up and fade out animation, just add this to MediaWiki:Common.css:

Now the scrollbars in those syntax highlighting boxes are bothering me lol. --  Jin bo  bo  16:15, 26 May 2015 (UTC)

Yeah. --  Jin bo  bo  16:23, 26 May 2015 (UTC)

Fix for rainbow text and two flavors of repeating rainbow text. Patched just for User:Retep998. --  Jin bo  bo  06:53, 27 May 2015 (UTC)

Add a "show background" class for the crafting grids
Can the line  from MediaWiki:Common.css be changed to  ? This would make cg cells with the class "gridShowBackground" show the background on G/Cell for the sake of covering things like default backgrounds, as most in game cases hide that image (eg, the armor slots). Otherwise I would have to upload an additional image for each empty slot and add extra code to make sure it will display when the parameter is unset. Existing grid templates will be unaffected, so it is basically an "opt in" type thing. –KnightMiner t/c 16:35, 3 November 2015 (UTC)
 * <- it does already have the grey background? In fact you have to explicitly say for it to not to have a background -  Chocohead  Nag • Edits • Staff 17:01, 3 November 2015 (UTC)
 * It appears .craftingGridNoBg is currently ignored. It used to be that Cg templates had to specify that for each cell to disable that behavior, but it appears it was made to always hide the background by default., do you think we should reinstate the requirement for .craftingGridNoBg to hide the background? 🐇 R e t e p 9 9 8 🐇🐰 Bunny Overlord 🐰 18:49, 3 November 2015 (UTC)
 * Not sure. How much would it break things and how quickly and easily could it be fixed? Does it actually cause a problem, because I haven't really noticed any? --  Satanic Santa F T B Wiki Admin 19:19, 3 November 2015 (UTC)
 * It just means that the background visible in a standalone Gc call would also be visible in any Cg that doesn't use .craftingGridNoBg. It would be pretty simple to fix any Cgs that don't use it but should. A lot of Cgs already use it anyway. 🐇 R e t e p 9 9 8 🐇🐰 Bunny Overlord 🐰 19:37, 3 November 2015 (UTC)
 * Most of the templates I've seen have used it, along with me personally using it in the new templates I make when relevant. The main problem is you can no longer tell it to show the background, which causes the default cell background issue I mentioned above. –KnightMiner t/c 21:02, 3 November 2015 (UTC)
 * So wait, the change will basically be having to define it in the Cg as a whole, and will effect every cell in the Cg, rather than having to define it in individual cells? --  Satanic Santa F T B Wiki Admin 00:09, 4 November 2015 (UTC)
 * Look at Cg/Distillery/GregTech. Notice the . That's all a Cg would have to do to hide the background from Gc. Whether that background should be hidden or not depends on the Cg. For example, with GregTech the Gc backgrounds should always be hidden since you can clearly see the images in the slots from Greg's GUI's even when there is an item in them. 🐇 R e t e p  9 9 8 🐇🐰 Bunny Overlord 🐰 00:23, 4 November 2015 (UTC)