<commit_before><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' lang='en-US' xml:lang='en-US'>
<head>
	<link rel='shortcut icon' href='/images/favicon.ico'/>
	<title>Legal Takedowns</title>
	<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
	<script src='/scripts/jquery-1.10.2.min.js'></script>
	<script src='/scripts/jquery.validate.min.js'></script>
	<script src='/scripts/moment.min.js'></script>
	<script src='/scripts/pikaday.js'></script>
	<script src='/scripts/pikaday.jquery.js'></script>
	<script src='/scripts/lca.js'></script>
	<script>
	$(document).ready(function(){

		

		//validate
	    $("#takedown-form1").validate();

		//initialize datepicker
	   var $datepicker = $('#takedown-date').pikaday({
	        firstDay: 1,
	        minDate: new Date('2000-01-01'),
	        maxDate: new Date('2020-12-31'),
	        yearRange: [2000,2020]
	    });

	   //From http://www.alessioatzeni.com/blog/simple-tooltip-with-jquery-only-text/
	   $('.showTooltip').hover(function(){
	        // Hover over code
	        var title = $(this).attr('title');
	        $(this).data('tipText', title).removeAttr('title');
	        $('<p class="tooltip"></p>')
	        .text(title)
	        .appendTo('body')
	        .fadeIn('slow');
	    }, function() {
	        // Hover out code
	        $(this).attr('title', $(this).data('tipText'));
	        $('.tooltip').remove();
	    }).mousemove(function(e) {
	        var mousex = e.pageX + 20; //Get X coordinates
	        var mousey = e.pageY + 10; //Get Y coordinates
	        $('.tooltip')
	        .css({ top: mousey, left: mousex })
	    });

	    //remove browser tooltip by removing title on hover
	    $('.showTooltip[title]').mouseover(function () {
	        $this = $(this);
	        $this.data('title', $this.attr('title'));
	        // Using null here wouldn't work in IE, but empty string will work just fine.
	        $this.attr('title', '');
	    }).mouseout(function () {
	        $this = $(this);
	        $this.attr('title', $this.data('title'));
	    });

	    $('select#project').change( function() {
	    	if ( $('select#project option:selected').val() == 'commons' ) {
	    		$('.commonsonly').show();
	    	} else {
	    		$('.commonsonly').hide();
	    	}
	    	if ( $('select#project option:selected').val() == 'enwiki' ) {
	    		$('.enwikionly').show();
	    	} else {
	    		$('.enwikionly').hide();
	    	}
	    })

	    $('select#content-type').change( function() {
	    	if ( $('select#content-type option:selected').val() == ( 'file' ) || $('select#content-type option:selected').val() == ( 'both' ) ) {
	    		$('.fileonly').show();
	    	} else {
	    		$('.fileonly').hide();
	    	}
	    	if ( $('select#content-type option:selected').val() == ( 'text' ) || $('select#content-type option:selected').val() == ( 'both' ) ) {
	    		$('.textonly').show();
	    	} else {
	    		$('.textonly').hide();
	    	}
	    })


	    var filetakedownwrapper = $("#takedownfiles");
	    var userwrapper = $("#takedownusers");
	    var filetakedownadder = $("#takedownmorefiles");
	    var useradder = $("#notifymoreusers");
	    var uploadewrapper = $('#uploadfiles');
	    var uploadadder = $('#uploadmorefiles');

	    $(filetakedownadder).click(function (e)
	    {

	    	$(filetakedownwrapper).append('<div><input class=\'files-affected\' name=\'files-affected[]\' value=\'\' type=\'text\' size=\'50\'/><img class=\'removefield\' src=\'/images/Emblem-multiply.svg\' width=\'20px\' title=\'remove field\'/></div>');

	    });

	    $(useradder).click(function (e)
	    {

	    	$(userwrapper).append('<div><input class=\'involved-user\' name=\'involved-user[]\' value=\'\' type=\'text\' size=\'15\'/><img class=\'removefield\' src=\'/images/Emblem-multiply.svg\' width=\'20px\' title=\'remove field\'/></div>');

	    });

	    $(uploadadder).click(function (e)
	    {

	    	$(uploadewrapper).append('<div>Supporting file (scanned takedown etc) <input name=\'takedown-files[]\' type=\'file\' /><img class=\'removefield\' src=\'/images/Emblem-multiply.svg\' width=\'20px\' title=\'remove field\'/></div>');

	    });

	    $("body").on("click",".removefield", function(e) {

	    	$(this).parent('div').remove();

	    });

	    $('#takedown-commons-title').keyup(function(e) {
	    	var chr = $(this).val();
	    	$('#takedown-wmf-title').val('DMCA ' + chr);
	    });




	});

