nakao / mw-bookmarklet

A MediaWiki Extension to create a javascript bookmarklet link

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

==What can this extension do?==

Creates a javascript bookmarklet link.

==Usage==

 <bookmarklet title="This is a bookmarklet" href="javascript:...."/>

Then generated html piece below:

 <a href="javascript:...">This is a bookmarklet</a>


==Installation==

* copy the code below in to a file named '''extensions/Bookmarklet.php'''
* update '''[[Manual:LocalSettings.php|LocalSettings.php]]''' as shown below


===Changes to LocalSettings.php===

Add the following to your wiki's [[Manual:LocalSettings.php|LocalSettings.php]]:
<source lang="php">require_once("$IP/extensions/bookmarklet.php");</source>


===Code===
http://github.com/nakao/mw-bookmarklet

About

A MediaWiki Extension to create a javascript bookmarklet link


Languages

Language:PHP 100.0%