<commit_before>---
list:

  - name: Semantic MediaWiki
    composer: "mediawiki/semantic-media-wiki"
    version: "~3.1"
    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).
      $smwgNamespacesWithSemanticLinks[NS_TALK] = true;
      $smwgNamespacesWithSemanticLinks[NS_TEMPLATE] = true;

      // Always use DB_SLAVE for temporary table actions. Need to pick either
      // DB_SLAVE or DB_MASTER for this, since temporary tables will either not
      // replicate at all or won't replicate fast enough (or, even if they do
      // technically replicate, they are only available to the session that
      // created them, and thus they effectively don't replicate). Picking
      // DB_SLAVE since temporary tables are effectively a read-action since
      // they are used only for making more efficient queries.
      $smwgLocalConnectionConf['mw.db.queryengine'] = [ 'read' => DB_REPLICA, 'write' => DB_REPLICA ];

  - name: Semantic Result Formats
    composer: "mediawiki/semantic-result-formats"
    version: "~3.1"
    config: |
      // In SRF 3.0+ you need to do this, too:
      wfLoadExtension( 'SemanticResultFormats' );

      // 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: SemanticCompoundQueries
    composer: "mediawiki/semantic-compound-queries"
    version: "~2.1"

  - name: Scribunto
    repo: https://github.com/wikimedia/mediawiki-extensions-Scribunto.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgScribuntoDefaultEngine = 'luasandbox';
      $wgScribuntoUseGeSHi = true;
      $wgScribuntoUseCodeEditor = true;
  - name: "Semantic Scribunto"
    composer: "mediawiki/semantic-scribunto"
    version: ~2.1
    config: |
      wfLoadExtension( 'SemanticScribunto' );
  - name: SubPageList
    composer: "mediawiki/sub-page-list"
    version: "1.6.1"
  - name: Maps
    composer: "mediawiki/maps"
    version: "7.17.2"
    config: |
      // In Maps 6.0+ you need to also load the extension
      wfLoadExtension( 'Maps' );

  - name: DisplayTitle
    repo: https://github.com/wikimedia/mediawiki-extensions-DisplayTitle.git
    version: "{{ mediawiki_default_branch }}"


  #
  # Extensions loaded with wfLoadExtension
  #
  - name: ParserFunctions
    repo: https://github.com/wikimedia/mediawiki-extensions-ParserFunctions.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      // Also enable StringFunctions, like len, pos, sub, replace, explode
      // https://www.mediawiki.org/wiki/Extension:StringFunctions
      $wgPFEnableStringFunctions = true;
  - name: ExternalData
    repo: https://github.com/wikimedia/mediawiki-extensions-ExternalData.git
    version: "master"
  - name: LabeledSectionTransclusion
    repo: https://github.com/wikimedia/mediawiki-extensions-LabeledSectionTransclusion.git
    version: "{{ mediawiki_default_branch }}"
  - name: Cite
    repo: https://github.com/wikimedia/mediawiki-extensions-Cite.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgCiteEnablePopups = true;
  - name: ParserFunctionHelper
    repo: https://github.com/enterprisemediawiki/ParserFunctionHelper.git
    version: tags/1.0.0
  - name: CharInsert
    repo: https://github.com/wikimedia/mediawiki-extensions-CharInsert.git
    version: "{{ mediawiki_default_branch }}"
  - name: PageForms
    repo: https://github.com/wikimedia/mediawiki-extensions-PageForms.git
    version: "master"
    config: |
      // If enabled all "red links" will bring up a form chooser
      $wgPageFormsLinkAllRedLinksToForms = false;
  - name: DismissableSiteNotice
    repo: https://github.com/wikimedia/mediawiki-extensions-DismissableSiteNotice.git
    version: "{{ mediawiki_default_branch }}"
  - name: WikiEditor
    repo: https://github.com/wikimedia/mediawiki-extensions-WikiEditor.git
    version: "{{ mediawiki_default_branch }}"
    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://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_Pygments.git
  - name: SyntaxHighlight_GeSHi
    repo: https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi.git
    version: "{{ mediawiki_default_branch }}"
    composer_merge: True
  - name: CodeEditor
    repo: https://github.com/wikimedia/mediawiki-extensions-CodeEditor.git
    version: "{{ mediawiki_default_branch }}"
  - name: InputBox
    repo: https://github.com/wikimedia/mediawiki-extensions-InputBox.git
    version: "{{ mediawiki_default_branch }}"
  - name: ReplaceText
    repo: https://github.com/wikimedia/mediawiki-extensions-ReplaceText.git
    version: "master"
  - name: Interwiki
    repo: https://github.com/wikimedia/mediawiki-extensions-Interwiki.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgGroupPermissions['sysop']['interwiki'] = true;
  - name: YouTube
    repo: https://github.com/wikimedia/mediawiki-extensions-YouTube.git
    version: "{{ mediawiki_default_branch }}"
  - name: UniversalLanguageSelector
    repo: https://github.com/wikimedia/mediawiki-extensions-UniversalLanguageSelector
    version: "{{ mediawiki_default_branch }}"
    config: |
      // Disable international phoenetic alphabet selector that breaks searching for
      // English users. From docs:
      //
      // $wgULSIMEEnabled - Disable the input methods feature for all users by
      // default. Can still be enabled manually by the user.
      //
      // Refs:
      //
      // https://www.mediawiki.org/wiki/Help:Extension:UniversalLanguageSelector/Input_methods
      // https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector
      $wgULSIMEEnabled = false;

  - name: VisualEditor
    repo: https://github.com/wikimedia/mediawiki-extensions-VisualEditor.git
    version: "{{ mediawiki_default_branch }}"
    git_submodules: True
    config: |
      // Parsoid servers are defined based upon Ansible hosts file and thus
      // cannot be easily added to MezaCoreExtensions.yml. As such, VisualEditor config
      // is included directly in LocalSettings.php.j2 (mostly)

      // Show visual diff on regular diff pages
      $wgVisualEditorEnableDiffPage = true;

  - name: TemplateData
    repo: https://github.com/wikimedia/mediawiki-extensions-TemplateData.git
    version: "{{ mediawiki_default_branch }}"
  - name: Elastica
    repo: https://github.com/wikimedia/mediawiki-extensions-Elastica.git
    version: "{{ mediawiki_default_branch }}"
    composer_merge: True
  - name: Thanks
    repo: https://github.com/wikimedia/mediawiki-extensions-Thanks.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgThanksConfirmationRequired = false;
  - name: RevisionSlider
    repo: https://github.com/wikimedia/mediawiki-extensions-RevisionSlider.git
    version: "{{ mediawiki_default_branch }}"
  - name: CollapsibleVector
    repo: https://github.com/wikimedia/mediawiki-extensions-CollapsibleVector
    version: "{{ mediawiki_default_branch }}"
  - name: SimpleMathJax
    repo: https://github.com/jamesmontalvo3/SimpleMathJax.git
    version: e94afaffcdde8d926b166fdd166162f9519beaa1
    legacy_load: True
  - name: ImageMap
    repo: https://github.com/wikimedia/mediawiki-extensions-ImageMap
    version: "{{ mediawiki_default_branch }}"
  - name: MezaExt
    repo: https://github.com/enterprisemediawiki/MezaExt.git
    version: tags/0.1.0
  # Extension:PdfHandler (breaks on very large PDFs)
  # https://github.com/wikimedia/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




  #
  # Extensions loaded with legacy require_once method
  #
  - name: StringFunctionsEscaped
    repo: https://github.com/wikimedia/mediawiki-extensions-StringFunctionsEscaped.git
    version: "{{ mediawiki_default_branch }}"
    legacy_load: true
  - name: WhoIsWatching
    repo: https://github.com/wikimedia/mediawiki-extensions-WhoIsWatching.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgPageShowWatchingUsers = true;
  - name: SemanticInternalObjects
    repo: https://github.com/wikimedia/mediawiki-extensions-SemanticInternalObjects.git
    version: "master"
    legacy_load: true
  - name: SemanticDrilldown
    repo: https://github.com/wikimedia/mediawiki-extensions-SemanticDrilldown.git
    version: "master"
    legacy_load: true
  - name: Arrays
    repo: https://github.com/wikimedia/mediawiki-extensions-Arrays.git
    version: "2166695159a9a5eb18cb96d4811cdefa0978ab8a"
    legacy_load: true
  - name: TalkRight
    repo: https://github.com/enterprisemediawiki/TalkRight.git
    version: tags/2.0.0
    legacy_load: true
  - name: AdminLinks
    repo: https://github.com/wikimedia/mediawiki-extensions-AdminLinks.git
    version: "master"
    config: |
      $wgGroupPermissions['sysop']['adminlinks'] = true;
  - name: BatchUserRights
    repo: https://github.com/wikimedia/mediawiki-extensions-BatchUserRights.git
    version: "{{ mediawiki_default_branch }}"
  - name: HeaderTabs
    repo: https://github.com/wikimedia/mediawiki-extensions-HeaderTabs.git
    version: tags/1.2
    config: |
      $wgHeaderTabsEditTabLink = false;
      $wgHeaderTabsRenderSingleTab = true;
