MediaWiki:Gadget-killVeLinks.js

mw.hook('ve.activationComplete').add(function {	console.log('kittens3!!!!!!!!!!!!!!!!!!!!!!!');	console.log('kittens3!!!!!!!!!!!!!!!!!!!!!!');	console.log('kittens3!!!!!!!!!!!!!!!!!!!!!');	console.log('kittens3!!!!!!!!!!!!!!!!!!!!');	console.log('kittens3!!!!!!!!!!!!!!!!!!!');	// do nothing in hydra	if ($('#mw-head').length) return;	// main button	var $veButton = $('#ca-ve-edit');	if ($veButton.length) {		var $sourceButton = $('#ca-edit');		$sourceButton.detach;		$sourceButton.attr('class', 'wds-button wds-is-text page-header__action-button has-label').prepend($(' '));		$veButton.replaceWith($sourceButton);	}	// section buttons	$('.mw-editsection-visualeditor > a, .mw-editsection > a').each(function  { $(this).attr('href', $(this).attr('href')			.replace(/veaction=editsource/, 'action=edit')			.replace(/veaction=edit/, 'action=edit')			); }); });

$(function {	console.log('cachebreak2?'); });