User:Jinbobo/FTB Skin

From Feed The Beast Wiki
Jump to: navigation, search

FTB Skin[edit | edit source]

Authors: Jinbobo
Version: 2.3.0

FTB Mobile Skin[edit | edit source]

Main pages: User:Jinbobo/FTB Skin/Mobile

The wiki is now supports mobile browsers from version 2.2.0 and up.

Installation[edit | edit source]

Place the following code inside LocalSettings.php:

require_once("$IP/skins/ftb/ftb.php");

Configuration Values[edit | edit source]

Versions Description
1.2.1 ~ 2.2.0 bool $wgDisableAdditionalPortals = true: Sets whether to display the additional portals. (QuickNav1 and QuickNav2)
1.2.1 ~ 2.0.0 bool $wgDisableFTBSkinAdditionalPortals = true: Sets whether to display the additional portals. (QuickNav1 and QuickNav2)
1.2.1+ string $wgFTBSkinLogoPath: Sets a logo for the FTB skin, will use the default if not specified.
2.2.0+ string $wgFTBSkinLogoSmallPath: Sets a small logo for the FTB skin, will use the default if not specified.
2.2.0+ string $wgLogoSmall: Sets a small logo for the wiki, will use the default if not specified.

System Messages[edit | edit source]

Versions Description
1.0.0+ <ftbskin-topmsg>: Defines the message at the top of the page.
2.0.0+ <ftbskin-topmsg-(group)>: Defines the message at the top of the page for a specific user group, will cycle through each if multiple can be displayed.
1.0.0 ~ 2.0.0 <ftbskin-quicknav>: Defines the quick navigation menus.
1.0.0+ <ftbskin-mainnav>: Defines the main navigation menus.

Bug reports and suggestions[edit | edit source]

Please report bugs and suggest features here: https://bitbucket.org/jinbobo/ftb-wiki-skin/issues.

Changelog[edit | edit source]

Version 1.0.0[edit | edit source]

  • Initial release.

Version 1.1.0[edit | edit source]

  • Added all external link icons.
  • Hooked into SkinBuildSidebar to allow changing lists inside the wiki using system messages. (Will require additional but minimal setup.)
  • [Critical] Correctly loaded the skin's boilerplate and resources.
  • Added ftb.js to the skin's scripts.
  • Added jQuery sliding tree menu demos.
  • Now using ResourceLoader to load stylesheets, images and scripts. (Reduces server load and page load time)
Version 1.1.1[edit | edit source]
  • Increased the size of buttons to 13px.
  • Implemented style 2 (fade),3 (dropdown menu) of the quick nav menus.
  • Implemented the main navigation bar.
  • Fully implemented the top navigation bar drop down menus, works both on the quick navigation and main navigation.
  • Moved quick nav style and main navigation menu out of the side panel.
Version 1.1.2 (Hotfix)[edit | edit source]
  • Allowed span tags to act as regular items in the top navigation bar.
  • Fixed main navigation sub-items showing up.
  • Fixed menu item links pointing to the same page not displaying correctly.
Version 1.1.3[edit | edit source]
  • Added a marker to submenu items with child elements
  • Menu item changes background when user hovers over it.
  • Changed default value of $wgDisableAdditionalPortals to true (Removes style 1 and 2 of the quick navigation)
  • Changed text in menu items to not wrap. (Be careful with long titles)
  • Changed the background of selected links in the sub navigation bar, reverted text color of them to white.

Version 1.2.1[edit | edit source]

  • Links in the credits now points to User:Jinbobo/FTB Skin instead of User:Jinbobo/Skin.
  • Renamed BuildAdditionalPortals to FTBSkinBuildAdditionalPortals
  • Changed $wgDisableAdditionalPortals to $wgDisableFTBSkinAdditionalPortals
  • Changed the skin description message from myskin-desc to ftbskin-desc
  • Added $wgFTBSkinLogoPath to set up skin specific logo.
  • Set editsection links' font-size to 13px and font-weight to normal.
  • Added a background image while hovering over the personal tool links.
  • Set the css property vertical-align of images to middle.
  • Removed the tagline.
  • Removed background of links in the footer when hovering over them.
  • Padding of the site notice section is set to 0 when no sitenotice is set.
  • Removed extra site notice code.
  • Text in the site notice is now centered by default.
  • Removed the background and box shadow of links with a image as the text when hovering over them.
  • Background color is now displayed in plain links when hovering on it. (Finally)
  • Increased content line height to 1.5em, fixing display issues with the Navbox.
  • Added a class: nohoverbackground to disable displaying a box when hovering over links.
  • Added a padding of 0.17em to the bottom of headers.
  • Added content subtitle formatting.
  • Fixed issue that a scroll bar appears in the diff screen.
  • Fixed issue with pre tags.

Version 1.3.0[edit | edit source]

  • Fixed image vertical-height property value. *derp
  • Adjusted line-height in category links.
  • Shrunk page content top and bottom padding to 10px.
  • Page content container now adjusts height depending on the existence of categories.
  • Fixed long lines in pre tags breaking the page layout.
  • Bundled the Minecraft font created by DjDCH which licensed under the Creative Commons Attribution Share Alike license, the fonts were converted by me and are released under the same license.
  • Slightly optimized loading.
Version 1.3.1[edit | edit source]
  • Adjusted line-height in category links.
  • Adjusted position of the search suggestion results.
  • Added a not an entry point warning to the main setup file.

Version 2.0.0[edit | edit source]

  • Updated wiki skin to match new forum theme.

Version 2.1.0[edit | edit source]

  • Fixed Minecraft font.
  • Fixed z-index of the search bar.
  • Updated color scheme.
  • Fixed link colors.
  • Removed list item icon in the table of contents and preferences page.
  • Fixed styling of the table of contents.
  • Fixed translate tool fonts.
  • Fixed the padding and margin of unordered lists.
  • Fixed the position of category links relative to the parent container.

Version 2.2.0[edit | edit source]

  • Fixed the message name of the top message.
  • Updated the file structure.
  • Now using LESS for stylesheets.
  • Added support for mobile browsers.
Version 2.2.1[edit | edit source]
  • Optimized notification display.
Version 2.2.2[edit | edit source]
  • Removed useless code and styles.
  • Changed the look the the site notice and improved compatibility with the dismissable site notice extension.
  • Fixed the TOC.
  • Increased the padding of diff lines.
  • Fixed ULS font and line-height.
  • Improved compatibility with the new Echo version.
  • Added styling for pre tags and syntax highlighting tags.
  • Fixed and decreased minimum width.

Version 2.3.0 (Current)[edit | edit source]

  • Introduced VisualEditor support.
  • Fixed mobile skin width.
  • Fixed category links.