#  - name: CopyWatchers
#    repo: https://github.com/jamesmontalvo3/MediaWiki-CopyWatchers.git
#    version: tags/0.10.0
#  - name: Wiretap
#    repo: https://github.com/enterprisemediawiki/Wiretap.git
#    version: tags/0.1.0
  - name: ApprovedRevs
    repo: https://github.com/wikimedia/mediawiki-extensions-ApprovedRevs.git
    version: master
    config: |
      $egApprovedRevsAutomaticApprovals = false;
  - name: ImagesLoaded
    repo: https://github.com/enterprisemediawiki/ImagesLoaded.git
    version: tags/0.1.0
  - name: MasonryMainPage
    repo: https://github.com/enterprisemediawiki/MasonryMainPage.git
    version: tags/0.3.0
#  - name: WatchAnalytics
#    repo: https://github.com/enterprisemediawiki/WatchAnalytics.git
#    version: tags/3.1.1
#    config: |
#      $egPendingReviewsEmphasizeDays = 10; // makes Pending Reviews shake after X days
  - name: Variables
    repo: https://github.com/wikimedia/mediawiki-extensions-Variables.git
    version: "{{ mediawiki_default_branch }}"
  - name: ContributionScores
    repo: https://github.com/wikimedia/mediawiki-extensions-ContributionScores.git
    version: "{{ mediawiki_default_branch }}"
    legacy_load: true
    config: |
      // Exclude Bots from the reporting - Can be omitted.
      $wgContribScoreIgnoreBots = true;

      // Exclude Blocked Users from the reporting - Can be omitted.
      $wgContribScoreIgnoreBlockedUsers = true;

      // Use real user names when available - Can be omitted. Only for MediaWiki 1.19 and later.c
      $wgContribScoresUseRealName = true;

      // Set to true to disable cache for parser function and inclusion of table.
      $wgContribScoreDisableCache = false;

      // Each array defines a report - 7,50 is "past 7 days" and "LIMIT 50" - Can be omitted.
      $wgContribScoreReports = array(
        array(7,50),
        array(30,50),
        array(0,50)
      );


  - name: PipeEscape
    repo: https://github.com/wikimedia/mediawiki-extensions-PipeEscape.git
    version: "{{ mediawiki_default_branch }}"
    legacy_load: true
  - name: CirrusSearch
    repo: https://github.com/wikimedia/mediawiki-extensions-CirrusSearch.git
    version: "{{ mediawiki_default_branch }}"
    legacy_load: true
    config: |
      // CirrusSearch cluster(s) are defined based upon Ansible hosts file and thus
      // cannot be easily added to MezaCoreExtensions.yml. As such, CirrusSearch config
      // is included directly in LocalSettings.php.j2
  - name: Echo
    repo: https://github.com/wikimedia/mediawiki-extensions-Echo.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgEchoEmailFooterAddress = $wgPasswordSender;
  - name: UploadWizard
    repo: https://github.com/wikimedia/mediawiki-extensions-UploadWizard
    version: "{{ mediawiki_default_branch }}"
    config: |
      // Needed to make UploadWizard work in IE, see bug 39877
      // See also: https://www.mediawiki.org/wiki/Manual:$wgApiFrameOptions
      $wgApiFrameOptions = 'SAMEORIGIN';

      // Use UploadWizard by default in navigation bar
      $wgUploadNavigationUrl = "$wgScriptPath/index.php/Special:UploadWizard";
      $wgUploadWizardConfig = array(
        'debug' => false,
        'autoCategory' => 'Uploaded with UploadWizard',
        'feedbackPage' => 'Project:UploadWizard/Feedback',
        'altUploadForm' => 'Special:Upload',
        'fallbackToAltUploadForm' => false,
        'enableFormData' => true,  # Should FileAPI uploads be used on supported browsers?
        'enableMultipleFiles' => true,
        'enableMultiFileSelect' => true,<commit_msg>Disable Upload Wizard in favor of traditional form.<commit_after>---
list:

  - name: Semantic MediaWiki
    composer: "mediawiki/semantic-media-wiki"
    version: "~3.1"
    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).
      $smwgNamespacesWithSemanticLinks[NS_TALK] = true;
      $smwgNamespacesWithSemanticLinks[NS_TEMPLATE] = true;

      // Always use DB_SLAVE for temporary table actions. Need to pick either
      // DB_SLAVE or DB_MASTER for this, since temporary tables will either not
      // replicate at all or won't replicate fast enough (or, even if they do
      // technically replicate, they are only available to the session that
      // created them, and thus they effectively don't replicate). Picking
      // DB_SLAVE since temporary tables are effectively a read-action since
      // they are used only for making more efficient queries.
      $smwgLocalConnectionConf['mw.db.queryengine'] = [ 'read' => DB_REPLICA, 'write' => DB_REPLICA ];

  - name: Semantic Result Formats
    composer: "mediawiki/semantic-result-formats"
    version: "~3.1"
    config: |
      // In SRF 3.0+ you need to do this, too:
      wfLoadExtension( 'SemanticResultFormats' );

      // 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: SemanticCompoundQueries
    composer: "mediawiki/semantic-compound-queries"
    version: "~2.1"

  - name: Scribunto
    repo: https://github.com/wikimedia/mediawiki-extensions-Scribunto.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgScribuntoDefaultEngine = 'luasandbox';
      $wgScribuntoUseGeSHi = true;
      $wgScribuntoUseCodeEditor = true;
  - name: "Semantic Scribunto"
    composer: "mediawiki/semantic-scribunto"
    version: ~2.1
    config: |
      wfLoadExtension( 'SemanticScribunto' );
  - name: SubPageList
    composer: "mediawiki/sub-page-list"
    version: "1.6.1"
  - name: Maps
    composer: "mediawiki/maps"
    version: "7.17.2"
    config: |
      // In Maps 6.0+ you need to also load the extension
      wfLoadExtension( 'Maps' );

  - name: DisplayTitle
    repo: https://github.com/wikimedia/mediawiki-extensions-DisplayTitle.git
    version: "{{ mediawiki_default_branch }}"


  #
  # Extensions loaded with wfLoadExtension
  #
  - name: ParserFunctions
    repo: https://github.com/wikimedia/mediawiki-extensions-ParserFunctions.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      // Also enable StringFunctions, like len, pos, sub, replace, explode
      // https://www.mediawiki.org/wiki/Extension:StringFunctions
      $wgPFEnableStringFunctions = true;
  - name: ExternalData
    repo: https://github.com/wikimedia/mediawiki-extensions-ExternalData.git
    version: "master"
  - name: LabeledSectionTransclusion
    repo: https://github.com/wikimedia/mediawiki-extensions-LabeledSectionTransclusion.git
    version: "{{ mediawiki_default_branch }}"
  - name: Cite
    repo: https://github.com/wikimedia/mediawiki-extensions-Cite.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgCiteEnablePopups = true;
  - name: ParserFunctionHelper
    repo: https://github.com/enterprisemediawiki/ParserFunctionHelper.git
    version: tags/1.0.0
  - name: CharInsert
    repo: https://github.com/wikimedia/mediawiki-extensions-CharInsert.git
    version: "{{ mediawiki_default_branch }}"
  - name: PageForms
    repo: https://github.com/wikimedia/mediawiki-extensions-PageForms.git
    version: "master"
    config: |
      // If enabled all "red links" will bring up a form chooser
      $wgPageFormsLinkAllRedLinksToForms = false;
  - name: DismissableSiteNotice
    repo: https://github.com/wikimedia/mediawiki-extensions-DismissableSiteNotice.git
    version: "{{ mediawiki_default_branch }}"
  - name: WikiEditor
    repo: https://github.com/wikimedia/mediawiki-extensions-WikiEditor.git
    version: "{{ mediawiki_default_branch }}"
    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://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_Pygments.git
  - name: SyntaxHighlight_GeSHi
    repo: https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi.git
    version: "{{ mediawiki_default_branch }}"
    composer_merge: True
  - name: CodeEditor
    repo: https://github.com/wikimedia/mediawiki-extensions-CodeEditor.git
    version: "{{ mediawiki_default_branch }}"
  - name: InputBox
    repo: https://github.com/wikimedia/mediawiki-extensions-InputBox.git
    version: "{{ mediawiki_default_branch }}"
  - name: ReplaceText
    repo: https://github.com/wikimedia/mediawiki-extensions-ReplaceText.git
    version: "master"
  - name: Interwiki
    repo: https://github.com/wikimedia/mediawiki-extensions-Interwiki.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgGroupPermissions['sysop']['interwiki'] = true;
  - name: YouTube
    repo: https://github.com/wikimedia/mediawiki-extensions-YouTube.git
    version: "{{ mediawiki_default_branch }}"
  - name: UniversalLanguageSelector
    repo: https://github.com/wikimedia/mediawiki-extensions-UniversalLanguageSelector
    version: "{{ mediawiki_default_branch }}"
    config: |
      // Disable international phoenetic alphabet selector that breaks searching for
      // English users. From docs:
      //
      // $wgULSIMEEnabled - Disable the input methods feature for all users by
      // default. Can still be enabled manually by the user.
      //
      // Refs:
      //
      // https://www.mediawiki.org/wiki/Help:Extension:UniversalLanguageSelector/Input_methods
      // https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector
      $wgULSIMEEnabled = false;

  - name: VisualEditor
    repo: https://github.com/wikimedia/mediawiki-extensions-VisualEditor.git
    version: "{{ mediawiki_default_branch }}"
    git_submodules: True
    config: |
      // Parsoid servers are defined based upon Ansible hosts file and thus
      // cannot be easily added to MezaCoreExtensions.yml. As such, VisualEditor config
      // is included directly in LocalSettings.php.j2 (mostly)

      // Show visual diff on regular diff pages
      $wgVisualEditorEnableDiffPage = true;

  - name: TemplateData
    repo: https://github.com/wikimedia/mediawiki-extensions-TemplateData.git
    version: "{{ mediawiki_default_branch }}"
  - name: Elastica
    repo: https://github.com/wikimedia/mediawiki-extensions-Elastica.git
    version: "{{ mediawiki_default_branch }}"
    composer_merge: True
  - name: Thanks
    repo: https://github.com/wikimedia/mediawiki-extensions-Thanks.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgThanksConfirmationRequired = false;
  - name: RevisionSlider
    repo: https://github.com/wikimedia/mediawiki-extensions-RevisionSlider.git
    version: "{{ mediawiki_default_branch }}"
  - name: CollapsibleVector
    repo: https://github.com/wikimedia/mediawiki-extensions-CollapsibleVector
    version: "{{ mediawiki_default_branch }}"
  - name: SimpleMathJax
    repo: https://github.com/jamesmontalvo3/SimpleMathJax.git
    version: e94afaffcdde8d926b166fdd166162f9519beaa1
    legacy_load: True
  - name: ImageMap
    repo: https://github.com/wikimedia/mediawiki-extensions-ImageMap
    version: "{{ mediawiki_default_branch }}"
  - name: MezaExt
    repo: https://github.com/enterprisemediawiki/MezaExt.git
    version: tags/0.1.0
  # Extension:PdfHandler (breaks on very large PDFs)
  # https://github.com/wikimedia/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




  #
  # Extensions loaded with legacy require_once method
  #
  - name: StringFunctionsEscaped
    repo: https://github.com/wikimedia/mediawiki-extensions-StringFunctionsEscaped.git
    version: "{{ mediawiki_default_branch }}"
    legacy_load: true
  - name: WhoIsWatching
    repo: https://github.com/wikimedia/mediawiki-extensions-WhoIsWatching.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgPageShowWatchingUsers = true;
  - name: SemanticInternalObjects
    repo: https://github.com/wikimedia/mediawiki-extensions-SemanticInternalObjects.git
    version: "master"
    legacy_load: true
  - name: SemanticDrilldown
    repo: https://github.com/wikimedia/mediawiki-extensions-SemanticDrilldown.git
    version: "master"
    legacy_load: true
  - name: Arrays
    repo: https://github.com/wikimedia/mediawiki-extensions-Arrays.git
    version: "2166695159a9a5eb18cb96d4811cdefa0978ab8a"
    legacy_load: true
  - name: TalkRight
    repo: https://github.com/enterprisemediawiki/TalkRight.git
    version: tags/2.0.0
    legacy_load: true
  - name: AdminLinks
    repo: https://github.com/wikimedia/mediawiki-extensions-AdminLinks.git
    version: "master"
    config: |
      $wgGroupPermissions['sysop']['adminlinks'] = true;
  - name: BatchUserRights
    repo: https://github.com/wikimedia/mediawiki-extensions-BatchUserRights.git
    version: "{{ mediawiki_default_branch }}"
  - name: HeaderTabs
    repo: https://github.com/wikimedia/mediawiki-extensions-HeaderTabs.git
    version: tags/1.2
    config: |
      $wgHeaderTabsEditTabLink = false;
      $wgHeaderTabsRenderSingleTab = true;