</script>
	<style type='text/css'>
	<!--/* <![CDATA[ */
	@import '/css/main.css';
	@import '/css/pikaday.css';
	@import '/css/lca.css';
	/* ]]> */-->
	.external, .external:visited { color: #222222; }
	.autocomment{color:gray}
	</style>
</head>
<body class='mediawiki'>
	<div id='globalWrapper'>
		<div id='column-content'>
			<div id='content'>
				<h1> Legal Takedown </h1>
				<br /><commit_msg>link from normal form to new non wiki form<commit_after><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' lang='en-US' xml:lang='en-US'>
<head>
	<link rel='shortcut icon' href='/images/favicon.ico'/>
	<title>Legal Takedowns</title>
	<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
	<script src='/scripts/jquery-1.10.2.min.js'></script>
	<script src='/scripts/jquery.validate.min.js'></script>
	<script src='/scripts/moment.min.js'></script>
	<script src='/scripts/pikaday.js'></script>
	<script src='/scripts/pikaday.jquery.js'></script>
	<script src='/scripts/lca.js'></script>
	<script>
	$(document).ready(function(){

		

		//validate
	    $("#takedown-form1").validate();

		//initialize datepicker
	   var $datepicker = $('#takedown-date').pikaday({
	        firstDay: 1,
	        minDate: new Date('2000-01-01'),
	        maxDate: new Date('2020-12-31'),
	        yearRange: [2000,2020]
	    });

	   //From http://www.alessioatzeni.com/blog/simple-tooltip-with-jquery-only-text/
	   $('.showTooltip').hover(function(){
	        // Hover over code
	        var title = $(this).attr('title');
	        $(this).data('tipText', title).removeAttr('title');
	        $('<p class="tooltip"></p>')
	        .text(title)
	        .appendTo('body')
	        .fadeIn('slow');
	    }, function() {
	        // Hover out code
	        $(this).attr('title', $(this).data('tipText'));
	        $('.tooltip').remove();
	    }).mousemove(function(e) {
	        var mousex = e.pageX + 20; //Get X coordinates
	        var mousey = e.pageY + 10; //Get Y coordinates
	        $('.tooltip')
	        .css({ top: mousey, left: mousex })
	    });

	    //remove browser tooltip by removing title on hover
	    $('.showTooltip[title]').mouseover(function () {
	        $this = $(this);
	        $this.data('title', $this.attr('title'));
	        // Using null here wouldn't work in IE, but empty string will work just fine.
	        $this.attr('title', '');
	    }).mouseout(function () {
	        $this = $(this);
	        $this.attr('title', $this.data('title'));
	    });

	    $('select#project').change( function() {
	    	if ( $('select#project option:selected').val() == 'commons' ) {
	    		$('.commonsonly').show();
	    	} else {
	    		$('.commonsonly').hide();
	    	}
	    	if ( $('select#project option:selected').val() == 'enwiki' ) {
	    		$('.enwikionly').show();
	    	} else {
	    		$('.enwikionly').hide();
	    	}
	    })

	    $('select#content-type').change( function() {
	    	if ( $('select#content-type option:selected').val() == ( 'file' ) || $('select#content-type option:selected').val() == ( 'both' ) ) {
	    		$('.fileonly').show();
	    	} else {
	    		$('.fileonly').hide();
	    	}
	    	if ( $('select#content-type option:selected').val() == ( 'text' ) || $('select#content-type option:selected').val() == ( 'both' ) ) {
	    		$('.textonly').show();
	    	} else {
	    		$('.textonly').hide();
	    	}
	    })


	    var filetakedownwrapper = $("#takedownfiles");
	    var userwrapper = $("#takedownusers");
	    var filetakedownadder = $("#takedownmorefiles");
	    var useradder = $("#notifymoreusers");
	    var uploadewrapper = $('#uploadfiles');
	    var uploadadder = $('#uploadmorefiles');

	    $(filetakedownadder).click(function (e)
	    {

	    	$(filetakedownwrapper).append('<div><input class=\'files-affected\' name=\'files-affected[]\' value=\'\' type=\'text\' size=\'50\'/><img class=\'removefield\' src=\'/images/Emblem-multiply.svg\' width=\'20px\' title=\'remove field\'/></div>');

	    });

	    $(useradder).click(function (e)
	    {

	    	$(userwrapper).append('<div><input class=\'involved-user\' name=\'involved-user[]\' value=\'\' type=\'text\' size=\'15\'/><img class=\'removefield\' src=\'/images/Emblem-multiply.svg\' width=\'20px\' title=\'remove field\'/></div>');

	    });

	    $(uploadadder).click(function (e)
	    {

	    	$(uploadewrapper).append('<div>Supporting file (scanned takedown etc) <input name=\'takedown-files[]\' type=\'file\' /><img class=\'removefield\' src=\'/images/Emblem-multiply.svg\' width=\'20px\' title=\'remove field\'/></div>');

	    });

	    $("body").on("click",".removefield", function(e) {

	    	$(this).parent('div').remove();

	    });

	    $('#takedown-commons-title').keyup(function(e) {
	    	var chr = $(this).val();
	    	$('#takedown-wmf-title').val('DMCA ' + chr);
	    });




	});

</script>
	<style type='text/css'>
	<!--/* <![CDATA[ */
	@import '/css/main.css';
	@import '/css/pikaday.css';
	@import '/css/lca.css';
	/* ]]> */-->
	.external, .external:visited { color: #222222; }
	.autocomment{color:gray}
	</style>
</head>
<body class='mediawiki'>
	<div id='globalWrapper'>
		<div id='column-content'>
			<div id='content'>
				<h1> Legal Takedown </h1>
				<a href="/takedown/CEonlyTakedown.php"> [ Switch to form that does not post on wiki ] </a> <img class='showTooltip' src='/images/20px-Help.png' title='The form you are on is for logging notices which are being posted on wiki (this is the "normal" way). However you can switch forms if you do not want to post the takedown, for example if you are updating an older log entry or notices that we did not act on.'/>
				<br />
{'fraction_non_alphanumeric': 0.22783069822252774, 'fraction_numerical': 0.012766375331434744, 'mean_word_length': 2.8825772016774684, 'pattern_counts': {'":': 0, '<': 100, '<?xml version=': 0, '>': 100, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6244460', 'n_tokens_mistral': 3808, 'n_tokens_neox': 3400, 'n_words': 611}