<commit_before>---
list:

  - name: Semantic MediaWiki
    composer: "mediawiki/semantic-media-wiki"
    version: "~2.4"
    config: |
      // Enable Semantic MediaWiki semantics
      enableSemantics( $wikiId );

      // Semantic MediaWiki Settings
      $smwgQMaxSize = 5000;

      // allows adding semantic properties to Templates themselves
      // (not just on pages via templates).
      // ENABLE THIS AFTER ALL TEMPLATES HAVE BEEN CHECKED FOR PROPER FORM
      // i.e. using <noinclude> and <includeonly> properly
      // $smwgNamespacesWithSemanticLinks[NS_TEMPLATE] = true;
      $smwgNamespacesWithSemanticLinks[NS_TALK] = true;

  - name: Semantic Result Formats
    composer: "mediawiki/semantic-result-formats"
    version: "~2.0"
    config: |
      // SemanticResultFormats formats enabled (beyond defaults)
      // These are disabled by default because they send data to external
      // web services for rendering, which may be considered a data leak
      // $srfgFormats[] = 'googlebar';
      // $srfgFormats[] = 'googlepie';

      // Disabled until the proper dependencies are added (PHPExcel I think)
      // $srfgFormats[] = 'excel';

      // Enables the "filtered" format. Where do we use this?
      $srfgFormats[] = 'filtered';

      // Disabled due to some issue on FOD wikis. Confirm, reenable if possible
      // $srfgFormats[] = 'exhibit';

  - name: SubPageList
    composer: "mediawiki/sub-page-list"
    version: "~1.1"
  - name: Semantic Meeting Minutes
    composer: "mediawiki/semantic-meeting-minutes"
    version: "~0.3"
  - name: Semantic Maps
    composer: "mediawiki/semantic-maps"
    version: "~3.2"


  # Extension:HeaderFooter (currently pulled in by composer as dependency)
  # https://github.com/enterprisemediawiki/HeaderFooter.git

  # Extension:NumerAlpha (currently pulled in by composer as dependency)
  # https://github.com/jamesmontalvo3/NumerAlpha.git







  #
  # Extensions loaded with wfLoadExtension
  #
  - name: ParserFunctions
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions.git
    version: REL1_27
    config: |
      // Also enable StringFunctions, like len, pos, sub, replace, explode
      // https://www.mediawiki.org/wiki/Extension:StringFunctions
      $wgPFEnableStringFunctions = true;
  - name: ExternalData
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/ExternalData.git
    version: REL1_27
  - name: LabeledSectionTransclusion
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/LabeledSectionTransclusion.git
    version: REL1_27
  - name: Cite
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite.git
    version: REL1_27
    config: |
      $wgCiteEnablePopups = true;
  - name: ParserFunctionHelper
    repo: https://github.com/enterprisemediawiki/ParserFunctionHelper.git
    version: master
  - name: CharInsert
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/CharInsert.git
    version: REL1_27
  - name: SemanticForms
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/SemanticForms.git
    version: tags/3.5
  - name: DismissableSiteNotice
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/DismissableSiteNotice.git
    version: REL1_27
  - name: WikiEditor
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor.git
    version: REL1_27
    config: |
      $wgDefaultUserOptions['usebetatoolbar'] = 1;
      $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
      $wgDefaultUserOptions['wikieditor-publish'] = 1; # displays publish button
      $wgDefaultUserOptions['wikieditor-preview'] = 1; # Displays the Preview and Changes tabs

  # consider replacing with https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_Pygments.git
  - name: SyntaxHighlight_GeSHi
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi.git
    version: REL1_27
    composer_merge: True
  - name: InputBox
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox.git
    version: REL1_27
  - name: ReplaceText
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText.git
    version: REL1_27
  - name: Interwiki
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki.git
    version: REL1_27
    config: |
      $wgGroupPermissions['sysop']['interwiki'] = true;
  - name: YouTube
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/YouTube.git
    version: REL1_27
  - name: UniversalLanguageSelector
    repo: https://gerrit.wikimedia.org/r/p/mediawiki/extensions/UniversalLanguageSelector.git
    version: REL1_27
  - name: VisualEditor
    repo: https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git
    version: REL1_27
    git_submodules: True
    config: |
      // Parsoid servers are defined based upon Ansible hosts file and thus
      // cannot be easily added to base-extensions.yml. As such, VisualEditor config
      // is included directly in LocalSettings.php.j2
  - name: Elastica
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Elastica.git
    version: REL1_27
    composer_merge: True
  - name: Thanks
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks.git
    version: REL1_27
    config: |
      $wgThanksConfirmationRequired = false;
  - name: CollapsibleVector
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/CollapsibleVector
    version: REL1_27
  - name: Math
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Math.git
    version: REL1_27
    config: |
      $wgMathValidModes[] = 'MW_MATH_MATHJAX'; // Define MathJax as one of the valid math rendering modes
      $wgUseMathJax = true; // Enable MathJax as a math rendering option for users to pick
      $wgDefaultUserOptions['math'] = 'MW_MATH_MATHJAX'; // Set MathJax as the default rendering option for all users (optional)
      $wgMathDisableTexFilter = true; // or compile "texvccheck"
      $wgDefaultUserOptions['mathJax'] = true; // Enable the MathJax checkbox option
  # Extension:PdfHandler (breaks on very large PDFs)
  # https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
  # // Location of PdfHandler dependencies
  # // $wgPdfProcessor = '/usr/bin/gs'; // installed via yum
  # // $wgPdfPostProcessor = '/usr/local/bin/convert'; // built from source
  # // $wgPdfInfo = '/usr/local/bin/pdfinfo'; // pre-built binaries installed<commit_msg>Add extension ImageMap (#519)<commit_after>---
