<commit_before>javascript:
(function(){

if (decodeURI(location.search).match(/\?title=Wikipedia:頁面存廢討論\/記錄\/\d+\/\d+\/\d+&action=edit&section=/) !== null) {
	var text = prompt("Result","r");
	if (text == "" || text == null) text = "r";
	var msg = prompt("Message","已處理");
	if (msg == "" || msg == null) msg = "已處理";
	wpTextbox1.innerHTML = wpTextbox1.innerHTML.replace(/(==.+==)/, "$1\n{{delh|"+text+"}}")+"----\n:"+msg+"。—~~~~\n{{delf}}\n";
	var text = prompt("Summary","關閉");
	if (text == null) text = "關閉";
	wpSummary.value = wpSummary.value+text;
	if(confirm("Save?")) wpSave.click();
} else if (location.search.match(/\?title=.+&action=edit/) !== null) {
	var arr = wpTextbox1.innerHTML.match(/{{[avT]fd\|.*?date=(\d+)[\/-](\d+)[\/-](\d+).*?}}/i);
	wpTextbox1.innerHTML = wpTextbox1.innerHTML.replace(/{{[avT]fd.+?}}/i,"").replace(/&lt;noinclude&gt; *&lt;\/noinclude&gt;/i,"");
	wpSummary.value = "關閉[[Wikipedia:頁面存廢討論/記錄/"+arr[1]+"/"+arr[2]+"/"+arr[3]+"]]";
	if(confirm("Save?")) wpSave.click();
} else {
	alert("Wrong page");
}

})();<commit_msg>AFDclose [m] rm \n<commit_after>javascript:
(function(){

if (decodeURI(location.search).match(/\?title=Wikipedia:頁面存廢討論\/記錄\/\d+\/\d+\/\d+&action=edit&section=/) !== null) {
	var text = prompt("Result","r");
	if (text == "" || text == null) text = "r";
	var msg = prompt("Message","已處理");
	if (msg == "" || msg == null) msg = "已處理";
	wpTextbox1.innerHTML = wpTextbox1.innerHTML.replace(/(==.+==)/, "$1\n{{delh|"+text+"}}")+"----\n:"+msg+"。—~~~~\n{{delf}}\n";
	var text = prompt("Summary","關閉");
	if (text == null) text = "關閉";
	wpSummary.value = wpSummary.value+text;
	if(confirm("Save?")) wpSave.click();
} else if (location.search.match(/\?title=.+&action=edit/) !== null) {
	var arr = wpTextbox1.innerHTML.match(/{{[avT]fd\|.*?date=(\d+)[\/-](\d+)[\/-](\d+).*?}}/i);
	wpTextbox1.innerHTML = wpTextbox1.innerHTML.replace(/{{[avT]fd.+?}}\n?/i,"").replace(/&lt;noinclude&gt; *&lt;\/noinclude&gt;/i,"");
	wpSummary.value = "關閉[[Wikipedia:頁面存廢討論/記錄/"+arr[1]+"/"+arr[2]+"/"+arr[3]+"]]";
	if(confirm("Save?")) wpSave.click();
} else {
	alert("Wrong page");
}

})();
{'fraction_non_alphanumeric': 0.32372400756143666, 'fraction_numerical': 0.008506616257088847, 'mean_word_length': 5.083333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5845583', 'n_tokens_mistral': 933, 'n_tokens_neox': 919, 'n_words': 113}