<commit_before><?php

use YesWiki\Core\YesWikiAction;

class BazarListeExterneAction extends YesWikiAction
{
    function formatArguments($arg)
    {
        return([
            'url' => $arg['url']
        ]);
    }

    function run()
    {
        if (empty($this->arguments['url'])) {
            exit('<div class="alert alert-danger">Action bazarlisteexterne : parametre url obligatoire.</div>');
        }

        return $this->callAction('bazarliste', $this->arguments);
    }
}
<commit_msg>feat(BazarListeExterneAction): empty action for backward compatibilty<commit_after><?php

use YesWiki\Core\YesWikiAction;

// backward compatibilty
// TODO to delete for ectoplasme

class BazarListeExterneAction extends YesWikiAction
{
    public function run()
    {
        return $this->callAction('bazarliste', $this->arguments);
    }
}

{'fraction_non_alphanumeric': 0.12707838479809977, 'fraction_numerical': 0.0, 'mean_word_length': 3.215, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, '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': '4325140', 'n_tokens_mistral': 268, 'n_tokens_neox': 264, 'n_words': 51}