<commit_before>jQuery(document).ready( function() {
	jQuery('#openid_rollup dl').hide();

	jQuery('#openid_rollup_link').click( function() {
		jQuery('#openid_rollup dl').toggle();
		return false;
	});
});

function stylize_profilelink() {
	jQuery('#commentform a[@href$=/wp-admin/profile.php]').addClass('openid_link');
}

function add_openid_to_comment_form(unobtrusive_mode) {

	jQuery('#commentform').addClass('openid');

	if (unobtrusive_mode == true) {
		var unobtrusive_html = ' <a id="openid_enabled_link" href="http://openid.net">(OpenID Enabled)</a> ' +
					'<div id="openid_unobtrusive_text">' +
						'If you have an OpenID, you may fill it in here.  If your OpenID provider provides ' + 
						'a name and email, those values will be used instead of the values here.  ' + 
						'<a href="http://openid.net">Learn more about OpenID</a> or ' + 
						'<a href="http://openid.net/wiki/index.php/Public_OpenID_providers">find an OpenID provider</a>.' +
					'</div> ';

		var label = jQuery('#commentform label[@for=url]');
		var children = jQuery(':visible:hastext', label)

		if (children.length > 0)
			children.filter(':last').appendToText(unobtrusive_html);
		else if (label.is(':hastext'))
			label.appendToText(unobtrusive_html);
		else
			label.append(unobtrusive_html);

		// setup action
		jQuery('#openid_unobtrusive_text').hide();
		jQuery('#openid_enabled_link').click( function() {
			jQuery('#openid_unobtrusive_text').toggle(200); 
			return false;
		});
	} else {
		// Create fieldsets
		jQuery('#commentform label:first/..')
			.before('<fieldset id="openid_fieldset"><legend>OpenID</legend></fieldset>')
			.before('<fieldset id="anonymous_fieldset"><legend>Anonymous</legend></fieldset>')

		var fields = new Array('author', 'email', 'url');<commit_msg>update links in unobtrusive text<commit_after>jQuery(document).ready( function() {
	jQuery('#openid_rollup dl').hide();

	jQuery('#openid_rollup_link').click( function() {
		jQuery('#openid_rollup dl').toggle();
		return false;
	});
});

function stylize_profilelink() {
	jQuery('#commentform a[@href$=/wp-admin/profile.php]').addClass('openid_link');
}

function add_openid_to_comment_form(unobtrusive_mode) {

	jQuery('#commentform').addClass('openid');

	if (unobtrusive_mode == true) {
		var unobtrusive_html = ' <a id="openid_enabled_link" href="http://openid.net">(OpenID Enabled)</a> ' +
					'<div id="openid_unobtrusive_text">' +
						'If you have an OpenID, you may fill it in here.  If your OpenID provider provides ' + 
						'a name and email, those values will be used instead of the values here.  ' + 
						'<a href="http://openid.net/what/">Learn more about OpenID</a> or ' + 
						'<a href="http://openid.net/get/">find an OpenID provider</a>.' +
					'</div> ';

		var label = jQuery('#commentform label[@for=url]');
		var children = jQuery(':visible:hastext', label)

		if (children.length > 0)
			children.filter(':last').appendToText(unobtrusive_html);
		else if (label.is(':hastext'))
			label.appendToText(unobtrusive_html);
		else
			label.append(unobtrusive_html);

		// setup action
		jQuery('#openid_unobtrusive_text').hide();
		jQuery('#openid_enabled_link').click( function() {
			jQuery('#openid_unobtrusive_text').toggle(200); 
			return false;
		});
	} else {
		// Create fieldsets
		jQuery('#commentform label:first/..')
			.before('<fieldset id="openid_fieldset"><legend>OpenID</legend></fieldset>')
			.before('<fieldset id="anonymous_fieldset"><legend>Anonymous</legend></fieldset>')

		var fields = new Array('author', 'email', 'url');
{'fraction_non_alphanumeric': 0.17533014891823545, 'fraction_numerical': 0.00224782242202866, 'mean_word_length': 4.864909390444811, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 37, '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': '4390693', 'n_tokens_mistral': 1348, 'n_tokens_neox': 1193, 'n_words': 225}