Update moved class WikiMap

See T321882. Moved in I60cf4b9ef02b9d5

Bug: T321681
Change-Id: Icf209fddd9367540352d935557881d7e6e5a1e4c
This commit is contained in:
gerritbot 2023-04-25 09:53:21 +00:00
parent c711e6a9a6
commit fd6bdf95af
12 changed files with 12 additions and 6 deletions

View file

@ -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;
/**

View file

@ -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 {

View file

@ -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;

View file

@ -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;

View file

@ -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

View file

@ -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

View file

@ -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.

View file

@ -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 {

View file

@ -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;
/**

View file

@ -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

View file

@ -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;
/**

View file

@ -1,6 +1,7 @@
<?php
use MediaWiki\MediaWikiServices;
use MediaWiki\WikiMap\WikiMap;
$IP = getenv( 'MW_INSTALL_PATH' );
if ( $IP === false ) {