Site for researching all meanings of Hebrew Bible.

Changes

Jump to: navigation, search

MediaWiki:Common.js

402 bytes added, 16:20, 9 June 2016
no edit summary
/* Any JavaScript here will be loaded for all users on every page load. */
// TEST: XYZ $(document).ready(var customizeToolbar = function() {
if($( '#wpTextbox1' ).size())
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
label: 'Hebrew word with dictionary link',
type: 'button',
icon: 'http://withoutvowels.org/w/images/9/95/Button_hebrew_word.png',
action: {
type: 'callback',
} else {
word = prompt("Enter a Hebrew word");
if(word == null) return;
}
if(!/^[\u05d0-\u05fa]+$/.test(word)) {
}
} );
} if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) !== -1 ) { mw.loader.using( 'user.options', function () { if ( mw.user.options.get('usebetatoolbar') ) { mw.loader.using( 'ext.wikiEditor.toolbar', function () { $(document).ready( customizeToolbar ); } ); } });}

Navigation menu