BryanDavis has uploaded a new change for review.
https://gerrit.wikimedia.org/r/212999
Change subject: Remove MWLogger and non-namespaced MWLogger* shim classes
......................................................................
Remove MWLogger and non-namespaced MWLogger* shim classes
These classes were introduced and deprecated during the 1.25 development
cycle.
Bug: 100098
Change-Id: I3a479d194bdf5137f99a7e27fc71c7b438b1e136
---
M autoload.php
D includes/debug/logger/monolog/Shims.php
2 files changed, 0 insertions(+), 80 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/99/212999/1
diff --git a/autoload.php b/autoload.php
index bdc0d93..f8b1681 100644
--- a/autoload.php
+++ b/autoload.php
@@ -711,17 +711,6 @@
'MWFunction' => __DIR__ . '/includes/utils/MWFunction.php',
'MWHookException' => __DIR__ . '/includes/Hooks.php',
'MWHttpRequest' => __DIR__ . '/includes/HttpFunctions.php',
- 'MWLogger' => __DIR__ . '/includes/debug/logger/Shims.php',
- 'MWLoggerFactory' => __DIR__ . '/includes/debug/logger/Shims.php',
- 'MWLoggerLegacyLogger' => __DIR__ . '/includes/debug/logger/Shims.php',
- 'MWLoggerLegacySpi' => __DIR__ . '/includes/debug/logger/Shims.php',
- 'MWLoggerMonologHandler' => __DIR__ .
'/includes/debug/logger/monolog/Shims.php',
- 'MWLoggerMonologLegacyFormatter' => __DIR__ .
'/includes/debug/logger/monolog/Shims.php',
- 'MWLoggerMonologProcessor' => __DIR__ .
'/includes/debug/logger/monolog/Shims.php',
- 'MWLoggerMonologSpi' => __DIR__ .
'/includes/debug/logger/monolog/Shims.php',
- 'MWLoggerMonologSyslogHandler' => __DIR__ .
'/includes/debug/logger/monolog/Shims.php',
- 'MWLoggerNullSpi' => __DIR__ . '/includes/debug/logger/Shims.php',
- 'MWLoggerSpi' => __DIR__ . '/includes/debug/logger/Shims.php',
'MWMemcached' => __DIR__ . '/includes/objectcache/MemcachedClient.php',
'MWMessagePack' => __DIR__ . '/includes/libs/MWMessagePack.php',
'MWNamespace' => __DIR__ . '/includes/MWNamespace.php',
diff --git a/includes/debug/logger/monolog/Shims.php
b/includes/debug/logger/monolog/Shims.php
deleted file mode 100644
index f250713..0000000
--- a/includes/debug/logger/monolog/Shims.php
+++ /dev/null
@@ -1,69 +0,0 @@
-<?php
-/**
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- * http://www.gnu.org/copyleft/gpl.html
- *
- * @file
- */
-
-/**
- * Backwards compatibility stub for usage from before the introduction of
- * the MediaWiki\Logger namespace.
- *
- * @deprecated since 1.25 Use \MediaWiki\Logger\Monolog\LegacyHandler
- * @todo This class should be removed before the 1.25 final release.
- */
-class MWLoggerMonologHandler extends \MediaWiki\Logger\Monolog\LegacyHandler {
-}
-
-/**
- * Backwards compatibility stub for usage from before the introduction of
- * the MediaWiki\Logger namespace.
- *
- * @deprecated since 1.25 Use \MediaWiki\Logger\Monolog\LegacyFormatter
- * @todo This class should be removed before the 1.25 final release.
- */
-class MWLoggerMonologLegacyFormatter extends
\MediaWiki\Logger\Monolog\LegacyFormatter {
-}
-
-/**
- * Backwards compatibility stub for usage from before the introduction of
- * the MediaWiki\Logger namespace.
- *
- * @deprecated since 1.25 Use \MediaWiki\Logger\Monolog\WikiProcessor
- * @todo This class should be removed before the 1.25 final release.
- */
-class MWLoggerMonologProcessor extends \MediaWiki\Logger\Monolog\WikiProcessor
{
-}
-
-/**
- * Backwards compatibility stub for usage from before the introduction of
- * the MediaWiki\Logger namespace.
- *
- * @deprecated since 1.25 Use \MediaWiki\Logger\MonologSpi
- * @todo This class should be removed before the 1.25 final release.
- */
-class MWLoggerMonologSpi extends \MediaWiki\Logger\MonologSpi {
-}
-
-/**
- * Backwards compatibility stub for usage from before the introduction of
- * the MediaWiki\Logger namespace.
- *
- * @deprecated since 1.25 Use \MediaWiki\Logger\Monolog\SyslogHandler
- * @todo This class should be removed before the 1.25 final release.
- */
-class MWLoggerMonologSyslogHandler extends
\MediaWiki\Logger\Monolog\SyslogHandler {
-}
--
To view, visit https://gerrit.wikimedia.org/r/212999
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a479d194bdf5137f99a7e27fc71c7b438b1e136
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits