Difference between revisions of "User:MarcoAurelio/global.js"

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Line 62: Line 62:
 
mw.loader.load ('//meta.wikimedia.org/w/index.php?title=User:MarcoAurelio/bpi.js&action=raw&ctype=text/javascript');
 
mw.loader.load ('//meta.wikimedia.org/w/index.php?title=User:MarcoAurelio/bpi.js&action=raw&ctype=text/javascript');
 
}
 
}
  +
  +
/**
  +
* Wiki-Labels
  +
* (workaround for [[phab:T35355]])
  +
* @update-token [[File:User:EpochFail/WikiLabels.js]]
  +
*/
  +
mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-WikiLabels-loader.js&action=raw&ctype=text/javascript');

Revision as of 08:23, 13 September 2016

/**
 * Remove spam
 * by [[m:user:Mike.lifeguard]]
 */
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Mike.lifeguard/removeSpam.js&action=raw&ctype=text/javascript');

/**
 * Navigation PopUps
 * See <https://en.wikipedia.org/wiki/Wikipedia:Tools/Navigation_popups>
 */
mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript');
mw.loader.load(location.protocol + '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/css', 'text/css');
// popupDelay=0.3;
// popupHideDelay=0.3;
popupFixDabs=true;
popupOnEditSelection=false;
popupAdminLinks=true;

/**
 * Forces left-to-right layout and editing on RTL wikis.
 * @see https://meta.wikimedia.org/wiki/Force_ltr
 * @update-token [[File:pathoschild/forceltr.js]]
 */
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.forceltr.js');

/**
 * StewardLinks
 * by [[m:User:Erwin]]
 */
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Erwin/stewardlinks.js&action=raw&ctype=text/javascript');

/**
 * Gives some useful links on user, user talk and user contribution pages
 * by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Useful_links>
 */
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/useful_links.js&action=raw&ctype=text/javascript');

/**
 * Page tagger
 * by m:User:Hoo_man
 */
if ( $.inArray( mw.config.get("wgDBname"), ['eswiki', 'metawiki', 'eswikibooks'] ) === -1 ) {
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/tagger.js&action=raw&ctype=text/javascript');
}

/**
 * Provides several useful functions for rollback (custom edit summary, mark as bot edits and mass revert)
 *  by [[m:user:Hoo man]] <http://meta.wikimedia.org/wiki/User:Hoo_man/Scripts/Smart_rollback>
 */
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hoo_man/smart_rollback.js&action=raw&ctype=text/javascript');

/**
 * Global lock through CU (by Glaisher)
 */ 
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Glaisher/cuCAMultiLock.js&action=raw&ctype=text/javascript');

/**
 * Global bot policy implementation script
 * by [[m:User:Pathoschild]] <https://meta.wikimedia.org/wiki/User:Pathoschild>
 */
if ( $.inArray( mw.config.get("wgDBname"), ['eswiki', 'metawiki', 'eswikibooks'] ) === -1 ) {
mw.loader.load ('//meta.wikimedia.org/w/index.php?title=User:MarcoAurelio/bpi.js&action=raw&ctype=text/javascript');
}

/**
 * Wiki-Labels
 * (workaround for [[phab:T35355]])
 * @update-token [[File:User:EpochFail/WikiLabels.js]]
 */
mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-WikiLabels-loader.js&action=raw&ctype=text/javascript');