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 18:52, 13 May 2009 (bug). 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 clear your cache
// You should see a 'spell' tab next to the watch/unwatch tab.
//
// GUI core provided by [[WP:AutoEd]]
//
// USE WITH CAUTION and CHECK THE EDIT CHANGES
// REPORT BUGS TO [[User talk:Symplectic Map]]
//
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";
}

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

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

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