[All Adaptavist Apps]

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

MeriaWiki theme config

Excerpt

This theme configuration is based on the popular open source wiki, MediaWiki - the same wiki used for Wikipedia.

Disclaimer

This theme config is by no means complete, the links in the left sidebar are not yet connected to their respective pieces of functionality. It was created because we get lots of requests asking if Confluence can be made to look more like MediaWiki (especially for organisations migrating from MediaWiki to Confluence which is a very common occurrence).

Prerequisites

You'll need to install the following plugins before you can use this theme config:

  • Confluence 2.1 or above
  • Theme Builder 2.0.x or above
  • Content Formatting Macros plugin (latest version)
  • Page Information Plugin (latest version)

Before you start

This theme config has an image file used for the background. Before uploading the theme config to your site you'll have to check through the XML file for occurrences of %%RESOURCEPATH%% and replace those with URL's to your desired graphics using a plain text editor such as Notepad or SciTE (don't use things like Write or Word as they will make a horrible mess of the XML).

Getting the resource path

We recommend attaching the background image (headbg.jpg) to the home page of the space where the theme is being used and then right-click the links shown on the attachments screen to get the link to the graphic.

The URL that you copied from the attachments screen will probably be similar to this:

No Format
http://mysite.com:8080/wiki/download/attachments/65539/headbg.jpg

For best results we strongly recommend using a relative URL - ie. remove the server bit from the start to leave something like this:

No Format
/wiki/download/attachments/65539/headbg.jpg

Once that's done, remove the file from the end to get something like this:

No Format
/wiki/download/attachments/65539

And then replace %%RESOURCEPATH%% with whatever you are left with.

It's a bit of a messy process - hopefully a future version of Confluence will provide a central place to store files making this process far easier to automate.

Installation Instructions

  1. Create a new space, and select the Theme Builder theme.
  2. Donwload headbg.jpg and then attach that file to the space Home page.
  3. Get the URL to your headbg.jpg file and edit the theme config XML file so it has the correct resource path as discussed above.
  4. Go in to Theme Configuration (Edit > Administration > Theme Configuration)
  5. Choose File > Upload Settings... (you may have to click this twice to get the upload panel to appear)
  6. Upload mediawiki_ThemeSettings.xml