#  - name: CopyWatchers
#    repo: https://github.com/jamesmontalvo3/MediaWiki-CopyWatchers.git
#    version: tags/0.10.0
#  - name: Wiretap
#    repo: https://github.com/enterprisemediawiki/Wiretap.git
#    version: tags/0.1.0
  - name: ApprovedRevs
    repo: https://github.com/wikimedia/mediawiki-extensions-ApprovedRevs.git
    version: master
    config: |
      $egApprovedRevsAutomaticApprovals = false;
  - name: ImagesLoaded
    repo: https://github.com/enterprisemediawiki/ImagesLoaded.git
    version: tags/0.1.0
  - name: MasonryMainPage
    repo: https://github.com/enterprisemediawiki/MasonryMainPage.git
    version: tags/0.3.0
#  - name: WatchAnalytics
#    repo: https://github.com/enterprisemediawiki/WatchAnalytics.git
#    version: tags/3.1.1
#    config: |
#      $egPendingReviewsEmphasizeDays = 10; // makes Pending Reviews shake after X days
  - name: Variables
    repo: https://github.com/wikimedia/mediawiki-extensions-Variables.git
    version: "{{ mediawiki_default_branch }}"
  - name: ContributionScores
    repo: https://github.com/wikimedia/mediawiki-extensions-ContributionScores.git
    version: "{{ mediawiki_default_branch }}"
    legacy_load: true
    config: |
      // Exclude Bots from the reporting - Can be omitted.
      $wgContribScoreIgnoreBots = true;

      // Exclude Blocked Users from the reporting - Can be omitted.
      $wgContribScoreIgnoreBlockedUsers = true;

      // Use real user names when available - Can be omitted. Only for MediaWiki 1.19 and later.c
      $wgContribScoresUseRealName = true;

      // Set to true to disable cache for parser function and inclusion of table.
      $wgContribScoreDisableCache = false;

      // Each array defines a report - 7,50 is "past 7 days" and "LIMIT 50" - Can be omitted.
      $wgContribScoreReports = array(
        array(7,50),
        array(30,50),
        array(0,50)
      );


  - name: PipeEscape
    repo: https://github.com/wikimedia/mediawiki-extensions-PipeEscape.git
    version: "{{ mediawiki_default_branch }}"
    legacy_load: true
  - name: CirrusSearch
    repo: https://github.com/wikimedia/mediawiki-extensions-CirrusSearch.git
    version: "{{ mediawiki_default_branch }}"
    legacy_load: true
    config: |
      // CirrusSearch cluster(s) are defined based upon Ansible hosts file and thus
      // cannot be easily added to MezaCoreExtensions.yml. As such, CirrusSearch config
      // is included directly in LocalSettings.php.j2
  - name: Echo
    repo: https://github.com/wikimedia/mediawiki-extensions-Echo.git
    version: "{{ mediawiki_default_branch }}"
    config: |
      $wgEchoEmailFooterAddress = $wgPasswordSender;
  - name: UploadWizard
    repo: https://github.com/wikimedia/mediawiki-extensions-UploadWizard
    version: "{{ mediawiki_default_branch }}"
    config: |
      // Needed to make UploadWizard work in IE, see bug 39877
      // See also: https://www.mediawiki.org/wiki/Manual:$wgApiFrameOptions
      $wgApiFrameOptions = 'SAMEORIGIN';

      // Use UploadWizard by default in navigation bar
      // $wgUploadNavigationUrl = "$wgScriptPath/index.php/Special:UploadWizard";
      $wgUploadWizardConfig = array(
        'debug' => false,
        'autoCategory' => 'Uploaded with UploadWizard',
        'feedbackPage' => 'Project:UploadWizard/Feedback',
        'altUploadForm' => 'Special:Upload',
        'fallbackToAltUploadForm' => false,
        'enableFormData' => true,  # Should FileAPI uploads be used on supported browsers?
        'enableMultipleFiles' => true,
        'enableMultiFileSelect' => true,
{'fraction_non_alphanumeric': 0.11127835716589614, 'fraction_numerical': 0.009246317600258036, 'mean_word_length': 3.3128284389489955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, 'https://': 108, 'lorem ipsum': 0, 'www.': 8, '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': '7460439', 'n_tokens_mistral': 8817, 'n_tokens_neox': 8491, 'n_words': 1838}