<commit_before># Wikipedia (ja)
wp:
  url: 'http://ja.wikipedia.org/wiki/%s'
  enable_pc: true
  enable_mobile: false
  attributes:
    target: _blank

# OpenPNE Plugins
opplug:
  url: 'http://plugins.openpne.jp/package/%s'
  enable_pc: true
  enable_mobile: false
  attributes:
    target: _blank

# 接頭辞が省略された場合のデフォルトのリンク先
default:
  url: 'http://example.com/wiki/%s'
  enable_pc: true
  enable_mobile: false
  attributes:
    target: _blank

<?php $base = sfConfig::get('op_base_url'); ?>

# SNS内へのリンク
member: <?php echo $base.'/member/%s'."\n"; ?>
commu: <?php echo $base.'/community/%s'."\n"; ?>
community: <?php echo $base.'/community/%s'."\n"; ?>

## 以下は別途プラグインが必要
<?php $plugins = ProjectConfiguration::getActive()->getPlugins() ?>

# opDiaryPlugin
<?php if (in_array('opDiaryPlugin', $plugins)): ?>
diary: <?php echo $base.'/diary/%s'."\n"; ?>
<?php endif ?>

# opAlbumPlugin
<?php if (in_array('opAlbumPlugin', $plugins)): ?>
album: <?php echo $base.'/album/%s'."\n"; ?>
<?php endif ?>

#opCommunityTopicPlugin
<?php if (in_array('opCommunityTopicPlugin', $plugins)): ?>
topic: <?php echo $base.'/communityTopic/%s'."\n"; ?>
event: <?php echo $base.'/communityEvent/%s'."\n"; ?>
<?php endif ?><commit_msg>formatting fix<commit_after># Wikipedia (ja)
wp:
  url: 'http://ja.wikipedia.org/wiki/%s'
  enable_pc: true
  enable_mobile: false
  attributes:
    target: _blank

# OpenPNE Plugins
opplug:
  url: 'http://plugins.openpne.jp/package/%s'
  enable_pc: true
  enable_mobile: false
  attributes:
    target: _blank

# 接頭辞が省略された場合のデフォルトのリンク先
default:
  url: 'http://example.com/wiki/%s'
  enable_pc: true
  enable_mobile: false
  attributes:
    target: _blank

<?php $base = sfConfig::get('op_base_url'); ?>

# SNS内へのリンク
member: "<?php echo $base.'/member/%s' ?>"
commu: "<?php echo $base.'/community/%s' ?>"
community: "<?php echo $base.'/community/%s' ?>"

## 以下は別途プラグインが必要
<?php $plugins = ProjectConfiguration::getActive()->getPlugins() ?>

# opDiaryPlugin
<?php if (in_array('opDiaryPlugin', $plugins)): ?>
diary: "<?php echo $base.'/diary/%s' ?>"
<?php endif ?>

# opAlbumPlugin
<?php if (in_array('opAlbumPlugin', $plugins)): ?>
album: "<?php echo $base.'/album/%s' ?>"
<?php endif ?>

# opCommunityTopicPlugin
<?php if (in_array('opCommunityTopicPlugin', $plugins)): ?>
topic: "<?php echo $base.'/communityTopic/%s' ?>"
event: "<?php echo $base.'/communityEvent/%s' ?>"
<?php endif ?>
{'fraction_non_alphanumeric': 0.2060782681099084, 'fraction_numerical': 0.0, 'mean_word_length': 4.818401937046005, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 35, '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': '1959858', 'n_tokens_mistral': 959, 'n_tokens_neox': 931, 'n_words': 187}