forked from haleyjd/monaco-port
/
README (James Haley Readme)
69 lines (50 loc) · 3.17 KB
/
README (James Haley Readme)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Monaco Skin for MediaWiki
=========================
About
-----
This is an unbranded fork of the Monaco skin originally developed by Wikia
which is being maintained for use at [DoomWiki.org](http://doomwiki.org). It was
also previously deployed at the Orain non-profit wiki farm before it went
offline.
Compared to the original version of the skin, this fork now supports MediaWiki
versions 1.18 to 1.24 officially, with verified support for 1.25+ in the works.
This codebase will usually remain up-to-date against MediaWiki, and will drop
support for older versions unconditionally once it becomes impractical to
continue to support them.
New features in this fork over `dantman/monaco-port` include:
* A new Widgets framework which cooperates with [Extension:Gadgets](https://www.mediawiki.org/wiki/Extension:Gadgets) to allow sidebar content to be defined through the MediaWiki frontend.
* Special support for [Extension:FlaggedRevs](https://www.mediawiki.org/wiki/Extension:FlaggedRevs) and [Extension:MobileFrontend](https://www.mediawiki.org/wiki/Extension:MobileFrontend) when they are installed.
* Wiki copyright notice is displayed in the footer of every page as with WikiMedia-maintained skins.
* Numerous bug fixes to stylesheets, JavaScript, and php HTML generation.
This fork is maintained by James Haley. I do not offer support for this
software beyond basic installation help, however. Please do not contact
me requesting any customizations for your particular site. Bug reports
are however very much welcome, as are generic feature requests that
would be useful to everyone that might use it.
Installation
------------
To install, install monaco-port into a monaco/ folder in your skins/ folder.
From the command line you can do this by cd'ing to your skins/ folder inside
your MediaWiki installation and running:
`git clone git://github.com/haleyjd/monaco-port.git monaco`
After you have placed the skin into that folder add:
`require_once("$IP/skins/monaco/monaco.php");`
near the end of your LocalSettings.php to finish installation of the skin.
You can also include the ExtendedBodyAttributes.php code if you wish to
re-introduce the mainpage and loggedout classes that were in Wikia's version of
Monaco, doing this will actually make these css classes available globally to
all skins that are programmed using the MediaWiki 1.16 headElement code.
Additionally you can install the ContentRightSidebar extension using:
`require_once("$IP/skins/monaco/ContentRightSiebar.php");`
Doing so will provide you with a `<right-sidebar>...</right-sidebar>` tag which
will create right floated content in the page that will be moved into the right
sidebar in monaco based skins. You can also use it with the args
`<right-sidebar with-box="true" title="My Title">...</right-sidebar>`
to include that sidebar in a sidebar box. Note that a value is required for
the `with-box` attribute when this extension is used with MediaWiki 1.25 or
later. For consistency, it is suggested that you provide this value anyway,
since it also works with earlier versions of MediaWiki.
License
-------
All of the code released by Wikia was made available under GPL v2.0 or later.
This license can be found in the COPYING file.