User:Prahlad balaji/vector.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. |
The accompanying .css page for this skin is at User:Prahlad balaji/vector.css. |
// Wikipedia:Tools/Navigation popups
importScript('MediaWiki:Gadget-popups.js');
importStylesheet('MediaWiki:Gadget-navpop.css');
importScript( 'User:Evad37/MoveToDraft.js' ); // Backlink: [[User:Evad37/MoveToDraft]]
importScript('User:Anomie/previewtemplatelastmod.js'); // Linkback: [[User:Anomie/previewtemplatelastmod.js]]
window.popupStructure = 'menus';
window.popupAdminLinks = true;
// initialize the array - only do this once
window.extraPopupFilters = [];
// define the function
function popupFilterHtmlTable (wikiText) {
if (/<table/i.test(wikiText)) return '<table>';
else return '';
}
/**
* NICE gadget
*
* This gadget is part of a research study being conducted by the
* GroupLens Research lab at the University of Minnesota. Please see
* the consent form at http://wikipedia.grouplens.org/NICE/consent.
* If you have questions/comments/suggestions, please direct them to
* User:EpochFail.
**/
importScript("User:EpochFail/No_Biting.js");
// add the function for the array (you can repeat this for lots of functions)
extraPopupFilters.push(popupFilterHtmlTable);
// Normally features are enabled
var toFix = true;
// In special pages, histories and previews disable them
if ( mw.config.get( 'wgCanonicalNamespace' ) === 'Special' ||
$.inArray( mw.util.getParamValue( 'action' ), [ 'history', 'submit' ] ) !== -1)
{
toFix = false;
}
//
window.popupRedlinkRemoval = toFix;
window.popupFixRedirs = toFix;
window.popupFixDabs = toFix;
importScript('User:TheDJ/qui.js');
importScript('User:Anomie/unsignedhelper.js'); // Linkback: [[User:Anomie/unsignedhelper.js]]
// [[User:Zocky/PicturePopupsVector.js]]
importScript('User:Zocky/PicturePopupsVector.js');
// [[User:Zocky/PicturePopupsVector.js]]
importScriptwindow.picturePopupsWidth = 597;
window.picturePopupsHeight = 622;
// [[User:Zocky/PicturePopups.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Zocky/PicturePopups.js'
+ '&action=raw&ctype=text/javascript');
importScript( 'User:GregU/dashes.js' ); // Backlink: [[User:GregU/dashes.js]]
importScript( 'Wikipedia:Igloo/gloo.js' ); // Backlink: [[Wikipedia:Igloo/gloo.js]] // [[Wikipedia:Igloo]]