Merge "Provide a way to restore an old revision with multiple slots."
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 24 Sep 2018 19:36:32 +0000 (19:36 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 24 Sep 2018 19:36:32 +0000 (19:36 +0000)
1  2 
autoload.php
includes/DefaultSettings.php

diff --combined autoload.php
@@@ -717,6 -717,7 +717,6 @@@ $wgAutoloadLocalClasses = 
        'JsonContentHandler' => __DIR__ . '/includes/content/JsonContentHandler.php',
        'KkConverter' => __DIR__ . '/languages/classes/LanguageKk.php',
        'KuConverter' => __DIR__ . '/languages/classes/LanguageKu.php',
 -      'LBFactory' => __DIR__ . '/includes/libs/rdbms/lbfactory/LBFactory.php',
        'LCStore' => __DIR__ . '/includes/cache/localisation/LCStore.php',
        'LCStoreCDB' => __DIR__ . '/includes/cache/localisation/LCStoreCDB.php',
        'LCStoreDB' => __DIR__ . '/includes/cache/localisation/LCStoreDB.php',
        'MappedIterator' => __DIR__ . '/includes/libs/MappedIterator.php',
        'MarkpatrolledAction' => __DIR__ . '/includes/actions/MarkpatrolledAction.php',
        'McTest' => __DIR__ . '/maintenance/mctest.php',
+       'McrRestoreAction' => __DIR__ . '/includes/actions/McrRestoreAction.php',
        'McrUndoAction' => __DIR__ . '/includes/actions/McrUndoAction.php',
        'MediaHandler' => __DIR__ . '/includes/media/MediaHandler.php',
        'MediaHandlerFactory' => __DIR__ . '/includes/media/MediaHandlerFactory.php',
        'MigrateFileRepoLayout' => __DIR__ . '/maintenance/migrateFileRepoLayout.php',
        'MigrateUserGroup' => __DIR__ . '/maintenance/migrateUserGroup.php',
        'MimeAnalyzer' => __DIR__ . '/includes/libs/mime/MimeAnalyzer.php',
 -      'MimeMagic' => __DIR__ . '/includes/MimeMagic.php',
        'MinifyScript' => __DIR__ . '/maintenance/minify.php',
        'MostcategoriesPage' => __DIR__ . '/includes/specials/SpecialMostcategories.php',
        'MostimagesPage' => __DIR__ . '/includes/specials/SpecialMostimages.php',
@@@ -1380,14 -1380,14 +1380,14 @@@ $wgAntivirusRequired = true
  $wgVerifyMimeType = true;
  
  /**
 - * Sets the MIME type definition file to use by MimeMagic.php.
 + * Sets the MIME type definition file to use by includes/libs/mime/MimeAnalyzer.php.
   * Set to null, to use built-in defaults only.
   * example: $wgMimeTypeFile = '/etc/mime.types';
   */
  $wgMimeTypeFile = 'includes/mime.types';
  
  /**
 - * Sets the MIME type info file to use by MimeMagic.php.
 + * Sets the MIME type info file to use by includes/libs/mime/MimeAnalyzer.php.
   * Set to null, to use built-in defaults only.
   */
  $wgMimeInfoFile = 'includes/mime.info';
@@@ -8017,6 -8017,7 +8017,7 @@@ $wgActions = 
        'info' => true,
        'markpatrolled' => true,
        'mcrundo' => McrUndoAction::class,
+       'mcrrestore' => McrRestoreAction::class,
        'protect' => true,
        'purge' => true,
        'raw' => true,