Extension:ElmEasyRef

The ElmEasyRef extension add popups field to display reference's content. So when user click on reference, he will see:



Note: extension does not provide &lt;ref&gt; and &lt;references /&gt; tags, so you should install extension like Extension:Cite first

Download instructions
Download latest version from http://elancev.name/extensions/ElmEasyRef/versions/ and extract it to the MediaWiki "/extensions/" directory

Or

Copy it from http://svn.mediawiki.org/viewvc/mediawiki/trunk/extensions/ElmEasyRef/

Installation
To install this extension, add the following lines at the end of LocalSettings.php file:

Configuration parameters
If it is necessary you can change standart behaivor of extension by adding following options after the require_once:

Changing Style
By default popup field look so:



Easy way of changing it is to set $wgElmEasyRefAddCSS parameter. It will load aditional css which overwrite current one.

Also you can change style by yourself with editing $IP/extensions/ElmEasyRef/css/referencefield.css file directly

Try it
You can test extension in other wiki (such as en.wikipedia.org) by adding following line to your "vector.js" user subpage:

Try with your configuration
If you want to change style, add following line:

If you want to load debug version, add debug parameter to url:

If you want to change other settings, add initf parameter with initialization function name. Following example turn off animation and change size of popup field: