aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authordaniel <dkinzler@wikimedia.org>2020-07-13 10:53:06 +0200
committerDaniel Kinzler <dkinzler@wikimedia.org>2020-07-13 08:55:28 +0000
commit272db6afde704f3cd929ec89509c8800215f71ce (patch)
tree7ad299646cd47170a32cc98dac554a3aab97859e /includes
parent631578c68595581e202e150b3a03027dbb9a8ada (diff)
downloadmediawikicore-272db6afde704f3cd929ec89509c8800215f71ce.tar.gz
mediawikicore-272db6afde704f3cd929ec89509c8800215f71ce.zip
Replace "@stable for calling" by "@stable to call"
For compliance with the new version of the table interface policy (T255803). This patch was created by an automated search & replace operation on the includes/ directory. Bug: T257789 Change-Id: If560596f5e1e0a3da91afc36e656e7c27f040968
Diffstat (limited to 'includes')
-rw-r--r--includes/DerivativeRequest.php2
-rw-r--r--includes/EditPage.php2
-rw-r--r--includes/FauxRequest.php2
-rw-r--r--includes/GitInfo.php2
-rw-r--r--includes/RawMessage.php2
-rw-r--r--includes/Rest/HttpException.php2
-rw-r--r--includes/Rest/LocalizedHttpException.php2
-rw-r--r--includes/Rest/PathTemplateMatcher/PathConflict.php2
-rw-r--r--includes/Revision/MutableRevisionRecord.php2
-rw-r--r--includes/Revision/RevisionSlots.php2
-rw-r--r--includes/Revision/SlotRoleHandler.php2
-rw-r--r--includes/StubObject.php2
-rw-r--r--includes/TitleArrayFromResult.php2
-rw-r--r--includes/actions/Action.php2
-rw-r--r--includes/api/ApiBase.php2
-rw-r--r--includes/api/ApiHelpParamValueMessage.php2
-rw-r--r--includes/api/ApiMain.php2
-rw-r--r--includes/api/ApiMessage.php2
-rw-r--r--includes/api/ApiQueryBase.php2
-rw-r--r--includes/api/ApiRawMessage.php2
-rw-r--r--includes/api/ApiUsageException.php2
-rw-r--r--includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php2
-rw-r--r--includes/auth/ButtonAuthenticationRequest.php2
-rw-r--r--includes/auth/ConfirmLinkAuthenticationRequest.php2
-rw-r--r--includes/auth/CreateFromLoginAuthenticationRequest.php2
-rw-r--r--includes/auth/CreatedAccountAuthenticationRequest.php2
-rw-r--r--includes/auth/PasswordDomainAuthenticationRequest.php2
-rw-r--r--includes/auth/RememberMeAuthenticationRequest.php2
-rw-r--r--includes/auth/TemporaryPasswordAuthenticationRequest.php2
-rw-r--r--includes/cache/dependency/FileDependency.php2
-rw-r--r--includes/config/GlobalVarConfig.php2
-rw-r--r--includes/content/AbstractContent.php2
-rw-r--r--includes/content/ContentHandler.php2
-rw-r--r--includes/content/CssContent.php2
-rw-r--r--includes/content/JavaScriptContent.php2
-rw-r--r--includes/content/TextContent.php2
-rw-r--r--includes/content/WikitextContent.php2
-rw-r--r--includes/context/DerivativeContext.php2
-rw-r--r--includes/dao/DBAccessBase.php2
-rw-r--r--includes/deferred/DataUpdate.php2
-rw-r--r--includes/diff/ComplexityException.php2
-rw-r--r--includes/diff/Diff.php2
-rw-r--r--includes/exception/BadTitleError.php2
-rw-r--r--includes/exception/ErrorPageError.php2
-rw-r--r--includes/exception/HttpError.php2
-rw-r--r--includes/exception/LocalizedException.php2
-rw-r--r--includes/exception/MWUnknownContentModelException.php2
-rw-r--r--includes/exception/PermissionsError.php2
-rw-r--r--includes/exception/ProcOpenError.php2
-rw-r--r--includes/exception/ReadOnlyError.php2
-rw-r--r--includes/exception/ShellDisabledError.php2
-rw-r--r--includes/exception/ThrottledError.php2
-rw-r--r--includes/exception/UserBlockedError.php2
-rw-r--r--includes/exception/UserNotLoggedIn.php2
-rw-r--r--includes/filerepo/file/ArchivedFile.php2
-rw-r--r--includes/filerepo/file/File.php2
-rw-r--r--includes/filerepo/file/LocalFile.php2
-rw-r--r--includes/filerepo/file/LocalFileLockError.php2
-rw-r--r--includes/filerepo/file/OldLocalFile.php2
-rw-r--r--includes/htmlform/HTMLFormFieldRequiredOptionsException.php2
-rw-r--r--includes/installer/DatabaseInstaller.php2
-rw-r--r--includes/installer/DatabaseUpdater.php2
-rw-r--r--includes/jobqueue/Job.php2
-rw-r--r--includes/language/Message.php2
-rw-r--r--includes/libs/HtmlArmor.php2
-rw-r--r--includes/libs/Message/DataMessageValue.php2
-rw-r--r--includes/libs/Message/ListParam.php2
-rw-r--r--includes/libs/Message/MessageValue.php2
-rw-r--r--includes/libs/Message/ScalarParam.php2
-rw-r--r--includes/libs/ParamValidator/TypeDef.php2
-rw-r--r--includes/libs/ParamValidator/ValidationException.php2
-rw-r--r--includes/libs/eventrelayer/EventRelayer.php2
-rw-r--r--includes/libs/filebackend/FileBackend.php2
-rw-r--r--includes/libs/filebackend/FileBackendStore.php2
-rw-r--r--includes/libs/filebackend/filejournal/FileJournal.php2
-rw-r--r--includes/libs/iterators/IteratorDecorator.php2
-rw-r--r--includes/libs/lockmanager/DBLockManager.php2
-rw-r--r--includes/libs/lockmanager/LockManager.php2
-rw-r--r--includes/libs/objectcache/CachedBagOStuff.php2
-rw-r--r--includes/libs/objectcache/HashBagOStuff.php2
-rw-r--r--includes/libs/objectcache/MultiWriteBagOStuff.php2
-rw-r--r--includes/libs/rdbms/encasing/Blob.php2
-rw-r--r--includes/libs/rdbms/exception/DBAccessError.php2
-rw-r--r--includes/libs/rdbms/exception/DBConnectionError.php2
-rw-r--r--includes/libs/rdbms/exception/DBError.php2
-rw-r--r--includes/libs/rdbms/exception/DBExpectedError.php2
-rw-r--r--includes/libs/rdbms/exception/DBQueryDisconnectedError.php2
-rw-r--r--includes/libs/rdbms/exception/DBQueryError.php2
-rw-r--r--includes/libs/rdbms/exception/DBQueryTimeoutError.php2
-rw-r--r--includes/logging/LogFormatter.php2
-rw-r--r--includes/logging/LogPage.php2
-rw-r--r--includes/logging/ManualLogEntry.php2
-rw-r--r--includes/mail/MailAddress.php2
-rw-r--r--includes/media/MediaTransformError.php2
-rw-r--r--includes/media/TransformParameterError.php2
-rw-r--r--includes/media/TransformTooBigImageAreaError.php2
-rw-r--r--includes/pager/IndexPager.php2
-rw-r--r--includes/pager/TablePager.php2
-rw-r--r--includes/parser/StripState.php2
-rw-r--r--includes/poolcounter/PoolCounterWorkViaCallback.php2
-rw-r--r--includes/search/SearchHighlighter.php2
-rw-r--r--includes/session/ImmutableSessionProviderWithCookie.php2
-rw-r--r--includes/session/SessionId.php2
-rw-r--r--includes/session/SessionInfo.php2
-rw-r--r--includes/session/SessionProvider.php2
-rw-r--r--includes/specialpage/RedirectSpecialArticle.php2
-rw-r--r--includes/specialpage/SpecialPage.php2
-rw-r--r--includes/specialpage/SpecialRedirectToSpecial.php2
-rw-r--r--includes/specialpage/SpecialRedirectWithAction.php2
-rw-r--r--includes/specialpage/UnlistedSpecialPage.php2
-rw-r--r--includes/title/MalformedTitleException.php2
-rw-r--r--includes/title/TitleValue.php2
-rw-r--r--includes/upload/UploadBase.php2
-rw-r--r--includes/user/LoggedOutEditToken.php2
-rw-r--r--includes/user/User.php2
-rw-r--r--includes/user/UserIdentityValue.php2
-rw-r--r--includes/utils/BatchRowIterator.php2
-rw-r--r--includes/utils/ZipDirectoryReaderError.php2
118 files changed, 118 insertions, 118 deletions
diff --git a/includes/DerivativeRequest.php b/includes/DerivativeRequest.php
index 704afeb45289..c607db4784bf 100644
--- a/includes/DerivativeRequest.php
+++ b/includes/DerivativeRequest.php
@@ -38,7 +38,7 @@ class DerivativeRequest extends FauxRequest {
private $ip;
/**
- * @stable for calling
+ * @stable to call
*
* @param WebRequest $base
* @param array $data Array of *non*-urlencoded key => value pairs, the
diff --git a/includes/EditPage.php b/includes/EditPage.php
index 75043e472b1a..e41ce4fb06cc 100644
--- a/includes/EditPage.php
+++ b/includes/EditPage.php
@@ -449,7 +449,7 @@ class EditPage implements IEditObject {
private $revisionStore;
/**
- * @stable for calling
+ * @stable to call
* @param Article $article
*/
public function __construct( Article $article ) {
diff --git a/includes/FauxRequest.php b/includes/FauxRequest.php
index 4b5349e9e036..de750cd71156 100644
--- a/includes/FauxRequest.php
+++ b/includes/FauxRequest.php
@@ -38,7 +38,7 @@ class FauxRequest extends WebRequest {
protected $cookies = [];
/**
- * @stable for calling
+ * @stable to call
*
* @param array $data Array of *non*-urlencoded key => value pairs, the
* fake GET/POST values
diff --git a/includes/GitInfo.php b/includes/GitInfo.php
index 1ee8623a86cd..3d6cdab5739b 100644
--- a/includes/GitInfo.php
+++ b/includes/GitInfo.php
@@ -64,7 +64,7 @@ class GitInfo {
private static $viewers = false;
/**
- * @stable for calling
+ * @stable to call
* @param string $repoDir The root directory of the repo where .git can be found
* @param bool $usePrecomputed Use precomputed information if available
* @see precomputeValues
diff --git a/includes/RawMessage.php b/includes/RawMessage.php
index fcee4b2c644d..fa9f13cd7c55 100644
--- a/includes/RawMessage.php
+++ b/includes/RawMessage.php
@@ -38,7 +38,7 @@ class RawMessage extends Message {
* Call the parent constructor, then store the key as
* the message.
*
- * @stable for calling
+ * @stable to call
* @see Message::__construct
*
* @param string $text Message to use.
diff --git a/includes/Rest/HttpException.php b/includes/Rest/HttpException.php
index 69097013d371..ddeca3195829 100644
--- a/includes/Rest/HttpException.php
+++ b/includes/Rest/HttpException.php
@@ -15,7 +15,7 @@ class HttpException extends \Exception {
private $errorData = null;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $message
* @param int $code
diff --git a/includes/Rest/LocalizedHttpException.php b/includes/Rest/LocalizedHttpException.php
index 0d48805246ce..7c1fc47c3b71 100644
--- a/includes/Rest/LocalizedHttpException.php
+++ b/includes/Rest/LocalizedHttpException.php
@@ -11,7 +11,7 @@ class LocalizedHttpException extends HttpException {
private $messageValue;
/**
- * @stable for calling
+ * @stable to call
*
* @param MessageValue $messageValue
* @param int $code
diff --git a/includes/Rest/PathTemplateMatcher/PathConflict.php b/includes/Rest/PathTemplateMatcher/PathConflict.php
index a1b8e92f2aa8..5b7b648ed4a2 100644
--- a/includes/Rest/PathTemplateMatcher/PathConflict.php
+++ b/includes/Rest/PathTemplateMatcher/PathConflict.php
@@ -14,7 +14,7 @@ class PathConflict extends Exception {
public $existingUserData;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $template
* @param mixed $userData
diff --git a/includes/Revision/MutableRevisionRecord.php b/includes/Revision/MutableRevisionRecord.php
index a56db01b0f20..d4ef5d62ab67 100644
--- a/includes/Revision/MutableRevisionRecord.php
+++ b/includes/Revision/MutableRevisionRecord.php
@@ -73,7 +73,7 @@ class MutableRevisionRecord extends RevisionRecord {
* @note Avoid calling this constructor directly. Use the appropriate methods
* in RevisionStore instead.
*
- * @stable for calling.
+ * @stable to call.
*
* @param Title $title The title of the page this Revision is associated with.
* @param bool|string $dbDomain DB domain of the relevant wiki or false for the current one.
diff --git a/includes/Revision/RevisionSlots.php b/includes/Revision/RevisionSlots.php
index 81e48fb46450..3d1ec7001bda 100644
--- a/includes/Revision/RevisionSlots.php
+++ b/includes/Revision/RevisionSlots.php
@@ -44,7 +44,7 @@ class RevisionSlots {
protected $slots;
/**
- * @stable for calling.
+ * @stable to call.
*
* @param SlotRecord[]|callable $slots SlotRecords,
* or a callback that returns such a structure.
diff --git a/includes/Revision/SlotRoleHandler.php b/includes/Revision/SlotRoleHandler.php
index bd1c3cd28ffc..61f5e11e43ea 100644
--- a/includes/Revision/SlotRoleHandler.php
+++ b/includes/Revision/SlotRoleHandler.php
@@ -56,7 +56,7 @@ class SlotRoleHandler {
private $contentModel;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $role The name of the slot role defined by this SlotRoleHandler. See
* SlotRoleRegistry::defineRole for more information.
diff --git a/includes/StubObject.php b/includes/StubObject.php
index 24a7c82a91dd..8bc8ed195096 100644
--- a/includes/StubObject.php
+++ b/includes/StubObject.php
@@ -58,7 +58,7 @@ class StubObject {
protected $params;
/**
- * @stable for calling
+ * @stable to call
*
* @param string|null $global Name of the global variable.
* @param string|callable|null $class Name of the class of the real object
diff --git a/includes/TitleArrayFromResult.php b/includes/TitleArrayFromResult.php
index d3483e9ba81d..71b959564e6e 100644
--- a/includes/TitleArrayFromResult.php
+++ b/includes/TitleArrayFromResult.php
@@ -40,7 +40,7 @@ class TitleArrayFromResult extends TitleArray implements Countable {
public $current;
/**
- * @stable for calling
+ * @stable to call
*
* @param IResultWrapper $res
*/
diff --git a/includes/actions/Action.php b/includes/actions/Action.php
index 4cd9593438de..54282327e632 100644
--- a/includes/actions/Action.php
+++ b/includes/actions/Action.php
@@ -333,7 +333,7 @@ abstract class Action implements MessageLocalizer {
/**
* Only public since 1.21
*
- * @stable for calling
+ * @stable to call
*
* @param Article|WikiPage|Page $page
* Calling with anything other then Article is deprecated since 1.35
diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php
index 875c77bc1073..a46eedfeaf6e 100644
--- a/includes/api/ApiBase.php
+++ b/includes/api/ApiBase.php
@@ -204,7 +204,7 @@ abstract class ApiBase extends ContextSource {
private $mModuleSource = false;
/**
- * @stable for calling
+ * @stable to call
* @param ApiMain $mainModule
* @param string $moduleName Name of this module
* @param string $modulePrefix Prefix to use for parameter names
diff --git a/includes/api/ApiHelpParamValueMessage.php b/includes/api/ApiHelpParamValueMessage.php
index 35b990e3d82e..828293c3b421 100644
--- a/includes/api/ApiHelpParamValueMessage.php
+++ b/includes/api/ApiHelpParamValueMessage.php
@@ -39,7 +39,7 @@ class ApiHelpParamValueMessage extends Message {
/**
* @see Message::__construct
- * @stable for calling
+ * @stable to call
*
* @param string $paramValue Parameter value being documented
* @param string $text Message to use.
diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php
index 158fccd7b46a..854d5a7663a3 100644
--- a/includes/api/ApiMain.php
+++ b/includes/api/ApiMain.php
@@ -171,7 +171,7 @@ class ApiMain extends ApiBase {
/**
* Constructs an instance of ApiMain that utilizes the module and format specified by $request.
*
- * @stable for calling
+ * @stable to call
* @param IContextSource|WebRequest|null $context If this is an instance of
* FauxRequest, errors are thrown and no printing occurs
* @param bool $enableWrite Should be set to true if the api may modify data
diff --git a/includes/api/ApiMessage.php b/includes/api/ApiMessage.php
index 254cdcde526e..2a4511287bfa 100644
--- a/includes/api/ApiMessage.php
+++ b/includes/api/ApiMessage.php
@@ -33,7 +33,7 @@ class ApiMessage extends Message implements IApiMessage {
* This returns $msg if it's an IApiMessage, calls 'new ApiRawMessage' if
* $msg is a RawMessage, or calls 'new ApiMessage' in all other cases.
*
- * @stable for calling
+ * @stable to call
* @param Message|RawMessage|array|string $msg
* @param string|null $code
* @param array|null $data
diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php
index 0a6cc0779733..ec00c2be652c 100644
--- a/includes/api/ApiQueryBase.php
+++ b/includes/api/ApiQueryBase.php
@@ -45,7 +45,7 @@ abstract class ApiQueryBase extends ApiBase {
private $queryBuilder;
/**
- * @stable for calling
+ * @stable to call
* @param ApiQuery $queryModule
* @param string $moduleName
* @param string $paramPrefix
diff --git a/includes/api/ApiRawMessage.php b/includes/api/ApiRawMessage.php
index bedeff3243d9..e7a463071296 100644
--- a/includes/api/ApiRawMessage.php
+++ b/includes/api/ApiRawMessage.php
@@ -28,7 +28,7 @@ class ApiRawMessage extends RawMessage implements IApiMessage {
use ApiMessageTrait;
/**
- * @stable for calling
+ * @stable to call
* @param RawMessage|string|array $msg
* - RawMessage: is cloned
* - array: first element is $key, rest are $params to RawMessage::__construct
diff --git a/includes/api/ApiUsageException.php b/includes/api/ApiUsageException.php
index 5b497ec4714c..c55009b9950b 100644
--- a/includes/api/ApiUsageException.php
+++ b/includes/api/ApiUsageException.php
@@ -33,7 +33,7 @@ class ApiUsageException extends MWException implements ILocalizedException {
/**
*
- * @stable for calling
+ * @stable to call
* @param ApiBase|null $module API module responsible for the error, if known
* @param StatusValue $status Status holding errors
* @param int $httpCode HTTP error code to use
diff --git a/includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php b/includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php
index 5b29dd037717..c775cbc7f660 100644
--- a/includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php
+++ b/includes/auth/AbstractPasswordPrimaryAuthenticationProvider.php
@@ -41,7 +41,7 @@ abstract class AbstractPasswordPrimaryAuthenticationProvider
private $passwordFactory = null;
/**
- * @stable for calling
+ * @stable to call
* @param array $params Settings
* - authoritative: Whether this provider should ABSTAIN (false) or FAIL
* (true) on password failure
diff --git a/includes/auth/ButtonAuthenticationRequest.php b/includes/auth/ButtonAuthenticationRequest.php
index c6b26dcbf9fe..7e4b2f0b876b 100644
--- a/includes/auth/ButtonAuthenticationRequest.php
+++ b/includes/auth/ButtonAuthenticationRequest.php
@@ -41,7 +41,7 @@ class ButtonAuthenticationRequest extends AuthenticationRequest {
protected $help;
/**
- * @stable for calling
+ * @stable to call
* @param string $name Button name
* @param Message $label Button label
* @param Message $help Button help
diff --git a/includes/auth/ConfirmLinkAuthenticationRequest.php b/includes/auth/ConfirmLinkAuthenticationRequest.php
index e683d296e332..a8bd76cc4565 100644
--- a/includes/auth/ConfirmLinkAuthenticationRequest.php
+++ b/includes/auth/ConfirmLinkAuthenticationRequest.php
@@ -32,7 +32,7 @@ class ConfirmLinkAuthenticationRequest extends AuthenticationRequest {
public $confirmedLinkIDs = [];
/**
- * @stable for calling
+ * @stable to call
* @param AuthenticationRequest[] $linkRequests A list of autolink requests
* which need to be confirmed.
*/
diff --git a/includes/auth/CreateFromLoginAuthenticationRequest.php b/includes/auth/CreateFromLoginAuthenticationRequest.php
index 4b62305de8af..e237576317ab 100644
--- a/includes/auth/CreateFromLoginAuthenticationRequest.php
+++ b/includes/auth/CreateFromLoginAuthenticationRequest.php
@@ -42,7 +42,7 @@ class CreateFromLoginAuthenticationRequest extends AuthenticationRequest {
public $maybeLink = [];
/**
- * @stable for calling
+ * @stable to call
* @param AuthenticationRequest|null $createRequest A request to use to
* begin creating the account
* @param AuthenticationRequest[] $maybeLink Additional accounts to link
diff --git a/includes/auth/CreatedAccountAuthenticationRequest.php b/includes/auth/CreatedAccountAuthenticationRequest.php
index fbf09c4e2f7c..7e2588a6070a 100644
--- a/includes/auth/CreatedAccountAuthenticationRequest.php
+++ b/includes/auth/CreatedAccountAuthenticationRequest.php
@@ -43,7 +43,7 @@ class CreatedAccountAuthenticationRequest extends AuthenticationRequest {
}
/**
- * @stable for calling
+ * @stable to call
* @param int $id User id
* @param string $name Username
*/
diff --git a/includes/auth/PasswordDomainAuthenticationRequest.php b/includes/auth/PasswordDomainAuthenticationRequest.php
index a333cc83bb31..3dc39e171f11 100644
--- a/includes/auth/PasswordDomainAuthenticationRequest.php
+++ b/includes/auth/PasswordDomainAuthenticationRequest.php
@@ -35,7 +35,7 @@ class PasswordDomainAuthenticationRequest extends PasswordAuthenticationRequest
public $domain = null;
/**
- * @stable for calling
+ * @stable to call
* @param string[] $domainList List of available domains
*/
public function __construct( array $domainList ) {
diff --git a/includes/auth/RememberMeAuthenticationRequest.php b/includes/auth/RememberMeAuthenticationRequest.php
index 1cb5826924a9..7c1a695b52a2 100644
--- a/includes/auth/RememberMeAuthenticationRequest.php
+++ b/includes/auth/RememberMeAuthenticationRequest.php
@@ -42,7 +42,7 @@ class RememberMeAuthenticationRequest extends AuthenticationRequest {
public $rememberMe = false;
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
/** @var SessionProvider $provider */
diff --git a/includes/auth/TemporaryPasswordAuthenticationRequest.php b/includes/auth/TemporaryPasswordAuthenticationRequest.php
index d7f453ef292e..17e900d0768f 100644
--- a/includes/auth/TemporaryPasswordAuthenticationRequest.php
+++ b/includes/auth/TemporaryPasswordAuthenticationRequest.php
@@ -54,7 +54,7 @@ class TemporaryPasswordAuthenticationRequest extends AuthenticationRequest {
}
/**
- * @stable for calling
+ * @stable to call
* @param string|null $password
*/
public function __construct( $password = null ) {
diff --git a/includes/cache/dependency/FileDependency.php b/includes/cache/dependency/FileDependency.php
index 8290e1841396..1000fb40d543 100644
--- a/includes/cache/dependency/FileDependency.php
+++ b/includes/cache/dependency/FileDependency.php
@@ -32,7 +32,7 @@ class FileDependency extends CacheDependency {
/**
* Create a file dependency
*
- * @stable for calling
+ * @stable to call
*
* @param string $filename The name of the file, preferably fully qualified
* @param null|bool|int $timestamp The unix last modified timestamp, or false if the
diff --git a/includes/config/GlobalVarConfig.php b/includes/config/GlobalVarConfig.php
index 1eefbff7c52d..6a76058d097a 100644
--- a/includes/config/GlobalVarConfig.php
+++ b/includes/config/GlobalVarConfig.php
@@ -43,7 +43,7 @@ class GlobalVarConfig implements Config {
}
/**
- * @stable for calling
+ * @stable to call
*
* @param string $prefix
*/
diff --git a/includes/content/AbstractContent.php b/includes/content/AbstractContent.php
index 0ba3c3ff31e2..0616e9d2a6fc 100644
--- a/includes/content/AbstractContent.php
+++ b/includes/content/AbstractContent.php
@@ -48,7 +48,7 @@ abstract class AbstractContent implements Content {
protected $model_id;
/**
- * @stable for calling
+ * @stable to call
*
* @param string|null $modelId
*
diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php
index 88ae3c7fba95..86c41c9680fe 100644
--- a/includes/content/ContentHandler.php
+++ b/includes/content/ContentHandler.php
@@ -350,7 +350,7 @@ abstract class ContentHandler {
* and a list of supported formats. Values for the parameters are typically
* provided as literals by subclass's constructors.
*
- * @stable for calling
+ * @stable to call
*
* @param string $modelId (use CONTENT_MODEL_XXX constants).
* @param string[] $formats List for supported serialization formats
diff --git a/includes/content/CssContent.php b/includes/content/CssContent.php
index 7b1d11b13cc7..5b06a06036fc 100644
--- a/includes/content/CssContent.php
+++ b/includes/content/CssContent.php
@@ -41,7 +41,7 @@ class CssContent extends TextContent {
private $redirectTarget = false;
/**
- * @stable for calling
+ * @stable to call
* @param string $text CSS code.
* @param string $modelId the content content model
*/
diff --git a/includes/content/JavaScriptContent.php b/includes/content/JavaScriptContent.php
index 04a9304e3223..e0b2f77bec13 100644
--- a/includes/content/JavaScriptContent.php
+++ b/includes/content/JavaScriptContent.php
@@ -41,7 +41,7 @@ class JavaScriptContent extends TextContent {
private $redirectTarget = false;
/**
- * @stable for calling
+ * @stable to call
* @param string $text JavaScript code.
* @param string $modelId the content model name
*/
diff --git a/includes/content/TextContent.php b/includes/content/TextContent.php
index 8d4c1695dddd..a8151106b15b 100644
--- a/includes/content/TextContent.php
+++ b/includes/content/TextContent.php
@@ -44,7 +44,7 @@ class TextContent extends AbstractContent {
protected $mText;
/**
- * @stable for calling
+ * @stable to call
* @param string $text
* @param string $model_id
* @throws MWException
diff --git a/includes/content/WikitextContent.php b/includes/content/WikitextContent.php
index 0b3a989900b5..ab567afc7b5f 100644
--- a/includes/content/WikitextContent.php
+++ b/includes/content/WikitextContent.php
@@ -49,7 +49,7 @@ class WikitextContent extends TextContent {
private $previousParseStackTrace = null;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $text
*/
diff --git a/includes/context/DerivativeContext.php b/includes/context/DerivativeContext.php
index 39e9f416f137..ed8f255806fc 100644
--- a/includes/context/DerivativeContext.php
+++ b/includes/context/DerivativeContext.php
@@ -75,7 +75,7 @@ class DerivativeContext extends ContextSource implements MutableContext {
private $timing;
/**
- * @stable for calling
+ * @stable to call
* @param IContextSource $context Context to inherit from
*/
public function __construct( IContextSource $context ) {
diff --git a/includes/dao/DBAccessBase.php b/includes/dao/DBAccessBase.php
index 601758a603b2..e1e464e11e5c 100644
--- a/includes/dao/DBAccessBase.php
+++ b/includes/dao/DBAccessBase.php
@@ -40,7 +40,7 @@ abstract class DBAccessBase implements IDBAccessObject {
protected $dbDomain = false;
/**
- * @stable for calling
+ * @stable to call
*
* @param string|bool $dbDomain The target wiki's DB domain
*/
diff --git a/includes/deferred/DataUpdate.php b/includes/deferred/DataUpdate.php
index 4818127c27bd..0d97968bc969 100644
--- a/includes/deferred/DataUpdate.php
+++ b/includes/deferred/DataUpdate.php
@@ -36,7 +36,7 @@ abstract class DataUpdate implements DeferrableUpdate {
protected $causeAgent = 'unknown';
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
// noop
diff --git a/includes/diff/ComplexityException.php b/includes/diff/ComplexityException.php
index f44bdc9b9e9e..db682d0e3acf 100644
--- a/includes/diff/ComplexityException.php
+++ b/includes/diff/ComplexityException.php
@@ -29,7 +29,7 @@ use Exception;
class ComplexityException extends Exception {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct( 'Diff is too complex to generate' );
diff --git a/includes/diff/Diff.php b/includes/diff/Diff.php
index 0323a1d16389..90361eb432fa 100644
--- a/includes/diff/Diff.php
+++ b/includes/diff/Diff.php
@@ -45,7 +45,7 @@ class Diff {
/**
* Computes diff between sequences of strings.
*
- * @stable for calling
+ * @stable to call
* @todo Don't do work in the constructor, use a service to create diffs instead (T257472).
*
* @param string[] $from_lines An array of strings.
diff --git a/includes/exception/BadTitleError.php b/includes/exception/BadTitleError.php
index 439d5f2b15bd..40039027f930 100644
--- a/includes/exception/BadTitleError.php
+++ b/includes/exception/BadTitleError.php
@@ -30,7 +30,7 @@
*/
class BadTitleError extends BadRequestError {
/**
- * @stable for calling
+ * @stable to call
*
* @param string|Message|MalformedTitleException $msg A message key (default: 'badtitletext'), or
* a MalformedTitleException to figure out things from
diff --git a/includes/exception/ErrorPageError.php b/includes/exception/ErrorPageError.php
index 74b20b987557..6e72a5204a8c 100644
--- a/includes/exception/ErrorPageError.php
+++ b/includes/exception/ErrorPageError.php
@@ -35,7 +35,7 @@ class ErrorPageError extends MWException implements ILocalizedException {
/**
* Note: these arguments are keys into wfMessage(), not text!
*
- * @stable for calling
+ * @stable to call
*
* @param string|Message $title Message key (string) for page title, or a Message object
* @param string|Message $msg Message key (string) for error text, or a Message object
diff --git a/includes/exception/HttpError.php b/includes/exception/HttpError.php
index b7086111b2ce..c432f63e12d7 100644
--- a/includes/exception/HttpError.php
+++ b/includes/exception/HttpError.php
@@ -33,7 +33,7 @@ class HttpError extends MWException {
private $httpCode, $header, $content;
/**
- * @stable for calling
+ * @stable to call
* @param int $httpCode HTTP status code to send to the client
* @param string|Message $content Content of the message
* @param string|Message|null $header Content of the header (\<title\> and \<h1\>)
diff --git a/includes/exception/LocalizedException.php b/includes/exception/LocalizedException.php
index a4d290e5dec4..b55bdc0b9f48 100644
--- a/includes/exception/LocalizedException.php
+++ b/includes/exception/LocalizedException.php
@@ -32,7 +32,7 @@ class LocalizedException extends Exception implements ILocalizedException {
protected $messageSpec;
/**
- * @stable for calling
+ * @stable to call
* @param string|array|MessageSpecifier $messageSpec See Message::newFromSpecifier
* @param int $code
* @param Throwable|null $previous The previous exception used for the exception
diff --git a/includes/exception/MWUnknownContentModelException.php b/includes/exception/MWUnknownContentModelException.php
index 576757cf17df..0e8ea57a9074 100644
--- a/includes/exception/MWUnknownContentModelException.php
+++ b/includes/exception/MWUnknownContentModelException.php
@@ -13,7 +13,7 @@ class MWUnknownContentModelException extends MWException {
private $modelId;
/**
- * @stable for calling
+ * @stable to call
* @param string $modelId
*/
public function __construct( $modelId ) {
diff --git a/includes/exception/PermissionsError.php b/includes/exception/PermissionsError.php
index 797d4cb757cb..a62d740890df 100644
--- a/includes/exception/PermissionsError.php
+++ b/includes/exception/PermissionsError.php
@@ -32,7 +32,7 @@ class PermissionsError extends ErrorPageError {
public $permission, $errors;
/**
- * @stable for calling
+ * @stable to call
*
* @param string|null $permission A permission name or null if unknown
* @param array $errors Error message keys or [key, param...] arrays; must not be empty if
diff --git a/includes/exception/ProcOpenError.php b/includes/exception/ProcOpenError.php
index ccc8f37e39f8..deb3cb44db6b 100644
--- a/includes/exception/ProcOpenError.php
+++ b/includes/exception/ProcOpenError.php
@@ -27,7 +27,7 @@ use Exception;
*/
class ProcOpenError extends Exception {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct( 'proc_open() returned error!' );
diff --git a/includes/exception/ReadOnlyError.php b/includes/exception/ReadOnlyError.php
index 8d9acc6d7c0a..aedbf3ca077b 100644
--- a/includes/exception/ReadOnlyError.php
+++ b/includes/exception/ReadOnlyError.php
@@ -29,7 +29,7 @@
class ReadOnlyError extends ErrorPageError {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct(
diff --git a/includes/exception/ShellDisabledError.php b/includes/exception/ShellDisabledError.php
index 01d9afc0cb60..686b5bbc8e80 100644
--- a/includes/exception/ShellDisabledError.php
+++ b/includes/exception/ShellDisabledError.php
@@ -29,7 +29,7 @@ use Exception;
class ShellDisabledError extends Exception {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct( 'Unable to run external programs, proc_open() is disabled' );
diff --git a/includes/exception/ThrottledError.php b/includes/exception/ThrottledError.php
index d8f60739b464..f6bf950d9c44 100644
--- a/includes/exception/ThrottledError.php
+++ b/includes/exception/ThrottledError.php
@@ -28,7 +28,7 @@
class ThrottledError extends ErrorPageError {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct(
diff --git a/includes/exception/UserBlockedError.php b/includes/exception/UserBlockedError.php
index cb8fe7908d50..175a6fdd82d2 100644
--- a/includes/exception/UserBlockedError.php
+++ b/includes/exception/UserBlockedError.php
@@ -30,7 +30,7 @@ use MediaWiki\MediaWikiServices;
*/
class UserBlockedError extends ErrorPageError {
/**
- * @stable for calling
+ * @stable to call
* @param AbstractBlock $block
* @param User|null $user
* @param Language|null $language
diff --git a/includes/exception/UserNotLoggedIn.php b/includes/exception/UserNotLoggedIn.php
index ca75f0565f20..c007d1efa70b 100644
--- a/includes/exception/UserNotLoggedIn.php
+++ b/includes/exception/UserNotLoggedIn.php
@@ -54,7 +54,7 @@
class UserNotLoggedIn extends ErrorPageError {
/**
- * @stable for calling
+ * @stable to call
*
* @note The value of the $reasonMsg parameter must be set with the LoginFormValidErrorMessages
* hook if you want the user to be automatically redirected to the login form.
diff --git a/includes/filerepo/file/ArchivedFile.php b/includes/filerepo/file/ArchivedFile.php
index 33047e18f577..d5f2c8bbf9fd 100644
--- a/includes/filerepo/file/ArchivedFile.php
+++ b/includes/filerepo/file/ArchivedFile.php
@@ -100,7 +100,7 @@ class ArchivedFile {
protected $exists;
/**
- * @stable for calling
+ * @stable to call
* @throws MWException
* @param Title $title
* @param int $id
diff --git a/includes/filerepo/file/File.php b/includes/filerepo/file/File.php
index bba28ca9747f..606ef12c7b62 100644
--- a/includes/filerepo/file/File.php
+++ b/includes/filerepo/file/File.php
@@ -179,7 +179,7 @@ abstract class File implements IDBAccessObject {
* may return false or throw exceptions if they are not set.
* Most subclasses will want to call assertRepoDefined() here.
*
- * @stable for calling
+ * @stable to call
* @param Title|string|bool $title
* @param FileRepo|bool $repo
*/
diff --git a/includes/filerepo/file/LocalFile.php b/includes/filerepo/file/LocalFile.php
index 85bce5864077..185f07f51fe2 100644
--- a/includes/filerepo/file/LocalFile.php
+++ b/includes/filerepo/file/LocalFile.php
@@ -259,7 +259,7 @@ class LocalFile extends File {
/**
* Do not call this except from inside a repo class.
- * @stable for calling
+ * @stable to call
*
* @param Title $title
* @param FileRepo $repo
diff --git a/includes/filerepo/file/LocalFileLockError.php b/includes/filerepo/file/LocalFileLockError.php
index 91bad9f451b2..a3fe455a7eff 100644
--- a/includes/filerepo/file/LocalFileLockError.php
+++ b/includes/filerepo/file/LocalFileLockError.php
@@ -28,7 +28,7 @@
class LocalFileLockError extends ErrorPageError {
/**
- * @stable for calling
+ * @stable to call
*
* @param Status $status
*/
diff --git a/includes/filerepo/file/OldLocalFile.php b/includes/filerepo/file/OldLocalFile.php
index 9b80c11619fb..23ed38905398 100644
--- a/includes/filerepo/file/OldLocalFile.php
+++ b/includes/filerepo/file/OldLocalFile.php
@@ -162,7 +162,7 @@ class OldLocalFile extends LocalFile {
}
/**
- * @stable for calling
+ * @stable to call
*
* @param Title $title
* @param FileRepo $repo
diff --git a/includes/htmlform/HTMLFormFieldRequiredOptionsException.php b/includes/htmlform/HTMLFormFieldRequiredOptionsException.php
index 42b69e2a95b4..70151d9b5c3b 100644
--- a/includes/htmlform/HTMLFormFieldRequiredOptionsException.php
+++ b/includes/htmlform/HTMLFormFieldRequiredOptionsException.php
@@ -6,7 +6,7 @@
class HTMLFormFieldRequiredOptionsException extends MWException {
/**
- * @stable for calling
+ * @stable to call
*
* @param HTMLFormField $field
* @param array $missing
diff --git a/includes/installer/DatabaseInstaller.php b/includes/installer/DatabaseInstaller.php
index 8eff1012dc4c..d3d7f850f87c 100644
--- a/includes/installer/DatabaseInstaller.php
+++ b/includes/installer/DatabaseInstaller.php
@@ -465,7 +465,7 @@ abstract class DatabaseInstaller {
/**
* Construct and initialise parent.
* This is typically only called from Installer::getDBInstaller()
- * @stable for calling
+ * @stable to call
* @param WebInstaller $parent
*/
public function __construct( $parent ) {
diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php
index 8ac73b65b7ab..5a18119a72bf 100644
--- a/includes/installer/DatabaseUpdater.php
+++ b/includes/installer/DatabaseUpdater.php
@@ -107,7 +107,7 @@ abstract class DatabaseUpdater {
protected $skipSchema = false;
/**
- * @stable for calling
+ * @stable to call
* @param IMaintainableDatabase &$db To perform updates on
* @param bool $shared Whether to perform updates on shared tables
* @param Maintenance|null $maintenance Maintenance object which created us
diff --git a/includes/jobqueue/Job.php b/includes/jobqueue/Job.php
index 6727e8070578..c3abaa112d4d 100644
--- a/includes/jobqueue/Job.php
+++ b/includes/jobqueue/Job.php
@@ -112,7 +112,7 @@ abstract class Job implements RunnableJob {
}
/**
- * @stable for calling
+ * @stable to call
*
* @param string $command
* @param array|Title|null $params
diff --git a/includes/language/Message.php b/includes/language/Message.php
index cc4fbcb54b20..dcc4715af326 100644
--- a/includes/language/Message.php
+++ b/includes/language/Message.php
@@ -239,7 +239,7 @@ class Message implements MessageSpecifier, Serializable {
protected $message;
/**
- * @stable for calling
+ * @stable to call
* @since 1.17
* @param string|string[]|MessageSpecifier $key Message key, or array of
* message keys to try and use the first non-empty message for, or a
diff --git a/includes/libs/HtmlArmor.php b/includes/libs/HtmlArmor.php
index 2bacf978404f..0b35443a8140 100644
--- a/includes/libs/HtmlArmor.php
+++ b/includes/libs/HtmlArmor.php
@@ -35,7 +35,7 @@ class HtmlArmor {
private $value;
/**
- * @stable for calling
+ * @stable to call
*
* @param string|null $value
*/
diff --git a/includes/libs/Message/DataMessageValue.php b/includes/libs/Message/DataMessageValue.php
index 4bec3ad5893b..309ba660dd7c 100644
--- a/includes/libs/Message/DataMessageValue.php
+++ b/includes/libs/Message/DataMessageValue.php
@@ -28,7 +28,7 @@ class DataMessageValue extends MessageValue {
private $data;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $key
* @param (MessageParam|MessageValue|string|int|float)[] $params
diff --git a/includes/libs/Message/ListParam.php b/includes/libs/Message/ListParam.php
index 68f4489e9970..2fee5267d584 100644
--- a/includes/libs/Message/ListParam.php
+++ b/includes/libs/Message/ListParam.php
@@ -13,7 +13,7 @@ class ListParam extends MessageParam {
private $listType;
/**
- * @stable for calling.
+ * @stable to call.
*
* @param string $listType One of the ListType constants.
* @param (MessageParam|MessageValue|string|int|float)[] $elements Values in the list.
diff --git a/includes/libs/Message/MessageValue.php b/includes/libs/Message/MessageValue.php
index 746dbb2e1474..c1be9514d935 100644
--- a/includes/libs/Message/MessageValue.php
+++ b/includes/libs/Message/MessageValue.php
@@ -21,7 +21,7 @@ class MessageValue {
private $params;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $key
* @param (MessageParam|MessageValue|string|int|float)[] $params Values that are not instances
diff --git a/includes/libs/Message/ScalarParam.php b/includes/libs/Message/ScalarParam.php
index 7484561beaaa..e28166757676 100644
--- a/includes/libs/Message/ScalarParam.php
+++ b/includes/libs/Message/ScalarParam.php
@@ -13,7 +13,7 @@ class ScalarParam extends MessageParam {
/**
* Construct a text parameter
*
- * @stable for calling.
+ * @stable to call.
*
* @param string $type One of the ParamType constants.
* @param string|int|float|MessageValue $value
diff --git a/includes/libs/ParamValidator/TypeDef.php b/includes/libs/ParamValidator/TypeDef.php
index 8f35607263c2..fb3524a47aec 100644
--- a/includes/libs/ParamValidator/TypeDef.php
+++ b/includes/libs/ParamValidator/TypeDef.php
@@ -22,7 +22,7 @@ abstract class TypeDef {
protected $callbacks;
/**
- * @stable for calling
+ * @stable to call
*
* @param Callbacks $callbacks
*/
diff --git a/includes/libs/ParamValidator/ValidationException.php b/includes/libs/ParamValidator/ValidationException.php
index a2f981248e5a..286bc9feaa99 100644
--- a/includes/libs/ParamValidator/ValidationException.php
+++ b/includes/libs/ParamValidator/ValidationException.php
@@ -28,7 +28,7 @@ class ValidationException extends UnexpectedValueException {
protected $settings;
/**
- * @stable for calling
+ * @stable to call
* @param DataMessageValue $failureMessage Failure message.
* @param string $name Parameter name being validated
* @param mixed $value Value of the parameter
diff --git a/includes/libs/eventrelayer/EventRelayer.php b/includes/libs/eventrelayer/EventRelayer.php
index 02c61ca7b969..cf84f9ffbf3b 100644
--- a/includes/libs/eventrelayer/EventRelayer.php
+++ b/includes/libs/eventrelayer/EventRelayer.php
@@ -31,7 +31,7 @@ abstract class EventRelayer implements LoggerAwareInterface {
protected $logger;
/**
- * @stable for calling
+ * @stable to call
*
* @param array $params
*/
diff --git a/includes/libs/filebackend/FileBackend.php b/includes/libs/filebackend/FileBackend.php
index d80b2943e5f1..676447ca8270 100644
--- a/includes/libs/filebackend/FileBackend.php
+++ b/includes/libs/filebackend/FileBackend.php
@@ -161,7 +161,7 @@ abstract class FileBackend implements LoggerAwareInterface {
/**
* Create a new backend instance from configuration.
* This should only be called from within FileBackendGroup.
- * @stable for calling
+ * @stable to call
*
* @param array $config Parameters include:
* - name : The unique name of this backend.
diff --git a/includes/libs/filebackend/FileBackendStore.php b/includes/libs/filebackend/FileBackendStore.php
index 5fea612e47e6..0ccc63df0330 100644
--- a/includes/libs/filebackend/FileBackendStore.php
+++ b/includes/libs/filebackend/FileBackendStore.php
@@ -79,7 +79,7 @@ abstract class FileBackendStore extends FileBackend {
* returns the MIME type of the file or 'unknown/unknown'. The file
* system path parameter should be used if the content one is null.
*
- * @stable for calling
+ * @stable to call
*
* @param array $config
*/
diff --git a/includes/libs/filebackend/filejournal/FileJournal.php b/includes/libs/filebackend/filejournal/FileJournal.php
index 8d0304c1eaad..1a4cc4f990e5 100644
--- a/includes/libs/filebackend/filejournal/FileJournal.php
+++ b/includes/libs/filebackend/filejournal/FileJournal.php
@@ -46,7 +46,7 @@ abstract class FileJournal {
/**
* Construct a new instance from configuration.
- * @stable for calling
+ * @stable to call
*
* @param array $config Includes:
* - 'backend': The name of a registered file backend
diff --git a/includes/libs/iterators/IteratorDecorator.php b/includes/libs/iterators/IteratorDecorator.php
index 744b0063825b..f1ce2fe50bca 100644
--- a/includes/libs/iterators/IteratorDecorator.php
+++ b/includes/libs/iterators/IteratorDecorator.php
@@ -26,7 +26,7 @@ abstract class IteratorDecorator implements Iterator {
protected $iterator;
/**
- * @stable for calling
+ * @stable to call
*
* @param Iterator $iterator
*/
diff --git a/includes/libs/lockmanager/DBLockManager.php b/includes/libs/lockmanager/DBLockManager.php
index 947598d70814..9f092f4d42e8 100644
--- a/includes/libs/lockmanager/DBLockManager.php
+++ b/includes/libs/lockmanager/DBLockManager.php
@@ -53,7 +53,7 @@ abstract class DBLockManager extends QuorumLockManager {
/**
* Construct a new instance from configuration.
- * @stable for calling
+ * @stable to call
*
* @param array $config Parameters include:
* - dbServers : Associative array of DB names to server configuration.
diff --git a/includes/libs/lockmanager/LockManager.php b/includes/libs/lockmanager/LockManager.php
index 6c772a189122..f58575e69e1e 100644
--- a/includes/libs/lockmanager/LockManager.php
+++ b/includes/libs/lockmanager/LockManager.php
@@ -75,7 +75,7 @@ abstract class LockManager {
/**
* Construct a new instance from configuration
- * @stable for calling
+ * @stable to call
*
* @param array $config Parameters include:
* - domain : Domain (usually wiki ID) that all resources are relative to [optional]
diff --git a/includes/libs/objectcache/CachedBagOStuff.php b/includes/libs/objectcache/CachedBagOStuff.php
index e2d63076d580..7a08e9e7a117 100644
--- a/includes/libs/objectcache/CachedBagOStuff.php
+++ b/includes/libs/objectcache/CachedBagOStuff.php
@@ -41,7 +41,7 @@ class CachedBagOStuff extends BagOStuff {
protected $procCache;
/**
- * @stable for calling
+ * @stable to call
* @param BagOStuff $backend Permanent backend to use
* @param array $params Parameters for HashBagOStuff
*/
diff --git a/includes/libs/objectcache/HashBagOStuff.php b/includes/libs/objectcache/HashBagOStuff.php
index 30ae66ce5747..d8e73b2fc8e7 100644
--- a/includes/libs/objectcache/HashBagOStuff.php
+++ b/includes/libs/objectcache/HashBagOStuff.php
@@ -46,7 +46,7 @@ class HashBagOStuff extends MediumSpecificBagOStuff {
public const KEY_CAS = 2;
/**
- * @stable for calling
+ * @stable to call
* @param array $params Additional parameters include:
* - maxKeys : only allow this many keys (using oldest-first eviction)
* @codingStandardsIgnoreStart
diff --git a/includes/libs/objectcache/MultiWriteBagOStuff.php b/includes/libs/objectcache/MultiWriteBagOStuff.php
index ceec5b516df4..8d855361a8c3 100644
--- a/includes/libs/objectcache/MultiWriteBagOStuff.php
+++ b/includes/libs/objectcache/MultiWriteBagOStuff.php
@@ -45,7 +45,7 @@ class MultiWriteBagOStuff extends BagOStuff {
private static $UPGRADE_TTL = 3600;
/**
- * @stable for calling
+ * @stable to call
* @param array $params
* - caches: A numbered array of either ObjectFactory::getObjectFromSpec
* arrays yielding BagOStuff objects or direct BagOStuff objects.
diff --git a/includes/libs/rdbms/encasing/Blob.php b/includes/libs/rdbms/encasing/Blob.php
index e736092b15c0..ec35e457f43e 100644
--- a/includes/libs/rdbms/encasing/Blob.php
+++ b/includes/libs/rdbms/encasing/Blob.php
@@ -11,7 +11,7 @@ class Blob implements IBlob {
protected $data;
/**
- * @stable for calling
+ * @stable to call
* @param string $data
*/
public function __construct( $data ) {
diff --git a/includes/libs/rdbms/exception/DBAccessError.php b/includes/libs/rdbms/exception/DBAccessError.php
index 605eaa451e4f..454ef7cc0943 100644
--- a/includes/libs/rdbms/exception/DBAccessError.php
+++ b/includes/libs/rdbms/exception/DBAccessError.php
@@ -28,7 +28,7 @@ namespace Wikimedia\Rdbms;
*/
class DBAccessError extends DBUnexpectedError {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct( null, "Database access has been disabled." );
diff --git a/includes/libs/rdbms/exception/DBConnectionError.php b/includes/libs/rdbms/exception/DBConnectionError.php
index 502f09ac02d6..71cdb2130cc7 100644
--- a/includes/libs/rdbms/exception/DBConnectionError.php
+++ b/includes/libs/rdbms/exception/DBConnectionError.php
@@ -26,7 +26,7 @@ namespace Wikimedia\Rdbms;
*/
class DBConnectionError extends DBExpectedError {
/**
- * @stable for calling
+ * @stable to call
* @param IDatabase|null $db Object throwing the error
* @param string $error Error text
*/
diff --git a/includes/libs/rdbms/exception/DBError.php b/includes/libs/rdbms/exception/DBError.php
index 2e6b61461bd6..7d49ce2e5188 100644
--- a/includes/libs/rdbms/exception/DBError.php
+++ b/includes/libs/rdbms/exception/DBError.php
@@ -35,7 +35,7 @@ class DBError extends RuntimeException {
/**
* Construct a database error
- * @stable for calling
+ * @stable to call
* @param IDatabase|null $db Object which threw the error
* @param string $error A simple error message to be used for debugging
* @param \Throwable|null $prev Previous throwable
diff --git a/includes/libs/rdbms/exception/DBExpectedError.php b/includes/libs/rdbms/exception/DBExpectedError.php
index d5fbfe4190a0..3b34f2e222f4 100644
--- a/includes/libs/rdbms/exception/DBExpectedError.php
+++ b/includes/libs/rdbms/exception/DBExpectedError.php
@@ -36,7 +36,7 @@ class DBExpectedError extends DBError implements MessageSpecifier {
protected $params;
/**
- * @stable for calling
+ * @stable to call
* @param IDatabase|null $db
* @param string $error
* @param array $params
diff --git a/includes/libs/rdbms/exception/DBQueryDisconnectedError.php b/includes/libs/rdbms/exception/DBQueryDisconnectedError.php
index d9102da1383b..63e71dd71218 100644
--- a/includes/libs/rdbms/exception/DBQueryDisconnectedError.php
+++ b/includes/libs/rdbms/exception/DBQueryDisconnectedError.php
@@ -29,7 +29,7 @@ namespace Wikimedia\Rdbms;
class DBQueryDisconnectedError extends DBQueryError {
/**
- * @stable for calling
+ * @stable to call
* @param IDatabase $db
* @param string $error
* @param int|string $errno
diff --git a/includes/libs/rdbms/exception/DBQueryError.php b/includes/libs/rdbms/exception/DBQueryError.php
index 5600f65e7fb3..3036b0bfda56 100644
--- a/includes/libs/rdbms/exception/DBQueryError.php
+++ b/includes/libs/rdbms/exception/DBQueryError.php
@@ -37,7 +37,7 @@ class DBQueryError extends DBExpectedError {
public $fname;
/**
- * @stable for calling
+ * @stable to call
* @param IDatabase $db
* @param string $error
* @param int|string $errno
diff --git a/includes/libs/rdbms/exception/DBQueryTimeoutError.php b/includes/libs/rdbms/exception/DBQueryTimeoutError.php
index 45ceed701fd7..66b8805e184b 100644
--- a/includes/libs/rdbms/exception/DBQueryTimeoutError.php
+++ b/includes/libs/rdbms/exception/DBQueryTimeoutError.php
@@ -30,7 +30,7 @@ namespace Wikimedia\Rdbms;
class DBQueryTimeoutError extends DBQueryError {
/**
- * @stable for calling
+ * @stable to call
*
* @param IDatabase $db
* @param string $error
diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php
index 1306f3f58190..470749ad7f87 100644
--- a/includes/logging/LogFormatter.php
+++ b/includes/logging/LogFormatter.php
@@ -111,7 +111,7 @@ class LogFormatter {
protected $parsedParameters;
/**
- * @stable for calling
+ * @stable to call
*
* @param LogEntry $entry
*/
diff --git a/includes/logging/LogPage.php b/includes/logging/LogPage.php
index c9e5e6fa5d84..6e745f7faa5f 100644
--- a/includes/logging/LogPage.php
+++ b/includes/logging/LogPage.php
@@ -79,7 +79,7 @@ class LogPage {
private $target;
/**
- * @stable for calling
+ * @stable to call
* @param string $type One of '', 'block', 'protect', 'rights', 'delete',
* 'upload', 'move'
* @param bool $rc Whether to update recent changes as well as the logging table
diff --git a/includes/logging/ManualLogEntry.php b/includes/logging/ManualLogEntry.php
index 3693e83bc6fc..773b65b6cf9f 100644
--- a/includes/logging/ManualLogEntry.php
+++ b/includes/logging/ManualLogEntry.php
@@ -83,7 +83,7 @@ class ManualLogEntry extends LogEntryBase implements Taggable {
protected $legacy = false;
/**
- * @stable for calling
+ * @stable to call
* @since 1.19
* @param string $type
* @param string $subtype
diff --git a/includes/mail/MailAddress.php b/includes/mail/MailAddress.php
index 3816a2050a30..bf64e02506e1 100644
--- a/includes/mail/MailAddress.php
+++ b/includes/mail/MailAddress.php
@@ -48,7 +48,7 @@ class MailAddress {
public $address;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $address String with an email address
* @param string|null $name Human-readable name if a string address is given
diff --git a/includes/media/MediaTransformError.php b/includes/media/MediaTransformError.php
index 0e6a346a9efe..b17f38542ec8 100644
--- a/includes/media/MediaTransformError.php
+++ b/includes/media/MediaTransformError.php
@@ -33,7 +33,7 @@ class MediaTransformError extends MediaTransformOutput {
private $msg;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $msg
* @param int $width
diff --git a/includes/media/TransformParameterError.php b/includes/media/TransformParameterError.php
index d23a634a5b0c..604279015ff2 100644
--- a/includes/media/TransformParameterError.php
+++ b/includes/media/TransformParameterError.php
@@ -30,7 +30,7 @@
class TransformParameterError extends MediaTransformError {
/**
- * @stable for calling
+ * @stable to call
*
* @param array $params
*/
diff --git a/includes/media/TransformTooBigImageAreaError.php b/includes/media/TransformTooBigImageAreaError.php
index 833de67aaba7..a83ce6f06a83 100644
--- a/includes/media/TransformTooBigImageAreaError.php
+++ b/includes/media/TransformTooBigImageAreaError.php
@@ -31,7 +31,7 @@
class TransformTooBigImageAreaError extends MediaTransformError {
/**
- * @stable for calling
+ * @stable to call
*
* @param array $params
* @param int $maxImageArea
diff --git a/includes/pager/IndexPager.php b/includes/pager/IndexPager.php
index 8a84ffbc1376..0d37e9643551 100644
--- a/includes/pager/IndexPager.php
+++ b/includes/pager/IndexPager.php
@@ -167,7 +167,7 @@ abstract class IndexPager extends ContextSource implements Pager {
private $linkRenderer;
/**
- * @stable for calling
+ * @stable to call
*
* @param IContextSource|null $context
* @param LinkRenderer|null $linkRenderer
diff --git a/includes/pager/TablePager.php b/includes/pager/TablePager.php
index 847a02637e47..d63599ce95b9 100644
--- a/includes/pager/TablePager.php
+++ b/includes/pager/TablePager.php
@@ -36,7 +36,7 @@ abstract class TablePager extends IndexPager {
protected $mCurrentRow;
/**
- * @stable for calling
+ * @stable to call
*
* @param IContextSource|null $context
* @param LinkRenderer|null $linkRenderer
diff --git a/includes/parser/StripState.php b/includes/parser/StripState.php
index ca3d5c500f7d..ae73bf079dd2 100644
--- a/includes/parser/StripState.php
+++ b/includes/parser/StripState.php
@@ -41,7 +41,7 @@ class StripState {
protected $sizeLimit = 5000000;
/**
- * @stable for calling
+ * @stable to call
*
* @param Parser|null $parser
* @param array $options
diff --git a/includes/poolcounter/PoolCounterWorkViaCallback.php b/includes/poolcounter/PoolCounterWorkViaCallback.php
index fc65d369aafd..a81c26597c3b 100644
--- a/includes/poolcounter/PoolCounterWorkViaCallback.php
+++ b/includes/poolcounter/PoolCounterWorkViaCallback.php
@@ -47,7 +47,7 @@ class PoolCounterWorkViaCallback extends PoolCounterWork {
* If a 'doCachedWork' callback is provided, then execute() may wait for any prior
* process in the pool to finish and reuse its cached result.
*
- * @stable for calling
+ * @stable to call
*
* @param string $type The class of actions to limit concurrency for
* @param string $key
diff --git a/includes/search/SearchHighlighter.php b/includes/search/SearchHighlighter.php
index f1986437622a..ed7ae2030ad1 100644
--- a/includes/search/SearchHighlighter.php
+++ b/includes/search/SearchHighlighter.php
@@ -38,7 +38,7 @@ class SearchHighlighter {
protected $mCleanWikitext = true;
/**
- * @stable for calling
+ * @stable to call
* @warning If you pass false to this constructor, then
* the caller is responsible for HTML escaping.
* @param bool $cleanupWikitext
diff --git a/includes/session/ImmutableSessionProviderWithCookie.php b/includes/session/ImmutableSessionProviderWithCookie.php
index 349d8d2d4413..6cba63712faf 100644
--- a/includes/session/ImmutableSessionProviderWithCookie.php
+++ b/includes/session/ImmutableSessionProviderWithCookie.php
@@ -46,7 +46,7 @@ abstract class ImmutableSessionProviderWithCookie extends SessionProvider {
protected $sessionCookieOptions = [];
/**
- * @stable for calling
+ * @stable to call
* @param array $params Keys include:
* - sessionCookieName: Session cookie name, if multiple sessions per
* client are to be supported.
diff --git a/includes/session/SessionId.php b/includes/session/SessionId.php
index 8d5a452fc7d4..97f185d4185e 100644
--- a/includes/session/SessionId.php
+++ b/includes/session/SessionId.php
@@ -42,7 +42,7 @@ final class SessionId {
private $id;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $id
*/
diff --git a/includes/session/SessionInfo.php b/includes/session/SessionInfo.php
index c6901768f9a3..9b3c2a52ff20 100644
--- a/includes/session/SessionInfo.php
+++ b/includes/session/SessionInfo.php
@@ -72,7 +72,7 @@ class SessionInfo {
private $providerMetadata = null;
/**
- * @stable for calling
+ * @stable to call
*
* @param int $priority Session priority
* @param array $data
diff --git a/includes/session/SessionProvider.php b/includes/session/SessionProvider.php
index cbdf2db8d5d8..8f854e623b05 100644
--- a/includes/session/SessionProvider.php
+++ b/includes/session/SessionProvider.php
@@ -101,7 +101,7 @@ abstract class SessionProvider implements SessionProviderInterface, LoggerAwareI
protected $priority;
/**
- * @stable for calling
+ * @stable to call
* @note To fully initialize a SessionProvider, the setLogger(),
* setConfig(), setManager() and setHookContainer() methods must be
* called (and should be called in that order). Failure to do so is
diff --git a/includes/specialpage/RedirectSpecialArticle.php b/includes/specialpage/RedirectSpecialArticle.php
index 52dee9912780..0f5580b650c6 100644
--- a/includes/specialpage/RedirectSpecialArticle.php
+++ b/includes/specialpage/RedirectSpecialArticle.php
@@ -89,7 +89,7 @@
abstract class RedirectSpecialArticle extends RedirectSpecialPage {
/**
- * @stable for calling
+ * @stable to call
*
* @param string $name
*/
diff --git a/includes/specialpage/SpecialPage.php b/includes/specialpage/SpecialPage.php
index ae29a851db16..d6029b3e2a4e 100644
--- a/includes/specialpage/SpecialPage.php
+++ b/includes/specialpage/SpecialPage.php
@@ -138,7 +138,7 @@ class SpecialPage implements MessageLocalizer {
* If you override execute(), you can recover the default behavior with userCanExecute()
* and displayRestrictionError()
*
- * @stable for calling
+ * @stable to call
*
* @param string $name Name of the special page, as seen in links and URLs
* @param string $restriction User right required, e.g. "block" or "delete"
diff --git a/includes/specialpage/SpecialRedirectToSpecial.php b/includes/specialpage/SpecialRedirectToSpecial.php
index 814e77d9b3b5..4d3cf4ed7def 100644
--- a/includes/specialpage/SpecialRedirectToSpecial.php
+++ b/includes/specialpage/SpecialRedirectToSpecial.php
@@ -34,7 +34,7 @@ abstract class SpecialRedirectToSpecial extends RedirectSpecialPage {
protected $redirSubpage;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $name
* @param string $redirName
diff --git a/includes/specialpage/SpecialRedirectWithAction.php b/includes/specialpage/SpecialRedirectWithAction.php
index 9d345d684680..9976985a245c 100644
--- a/includes/specialpage/SpecialRedirectWithAction.php
+++ b/includes/specialpage/SpecialRedirectWithAction.php
@@ -27,7 +27,7 @@ abstract class SpecialRedirectWithAction extends RedirectSpecialPage {
protected $action, $msgPrefix;
/**
- * @stable for calling
+ * @stable to call
*
* @param string $name
* @param string $action
diff --git a/includes/specialpage/UnlistedSpecialPage.php b/includes/specialpage/UnlistedSpecialPage.php
index a7bb8d63b7f3..030eba1290c3 100644
--- a/includes/specialpage/UnlistedSpecialPage.php
+++ b/includes/specialpage/UnlistedSpecialPage.php
@@ -31,7 +31,7 @@
class UnlistedSpecialPage extends SpecialPage {
/**
- * @stable for calling
+ * @stable to call
*
* @param string $name
* @param string $restriction
diff --git a/includes/title/MalformedTitleException.php b/includes/title/MalformedTitleException.php
index 24a661a1da9e..e787969dbdfa 100644
--- a/includes/title/MalformedTitleException.php
+++ b/includes/title/MalformedTitleException.php
@@ -29,7 +29,7 @@ class MalformedTitleException extends Exception implements ILocalizedException {
private $errorMessageParameters = [];
/**
- * @stable for calling
+ * @stable to call
* @param string $errorMessage Localisation message describing the error (since MW 1.26)
* @param string|null $titleText The invalid title text (since MW 1.26)
* @param string[] $errorMessageParameters Additional parameters for the error message.
diff --git a/includes/title/TitleValue.php b/includes/title/TitleValue.php
index 9d7f465dd0b4..e5a40a9d0a6a 100644
--- a/includes/title/TitleValue.php
+++ b/includes/title/TitleValue.php
@@ -109,7 +109,7 @@ class TitleValue implements LinkTarget {
* either from a database entry, or by a TitleParser. For constructing a TitleValue from user
* input or external sources, use a TitleParser.
*
- * @stable for calling
+ * @stable to call
*
* @param int $namespace The namespace ID. This is not validated.
* @param string $title The page title in either DBkey or text form. No normalization is applied
diff --git a/includes/upload/UploadBase.php b/includes/upload/UploadBase.php
index 03dc440e8641..cf7ed3f8543a 100644
--- a/includes/upload/UploadBase.php
+++ b/includes/upload/UploadBase.php
@@ -233,7 +233,7 @@ abstract class UploadBase {
}
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
}
diff --git a/includes/user/LoggedOutEditToken.php b/includes/user/LoggedOutEditToken.php
index cc09e7079c73..0b950f02c508 100644
--- a/includes/user/LoggedOutEditToken.php
+++ b/includes/user/LoggedOutEditToken.php
@@ -37,7 +37,7 @@ use MediaWiki\Session\Token;
class LoggedOutEditToken extends Token {
/**
- * @stable for calling
+ * @stable to call
*/
public function __construct() {
parent::__construct( '', '', false );
diff --git a/includes/user/User.php b/includes/user/User.php
index 8a1b232ff4f1..00b3c4ea681b 100644
--- a/includes/user/User.php
+++ b/includes/user/User.php
@@ -224,7 +224,7 @@ class User implements IDBAccessObject, UserIdentity {
* Lightweight constructor for an anonymous user.
* Use the User::newFrom* factory functions for other kinds of users.
*
- * @stable for calling
+ * @stable to call
*
* @see newFromName()
* @see newFromId()
diff --git a/includes/user/UserIdentityValue.php b/includes/user/UserIdentityValue.php
index a4b21599aa26..53254b9ee0f4 100644
--- a/includes/user/UserIdentityValue.php
+++ b/includes/user/UserIdentityValue.php
@@ -49,7 +49,7 @@ class UserIdentityValue implements UserIdentity {
private $actor;
/**
- * @stable for calling
+ * @stable to call
*
* @param int $id
* @param string $name
diff --git a/includes/utils/BatchRowIterator.php b/includes/utils/BatchRowIterator.php
index 06deb1f92b23..3e2418ded980 100644
--- a/includes/utils/BatchRowIterator.php
+++ b/includes/utils/BatchRowIterator.php
@@ -89,7 +89,7 @@ class BatchRowIterator implements RecursiveIterator {
protected $options = [];
/**
- * @stable for calling
+ * @stable to call
*
* @param IDatabase $db The database to read from
* @param string|array $table The name or names of the table to read from
diff --git a/includes/utils/ZipDirectoryReaderError.php b/includes/utils/ZipDirectoryReaderError.php
index 15b4645e74de..479e9cd33adb 100644
--- a/includes/utils/ZipDirectoryReaderError.php
+++ b/includes/utils/ZipDirectoryReaderError.php
@@ -26,7 +26,7 @@ class ZipDirectoryReaderError extends Exception {
protected $errorCode;
/**
- * @stable for calling
+ * @stable to call
*
* @param mixed $code
*/