Skip to content

A MediaWiki Extension to create a javascript bookmarklet link

Notifications You must be signed in to change notification settings

nakao/mw-bookmarklet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

==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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages