Jump to content

User:Symplectic Map/spell.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Symplectic Map (talk | contribs) at 03:21, 13 May 2009 (split). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
// To install include this script in your monobook.js and reload this page
// You should see a 'spell' tab next to the watch/unwatch tab.
//
// GUI core provided by [[WP:AutoEd]]
//
if( typeof( autoEdMinor ) == 'undefined' ) {
  var autoEdMinor = true;
}

if( typeof( autoEdClick ) == 'undefined' ) {
  var autoEdClick = true;
}

if( typeof( autoEdTag ) == 'undefined' ) {
  var autoEdTag = "[[User:Symplectic_Map/spell.js|Script]] correction of some [[WP:LCM|common misspellings]]";
}

if( typeof( autoEdLinkHover ) == 'undefined' ) {
  var autoEdLinkHover = "Spellcheck";
}

if( typeof( autoEdLinkName ) == 'undefined' ) {
  var autoEdLinkName = "spell";
}

if( typeof( autoEdLinkLocation ) == 'undefined' ) {
  var autoEdLinkLocation = "p-cactions";
}

function autoEdFunctions() {
    var txt = document.editform.wpTextbox1;
    txt.value = common_misspellings(txt.value);
}

importScript('User:Symplectic_Map/misspellings.js');

importScript('Wikipedia:AutoEd/core.js');