MediaWiki extension that enables MaSha.JS on Wiki pages.
PHP JavaScript
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
MaSha @ b69d6a5
.gitignore
.gitmodules
LICENSE
MashaJS.body.php
MashaJS.i18n.php
MashaJS.js
MashaJS.php
README.md

README.md

MashaJS

This MediaWiki extension allows to use features of MaSha.JS (Mark & Share) library.

Requirements

  • MediaWiki 1.17 or above.

Installation

Clone extension repository to extensions/MashaJS directory and update submodules.

cd $MEDIAWIKI_ROOT
git clone git://github.com/Undev/MediaWiki-MashaJS.git extensions/MashaJS
cd extensions/MashaJS
git submodule update --init
cd ../..

Add to LocalSettings.php before trailing ?> this code:

require_once( "$IP/extensions/MashaJS/MashaJS.php" );

That's all.

Configuration

Since 0.3 release MashaJS disabled by default. It should be enabled as per user preference in "Appearance/Advanced options" section.

Since 0.2 release MashaJS disabled by default on editing.

You can override this behavior by setting global variable $wgMashaJSEnableOnEdit to true.

License

Licensed under MIT License.

Links