User:SpikeToronto/OtherWiki.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | Documentation for this user script can be added at User:SpikeToronto/OtherWiki. |
// Add this to User:SpikeToronto/monobook.js on other wikis as follows:
// [[User:SpikeToronto/OtherWiki.js]]
// mw.loader.load('//wiki.riteme.site/w/index.php?title=User:SpikeToronto/OtherWiki.js'
// + '&action=raw&ctype=text/javascript');
// Add PURGE tab
mw.loader.load('//wiki.riteme.site/w/index.php?title=Wikipedia:WikiProject_User_scripts/Scripts/Add_purge_to_tabs'
+ '&action=raw&ctype=text/javascript');
// END Add PURGE Tab
// Add Display Clock
mw.loader.load('//wiki.riteme.site/w/index.php?title=User:SpikeToronto/Time.js'
+ '&action=raw&ctype=text/javascript');
// End Add Display Clock
// Add POPUPS
mw.loader.load('//wiki.riteme.site/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript');
popupFixRedirs=true;
popupRedlinkRemoval=true;
popupFixDabs=true;
popupStructure='original';
popupAdminLinks=true;
popupRevertSummary='Revert to revision %s using [[wikipedia:Wikipedia:Tools/Navigation popups|Popups]]';
popupRevertToPreviousSummary='Revert to the revision prior to revision %s using [[wikipedia:Wikipedia:Tools/Navigation popups|Popups]]';
popupExtendedRevertSummary='Revert to revision dated %s by %s, oldid %s using [[wikipedia:Wikipedia:Tools/Navigation popups|Popups]]';
popupQueriedRevertSummary='Revert to revision $1 dated $2 by $3 using [[wikipedia:Wikipedia:Tools/Navigation popups|Popups]]';
popupQueriedRevertToPreviousSummary='Revert to the revision prior to revision $1 dated $2 by $3 using [[wikipedia:Wikipedia:Tools/Navigation popups|Popups]]';
popupFixRedirsSummary='Redirect bypass from [[%s]] to [[%s]] using [[wikipedia:Wikipedia:Tools/Navigation popups|Popups]]';
popupFixDabsSummary='Disambiguate [[%s]] to [[%s]] using [[wikipedia:Wikipedia:Tools/Navigation popups|Popups]]';
popupRmDabLinkSummary='Remove link to dab page [[%s]] using [[wikipedia:Wikipedia:Tools/Navigation popups|Popups]]';
popupRedlinkSummary='Removing link to empty page [[%s]] using [[wikipedia:Wikipedia:Tools/Navigation popups|Popups]]';
// END Add POPUPS
/* If needed, use these:
popupRevertSummary='Revert to revision %s using [[w:Wikipedia:Tools/Navigation popups|popups]]';
popupRevertToPreviousSummary='Revert to the revision prior to revision %s using [[w:Wikipedia:Tools/Navigation popups|popups]]';
popupExtendedRevertSummary='Revert to revision dated %s by %s, oldid %s using [[w:Wikipedia:Tools/Navigation popups|popups]]';
popupQueriedRevertSummary='Revert to revision $1 dated $2 by $3 using [[w:Wikipedia:Tools/Navigation popups|popups]]';
popupQueriedRevertToPreviousSummary='Revert to the revision prior to revision $1 dated $2 by $3 using [[w:Wikipedia:Tools/Navigation popups|popups]]';
popupFixRedirsSummary='Redirect bypass from [[%s]] to [[%s]] using [[w:Wikipedia:Tools/Navigation popups|popups]]';
popupFixDabsSummary='Disambiguate [[%s]] to [[%s]] using [[w:Wikipedia:Tools/Navigation popups|popups]]';
popupRmDabLinkSummary='Remove link to dab page [[%s]] using [[w:Wikipedia:Tools/Navigation popups|popups]]';
popupRedlinkSummary='Removing link to empty page [[%s]] using [[w:Wikipedia:Tools/Navigation popups|popups]]';
*/
// Add AJAX Preview
/* mw.loader.load('//wiki.riteme.site/w/index.php?title=User:Js/ajaxPreview.js'
+ '&action=raw&ctype=text/javascript');
ajaxPreviewPos = 'bottom';
ajaxPreviewScrollTop = true;
ajaxPreviewExec = function(previewArea){ //code to execute after each preview update
if (window.setupTooltips){
setupTooltips(previewArea);
previewArea.ranSetupTooltipsAlready = false;
}
} */
// END Add AJAX Preview