User:Christian Sirolli/global.js

massCategorizationDelay = 1000; nullEditDelay = 1; window.AdvancedOasisUI = { accountNavFollowedPages: true, accountNavWatchlist: true, categoryRedlink: true, RCHeader: true, DefaultSourceMode: true, lightbox: true, activity2RC: true, userLang: true, }; importArticles({   type: 'script',    articles: [        'u:dev:FindAndReplace/code.js',        'u:dev:NullEditButton/code.js',        'u:dev:Bglinks.js',        'u:dev:AutoEditPages/code.js',        'u:dev:UnsafeScripts/code.js',        'u:dev:AntiUnicruft/code.js',        'u:dev:PortableCSSPad/code.js',        'u:dev:ReferencePopups/code.js',        'u:dev:CategoryRenameAuto-update/code.js',        'u:dev:MediaWiki:MassNullEdit/code.js',        'u:dev:MediaWiki:Rollback/code.js',        'u:dev:MediaWiki:MassCategorization/code.js',        'u:dev:MediaWiki:Wikimarks/code.js',        //'u:dev:AjaxPatrol/code.js',        'u:Cizagna/ajaxpatrollinks.js',        'u:dev:UserTalkNotifications/code.js',        'u:dev:EditIntroButton/code.js',        'u:dev:AdvancedOasisUI/code.js',    ] });

importScriptURI('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript'); importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript'); /* jQuery Ajax Patrol Links @author Grunny */ function ajaxPatrolLinks { $( 'body' ).on( 'click', '.patrollink', function ( e ) {		e.preventDefault;		var	$patrolLink = $( this ).children( 'a' ),			$url = $patrolLink.attr( 'href' );		$patrolLink.html( '' );		$.get( $url, function { $patrolLink.removeAttr( 'href' ).css( 'color', 'grey' ).text( 'Marked as patrolled' ); } );	} ); } $( ajaxPatrolLinks );