mediawiki-theme-timeless-gmt/readme.md

1.4 KiB

mediawiki-theme-timeless-gmt

Theme fitting the Mediawiki 'timeless' skin, for use with the Game Making Tools wiki.

Installation

  • Requires the Mediawiki extension 'Theme': https://www.mediawiki.org/wiki/Extension:Theme
    See instructions behind that link (Skin is included by default, so you might just need to edit a line to LocalSettings.php).

  • Place this stylesheet within your wiki's extensions/Theme/timeless directory ('Timeless' is the skin it modifies).

  • Within extensions/Theme there's a file called extension.json. You need to find the ThemeModules and ResourceModules parts and add the theme there. For example mine looks like this:

"ThemeModules": {
	"timeless": [ "gmt" ]
},

...

"ResourceModules": {
	"themeloader.skins.timeless.gmt": {
		"styles": {
			"timeless/gmt.css": {
				"media": "screen"
			}
		}
	}
},

NB: I only have one theme set-up though! Each theme you want to use needs it's own 'module'. You need to separate each module with a comma.

Extensionless Alternative

If you don't want to use a theme you can add the content of the stylesheet to MediaWiki:Common.css page of your wiki. To edit this page you need to be in the 'interface administrator' group. You can sheck this on the Special:ListUsers page.

The downside of this method is that it will be applied to every skin.

To-Do

  • Nicen mobile version.
  • Add dark mode