list:

  - name: Semantic MediaWiki
    composer: "mediawiki/semantic-media-wiki"
    version: "~2.4"
    config: |
      // Enable Semantic MediaWiki semantics
      enableSemantics( $wikiId );

      // Semantic MediaWiki Settings
      $smwgQMaxSize = 5000;

      // allows adding semantic properties to Templates themselves
      // (not just on pages via templates).
      // ENABLE THIS AFTER ALL TEMPLATES HAVE BEEN CHECKED FOR PROPER FORM
      // i.e. using <noinclude> and <includeonly> properly
      // $smwgNamespacesWithSemanticLinks[NS_TEMPLATE] = true;
      $smwgNamespacesWithSemanticLinks[NS_TALK] = true;

  - name: Semantic Result Formats
    composer: "mediawiki/semantic-result-formats"
    version: "~2.0"
    config: |
      // SemanticResultFormats formats enabled (beyond defaults)
      // These are disabled by default because they send data to external
      // web services for rendering, which may be considered a data leak
      // $srfgFormats[] = 'googlebar';
      // $srfgFormats[] = 'googlepie';

      // Disabled until the proper dependencies are added (PHPExcel I think)
      // $srfgFormats[] = 'excel';

      // Enables the "filtered" format. Where do we use this?
      $srfgFormats[] = 'filtered';

      // Disabled due to some issue on FOD wikis. Confirm, reenable if possible
      // $srfgFormats[] = 'exhibit';

  - name: SubPageList
    composer: "mediawiki/sub-page-list"
    version: "~1.1"
  - name: Semantic Meeting Minutes
    composer: "mediawiki/semantic-meeting-minutes"
    version: "~0.3"
  - name: Semantic Maps
    composer: "mediawiki/semantic-maps"
    version: "~3.2"


  # Extension:HeaderFooter (currently pulled in by composer as dependency)
  # https://github.com/enterprisemediawiki/HeaderFooter.git

  # Extension:NumerAlpha (currently pulled in by composer as dependency)
  # https://github.com/jamesmontalvo3/NumerAlpha.git







  #
  # Extensions loaded with wfLoadExtension
  #
  - name: ParserFunctions
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions.git
    version: REL1_27
    config: |
      // Also enable StringFunctions, like len, pos, sub, replace, explode
      // https://www.mediawiki.org/wiki/Extension:StringFunctions
      $wgPFEnableStringFunctions = true;
  - name: ExternalData
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/ExternalData.git
    version: REL1_27
  - name: LabeledSectionTransclusion
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/LabeledSectionTransclusion.git
    version: REL1_27
  - name: Cite
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite.git
    version: REL1_27
    config: |
      $wgCiteEnablePopups = true;
  - name: ParserFunctionHelper
    repo: https://github.com/enterprisemediawiki/ParserFunctionHelper.git
    version: master
  - name: CharInsert
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/CharInsert.git
    version: REL1_27
  - name: SemanticForms
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/SemanticForms.git
    version: tags/3.5
  - name: DismissableSiteNotice
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/DismissableSiteNotice.git
    version: REL1_27
  - name: WikiEditor
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor.git
    version: REL1_27
    config: |
      $wgDefaultUserOptions['usebetatoolbar'] = 1;
      $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
      $wgDefaultUserOptions['wikieditor-publish'] = 1; # displays publish button
      $wgDefaultUserOptions['wikieditor-preview'] = 1; # Displays the Preview and Changes tabs

  # consider replacing with https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_Pygments.git
  - name: SyntaxHighlight_GeSHi
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/SyntaxHighlight_GeSHi.git
    version: REL1_27
    composer_merge: True
  - name: InputBox
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/InputBox.git
    version: REL1_27
  - name: ReplaceText
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText.git
    version: REL1_27
  - name: Interwiki
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Interwiki.git
    version: REL1_27
    config: |
      $wgGroupPermissions['sysop']['interwiki'] = true;
  - name: YouTube
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/YouTube.git
    version: REL1_27
  - name: UniversalLanguageSelector
    repo: https://gerrit.wikimedia.org/r/p/mediawiki/extensions/UniversalLanguageSelector.git
    version: REL1_27
  - name: VisualEditor
    repo: https://gerrit.wikimedia.org/r/p/mediawiki/extensions/VisualEditor.git
    version: REL1_27
    git_submodules: True
    config: |
      // Parsoid servers are defined based upon Ansible hosts file and thus
      // cannot be easily added to base-extensions.yml. As such, VisualEditor config
      // is included directly in LocalSettings.php.j2
  - name: Elastica
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Elastica.git
    version: REL1_27
    composer_merge: True
  - name: Thanks
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Thanks.git
    version: REL1_27
    config: |
      $wgThanksConfirmationRequired = false;
  - name: CollapsibleVector
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/CollapsibleVector
    version: REL1_27
  - name: Math
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/Math.git
    version: REL1_27
    config: |
      $wgMathValidModes[] = 'MW_MATH_MATHJAX'; // Define MathJax as one of the valid math rendering modes
      $wgUseMathJax = true; // Enable MathJax as a math rendering option for users to pick
      $wgDefaultUserOptions['math'] = 'MW_MATH_MATHJAX'; // Set MathJax as the default rendering option for all users (optional)
      $wgMathDisableTexFilter = true; // or compile "texvccheck"
      $wgDefaultUserOptions['mathJax'] = true; // Enable the MathJax checkbox option
  - name: ImageMap
    repo: https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
    version: REL1_27
  # Extension:PdfHandler (breaks on very large PDFs)
  # https://gerrit.wikimedia.org/r/mediawiki/extensions/PdfHandler
  # // Location of PdfHandler dependencies
  # // $wgPdfProcessor = '/usr/bin/gs'; // installed via yum
  # // $wgPdfPostProcessor = '/usr/local/bin/convert'; // built from source
  # // $wgPdfInfo = '/usr/local/bin/pdfinfo'; // pre-built binaries installed
{'fraction_non_alphanumeric': 0.10911612853510057, 'fraction_numerical': 0.012175387223549357, 'mean_word_length': 3.308764940239044, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 51, 'lorem ipsum': 0, 'www.': 2, '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': '3947822', 'n_tokens_mistral': 4313, 'n_tokens_neox': 4037, 'n_words': 908}