mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 15:36:58 +00:00
Update moved class WikiMap
See T321882. Moved in I60cf4b9ef02b9d5 Bug: T321681 Change-Id: Icf209fddd9367540352d935557881d7e6e5a1e4c
This commit is contained in:
parent
c711e6a9a6
commit
fd6bdf95af
|
@ -6,7 +6,7 @@ namespace MediaWiki\Extension\Notifications\Api;
|
|||
use EchoForeignNotifications;
|
||||
use EchoForeignWikiRequest;
|
||||
use Exception;
|
||||
use WikiMap;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
use Wikimedia\ParamValidator\ParamValidator;
|
||||
|
||||
/**
|
||||
|
|
|
@ -5,9 +5,9 @@ namespace MediaWiki\Extension\Notifications\Api;
|
|||
use ApiBase;
|
||||
use EchoAttributeManager;
|
||||
use MediaWiki\Extension\Notifications\Controller\NotificationController;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
use MWEchoDbFactory;
|
||||
use MWEchoNotifUser;
|
||||
use WikiMap;
|
||||
use Wikimedia\ParamValidator\ParamValidator;
|
||||
|
||||
class ApiEchoMarkRead extends ApiBase {
|
||||
|
|
|
@ -15,10 +15,10 @@ use EchoServices;
|
|||
use MediaWiki\Extension\Notifications\Controller\NotificationController;
|
||||
use MediaWiki\Extension\Notifications\Mapper\NotificationMapper;
|
||||
use MediaWiki\Extension\Notifications\Model\Notification;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
use MWEchoNotifUser;
|
||||
use Title;
|
||||
use User;
|
||||
use WikiMap;
|
||||
use Wikimedia\ParamValidator\ParamValidator;
|
||||
use Wikimedia\ParamValidator\TypeDef\IntegerDef;
|
||||
|
||||
|
|
|
@ -10,10 +10,10 @@ use MediaWiki\Logger\LoggerFactory;
|
|||
use MediaWiki\Page\PageRecord;
|
||||
use MediaWiki\Page\PageStore;
|
||||
use MediaWiki\Title\TitleFactory;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
use MWEchoDbFactory;
|
||||
use MWEchoNotifUser;
|
||||
use Title;
|
||||
use WikiMap;
|
||||
use Wikimedia\ParamValidator\ParamValidator;
|
||||
use Wikimedia\ParamValidator\TypeDef\IntegerDef;
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ use MediaWiki\Extension\Notifications\Formatters\SpecialNotificationsFormatter;
|
|||
use MediaWiki\Extension\Notifications\Model\Event;
|
||||
use MediaWiki\Extension\Notifications\Model\Notification;
|
||||
use MediaWiki\Revision\RevisionRecord;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
|
||||
/**
|
||||
* Utility class that formats a notification in the format specified
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
use MediaWiki\Extension\EventLogging\EventLogging;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\User\UserIdentity;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
|
||||
/**
|
||||
* Static class for handling all kinds of event logging
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\User\UserIdentity;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
|
||||
/**
|
||||
* Caches the result of EchoUnreadWikis::getUnreadCounts() and interprets the results in various useful ways.
|
||||
|
|
|
@ -4,6 +4,7 @@ use MediaWiki\Logger\LoggerFactory;
|
|||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Session\SessionManager;
|
||||
use MediaWiki\User\UserIdentity;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
|
||||
class EchoForeignWikiRequest {
|
||||
|
||||
|
|
|
@ -9,13 +9,13 @@ use MediaWiki\Extension\Notifications\Controller\NotificationController;
|
|||
use MediaWiki\Extension\Notifications\Model\Event;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Revision\RevisionRecord;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
use Message;
|
||||
use MessageLocalizer;
|
||||
use MessageSpecifier;
|
||||
use SpecialPage;
|
||||
use Title;
|
||||
use User;
|
||||
use WikiMap;
|
||||
use Wikimedia\Timestamp\TimestampException;
|
||||
|
||||
/**
|
||||
|
|
|
@ -63,6 +63,7 @@ use MediaWiki\User\Hook\UserSaveSettingsHook;
|
|||
use MediaWiki\User\Options\Hook\LoadUserOptionsHook;
|
||||
use MediaWiki\User\Options\Hook\SaveUserOptionsHook;
|
||||
use MediaWiki\User\UserIdentity;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
use MWEchoDbFactory;
|
||||
use MWEchoNotifUser;
|
||||
use MWException;
|
||||
|
@ -76,7 +77,6 @@ use Title;
|
|||
use UpdateEchoSchemaForSuppression;
|
||||
use User;
|
||||
use WebRequest;
|
||||
use WikiMap;
|
||||
use WikiPage;
|
||||
|
||||
class Hooks implements
|
||||
|
|
|
@ -8,6 +8,7 @@ use MediaWiki\MediaWikiServices;
|
|||
use MediaWiki\User\UserFactory;
|
||||
use MediaWiki\User\UserIdentity;
|
||||
use MediaWiki\User\UserOptionsLookup;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
use Wikimedia\Rdbms\Database;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\WikiMap\WikiMap;
|
||||
|
||||
$IP = getenv( 'MW_INSTALL_PATH' );
|
||||
if ( $IP === false ) {
|
||||
|
|
Loading…
Reference in a new issue