<commit_before><?php

/**
 * Initialization file for the 'Arrays' (former 'ArrayExtension') extension.
 *
 * Documentation: http://www.mediawiki.org/wiki/Extension:Arrays
 * Support:       http://www.mediawiki.org/wiki/Extension_talk:Arrays
 * Source code:   http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Arrays
 *
 * @file Arrays.php
 * @ingroup Arrays
 *
 * @licence MIT License
 * @version: 2.0rc3 alpha
 *
 * @author <NAME> < <EMAIL> >
 * @author <NAME>
 * @author <NAME> < <EMAIL> > (since version 1.3)
 */

if ( ! defined( 'MEDIAWIKI' ) ) { die(); }

$wgExtensionCredits['parserhook'][] = array(
	'path'           => __FILE__,
	'name'           => 'Arrays',
	'url'            => 'http://www.mediawiki.org/wiki/Extension:Arrays',
	'author'         => array ( '<NAME>', '<NAME>', '[http://www.mediawiki.org/wiki/User:<NAME>]' ),
	'descriptionmsg' => 'arrays-desc',
	'version'        => ExtArrays::VERSION
);

$wgExtensionMessagesFiles['Arrays'     ] = ExtArrays::getDir() . '/Arrays.i18n.php';
$wgExtensionMessagesFiles['ArraysMagic'] = ExtArrays::getDir() . '/Arrays.i18n.magic.php';

// hooks registration:
$wgHooks['ParserFirstCallInit'][] = 'ExtArrays::init';
$wgHooks['ParserClearState'   ][] = 'ExtArrays::onParserClearState';

// Include the settings file:
require_once ExtArrays::getDir() . '/Arrays_Settings.php';


/**
 * Extension class with all the array functionality, also serves as store for arrays per
 * Parser object and offers public accessors for interaction with the 'Arrays' extension.
 *
 * @since 2.0 ('ArrayExtension' before and one global instance, also non-static parser functions)
 */
class ExtArrays {

	/**
	 * Version of the 'Arrays' extension.<commit_msg>Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/<commit_after><?php

/**
 * Initialization file for the 'Arrays' (former 'ArrayExtension') extension.
 *
 * Documentation: http://www.mediawiki.org/wiki/Extension:Arrays
 * Support:       http://www.mediawiki.org/wiki/Extension_talk:Arrays
 * Source code:   http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Arrays
 *
 * @file Arrays.php
 * @ingroup Arrays
 *
 * @licence MIT License
 * @version: 2.0rc3 alpha
 *
 * @author <NAME> < <EMAIL> >
 * @author <NAME>
 * @author <NAME> < <EMAIL> > (since version 1.3)
 */

if ( ! defined( 'MEDIAWIKI' ) ) { die(); }

$wgExtensionCredits['parserhook'][] = array(
	'path'           => __FILE__,
	'name'           => 'Arrays',
	'url'            => 'https://www.mediawiki.org/wiki/Extension:Arrays',
	'author'         => array ( '<NAME>', '<NAME>', '[http://www.mediawiki.org/wiki/User:<NAME>]' ),
	'descriptionmsg' => 'arrays-desc',
	'version'        => ExtArrays::VERSION
);

$wgExtensionMessagesFiles['Arrays'     ] = ExtArrays::getDir() . '/Arrays.i18n.php';
$wgExtensionMessagesFiles['ArraysMagic'] = ExtArrays::getDir() . '/Arrays.i18n.magic.php';

// hooks registration:
$wgHooks['ParserFirstCallInit'][] = 'ExtArrays::init';
$wgHooks['ParserClearState'   ][] = 'ExtArrays::onParserClearState';

// Include the settings file:
require_once ExtArrays::getDir() . '/Arrays_Settings.php';


/**
 * Extension class with all the array functionality, also serves as store for arrays per
 * Parser object and offers public accessors for interaction with the 'Arrays' extension.
 *
 * @since 2.0 ('ArrayExtension' before and one global instance, also non-static parser functions)
 */
class ExtArrays {

	/**
	 * Version of the 'Arrays' extension.
{'fraction_non_alphanumeric': 0.1682968929804373, 'fraction_numerical': 0.006329113924050633, 'mean_word_length': 3.988522238163558, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 35, 'https://': 2, 'lorem ipsum': 0, 'www.': 9, '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': '161225', 'n_tokens_mistral': 1127, 'n_tokens_neox': 1139, 'n_words': 253}