User:MC10/OtherWiki.js
/** Add this to monobook.js as following:
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:MC10/OtherWiki.js'
+ '&action=raw&ctype=text/javascript');
- /
/* Unnamed scripts */
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:MC10/Purge.js'
+ '&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:MC10/Time.js'
+ '&action=raw&ctype=text/javascript');
/* Named scripts */
mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js'
+ '&action=raw&ctype=text/javascript');
importStylesheetURI('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css'
+ '&action=raw&ctype=text/css');
var popupFixRedirs = true;
var popupRedlinkRemoval = true;
var popupFixDabs = true;
var popupStructure = 'menus';
var popupAdminLinks = true;
var popupRevertSummary = 'Revert to revision %s using popups';
var popupRevertToPreviousSummary = 'Revert to the revision prior to revision %s using popups';
var popupExtendedRevertSummary = 'Revert to revision dated %s by %s, oldid %s using popups';
var popupQueriedRevertSummary = 'Revert to revision $1 dated $2 by $3 using popups';
var popupQueriedRevertToPreviousSummary = 'Revert to the revision prior to revision $1 dated $2 by $3 using popups';
var popupFixRedirsSummary = 'Redirect bypass from %s to %s using popups';
var popupFixDabsSummary = 'Disambiguate %s to %s using popups';
var popupRmDabLinkSummary = 'Remove link to dab page %s using popups';
var popupRedlinkSummary = 'Removing link to empty page %s using popups';
/* If needed, use these:
var popupRevertSummary = 'Revert to revision %s using popups';
var popupRevertToPreviousSummary = 'Revert to the revision prior to revision %s using popups';
var popupExtendedRevertSummary = 'Revert to revision dated %s by %s, oldid %s using popups';
var popupQueriedRevertSummary = 'Revert to revision $1 dated $2 by $3 using popups';
var popupQueriedRevertToPreviousSummary = 'Revert to the revision prior to revision $1 dated $2 by $3 using popups';
var popupFixRedirsSummary = 'Redirect bypass from %s to %s using popups';
var popupFixDabsSummary = 'Disambiguate %s to %s using popups';
var popupRmDabLinkSummary = 'Remove link to dab page %s using popups';
var popupRedlinkSummary = 'Removing link to empty page %s using popups';
- /
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Js/ajaxPreview.js'
+ '&action=raw&ctype=text/javascript');
var ajaxPreviewPos = 'bottom';
var ajaxPreviewScrollTop = true;
var ajaxPreviewExec = function(previewArea) { // code to execute after each preview update
if (window.setupTooltips) {
window.setupTooltips(previewArea);
previewArea.ranSetupTooltipsAlready = false;
}
}