diff options
Diffstat (limited to 'includes')
353 files changed, 356 insertions, 921 deletions
diff --git a/includes/Category/CategoriesRdf.php b/includes/Category/CategoriesRdf.php index a08d85073da9..47d0362bee7d 100644 --- a/includes/Category/CategoriesRdf.php +++ b/includes/Category/CategoriesRdf.php @@ -137,7 +137,5 @@ class CategoriesRdf { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( CategoriesRdf::class, 'CategoriesRdf' ); diff --git a/includes/Category/Category.php b/includes/Category/Category.php index 478ce9f38303..d5500f96e82f 100644 --- a/includes/Category/Category.php +++ b/includes/Category/Category.php @@ -557,7 +557,5 @@ class Category { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( Category::class, 'Category' ); diff --git a/includes/Category/CategoryViewer.php b/includes/Category/CategoryViewer.php index ca87346e3442..5fc116c659ad 100644 --- a/includes/Category/CategoryViewer.php +++ b/includes/Category/CategoryViewer.php @@ -840,7 +840,5 @@ class CategoryViewer extends ContextSource { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( CategoryViewer::class, 'CategoryViewer' ); diff --git a/includes/Category/TrackingCategories.php b/includes/Category/TrackingCategories.php index b95c28006137..40b721031a30 100644 --- a/includes/Category/TrackingCategories.php +++ b/includes/Category/TrackingCategories.php @@ -267,7 +267,5 @@ class TrackingCategories { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( TrackingCategories::class, 'TrackingCategories' ); diff --git a/includes/CommentStore/CommentStore.php b/includes/CommentStore/CommentStore.php index d6b9247a1e74..9fbbbf2fea36 100644 --- a/includes/CommentStore/CommentStore.php +++ b/includes/CommentStore/CommentStore.php @@ -405,7 +405,5 @@ class CommentStore { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( CommentStore::class, 'CommentStore' ); diff --git a/includes/CommentStore/CommentStoreComment.php b/includes/CommentStore/CommentStoreComment.php index 0197bb25f0b6..7f04a112c20f 100644 --- a/includes/CommentStore/CommentStoreComment.php +++ b/includes/CommentStore/CommentStoreComment.php @@ -107,7 +107,5 @@ class CommentStoreComment { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( CommentStoreComment::class, 'CommentStoreComment' ); diff --git a/includes/ExternalLinks/LinkFilter.php b/includes/ExternalLinks/LinkFilter.php index fa7a7460e46d..7bc0cb40a442 100644 --- a/includes/ExternalLinks/LinkFilter.php +++ b/includes/ExternalLinks/LinkFilter.php @@ -527,7 +527,5 @@ class LinkFilter { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( LinkFilter::class, 'LinkFilter' ); diff --git a/includes/Feed/AtomFeed.php b/includes/Feed/AtomFeed.php index 38171add4581..38c93afdf181 100644 --- a/includes/Feed/AtomFeed.php +++ b/includes/Feed/AtomFeed.php @@ -109,7 +109,5 @@ class AtomFeed extends ChannelFeed { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( AtomFeed::class, 'AtomFeed' ); diff --git a/includes/Feed/ChannelFeed.php b/includes/Feed/ChannelFeed.php index 9abf6f434c5c..6102b59dea0c 100644 --- a/includes/Feed/ChannelFeed.php +++ b/includes/Feed/ChannelFeed.php @@ -144,7 +144,5 @@ abstract class ChannelFeed extends FeedItem { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( ChannelFeed::class, 'ChannelFeed' ); diff --git a/includes/Feed/FeedItem.php b/includes/Feed/FeedItem.php index a727d45591e8..2df4aaf6f15b 100644 --- a/includes/Feed/FeedItem.php +++ b/includes/Feed/FeedItem.php @@ -231,7 +231,5 @@ class FeedItem { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( FeedItem::class, 'FeedItem' ); diff --git a/includes/Feed/FeedUtils.php b/includes/Feed/FeedUtils.php index cc677f66917d..30abe5ae2f00 100644 --- a/includes/Feed/FeedUtils.php +++ b/includes/Feed/FeedUtils.php @@ -319,7 +319,5 @@ class FeedUtils { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( FeedUtils::class, 'FeedUtils' ); diff --git a/includes/Feed/RSSFeed.php b/includes/Feed/RSSFeed.php index ea2fe44b3b29..bfc5299d1f6a 100644 --- a/includes/Feed/RSSFeed.php +++ b/includes/Feed/RSSFeed.php @@ -93,7 +93,5 @@ class RSSFeed extends ChannelFeed { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( RSSFeed::class, 'RSSFeed' ); diff --git a/includes/Html/FormOptions.php b/includes/Html/FormOptions.php index 1a6486ad418d..46fd7cfab7e8 100644 --- a/includes/Html/FormOptions.php +++ b/includes/Html/FormOptions.php @@ -434,7 +434,5 @@ class FormOptions implements ArrayAccess { // endregion -- end of ArrayAccess functions } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( FormOptions::class, 'FormOptions' ); diff --git a/includes/Html/Html.php b/includes/Html/Html.php index 02d73ef08c59..723370160bf6 100644 --- a/includes/Html/Html.php +++ b/includes/Html/Html.php @@ -1236,7 +1236,5 @@ class Html { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( Html::class, 'Html' ); diff --git a/includes/Html/HtmlHelper.php b/includes/Html/HtmlHelper.php index b37edc1cfd7d..66a8399dbe36 100644 --- a/includes/Html/HtmlHelper.php +++ b/includes/Html/HtmlHelper.php @@ -71,7 +71,5 @@ class HtmlHelper { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( HtmlHelper::class, 'MediaWiki\\HtmlHelper' ); diff --git a/includes/Html/HtmlJsCode.php b/includes/Html/HtmlJsCode.php index e857237f3902..8a2ae2d8fe99 100644 --- a/includes/Html/HtmlJsCode.php +++ b/includes/Html/HtmlJsCode.php @@ -77,5 +77,5 @@ class HtmlJsCode { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( HtmlJsCode::class, 'XmlJsCode' ); diff --git a/includes/Html/ListToggle.php b/includes/Html/ListToggle.php index 447fd3fffd22..59e293b2defc 100644 --- a/includes/Html/ListToggle.php +++ b/includes/Html/ListToggle.php @@ -73,7 +73,5 @@ class ListToggle { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( ListToggle::class, 'ListToggle' ); diff --git a/includes/Html/TemplateParser.php b/includes/Html/TemplateParser.php index 7e4cb88b4a94..90d010bda70a 100644 --- a/includes/Html/TemplateParser.php +++ b/includes/Html/TemplateParser.php @@ -298,7 +298,5 @@ class TemplateParser { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( TemplateParser::class, 'TemplateParser' ); diff --git a/includes/Maintenance/ForkController.php b/includes/Maintenance/ForkController.php index 871749b6b295..e968c23f55bf 100644 --- a/includes/Maintenance/ForkController.php +++ b/includes/Maintenance/ForkController.php @@ -221,7 +221,5 @@ class ForkController { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( ForkController::class, 'ForkController' ); diff --git a/includes/Maintenance/OrderedStreamingForkController.php b/includes/Maintenance/OrderedStreamingForkController.php index 996a91b20947..4d625732a536 100644 --- a/includes/Maintenance/OrderedStreamingForkController.php +++ b/includes/Maintenance/OrderedStreamingForkController.php @@ -231,7 +231,5 @@ class OrderedStreamingForkController extends ForkController { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( OrderedStreamingForkController::class, 'OrderedStreamingForkController' ); diff --git a/includes/Message/Message.php b/includes/Message/Message.php index 77483e7c0f7f..f3e8204bdb86 100644 --- a/includes/Message/Message.php +++ b/includes/Message/Message.php @@ -1621,5 +1621,5 @@ class Message implements MessageSpecifier, Serializable { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( Message::class, 'Message' ); diff --git a/includes/Output/Hook/AfterBuildFeedLinksHook.php b/includes/Output/Hook/AfterBuildFeedLinksHook.php index a3d392aeb569..f289aa0517d5 100644 --- a/includes/Output/Hook/AfterBuildFeedLinksHook.php +++ b/includes/Output/Hook/AfterBuildFeedLinksHook.php @@ -23,7 +23,5 @@ interface AfterBuildFeedLinksHook { public function onAfterBuildFeedLinks( &$feedLinks ); } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( AfterBuildFeedLinksHook::class, 'MediaWiki\Hook\AfterBuildFeedLinksHook' ); diff --git a/includes/Output/Hook/AfterFinalPageOutputHook.php b/includes/Output/Hook/AfterFinalPageOutputHook.php index 0422a628def4..46c64a88b698 100644 --- a/includes/Output/Hook/AfterFinalPageOutputHook.php +++ b/includes/Output/Hook/AfterFinalPageOutputHook.php @@ -26,7 +26,5 @@ interface AfterFinalPageOutputHook { public function onAfterFinalPageOutput( $output ): void; } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( AfterFinalPageOutputHook::class, 'MediaWiki\Hook\AfterFinalPageOutputHook' ); diff --git a/includes/Output/Hook/BeforePageDisplayHook.php b/includes/Output/Hook/BeforePageDisplayHook.php index 937b6f7b3ab0..5d07ebea1e3c 100644 --- a/includes/Output/Hook/BeforePageDisplayHook.php +++ b/includes/Output/Hook/BeforePageDisplayHook.php @@ -25,7 +25,5 @@ interface BeforePageDisplayHook { public function onBeforePageDisplay( $out, $skin ): void; } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( BeforePageDisplayHook::class, 'MediaWiki\Hook\BeforePageDisplayHook' ); diff --git a/includes/Output/Hook/BeforePageRedirectHook.php b/includes/Output/Hook/BeforePageRedirectHook.php index 998be0a70d71..3a6f9fb950ea 100644 --- a/includes/Output/Hook/BeforePageRedirectHook.php +++ b/includes/Output/Hook/BeforePageRedirectHook.php @@ -27,7 +27,5 @@ interface BeforePageRedirectHook { public function onBeforePageRedirect( $out, &$redirect, &$code ); } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( BeforePageRedirectHook::class, 'MediaWiki\Hook\BeforePageRedirectHook' ); diff --git a/includes/Output/Hook/GetCacheVaryCookiesHook.php b/includes/Output/Hook/GetCacheVaryCookiesHook.php index f3a438cc6203..26e9e2116827 100644 --- a/includes/Output/Hook/GetCacheVaryCookiesHook.php +++ b/includes/Output/Hook/GetCacheVaryCookiesHook.php @@ -25,7 +25,5 @@ interface GetCacheVaryCookiesHook { public function onGetCacheVaryCookies( $out, &$cookies ); } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( GetCacheVaryCookiesHook::class, 'MediaWiki\Hook\GetCacheVaryCookiesHook' ); diff --git a/includes/Output/Hook/LanguageLinksHook.php b/includes/Output/Hook/LanguageLinksHook.php index 80ad58ea37c5..2bd20b3e1943 100644 --- a/includes/Output/Hook/LanguageLinksHook.php +++ b/includes/Output/Hook/LanguageLinksHook.php @@ -30,7 +30,5 @@ interface LanguageLinksHook { public function onLanguageLinks( $title, &$links, &$linkFlags ); } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( LanguageLinksHook::class, 'MediaWiki\Hook\LanguageLinksHook' ); diff --git a/includes/Output/Hook/MakeGlobalVariablesScriptHook.php b/includes/Output/Hook/MakeGlobalVariablesScriptHook.php index f984e41b6ad8..9e4c4191b7a9 100644 --- a/includes/Output/Hook/MakeGlobalVariablesScriptHook.php +++ b/includes/Output/Hook/MakeGlobalVariablesScriptHook.php @@ -33,7 +33,5 @@ interface MakeGlobalVariablesScriptHook { public function onMakeGlobalVariablesScript( &$vars, $out ): void; } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( MakeGlobalVariablesScriptHook::class, 'MediaWiki\Hook\MakeGlobalVariablesScriptHook' ); diff --git a/includes/Output/Hook/OutputPageAfterGetHeadLinksArrayHook.php b/includes/Output/Hook/OutputPageAfterGetHeadLinksArrayHook.php index dd917ada7ba8..7a14c6e8bfbf 100644 --- a/includes/Output/Hook/OutputPageAfterGetHeadLinksArrayHook.php +++ b/includes/Output/Hook/OutputPageAfterGetHeadLinksArrayHook.php @@ -26,7 +26,5 @@ interface OutputPageAfterGetHeadLinksArrayHook { public function onOutputPageAfterGetHeadLinksArray( &$tags, $out ); } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( OutputPageAfterGetHeadLinksArrayHook::class, 'MediaWiki\Hook\OutputPageAfterGetHeadLinksArrayHook' ); diff --git a/includes/Output/Hook/OutputPageBeforeHTMLHook.php b/includes/Output/Hook/OutputPageBeforeHTMLHook.php index ac978bda91d4..308eb835dbf3 100644 --- a/includes/Output/Hook/OutputPageBeforeHTMLHook.php +++ b/includes/Output/Hook/OutputPageBeforeHTMLHook.php @@ -25,7 +25,5 @@ interface OutputPageBeforeHTMLHook { public function onOutputPageBeforeHTML( $out, &$text ); } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( OutputPageBeforeHTMLHook::class, 'MediaWiki\Hook\OutputPageBeforeHTMLHook' ); diff --git a/includes/Output/Hook/OutputPageBodyAttributesHook.php b/includes/Output/Hook/OutputPageBodyAttributesHook.php index 44b4877676cc..b1f59e2fa3e5 100644 --- a/includes/Output/Hook/OutputPageBodyAttributesHook.php +++ b/includes/Output/Hook/OutputPageBodyAttributesHook.php @@ -29,7 +29,5 @@ interface OutputPageBodyAttributesHook { public function onOutputPageBodyAttributes( $out, $sk, &$bodyAttrs ): void; } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( OutputPageBodyAttributesHook::class, 'MediaWiki\Hook\OutputPageBodyAttributesHook' ); diff --git a/includes/Output/Hook/OutputPageCheckLastModifiedHook.php b/includes/Output/Hook/OutputPageCheckLastModifiedHook.php index e9447c33466a..88806c4ac044 100644 --- a/includes/Output/Hook/OutputPageCheckLastModifiedHook.php +++ b/includes/Output/Hook/OutputPageCheckLastModifiedHook.php @@ -26,7 +26,5 @@ interface OutputPageCheckLastModifiedHook { public function onOutputPageCheckLastModified( &$modifiedTimes, $out ); } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( OutputPageCheckLastModifiedHook::class, 'MediaWiki\Hook\OutputPageCheckLastModifiedHook' ); diff --git a/includes/Output/Hook/OutputPageMakeCategoryLinksHook.php b/includes/Output/Hook/OutputPageMakeCategoryLinksHook.php index 23685f94652e..4a4994390d8e 100644 --- a/includes/Output/Hook/OutputPageMakeCategoryLinksHook.php +++ b/includes/Output/Hook/OutputPageMakeCategoryLinksHook.php @@ -28,7 +28,5 @@ interface OutputPageMakeCategoryLinksHook { public function onOutputPageMakeCategoryLinks( $out, $categories, &$links ); } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( OutputPageMakeCategoryLinksHook::class, 'MediaWiki\Hook\OutputPageMakeCategoryLinksHook' ); diff --git a/includes/Output/Hook/OutputPageParserOutputHook.php b/includes/Output/Hook/OutputPageParserOutputHook.php index f15d75449d1c..fd079b59cecf 100644 --- a/includes/Output/Hook/OutputPageParserOutputHook.php +++ b/includes/Output/Hook/OutputPageParserOutputHook.php @@ -25,7 +25,5 @@ interface OutputPageParserOutputHook { public function onOutputPageParserOutput( $outputPage, $parserOutput ): void; } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( OutputPageParserOutputHook::class, 'MediaWiki\Hook\OutputPageParserOutputHook' ); diff --git a/includes/Output/OutputHandler.php b/includes/Output/OutputHandler.php index 246c0b917b23..a732cff28ba3 100644 --- a/includes/Output/OutputHandler.php +++ b/includes/Output/OutputHandler.php @@ -207,7 +207,5 @@ class OutputHandler { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( OutputHandler::class, 'MediaWiki\\OutputHandler' ); diff --git a/includes/Output/OutputPage.php b/includes/Output/OutputPage.php index 8390c8dbfeb1..091f56dc99b7 100644 --- a/includes/Output/OutputPage.php +++ b/includes/Output/OutputPage.php @@ -4853,7 +4853,5 @@ class OutputPage extends ContextSource { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( OutputPage::class, 'OutputPage' ); diff --git a/includes/Output/StreamFile.php b/includes/Output/StreamFile.php index 7669fc926206..93fab2aa75c9 100644 --- a/includes/Output/StreamFile.php +++ b/includes/Output/StreamFile.php @@ -138,7 +138,5 @@ class StreamFile { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( StreamFile::class, 'StreamFile' ); diff --git a/includes/Request/ContentSecurityPolicy.php b/includes/Request/ContentSecurityPolicy.php index 51638bf57819..73b62dedd4b2 100644 --- a/includes/Request/ContentSecurityPolicy.php +++ b/includes/Request/ContentSecurityPolicy.php @@ -590,7 +590,5 @@ class ContentSecurityPolicy { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( ContentSecurityPolicy::class, 'ContentSecurityPolicy' ); diff --git a/includes/Request/DerivativeRequest.php b/includes/Request/DerivativeRequest.php index 26b4a513a92b..741935b02ec8 100644 --- a/includes/Request/DerivativeRequest.php +++ b/includes/Request/DerivativeRequest.php @@ -104,7 +104,5 @@ class DerivativeRequest extends FauxRequest { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( DerivativeRequest::class, 'DerivativeRequest' ); diff --git a/includes/Request/FauxRequest.php b/includes/Request/FauxRequest.php index 7406e096e650..0bacfa323c7b 100644 --- a/includes/Request/FauxRequest.php +++ b/includes/Request/FauxRequest.php @@ -327,7 +327,5 @@ class FauxRequest extends WebRequest { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( FauxRequest::class, 'FauxRequest' ); diff --git a/includes/Request/FauxRequestUpload.php b/includes/Request/FauxRequestUpload.php index 5d80571b5387..4d30ac48496f 100644 --- a/includes/Request/FauxRequestUpload.php +++ b/includes/Request/FauxRequestUpload.php @@ -48,7 +48,5 @@ class FauxRequestUpload extends WebRequestUpload { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( FauxRequestUpload::class, 'FauxRequestUpload' ); diff --git a/includes/Request/FauxResponse.php b/includes/Request/FauxResponse.php index 9a19fccf7e30..c03a0f78debb 100644 --- a/includes/Request/FauxResponse.php +++ b/includes/Request/FauxResponse.php @@ -196,7 +196,5 @@ class FauxResponse extends WebResponse { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( FauxResponse::class, 'FauxResponse' ); diff --git a/includes/Request/HeaderCallback.php b/includes/Request/HeaderCallback.php index 53544c42ce15..18b12feb06e7 100644 --- a/includes/Request/HeaderCallback.php +++ b/includes/Request/HeaderCallback.php @@ -121,7 +121,5 @@ class HeaderCallback { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( HeaderCallback::class, 'MediaWiki\\HeaderCallback' ); diff --git a/includes/Request/PathRouter.php b/includes/Request/PathRouter.php index 1560bc3be27f..7d2ce0d118e6 100644 --- a/includes/Request/PathRouter.php +++ b/includes/Request/PathRouter.php @@ -445,7 +445,5 @@ class PathRouter { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( PathRouter::class, 'PathRouter' ); diff --git a/includes/Request/ProxyLookup.php b/includes/Request/ProxyLookup.php index dfd004fe48c0..7a00bc388484 100644 --- a/includes/Request/ProxyLookup.php +++ b/includes/Request/ProxyLookup.php @@ -91,7 +91,5 @@ class ProxyLookup { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ProxyLookup::class, 'ProxyLookup' ); diff --git a/includes/Request/WebRequest.php b/includes/Request/WebRequest.php index 356f1d246345..1d03a72ce23a 100644 --- a/includes/Request/WebRequest.php +++ b/includes/Request/WebRequest.php @@ -1497,7 +1497,5 @@ class WebRequest { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( WebRequest::class, 'WebRequest' ); diff --git a/includes/Request/WebRequestUpload.php b/includes/Request/WebRequestUpload.php index 36ab49bc0345..bb800e0e6279 100644 --- a/includes/Request/WebRequestUpload.php +++ b/includes/Request/WebRequestUpload.php @@ -170,7 +170,5 @@ class WebRequestUpload { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( WebRequestUpload::class, 'WebRequestUpload' ); diff --git a/includes/Request/WebResponse.php b/includes/Request/WebResponse.php index 5dda9b1ae5e6..8c2adc6ee7fb 100644 --- a/includes/Request/WebResponse.php +++ b/includes/Request/WebResponse.php @@ -276,7 +276,5 @@ class WebResponse { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( WebResponse::class, 'WebResponse' ); diff --git a/includes/ResourceLoader/ForeignResourceManager.php b/includes/ResourceLoader/ForeignResourceManager.php index c906b065fa48..a57c1b50bd57 100644 --- a/includes/ResourceLoader/ForeignResourceManager.php +++ b/includes/ResourceLoader/ForeignResourceManager.php @@ -498,5 +498,5 @@ class ForeignResourceManager { } } -/** @deprecated since 1.40 */ +/** @deprecated class alias since 1.40 */ class_alias( ForeignResourceManager::class, 'ForeignResourceManager' ); diff --git a/includes/SiteStats/SiteStats.php b/includes/SiteStats/SiteStats.php index ffa7bce22f25..f6def799ab37 100644 --- a/includes/SiteStats/SiteStats.php +++ b/includes/SiteStats/SiteStats.php @@ -299,7 +299,5 @@ class SiteStats { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SiteStats::class, 'SiteStats' ); diff --git a/includes/SiteStats/SiteStatsInit.php b/includes/SiteStats/SiteStatsInit.php index d29233b32564..d54719ce3fff 100644 --- a/includes/SiteStats/SiteStatsInit.php +++ b/includes/SiteStats/SiteStatsInit.php @@ -244,7 +244,5 @@ class SiteStatsInit { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SiteStatsInit::class, 'SiteStatsInit' ); diff --git a/includes/Status/Status.php b/includes/Status/Status.php index 7e6c5511ce65..7634d274bc8f 100644 --- a/includes/Status/Status.php +++ b/includes/Status/Status.php @@ -327,7 +327,5 @@ class Status extends StatusValue { } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( Status::class, 'Status' ); diff --git a/includes/StubObject/DeprecatedGlobal.php b/includes/StubObject/DeprecatedGlobal.php index 98919b10671a..1bd27b310189 100644 --- a/includes/StubObject/DeprecatedGlobal.php +++ b/includes/StubObject/DeprecatedGlobal.php @@ -62,7 +62,5 @@ class DeprecatedGlobal extends StubObject { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( DeprecatedGlobal::class, 'DeprecatedGlobal' ); diff --git a/includes/StubObject/StubGlobalUser.php b/includes/StubObject/StubGlobalUser.php index 5f19d6e40064..a5c582385262 100644 --- a/includes/StubObject/StubGlobalUser.php +++ b/includes/StubObject/StubGlobalUser.php @@ -154,7 +154,5 @@ class StubGlobalUser extends StubObject { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( StubGlobalUser::class, 'StubGlobalUser' ); diff --git a/includes/StubObject/StubObject.php b/includes/StubObject/StubObject.php index b96a82934499..feef2760c643 100644 --- a/includes/StubObject/StubObject.php +++ b/includes/StubObject/StubObject.php @@ -235,7 +235,5 @@ class StubObject { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( StubObject::class, 'StubObject' ); diff --git a/includes/StubObject/StubUserLang.php b/includes/StubObject/StubUserLang.php index 8fb018d84c5a..cf7c02c34b77 100644 --- a/includes/StubObject/StubUserLang.php +++ b/includes/StubObject/StubUserLang.php @@ -41,7 +41,5 @@ class StubUserLang extends StubObject { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( StubUserLang::class, 'StubUserLang' ); diff --git a/includes/WikiMap/WikiMap.php b/includes/WikiMap/WikiMap.php index 3e7c945bb004..fd0cd506eee8 100644 --- a/includes/WikiMap/WikiMap.php +++ b/includes/WikiMap/WikiMap.php @@ -325,7 +325,5 @@ class WikiMap { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( WikiMap::class, 'WikiMap' ); diff --git a/includes/WikiMap/WikiReference.php b/includes/WikiMap/WikiReference.php index 7982a6b949ed..69e4ee43f1ff 100644 --- a/includes/WikiMap/WikiReference.php +++ b/includes/WikiMap/WikiReference.php @@ -127,7 +127,5 @@ class WikiReference { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( WikiReference::class, 'WikiReference' ); diff --git a/includes/actions/pagers/HistoryPager.php b/includes/actions/pagers/HistoryPager.php index ffd88439cab2..38ce9c19e6cf 100644 --- a/includes/actions/pagers/HistoryPager.php +++ b/includes/actions/pagers/HistoryPager.php @@ -673,8 +673,5 @@ class HistoryPager extends ReverseChronologicalPager { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( HistoryPager::class, 'HistoryPager' ); diff --git a/includes/block/DatabaseBlock.php b/includes/block/DatabaseBlock.php index 66e424412b84..10b50cccb2f8 100644 --- a/includes/block/DatabaseBlock.php +++ b/includes/block/DatabaseBlock.php @@ -750,7 +750,5 @@ class DatabaseBlock extends AbstractBlock { } } -/** - * @deprecated since 1.34 - */ +/** @deprecated class alias since 1.34 */ class_alias( DatabaseBlock::class, 'Block' ); diff --git a/includes/cache/BacklinkCache.php b/includes/cache/BacklinkCache.php index d1f187bcddbc..9445b5bb7af3 100644 --- a/includes/cache/BacklinkCache.php +++ b/includes/cache/BacklinkCache.php @@ -560,5 +560,5 @@ class BacklinkCache { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( BacklinkCache::class, 'BacklinkCache' ); diff --git a/includes/cache/FileCacheBase.php b/includes/cache/FileCacheBase.php index 50d847d3cb0a..6e4d11ddab8c 100644 --- a/includes/cache/FileCacheBase.php +++ b/includes/cache/FileCacheBase.php @@ -292,5 +292,5 @@ abstract class FileCacheBase { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( FileCacheBase::class, 'FileCacheBase' ); diff --git a/includes/cache/GenderCache.php b/includes/cache/GenderCache.php index 2b4fa4caed93..69cb57599745 100644 --- a/includes/cache/GenderCache.php +++ b/includes/cache/GenderCache.php @@ -185,5 +185,5 @@ class GenderCache { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( GenderCache::class, 'GenderCache' ); diff --git a/includes/cache/HTMLCacheUpdater.php b/includes/cache/HTMLCacheUpdater.php index 01fdbdbe1d0a..a306f9c369b6 100644 --- a/includes/cache/HTMLCacheUpdater.php +++ b/includes/cache/HTMLCacheUpdater.php @@ -257,5 +257,5 @@ class HTMLCacheUpdater { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLCacheUpdater::class, 'HtmlCacheUpdater' ); diff --git a/includes/cache/LinkBatch.php b/includes/cache/LinkBatch.php index 0e29c15cab00..ef096bdef8ae 100644 --- a/includes/cache/LinkBatch.php +++ b/includes/cache/LinkBatch.php @@ -380,5 +380,5 @@ class LinkBatch { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( LinkBatch::class, 'LinkBatch' ); diff --git a/includes/cache/LinkCache.php b/includes/cache/LinkCache.php index 339bb411350b..79d0075bc545 100644 --- a/includes/cache/LinkCache.php +++ b/includes/cache/LinkCache.php @@ -582,5 +582,5 @@ class LinkCache implements LoggerAwareInterface { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( LinkCache::class, 'LinkCache' ); diff --git a/includes/cache/UserCache.php b/includes/cache/UserCache.php index 9a75cc6799dd..5c63dd1e3df4 100644 --- a/includes/cache/UserCache.php +++ b/includes/cache/UserCache.php @@ -177,5 +177,5 @@ class UserCache { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( UserCache::class, 'UserCache' ); diff --git a/includes/config/Config.php b/includes/config/Config.php index 7464a2bdaa7a..1b5486272143 100644 --- a/includes/config/Config.php +++ b/includes/config/Config.php @@ -50,8 +50,5 @@ interface Config { public function has( $name ); } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( Config::class, 'Config' ); diff --git a/includes/config/ConfigException.php b/includes/config/ConfigException.php index 16a4f41499bb..41a5b41eb106 100644 --- a/includes/config/ConfigException.php +++ b/includes/config/ConfigException.php @@ -33,8 +33,5 @@ use LogicException; class ConfigException extends LogicException { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ConfigException::class, 'ConfigException' ); diff --git a/includes/config/ConfigFactory.php b/includes/config/ConfigFactory.php index bf94cf0c32c2..5c50c021321d 100644 --- a/includes/config/ConfigFactory.php +++ b/includes/config/ConfigFactory.php @@ -163,8 +163,5 @@ class ConfigFactory implements SalvageableService { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ConfigFactory::class, 'ConfigFactory' ); diff --git a/includes/config/EtcdConfig.php b/includes/config/EtcdConfig.php index 52e776b7698b..e8fb6d3e7773 100644 --- a/includes/config/EtcdConfig.php +++ b/includes/config/EtcdConfig.php @@ -359,8 +359,5 @@ class EtcdConfig implements Config, LoggerAwareInterface { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( EtcdConfig::class, 'EtcdConfig' ); diff --git a/includes/config/EtcdConfigParseError.php b/includes/config/EtcdConfigParseError.php index 5b973deb751a..9958984c3d88 100644 --- a/includes/config/EtcdConfigParseError.php +++ b/includes/config/EtcdConfigParseError.php @@ -10,8 +10,5 @@ use Exception; class EtcdConfigParseError extends Exception { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( EtcdConfigParseError::class, 'EtcdConfigParseError' ); diff --git a/includes/config/GlobalVarConfig.php b/includes/config/GlobalVarConfig.php index 342310d317c0..43c23d0635e9 100644 --- a/includes/config/GlobalVarConfig.php +++ b/includes/config/GlobalVarConfig.php @@ -76,8 +76,5 @@ class GlobalVarConfig implements Config { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( GlobalVarConfig::class, 'GlobalVarConfig' ); diff --git a/includes/config/HashConfig.php b/includes/config/HashConfig.php index 41b77848cff4..f26472e7e694 100644 --- a/includes/config/HashConfig.php +++ b/includes/config/HashConfig.php @@ -108,8 +108,5 @@ class HashConfig implements Config, MutableConfig, IterableConfig { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( HashConfig::class, 'HashConfig' ); diff --git a/includes/config/MultiConfig.php b/includes/config/MultiConfig.php index ccf2bdec1346..b27a808c0b4a 100644 --- a/includes/config/MultiConfig.php +++ b/includes/config/MultiConfig.php @@ -73,8 +73,5 @@ class MultiConfig implements Config { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( MultiConfig::class, 'MultiConfig' ); diff --git a/includes/config/MutableConfig.php b/includes/config/MutableConfig.php index 60b1ecb873dc..f8ce0ea5b667 100644 --- a/includes/config/MutableConfig.php +++ b/includes/config/MutableConfig.php @@ -41,8 +41,5 @@ interface MutableConfig { public function set( $name, $value ); } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( MutableConfig::class, 'MutableConfig' ); diff --git a/includes/config/SiteConfiguration.php b/includes/config/SiteConfiguration.php index c817968d95be..eb4cf29fca16 100644 --- a/includes/config/SiteConfiguration.php +++ b/includes/config/SiteConfiguration.php @@ -621,7 +621,5 @@ class SiteConfiguration { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SiteConfiguration::class, 'SiteConfiguration' ); diff --git a/includes/context/ContextSource.php b/includes/context/ContextSource.php index b11fd7282842..d9be95911e1e 100644 --- a/includes/context/ContextSource.php +++ b/includes/context/ContextSource.php @@ -245,5 +245,5 @@ abstract class ContextSource implements IContextSource { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( ContextSource::class, 'ContextSource' ); diff --git a/includes/context/DerivativeContext.php b/includes/context/DerivativeContext.php index 59afccf43a06..59607c21c419 100644 --- a/includes/context/DerivativeContext.php +++ b/includes/context/DerivativeContext.php @@ -339,5 +339,5 @@ class DerivativeContext extends ContextSource implements MutableContext { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( DerivativeContext::class, 'DerivativeContext' ); diff --git a/includes/context/IContextSource.php b/includes/context/IContextSource.php index c5454abe6d23..c23453216b24 100644 --- a/includes/context/IContextSource.php +++ b/includes/context/IContextSource.php @@ -163,5 +163,5 @@ interface IContextSource extends LocalizationContext, CsrfTokenSetProvider { public function exportSession(); } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( IContextSource::class, 'IContextSource' ); diff --git a/includes/context/MutableContext.php b/includes/context/MutableContext.php index 4010a90201a8..762c146fcb47 100644 --- a/includes/context/MutableContext.php +++ b/includes/context/MutableContext.php @@ -91,5 +91,5 @@ interface MutableContext { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( MutableContext::class, 'MutableContext' ); diff --git a/includes/context/RequestContext.php b/includes/context/RequestContext.php index f69b89bf96d8..2d4a8fe2525c 100644 --- a/includes/context/RequestContext.php +++ b/includes/context/RequestContext.php @@ -806,5 +806,5 @@ class RequestContext implements IContextSource, MutableContext { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( RequestContext::class, 'RequestContext' ); diff --git a/includes/deferred/AtomicSectionUpdate.php b/includes/deferred/AtomicSectionUpdate.php index f309808060d3..b8b378896a8e 100644 --- a/includes/deferred/AtomicSectionUpdate.php +++ b/includes/deferred/AtomicSectionUpdate.php @@ -57,5 +57,5 @@ class AtomicSectionUpdate implements DeferrableUpdate, DeferrableCallback { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( AtomicSectionUpdate::class, 'AtomicSectionUpdate' ); diff --git a/includes/deferred/AutoCommitUpdate.php b/includes/deferred/AutoCommitUpdate.php index 0ee51e984afc..7e91a0a530ca 100644 --- a/includes/deferred/AutoCommitUpdate.php +++ b/includes/deferred/AutoCommitUpdate.php @@ -67,5 +67,5 @@ class AutoCommitUpdate implements DeferrableUpdate, DeferrableCallback { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( AutoCommitUpdate::class, 'AutoCommitUpdate' ); diff --git a/includes/deferred/CdnCacheUpdate.php b/includes/deferred/CdnCacheUpdate.php index d02417d6e673..798837d668df 100644 --- a/includes/deferred/CdnCacheUpdate.php +++ b/includes/deferred/CdnCacheUpdate.php @@ -351,5 +351,5 @@ class CdnCacheUpdate implements DeferrableUpdate, MergeableUpdate { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( CdnCacheUpdate::class, 'CdnCacheUpdate' ); diff --git a/includes/deferred/DataUpdate.php b/includes/deferred/DataUpdate.php index cee214ccf648..739b851ccd0c 100644 --- a/includes/deferred/DataUpdate.php +++ b/includes/deferred/DataUpdate.php @@ -77,5 +77,5 @@ abstract class DataUpdate implements DeferrableUpdate { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( DataUpdate::class, 'DataUpdate' ); diff --git a/includes/deferred/DeferrableCallback.php b/includes/deferred/DeferrableCallback.php index 86bb7c3dd47f..cd4e01fd442e 100644 --- a/includes/deferred/DeferrableCallback.php +++ b/includes/deferred/DeferrableCallback.php @@ -16,5 +16,5 @@ interface DeferrableCallback { public function getOrigin(); } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( DeferrableCallback::class, 'DeferrableCallback' ); diff --git a/includes/deferred/DeferrableUpdate.php b/includes/deferred/DeferrableUpdate.php index 93aa11b8f8fe..6299a11c16d6 100644 --- a/includes/deferred/DeferrableUpdate.php +++ b/includes/deferred/DeferrableUpdate.php @@ -17,5 +17,5 @@ interface DeferrableUpdate { public function doUpdate(); } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( DeferrableUpdate::class, 'DeferrableUpdate' ); diff --git a/includes/deferred/DeferredUpdates.php b/includes/deferred/DeferredUpdates.php index 80548d8721c7..f805df690ab0 100644 --- a/includes/deferred/DeferredUpdates.php +++ b/includes/deferred/DeferredUpdates.php @@ -489,5 +489,5 @@ class DeferredUpdates { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( DeferredUpdates::class, 'DeferredUpdates' ); diff --git a/includes/deferred/DeferredUpdatesScope.php b/includes/deferred/DeferredUpdatesScope.php index 9f1bb6b68da0..6dd5097db33e 100644 --- a/includes/deferred/DeferredUpdatesScope.php +++ b/includes/deferred/DeferredUpdatesScope.php @@ -278,5 +278,5 @@ class DeferredUpdatesScope { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( DeferredUpdatesScope::class, 'DeferredUpdatesScope' ); diff --git a/includes/deferred/DeferredUpdatesScopeMediaWikiStack.php b/includes/deferred/DeferredUpdatesScopeMediaWikiStack.php index 33b6990d7f5c..e784ea67bf18 100644 --- a/includes/deferred/DeferredUpdatesScopeMediaWikiStack.php +++ b/includes/deferred/DeferredUpdatesScopeMediaWikiStack.php @@ -134,5 +134,5 @@ class DeferredUpdatesScopeMediaWikiStack extends DeferredUpdatesScopeStack { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( DeferredUpdatesScopeMediaWikiStack::class, 'DeferredUpdatesScopeMediaWikiStack' ); diff --git a/includes/deferred/DeferredUpdatesScopeStack.php b/includes/deferred/DeferredUpdatesScopeStack.php index e07c3223f952..56056d866e3f 100644 --- a/includes/deferred/DeferredUpdatesScopeStack.php +++ b/includes/deferred/DeferredUpdatesScopeStack.php @@ -125,5 +125,5 @@ class DeferredUpdatesScopeStack { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( DeferredUpdatesScopeStack::class, 'DeferredUpdatesScopeStack' ); diff --git a/includes/deferred/EnqueueableDataUpdate.php b/includes/deferred/EnqueueableDataUpdate.php index 0c3db7963aa9..81d24c43c56d 100644 --- a/includes/deferred/EnqueueableDataUpdate.php +++ b/includes/deferred/EnqueueableDataUpdate.php @@ -20,5 +20,5 @@ interface EnqueueableDataUpdate { public function getAsJobSpecification(); } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( EnqueueableDataUpdate::class, 'EnqueueableDataUpdate' ); diff --git a/includes/deferred/HtmlFileCacheUpdate.php b/includes/deferred/HtmlFileCacheUpdate.php index a8e8b25389fb..85ca29b825cb 100644 --- a/includes/deferred/HtmlFileCacheUpdate.php +++ b/includes/deferred/HtmlFileCacheUpdate.php @@ -73,5 +73,5 @@ class HtmlFileCacheUpdate implements DeferrableUpdate, MergeableUpdate { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HtmlFileCacheUpdate::class, 'HtmlFileCacheUpdate' ); diff --git a/includes/deferred/JobQueueEnqueueUpdate.php b/includes/deferred/JobQueueEnqueueUpdate.php index d75b6c2dc22d..9ace913d3601 100644 --- a/includes/deferred/JobQueueEnqueueUpdate.php +++ b/includes/deferred/JobQueueEnqueueUpdate.php @@ -80,5 +80,5 @@ class JobQueueEnqueueUpdate implements DeferrableUpdate, MergeableUpdate { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( JobQueueEnqueueUpdate::class, 'JobQueueEnqueueUpdate' ); diff --git a/includes/deferred/LinksUpdate/LinksDeletionUpdate.php b/includes/deferred/LinksUpdate/LinksDeletionUpdate.php index fc01c3b38178..1f46a8a4eb23 100644 --- a/includes/deferred/LinksUpdate/LinksDeletionUpdate.php +++ b/includes/deferred/LinksUpdate/LinksDeletionUpdate.php @@ -136,5 +136,5 @@ class LinksDeletionUpdate extends LinksUpdate implements EnqueueableDataUpdate { } } -/** @deprecated since 1.38 */ +/** @deprecated class alias since 1.38 */ class_alias( LinksDeletionUpdate::class, 'LinksDeletionUpdate' ); diff --git a/includes/deferred/LinksUpdate/LinksUpdate.php b/includes/deferred/LinksUpdate/LinksUpdate.php index 66cfa1c1fe51..10afe2ac75c0 100644 --- a/includes/deferred/LinksUpdate/LinksUpdate.php +++ b/includes/deferred/LinksUpdate/LinksUpdate.php @@ -558,5 +558,5 @@ class LinksUpdate extends DataUpdate { } } -/** @deprecated since 1.38 */ +/** @deprecated class alias since 1.38 */ class_alias( LinksUpdate::class, 'LinksUpdate' ); diff --git a/includes/deferred/MWCallableUpdate.php b/includes/deferred/MWCallableUpdate.php index 3a50aa84982e..33c1a85c1521 100644 --- a/includes/deferred/MWCallableUpdate.php +++ b/includes/deferred/MWCallableUpdate.php @@ -70,5 +70,5 @@ class MWCallableUpdate } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( MWCallableUpdate::class, 'MWCallableUpdate' ); diff --git a/includes/deferred/MergeableUpdate.php b/includes/deferred/MergeableUpdate.php index a82afa350109..36550725aaa7 100644 --- a/includes/deferred/MergeableUpdate.php +++ b/includes/deferred/MergeableUpdate.php @@ -29,5 +29,5 @@ interface MergeableUpdate extends DeferrableUpdate { public function merge( MergeableUpdate $update ); } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( MergeableUpdate::class, 'MergeableUpdate' ); diff --git a/includes/deferred/MessageCacheUpdate.php b/includes/deferred/MessageCacheUpdate.php index 530c95a78073..9bf5c82749b3 100644 --- a/includes/deferred/MessageCacheUpdate.php +++ b/includes/deferred/MessageCacheUpdate.php @@ -62,5 +62,5 @@ class MessageCacheUpdate implements DeferrableUpdate, MergeableUpdate { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( MessageCacheUpdate::class, 'MessageCacheUpdate' ); diff --git a/includes/deferred/SearchUpdate.php b/includes/deferred/SearchUpdate.php index 8c82d7804d26..c6c7cb0866e1 100644 --- a/includes/deferred/SearchUpdate.php +++ b/includes/deferred/SearchUpdate.php @@ -218,5 +218,5 @@ class SearchUpdate implements DeferrableUpdate { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( SearchUpdate::class, 'SearchUpdate' ); diff --git a/includes/deferred/SendPasswordResetEmailUpdate.php b/includes/deferred/SendPasswordResetEmailUpdate.php index 49aa04b5a0ba..3380e11c006a 100644 --- a/includes/deferred/SendPasswordResetEmailUpdate.php +++ b/includes/deferred/SendPasswordResetEmailUpdate.php @@ -65,5 +65,5 @@ class SendPasswordResetEmailUpdate implements DeferrableUpdate { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( SendPasswordResetEmailUpdate::class, 'SendPasswordResetEmailUpdate' ); diff --git a/includes/deferred/SiteStatsUpdate.php b/includes/deferred/SiteStatsUpdate.php index 80e71f6c9684..6143cca59269 100644 --- a/includes/deferred/SiteStatsUpdate.php +++ b/includes/deferred/SiteStatsUpdate.php @@ -210,5 +210,5 @@ class SiteStatsUpdate implements DeferrableUpdate, MergeableUpdate { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( SiteStatsUpdate::class, 'SiteStatsUpdate' ); diff --git a/includes/deferred/TransactionRoundAwareUpdate.php b/includes/deferred/TransactionRoundAwareUpdate.php index 6e5cc5b7556a..dd91ead0918e 100644 --- a/includes/deferred/TransactionRoundAwareUpdate.php +++ b/includes/deferred/TransactionRoundAwareUpdate.php @@ -22,5 +22,5 @@ interface TransactionRoundAwareUpdate { public function getTransactionRoundRequirement(); } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( TransactionRoundAwareUpdate::class, 'TransactionRoundAwareUpdate' ); diff --git a/includes/deferred/TransactionRoundDefiningUpdate.php b/includes/deferred/TransactionRoundDefiningUpdate.php index 59c455499b71..6ea475760d6a 100644 --- a/includes/deferred/TransactionRoundDefiningUpdate.php +++ b/includes/deferred/TransactionRoundDefiningUpdate.php @@ -41,5 +41,5 @@ class TransactionRoundDefiningUpdate } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( TransactionRoundDefiningUpdate::class, 'TransactionRoundDefiningUpdate' ); diff --git a/includes/deferred/UserEditCountInfo.php b/includes/deferred/UserEditCountInfo.php index df480efaa43f..9541b093f67c 100644 --- a/includes/deferred/UserEditCountInfo.php +++ b/includes/deferred/UserEditCountInfo.php @@ -53,5 +53,5 @@ class UserEditCountInfo { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( UserEditCountInfo::class, 'UserEditCountInfo' ); diff --git a/includes/deferred/UserEditCountUpdate.php b/includes/deferred/UserEditCountUpdate.php index d5208cae38df..fc2cfcc793af 100644 --- a/includes/deferred/UserEditCountUpdate.php +++ b/includes/deferred/UserEditCountUpdate.php @@ -106,5 +106,5 @@ class UserEditCountUpdate implements DeferrableUpdate, MergeableUpdate { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( UserEditCountUpdate::class, 'UserEditCountUpdate' ); diff --git a/includes/edit/ParsoidRenderID.php b/includes/edit/ParsoidRenderID.php index 9546a307ccdc..ecc2b1d14f39 100644 --- a/includes/edit/ParsoidRenderID.php +++ b/includes/edit/ParsoidRenderID.php @@ -121,5 +121,5 @@ class ParsoidRenderID { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( ParsoidRenderID::class, 'MediaWiki\\Parser\\Parsoid\\ParsoidRenderID' ); diff --git a/includes/editpage/EditPage.php b/includes/editpage/EditPage.php index 382c5e70fc4a..173c13c5eb05 100644 --- a/includes/editpage/EditPage.php +++ b/includes/editpage/EditPage.php @@ -4612,7 +4612,5 @@ class EditPage implements IEditObject { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( EditPage::class, 'EditPage' ); diff --git a/includes/editpage/TemplatesOnThisPageFormatter.php b/includes/editpage/TemplatesOnThisPageFormatter.php index 0857259bd009..e7c479bcee08 100644 --- a/includes/editpage/TemplatesOnThisPageFormatter.php +++ b/includes/editpage/TemplatesOnThisPageFormatter.php @@ -214,7 +214,5 @@ class TemplatesOnThisPageFormatter { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( TemplatesOnThisPageFormatter::class, 'TemplatesOnThisPageFormatter' ); diff --git a/includes/htmlform/CodexHTMLForm.php b/includes/htmlform/CodexHTMLForm.php index 28723ae9ca12..1725aa2f57a3 100644 --- a/includes/htmlform/CodexHTMLForm.php +++ b/includes/htmlform/CodexHTMLForm.php @@ -68,5 +68,5 @@ class CodexHTMLForm extends HTMLForm { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( CodexHTMLForm::class, 'CodexHTMLForm' ); diff --git a/includes/htmlform/CollapsibleFieldsetLayout.php b/includes/htmlform/CollapsibleFieldsetLayout.php index 628f7d32d33c..5e3c9a067b12 100644 --- a/includes/htmlform/CollapsibleFieldsetLayout.php +++ b/includes/htmlform/CollapsibleFieldsetLayout.php @@ -37,5 +37,5 @@ class CollapsibleFieldsetLayout extends \OOUI\FieldsetLayout { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( CollapsibleFieldsetLayout::class, 'CollapsibleFieldsetLayout' ); diff --git a/includes/htmlform/HTMLForm.php b/includes/htmlform/HTMLForm.php index f1940b43b67c..46c537560424 100644 --- a/includes/htmlform/HTMLForm.php +++ b/includes/htmlform/HTMLForm.php @@ -2267,5 +2267,5 @@ class HTMLForm extends ContextSource { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLForm::class, 'HTMLForm' ); diff --git a/includes/htmlform/HTMLFormActionFieldLayout.php b/includes/htmlform/HTMLFormActionFieldLayout.php index 2f753ca41666..41b7869702b8 100644 --- a/includes/htmlform/HTMLFormActionFieldLayout.php +++ b/includes/htmlform/HTMLFormActionFieldLayout.php @@ -24,5 +24,5 @@ class HTMLFormActionFieldLayout extends \OOUI\ActionFieldLayout { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLFormActionFieldLayout::class, 'HTMLFormActionFieldLayout' ); diff --git a/includes/htmlform/HTMLFormElement.php b/includes/htmlform/HTMLFormElement.php index 8ca19589d7ff..70024042de1c 100644 --- a/includes/htmlform/HTMLFormElement.php +++ b/includes/htmlform/HTMLFormElement.php @@ -36,5 +36,5 @@ trait HTMLFormElement { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLFormElement::class, 'HTMLFormElement' ); diff --git a/includes/htmlform/HTMLFormField.php b/includes/htmlform/HTMLFormField.php index 1b38b8be5b59..df46a5ece7c6 100644 --- a/includes/htmlform/HTMLFormField.php +++ b/includes/htmlform/HTMLFormField.php @@ -1420,5 +1420,5 @@ abstract class HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLFormField::class, 'HTMLFormField' ); diff --git a/includes/htmlform/HTMLFormFieldLayout.php b/includes/htmlform/HTMLFormFieldLayout.php index a0d0ed9223e6..c37628cfaa18 100644 --- a/includes/htmlform/HTMLFormFieldLayout.php +++ b/includes/htmlform/HTMLFormFieldLayout.php @@ -24,5 +24,5 @@ class HTMLFormFieldLayout extends \OOUI\FieldLayout { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLFormFieldLayout::class, 'HTMLFormFieldLayout' ); diff --git a/includes/htmlform/HTMLFormFieldRequiredOptionsException.php b/includes/htmlform/HTMLFormFieldRequiredOptionsException.php index 8aaa9ad283b7..62b3d3c1e883 100644 --- a/includes/htmlform/HTMLFormFieldRequiredOptionsException.php +++ b/includes/htmlform/HTMLFormFieldRequiredOptionsException.php @@ -23,5 +23,5 @@ class HTMLFormFieldRequiredOptionsException extends InvalidArgumentException { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLFormFieldRequiredOptionsException::class, 'HTMLFormFieldRequiredOptionsException' ); diff --git a/includes/htmlform/HTMLNestedFilterable.php b/includes/htmlform/HTMLNestedFilterable.php index 73305563641e..fb65c2c7999c 100644 --- a/includes/htmlform/HTMLNestedFilterable.php +++ b/includes/htmlform/HTMLNestedFilterable.php @@ -12,5 +12,5 @@ interface HTMLNestedFilterable { public function filterDataForSubmit( $data ); } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLNestedFilterable::class, 'HTMLNestedFilterable' ); diff --git a/includes/htmlform/OOUIHTMLForm.php b/includes/htmlform/OOUIHTMLForm.php index f9aa90466a22..c1ba601ddda6 100644 --- a/includes/htmlform/OOUIHTMLForm.php +++ b/includes/htmlform/OOUIHTMLForm.php @@ -324,5 +324,5 @@ class OOUIHTMLForm extends HTMLForm { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( OOUIHTMLForm::class, 'OOUIHTMLForm' ); diff --git a/includes/htmlform/VFormHTMLForm.php b/includes/htmlform/VFormHTMLForm.php index 9a2b434dc361..d1fff4c56664 100644 --- a/includes/htmlform/VFormHTMLForm.php +++ b/includes/htmlform/VFormHTMLForm.php @@ -76,5 +76,5 @@ class VFormHTMLForm extends HTMLForm { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( VFormHTMLForm::class, 'VFormHTMLForm' ); diff --git a/includes/htmlform/fields/HTMLApiField.php b/includes/htmlform/fields/HTMLApiField.php index 119a1ffacc60..0bbce49c5629 100644 --- a/includes/htmlform/fields/HTMLApiField.php +++ b/includes/htmlform/fields/HTMLApiField.php @@ -29,5 +29,5 @@ class HTMLApiField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLApiField::class, 'HTMLApiField' ); diff --git a/includes/htmlform/fields/HTMLAutoCompleteSelectField.php b/includes/htmlform/fields/HTMLAutoCompleteSelectField.php index c82dc3347ba6..ca0f671a8d27 100644 --- a/includes/htmlform/fields/HTMLAutoCompleteSelectField.php +++ b/includes/htmlform/fields/HTMLAutoCompleteSelectField.php @@ -190,5 +190,5 @@ class HTMLAutoCompleteSelectField extends HTMLTextField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLAutoCompleteSelectField::class, 'HTMLAutoCompleteSelectField' ); diff --git a/includes/htmlform/fields/HTMLButtonField.php b/includes/htmlform/fields/HTMLButtonField.php index 6aaac21736bc..7e0203654946 100644 --- a/includes/htmlform/fields/HTMLButtonField.php +++ b/includes/htmlform/fields/HTMLButtonField.php @@ -174,5 +174,5 @@ class HTMLButtonField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLButtonField::class, 'HTMLButtonField' ); diff --git a/includes/htmlform/fields/HTMLCheckField.php b/includes/htmlform/fields/HTMLCheckField.php index 12fc8655fa64..655149fac660 100644 --- a/includes/htmlform/fields/HTMLCheckField.php +++ b/includes/htmlform/fields/HTMLCheckField.php @@ -200,5 +200,5 @@ class HTMLCheckField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLCheckField::class, 'HTMLCheckField' ); diff --git a/includes/htmlform/fields/HTMLCheckMatrix.php b/includes/htmlform/fields/HTMLCheckMatrix.php index 7e8d509d9b3a..0324a8d5cd14 100644 --- a/includes/htmlform/fields/HTMLCheckMatrix.php +++ b/includes/htmlform/fields/HTMLCheckMatrix.php @@ -297,5 +297,5 @@ class HTMLCheckMatrix extends HTMLFormField implements HTMLNestedFilterable { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLCheckMatrix::class, 'HTMLCheckMatrix' ); diff --git a/includes/htmlform/fields/HTMLComboboxField.php b/includes/htmlform/fields/HTMLComboboxField.php index 9b8a9db4ad5d..fbc0c3c03c2b 100644 --- a/includes/htmlform/fields/HTMLComboboxField.php +++ b/includes/htmlform/fields/HTMLComboboxField.php @@ -72,5 +72,5 @@ class HTMLComboboxField extends HTMLTextField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLComboboxField::class, 'HTMLComboboxField' ); diff --git a/includes/htmlform/fields/HTMLDateTimeField.php b/includes/htmlform/fields/HTMLDateTimeField.php index 40cc2d156786..7da0f1a74c8f 100644 --- a/includes/htmlform/fields/HTMLDateTimeField.php +++ b/includes/htmlform/fields/HTMLDateTimeField.php @@ -197,5 +197,5 @@ class HTMLDateTimeField extends HTMLTextField { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLDateTimeField::class, 'HTMLDateTimeField' ); diff --git a/includes/htmlform/fields/HTMLEditTools.php b/includes/htmlform/fields/HTMLEditTools.php index 45f422c24d2c..c3a49cc21309 100644 --- a/includes/htmlform/fields/HTMLEditTools.php +++ b/includes/htmlform/fields/HTMLEditTools.php @@ -56,5 +56,5 @@ class HTMLEditTools extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLEditTools::class, 'HTMLEditTools' ); diff --git a/includes/htmlform/fields/HTMLExpiryField.php b/includes/htmlform/fields/HTMLExpiryField.php index 5799fbfa1203..2a143acb75fd 100644 --- a/includes/htmlform/fields/HTMLExpiryField.php +++ b/includes/htmlform/fields/HTMLExpiryField.php @@ -100,5 +100,5 @@ class HTMLExpiryField extends HTMLFormField { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLExpiryField::class, 'HTMLExpiryField' ); diff --git a/includes/htmlform/fields/HTMLFileField.php b/includes/htmlform/fields/HTMLFileField.php index 3a13793311bd..acc1c0ee3c16 100644 --- a/includes/htmlform/fields/HTMLFileField.php +++ b/includes/htmlform/fields/HTMLFileField.php @@ -155,5 +155,5 @@ class HTMLFileField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLFileField::class, 'HTMLFileField' ); diff --git a/includes/htmlform/fields/HTMLFloatField.php b/includes/htmlform/fields/HTMLFloatField.php index 9f4d6f4e41ba..e036fed00ea5 100644 --- a/includes/htmlform/fields/HTMLFloatField.php +++ b/includes/htmlform/fields/HTMLFloatField.php @@ -57,5 +57,5 @@ class HTMLFloatField extends HTMLTextField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLFloatField::class, 'HTMLFloatField' ); diff --git a/includes/htmlform/fields/HTMLFormFieldCloner.php b/includes/htmlform/fields/HTMLFormFieldCloner.php index 6c6fa1ed1043..7008c75fa5c6 100644 --- a/includes/htmlform/fields/HTMLFormFieldCloner.php +++ b/includes/htmlform/fields/HTMLFormFieldCloner.php @@ -580,5 +580,5 @@ class HTMLFormFieldCloner extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLFormFieldCloner::class, 'HTMLFormFieldCloner' ); diff --git a/includes/htmlform/fields/HTMLFormFieldWithButton.php b/includes/htmlform/fields/HTMLFormFieldWithButton.php index dc6c586da84f..7c51e1c834f2 100644 --- a/includes/htmlform/fields/HTMLFormFieldWithButton.php +++ b/includes/htmlform/fields/HTMLFormFieldWithButton.php @@ -89,5 +89,5 @@ class HTMLFormFieldWithButton extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLFormFieldWithButton::class, 'HTMLFormFieldWithButton' ); diff --git a/includes/htmlform/fields/HTMLHiddenField.php b/includes/htmlform/fields/HTMLHiddenField.php index d52184b67da4..652f885d40c4 100644 --- a/includes/htmlform/fields/HTMLHiddenField.php +++ b/includes/htmlform/fields/HTMLHiddenField.php @@ -76,5 +76,5 @@ class HTMLHiddenField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLHiddenField::class, 'HTMLHiddenField' ); diff --git a/includes/htmlform/fields/HTMLInfoField.php b/includes/htmlform/fields/HTMLInfoField.php index f820657b9cdc..813ba6c2dc1d 100644 --- a/includes/htmlform/fields/HTMLInfoField.php +++ b/includes/htmlform/fields/HTMLInfoField.php @@ -130,5 +130,5 @@ class HTMLInfoField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLInfoField::class, 'HTMLInfoField' ); diff --git a/includes/htmlform/fields/HTMLIntField.php b/includes/htmlform/fields/HTMLIntField.php index 7b78154c8111..818db6886c36 100644 --- a/includes/htmlform/fields/HTMLIntField.php +++ b/includes/htmlform/fields/HTMLIntField.php @@ -34,5 +34,5 @@ class HTMLIntField extends HTMLFloatField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLIntField::class, 'HTMLIntField' ); diff --git a/includes/htmlform/fields/HTMLMultiSelectField.php b/includes/htmlform/fields/HTMLMultiSelectField.php index 74bde947bcdb..36a2926f5799 100644 --- a/includes/htmlform/fields/HTMLMultiSelectField.php +++ b/includes/htmlform/fields/HTMLMultiSelectField.php @@ -314,5 +314,5 @@ class HTMLMultiSelectField extends HTMLFormField implements HTMLNestedFilterable } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLMultiSelectField::class, 'HTMLMultiSelectField' ); diff --git a/includes/htmlform/fields/HTMLNamespacesMultiselectField.php b/includes/htmlform/fields/HTMLNamespacesMultiselectField.php index 9df98a7642e2..212f91bb177a 100644 --- a/includes/htmlform/fields/HTMLNamespacesMultiselectField.php +++ b/includes/htmlform/fields/HTMLNamespacesMultiselectField.php @@ -131,5 +131,5 @@ class HTMLNamespacesMultiselectField extends HTMLSelectNamespace { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLNamespacesMultiselectField::class, 'HTMLNamespacesMultiselectField' ); diff --git a/includes/htmlform/fields/HTMLRadioField.php b/includes/htmlform/fields/HTMLRadioField.php index 15747b2a659c..9378ae89a271 100644 --- a/includes/htmlform/fields/HTMLRadioField.php +++ b/includes/htmlform/fields/HTMLRadioField.php @@ -119,5 +119,5 @@ class HTMLRadioField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLRadioField::class, 'HTMLRadioField' ); diff --git a/includes/htmlform/fields/HTMLRestrictionsField.php b/includes/htmlform/fields/HTMLRestrictionsField.php index e1b7e74e4f00..e709ea311e6e 100644 --- a/includes/htmlform/fields/HTMLRestrictionsField.php +++ b/includes/htmlform/fields/HTMLRestrictionsField.php @@ -137,5 +137,5 @@ class HTMLRestrictionsField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLRestrictionsField::class, 'HTMLRestrictionsField' ); diff --git a/includes/htmlform/fields/HTMLSelectAndOtherField.php b/includes/htmlform/fields/HTMLSelectAndOtherField.php index 1692919918a1..9331a8afaaec 100644 --- a/includes/htmlform/fields/HTMLSelectAndOtherField.php +++ b/includes/htmlform/fields/HTMLSelectAndOtherField.php @@ -293,5 +293,5 @@ class HTMLSelectAndOtherField extends HTMLSelectField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLSelectAndOtherField::class, 'HTMLSelectAndOtherField' ); diff --git a/includes/htmlform/fields/HTMLSelectField.php b/includes/htmlform/fields/HTMLSelectField.php index fa11687e6214..ef11f3916a1c 100644 --- a/includes/htmlform/fields/HTMLSelectField.php +++ b/includes/htmlform/fields/HTMLSelectField.php @@ -118,5 +118,5 @@ class HTMLSelectField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLSelectField::class, 'HTMLSelectField' ); diff --git a/includes/htmlform/fields/HTMLSelectLanguageField.php b/includes/htmlform/fields/HTMLSelectLanguageField.php index 1dcdc95505c8..cd49668957ac 100644 --- a/includes/htmlform/fields/HTMLSelectLanguageField.php +++ b/includes/htmlform/fields/HTMLSelectLanguageField.php @@ -48,5 +48,5 @@ class HTMLSelectLanguageField extends HTMLSelectField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLSelectLanguageField::class, 'HTMLSelectLanguageField' ); diff --git a/includes/htmlform/fields/HTMLSelectLimitField.php b/includes/htmlform/fields/HTMLSelectLimitField.php index 5aac206886e4..c7e7e17bc1c0 100644 --- a/includes/htmlform/fields/HTMLSelectLimitField.php +++ b/includes/htmlform/fields/HTMLSelectLimitField.php @@ -38,5 +38,5 @@ class HTMLSelectLimitField extends HTMLSelectField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLSelectLimitField::class, 'HTMLSelectLimitField' ); diff --git a/includes/htmlform/fields/HTMLSelectNamespace.php b/includes/htmlform/fields/HTMLSelectNamespace.php index 5f5b96e0af6d..b7bddde603bb 100644 --- a/includes/htmlform/fields/HTMLSelectNamespace.php +++ b/includes/htmlform/fields/HTMLSelectNamespace.php @@ -82,5 +82,5 @@ class HTMLSelectNamespace extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLSelectNamespace::class, 'HTMLSelectNamespace' ); diff --git a/includes/htmlform/fields/HTMLSelectNamespaceWithButton.php b/includes/htmlform/fields/HTMLSelectNamespaceWithButton.php index 1c95e76a96fb..5e880a809270 100644 --- a/includes/htmlform/fields/HTMLSelectNamespaceWithButton.php +++ b/includes/htmlform/fields/HTMLSelectNamespaceWithButton.php @@ -32,5 +32,5 @@ class HTMLSelectNamespaceWithButton extends HTMLSelectNamespace { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLSelectNamespaceWithButton::class, 'HTMLSelectNamespaceWithButton' ); diff --git a/includes/htmlform/fields/HTMLSelectOrOtherField.php b/includes/htmlform/fields/HTMLSelectOrOtherField.php index 6f7e6cc8be81..7a50e89742e3 100644 --- a/includes/htmlform/fields/HTMLSelectOrOtherField.php +++ b/includes/htmlform/fields/HTMLSelectOrOtherField.php @@ -266,5 +266,5 @@ class HTMLSelectOrOtherField extends HTMLTextField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLSelectOrOtherField::class, 'HTMLSelectOrOtherField' ); diff --git a/includes/htmlform/fields/HTMLSizeFilterField.php b/includes/htmlform/fields/HTMLSizeFilterField.php index af7dbacb3f5e..7e32d4a32d24 100644 --- a/includes/htmlform/fields/HTMLSizeFilterField.php +++ b/includes/htmlform/fields/HTMLSizeFilterField.php @@ -100,5 +100,5 @@ class HTMLSizeFilterField extends HTMLIntField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLSizeFilterField::class, 'HTMLSizeFilterField' ); diff --git a/includes/htmlform/fields/HTMLSubmitField.php b/includes/htmlform/fields/HTMLSubmitField.php index ad5877f07320..f213fc2b7235 100644 --- a/includes/htmlform/fields/HTMLSubmitField.php +++ b/includes/htmlform/fields/HTMLSubmitField.php @@ -22,5 +22,5 @@ class HTMLSubmitField extends HTMLButtonField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLSubmitField::class, 'HTMLSubmitField' ); diff --git a/includes/htmlform/fields/HTMLTagFilter.php b/includes/htmlform/fields/HTMLTagFilter.php index 64492926e483..97172469b275 100644 --- a/includes/htmlform/fields/HTMLTagFilter.php +++ b/includes/htmlform/fields/HTMLTagFilter.php @@ -61,5 +61,5 @@ class HTMLTagFilter extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLTagFilter::class, 'HTMLTagFilter' ); diff --git a/includes/htmlform/fields/HTMLTagMultiselectField.php b/includes/htmlform/fields/HTMLTagMultiselectField.php index c0a1bf0e792b..9eb3431812fb 100644 --- a/includes/htmlform/fields/HTMLTagMultiselectField.php +++ b/includes/htmlform/fields/HTMLTagMultiselectField.php @@ -134,5 +134,5 @@ class HTMLTagMultiselectField extends HTMLTextField { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLTagMultiselectField::class, 'HTMLTagMultiselectField' ); diff --git a/includes/htmlform/fields/HTMLTextAreaField.php b/includes/htmlform/fields/HTMLTextAreaField.php index 4287734b99a7..984d9c065c5e 100644 --- a/includes/htmlform/fields/HTMLTextAreaField.php +++ b/includes/htmlform/fields/HTMLTextAreaField.php @@ -219,5 +219,5 @@ class HTMLTextAreaField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLTextAreaField::class, 'HTMLTextAreaField' ); diff --git a/includes/htmlform/fields/HTMLTextField.php b/includes/htmlform/fields/HTMLTextField.php index c698116a13ed..475ed8989eb2 100644 --- a/includes/htmlform/fields/HTMLTextField.php +++ b/includes/htmlform/fields/HTMLTextField.php @@ -307,5 +307,5 @@ class HTMLTextField extends HTMLFormField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLTextField::class, 'HTMLTextField' ); diff --git a/includes/htmlform/fields/HTMLTextFieldWithButton.php b/includes/htmlform/fields/HTMLTextFieldWithButton.php index af41f968e130..c43c1530d57b 100644 --- a/includes/htmlform/fields/HTMLTextFieldWithButton.php +++ b/includes/htmlform/fields/HTMLTextFieldWithButton.php @@ -32,5 +32,5 @@ class HTMLTextFieldWithButton extends HTMLTextField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLTextFieldWithButton::class, 'HTMLTextFieldWithButton' ); diff --git a/includes/htmlform/fields/HTMLTimezoneField.php b/includes/htmlform/fields/HTMLTimezoneField.php index 9b4a26e034d0..d9f217a74a7f 100644 --- a/includes/htmlform/fields/HTMLTimezoneField.php +++ b/includes/htmlform/fields/HTMLTimezoneField.php @@ -170,5 +170,5 @@ class HTMLTimezoneField extends HTMLSelectOrOtherField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLTimezoneField::class, 'HTMLTimezoneField' ); diff --git a/includes/htmlform/fields/HTMLTitleTextField.php b/includes/htmlform/fields/HTMLTitleTextField.php index 5cd32f2b26ed..84544e4f3067 100644 --- a/includes/htmlform/fields/HTMLTitleTextField.php +++ b/includes/htmlform/fields/HTMLTitleTextField.php @@ -133,5 +133,5 @@ class HTMLTitleTextField extends HTMLTextField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLTitleTextField::class, 'HTMLTitleTextField' ); diff --git a/includes/htmlform/fields/HTMLTitlesMultiselectField.php b/includes/htmlform/fields/HTMLTitlesMultiselectField.php index e2bee5c0ee1a..a9dadb86002f 100644 --- a/includes/htmlform/fields/HTMLTitlesMultiselectField.php +++ b/includes/htmlform/fields/HTMLTitlesMultiselectField.php @@ -155,5 +155,5 @@ class HTMLTitlesMultiselectField extends HTMLTitleTextField { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLTitlesMultiselectField::class, 'HTMLTitlesMultiselectField' ); diff --git a/includes/htmlform/fields/HTMLToggleSwitchField.php b/includes/htmlform/fields/HTMLToggleSwitchField.php index 111a04c42f5e..1c0f68e11642 100644 --- a/includes/htmlform/fields/HTMLToggleSwitchField.php +++ b/includes/htmlform/fields/HTMLToggleSwitchField.php @@ -50,5 +50,5 @@ class HTMLToggleSwitchField extends HTMLCheckField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLToggleSwitchField::class, 'HTMLToggleSwitchField' ); diff --git a/includes/htmlform/fields/HTMLUserTextField.php b/includes/htmlform/fields/HTMLUserTextField.php index 4b2eea2e09fc..0fcc5f496598 100644 --- a/includes/htmlform/fields/HTMLUserTextField.php +++ b/includes/htmlform/fields/HTMLUserTextField.php @@ -150,5 +150,5 @@ class HTMLUserTextField extends HTMLTextField { } } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLUserTextField::class, 'HTMLUserTextField' ); diff --git a/includes/htmlform/fields/HTMLUsersMultiselectField.php b/includes/htmlform/fields/HTMLUsersMultiselectField.php index 7ec7bcff2369..4b338014784c 100644 --- a/includes/htmlform/fields/HTMLUsersMultiselectField.php +++ b/includes/htmlform/fields/HTMLUsersMultiselectField.php @@ -159,5 +159,5 @@ class HTMLUsersMultiselectField extends HTMLUserTextField { } -/** @deprecated since 1.42 */ +/** @deprecated class alias since 1.42 */ class_alias( HTMLUsersMultiselectField::class, 'HTMLUsersMultiselectField' ); diff --git a/includes/installer/DatabaseUpdater.php b/includes/installer/DatabaseUpdater.php index e30f9f904745..d525e4583113 100644 --- a/includes/installer/DatabaseUpdater.php +++ b/includes/installer/DatabaseUpdater.php @@ -1341,7 +1341,5 @@ abstract class DatabaseUpdater { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( DatabaseUpdater::class, 'DatabaseUpdater' ); diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index 8034e801af79..df345520a7d4 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -303,7 +303,5 @@ class MysqlUpdater extends DatabaseUpdater { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( MysqlUpdater::class, 'MysqlUpdater' ); diff --git a/includes/installer/Pingback.php b/includes/installer/Pingback.php index fa2d027d5b81..62a75b524b17 100644 --- a/includes/installer/Pingback.php +++ b/includes/installer/Pingback.php @@ -283,7 +283,5 @@ class Pingback { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( Pingback::class, 'Pingback' ); diff --git a/includes/language/RawMessage.php b/includes/language/RawMessage.php index 02b91f6ff71f..ca1104d2726b 100644 --- a/includes/language/RawMessage.php +++ b/includes/language/RawMessage.php @@ -76,7 +76,5 @@ class RawMessage extends Message { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( RawMessage::class, 'RawMessage' ); diff --git a/includes/libs/Deflate.php b/includes/libs/Deflate.php index b8dc46a52644..43befa268418 100644 --- a/includes/libs/Deflate.php +++ b/includes/libs/Deflate.php @@ -72,7 +72,5 @@ class Deflate { } } -/** - * @deprecated since 1.35 - */ +/** @deprecated class alias since 1.35 */ class_alias( Deflate::class, 'EasyDeflate' ); diff --git a/includes/libs/Diff/ArrayDiffFormatter.php b/includes/libs/Diff/ArrayDiffFormatter.php index e1c0712d403c..6e97e4cf86e8 100644 --- a/includes/libs/Diff/ArrayDiffFormatter.php +++ b/includes/libs/Diff/ArrayDiffFormatter.php @@ -85,5 +85,5 @@ class ArrayDiffFormatter extends DiffFormatter { } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( ArrayDiffFormatter::class, 'ArrayDiffFormatter' ); diff --git a/includes/libs/Diff/ComplexityException.php b/includes/libs/Diff/ComplexityException.php index 09c77badbd5c..7fc3c8475b48 100644 --- a/includes/libs/Diff/ComplexityException.php +++ b/includes/libs/Diff/ComplexityException.php @@ -36,5 +36,5 @@ class ComplexityException extends Exception { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( ComplexityException::class, 'MediaWiki\\Diff\\ComplexityException' ); diff --git a/includes/libs/Diff/Diff.php b/includes/libs/Diff/Diff.php index 803177b3a59b..fcdfa76c8e54 100644 --- a/includes/libs/Diff/Diff.php +++ b/includes/libs/Diff/Diff.php @@ -164,5 +164,5 @@ class Diff { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( Diff::class, 'Diff' ); diff --git a/includes/libs/Diff/DiffEngine.php b/includes/libs/Diff/DiffEngine.php index 4d9e9264a33f..9b88d82cd918 100644 --- a/includes/libs/Diff/DiffEngine.php +++ b/includes/libs/Diff/DiffEngine.php @@ -812,5 +812,5 @@ class DiffEngine { } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( DiffEngine::class, 'DiffEngine' ); diff --git a/includes/libs/Diff/DiffFormatter.php b/includes/libs/Diff/DiffFormatter.php index 181366d3fea4..b5180d508473 100644 --- a/includes/libs/Diff/DiffFormatter.php +++ b/includes/libs/Diff/DiffFormatter.php @@ -255,5 +255,5 @@ abstract class DiffFormatter { } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( DiffFormatter::class, 'DiffFormatter' ); diff --git a/includes/libs/Diff/DiffOp.php b/includes/libs/Diff/DiffOp.php index 5196a63d9554..f65e7e4cb2a9 100644 --- a/includes/libs/Diff/DiffOp.php +++ b/includes/libs/Diff/DiffOp.php @@ -111,5 +111,5 @@ abstract class DiffOp { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( DiffOp::class, 'DiffOp' ); diff --git a/includes/libs/Diff/DiffOpAdd.php b/includes/libs/Diff/DiffOpAdd.php index aaf705022112..0d0391bbd114 100644 --- a/includes/libs/Diff/DiffOpAdd.php +++ b/includes/libs/Diff/DiffOpAdd.php @@ -53,5 +53,5 @@ class DiffOpAdd extends DiffOp { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( DiffOpAdd::class, 'DiffOpAdd' ); diff --git a/includes/libs/Diff/DiffOpChange.php b/includes/libs/Diff/DiffOpChange.php index 7211fefd9436..97a17e7929d2 100644 --- a/includes/libs/Diff/DiffOpChange.php +++ b/includes/libs/Diff/DiffOpChange.php @@ -54,5 +54,5 @@ class DiffOpChange extends DiffOp { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( DiffOpChange::class, 'DiffOpChange' ); diff --git a/includes/libs/Diff/DiffOpCopy.php b/includes/libs/Diff/DiffOpCopy.php index 2797dc1d7512..f634c8857dad 100644 --- a/includes/libs/Diff/DiffOpCopy.php +++ b/includes/libs/Diff/DiffOpCopy.php @@ -57,5 +57,5 @@ class DiffOpCopy extends DiffOp { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( DiffOpCopy::class, 'DiffOpCopy' ); diff --git a/includes/libs/Diff/DiffOpDelete.php b/includes/libs/Diff/DiffOpDelete.php index fef4dd018776..e8da8288060b 100644 --- a/includes/libs/Diff/DiffOpDelete.php +++ b/includes/libs/Diff/DiffOpDelete.php @@ -53,5 +53,5 @@ class DiffOpDelete extends DiffOp { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( DiffOpDelete::class, 'DiffOpDelete' ); diff --git a/includes/libs/Diff/TableDiffFormatter.php b/includes/libs/Diff/TableDiffFormatter.php index 4e5caed5662e..da707d95484c 100644 --- a/includes/libs/Diff/TableDiffFormatter.php +++ b/includes/libs/Diff/TableDiffFormatter.php @@ -323,5 +323,5 @@ class TableDiffFormatter extends DiffFormatter { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( TableDiffFormatter::class, 'TableDiffFormatter' ); diff --git a/includes/libs/Diff/UnifiedDiffFormatter.php b/includes/libs/Diff/UnifiedDiffFormatter.php index bef8da21f9bb..c73e4d5c9021 100644 --- a/includes/libs/Diff/UnifiedDiffFormatter.php +++ b/includes/libs/Diff/UnifiedDiffFormatter.php @@ -86,5 +86,5 @@ class UnifiedDiffFormatter extends DiffFormatter { } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( UnifiedDiffFormatter::class, 'UnifiedDiffFormatter' ); diff --git a/includes/libs/Diff/WordAccumulator.php b/includes/libs/Diff/WordAccumulator.php index a68a4ab2b542..88d554e5216c 100644 --- a/includes/libs/Diff/WordAccumulator.php +++ b/includes/libs/Diff/WordAccumulator.php @@ -110,5 +110,5 @@ class WordAccumulator { } } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( WordAccumulator::class, 'MediaWiki\\Diff\\WordAccumulator' ); diff --git a/includes/libs/Diff/WordLevelDiff.php b/includes/libs/Diff/WordLevelDiff.php index ceca4dd8e717..dd96b5c5dbb1 100644 --- a/includes/libs/Diff/WordLevelDiff.php +++ b/includes/libs/Diff/WordLevelDiff.php @@ -141,5 +141,5 @@ class WordLevelDiff extends Diff { } -/** @deprecated since 1.41 */ +/** @deprecated class alias since 1.41 */ class_alias( WordLevelDiff::class, 'WordLevelDiff' ); diff --git a/includes/libs/Emptiable.php b/includes/libs/Emptiable.php index 8f7c86b73809..d206aaacb0c6 100644 --- a/includes/libs/Emptiable.php +++ b/includes/libs/Emptiable.php @@ -14,7 +14,5 @@ interface Emptiable { } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( Emptiable::class, 'MediaWiki\\Emptiable' ); diff --git a/includes/libs/eventrelayer/EventRelayer.php b/includes/libs/eventrelayer/EventRelayer.php index b8e711745f90..fa58ef3424ef 100644 --- a/includes/libs/eventrelayer/EventRelayer.php +++ b/includes/libs/eventrelayer/EventRelayer.php @@ -72,7 +72,5 @@ abstract class EventRelayer implements LoggerAwareInterface { abstract protected function doNotify( $channel, array $events ); } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( EventRelayer::class, 'EventRelayer' ); diff --git a/includes/libs/eventrelayer/EventRelayerGroup.php b/includes/libs/eventrelayer/EventRelayerGroup.php index efd6691f37e1..53005c187af3 100644 --- a/includes/libs/eventrelayer/EventRelayerGroup.php +++ b/includes/libs/eventrelayer/EventRelayerGroup.php @@ -65,7 +65,5 @@ class EventRelayerGroup { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( EventRelayerGroup::class, 'EventRelayerGroup' ); diff --git a/includes/libs/eventrelayer/EventRelayerNull.php b/includes/libs/eventrelayer/EventRelayerNull.php index 4439ad85e70c..e0e48fc42b2e 100644 --- a/includes/libs/eventrelayer/EventRelayerNull.php +++ b/includes/libs/eventrelayer/EventRelayerNull.php @@ -29,7 +29,5 @@ class EventRelayerNull extends EventRelayer { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( EventRelayerNull::class, 'EventRelayerNull' ); diff --git a/includes/libs/rdbms/ConfiguredReadOnlyMode.php b/includes/libs/rdbms/ConfiguredReadOnlyMode.php index 72f24581352f..a3648e8ce62b 100644 --- a/includes/libs/rdbms/ConfiguredReadOnlyMode.php +++ b/includes/libs/rdbms/ConfiguredReadOnlyMode.php @@ -71,7 +71,5 @@ class ConfiguredReadOnlyMode { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ConfiguredReadOnlyMode::class, 'ConfiguredReadOnlyMode' ); diff --git a/includes/libs/rdbms/ReadOnlyMode.php b/includes/libs/rdbms/ReadOnlyMode.php index 6068abb6798a..8e2becc65962 100644 --- a/includes/libs/rdbms/ReadOnlyMode.php +++ b/includes/libs/rdbms/ReadOnlyMode.php @@ -86,7 +86,5 @@ class ReadOnlyMode { } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ReadOnlyMode::class, 'ReadOnlyMode' ); diff --git a/includes/libs/rdbms/database/DatabaseMySQL.php b/includes/libs/rdbms/database/DatabaseMySQL.php index 253949f9fd39..17ed7ab9d980 100644 --- a/includes/libs/rdbms/database/DatabaseMySQL.php +++ b/includes/libs/rdbms/database/DatabaseMySQL.php @@ -904,12 +904,8 @@ class DatabaseMySQL extends Database { } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DatabaseMySQL::class, 'DatabaseMysqlBase' ); -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DatabaseMySQL::class, 'DatabaseMysqli' ); diff --git a/includes/libs/rdbms/database/IMaintainableDatabase.php b/includes/libs/rdbms/database/IMaintainableDatabase.php index 3db355f81368..5983d91e3665 100644 --- a/includes/libs/rdbms/database/IMaintainableDatabase.php +++ b/includes/libs/rdbms/database/IMaintainableDatabase.php @@ -225,7 +225,5 @@ interface IMaintainableDatabase extends IDatabase { public function tableExists( $table, $fname = __METHOD__ ); } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( IMaintainableDatabase::class, 'IMaintainableDatabase' ); diff --git a/includes/libs/rdbms/database/MaintainableDBConnRef.php b/includes/libs/rdbms/database/MaintainableDBConnRef.php index d0a8659f84d6..5f953ac888fb 100644 --- a/includes/libs/rdbms/database/MaintainableDBConnRef.php +++ b/includes/libs/rdbms/database/MaintainableDBConnRef.php @@ -2,13 +2,9 @@ namespace Wikimedia\Rdbms; -/** - * @deprecated since 1.39 use DBConnRef - */ +/** @deprecated since 1.39 use DBConnRef */ class MaintainableDBConnRef extends DBConnRef { } -/** - * @deprecated since 1.33 - */ +/** @deprecated class alias since 1.33 */ class_alias( MaintainableDBConnRef::class, 'MaintainableDBConnRef' ); diff --git a/includes/libs/rdbms/encasing/Blob.php b/includes/libs/rdbms/encasing/Blob.php index 2644185e541b..dba24daa90cb 100644 --- a/includes/libs/rdbms/encasing/Blob.php +++ b/includes/libs/rdbms/encasing/Blob.php @@ -23,7 +23,5 @@ class Blob implements IBlob { } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( Blob::class, 'Blob' ); diff --git a/includes/libs/rdbms/exception/DBAccessError.php b/includes/libs/rdbms/exception/DBAccessError.php index 320e35f5b33b..85bb9eb50b4a 100644 --- a/includes/libs/rdbms/exception/DBAccessError.php +++ b/includes/libs/rdbms/exception/DBAccessError.php @@ -34,7 +34,5 @@ class DBAccessError extends DBUnexpectedError { } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBAccessError::class, 'DBAccessError' ); diff --git a/includes/libs/rdbms/exception/DBConnectionError.php b/includes/libs/rdbms/exception/DBConnectionError.php index 68dc9feb240e..9dd781599269 100644 --- a/includes/libs/rdbms/exception/DBConnectionError.php +++ b/includes/libs/rdbms/exception/DBConnectionError.php @@ -39,7 +39,5 @@ class DBConnectionError extends DBExpectedError { } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBConnectionError::class, 'DBConnectionError' ); diff --git a/includes/libs/rdbms/exception/DBError.php b/includes/libs/rdbms/exception/DBError.php index 49a15921a9fb..60f7915cbbfb 100644 --- a/includes/libs/rdbms/exception/DBError.php +++ b/includes/libs/rdbms/exception/DBError.php @@ -50,7 +50,5 @@ class DBError extends RuntimeException { } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBError::class, 'DBError' ); diff --git a/includes/libs/rdbms/exception/DBExpectedError.php b/includes/libs/rdbms/exception/DBExpectedError.php index 47b4ecc64ccb..9a9ef192fe2a 100644 --- a/includes/libs/rdbms/exception/DBExpectedError.php +++ b/includes/libs/rdbms/exception/DBExpectedError.php @@ -56,7 +56,5 @@ class DBExpectedError extends DBError implements MessageSpecifier { } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBExpectedError::class, 'DBExpectedError' ); diff --git a/includes/libs/rdbms/exception/DBQueryError.php b/includes/libs/rdbms/exception/DBQueryError.php index 65dd9428d7c3..b0b6de6e6cd4 100644 --- a/includes/libs/rdbms/exception/DBQueryError.php +++ b/includes/libs/rdbms/exception/DBQueryError.php @@ -58,7 +58,5 @@ class DBQueryError extends DBExpectedError { } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBQueryError::class, 'DBQueryError' ); diff --git a/includes/libs/rdbms/exception/DBReadOnlyError.php b/includes/libs/rdbms/exception/DBReadOnlyError.php index 6b2e43bf90be..8c53ccbfc6df 100644 --- a/includes/libs/rdbms/exception/DBReadOnlyError.php +++ b/includes/libs/rdbms/exception/DBReadOnlyError.php @@ -26,7 +26,5 @@ namespace Wikimedia\Rdbms; class DBReadOnlyError extends DBExpectedError { } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBReadOnlyError::class, 'DBReadOnlyError' ); diff --git a/includes/libs/rdbms/exception/DBReplicationWaitError.php b/includes/libs/rdbms/exception/DBReplicationWaitError.php index decf1dae04b5..0d0ce825a377 100644 --- a/includes/libs/rdbms/exception/DBReplicationWaitError.php +++ b/includes/libs/rdbms/exception/DBReplicationWaitError.php @@ -27,7 +27,5 @@ namespace Wikimedia\Rdbms; class DBReplicationWaitError extends DBExpectedError { } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBReplicationWaitError::class, 'DBReplicationWaitError' ); diff --git a/includes/libs/rdbms/exception/DBTransactionError.php b/includes/libs/rdbms/exception/DBTransactionError.php index 98cf1080666e..f77efa1170a2 100644 --- a/includes/libs/rdbms/exception/DBTransactionError.php +++ b/includes/libs/rdbms/exception/DBTransactionError.php @@ -52,7 +52,5 @@ class DBTransactionError extends DBExpectedError implements INormalizedException } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBTransactionError::class, 'DBTransactionError' ); diff --git a/includes/libs/rdbms/exception/DBTransactionSizeError.php b/includes/libs/rdbms/exception/DBTransactionSizeError.php index f06a508902d2..76d2758a25ca 100644 --- a/includes/libs/rdbms/exception/DBTransactionSizeError.php +++ b/includes/libs/rdbms/exception/DBTransactionSizeError.php @@ -29,7 +29,5 @@ class DBTransactionSizeError extends DBTransactionError { } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBTransactionSizeError::class, 'DBTransactionSizeError' ); diff --git a/includes/libs/rdbms/exception/DBUnexpectedError.php b/includes/libs/rdbms/exception/DBUnexpectedError.php index f1404aec8957..7699efcb93c3 100644 --- a/includes/libs/rdbms/exception/DBUnexpectedError.php +++ b/includes/libs/rdbms/exception/DBUnexpectedError.php @@ -26,7 +26,5 @@ namespace Wikimedia\Rdbms; class DBUnexpectedError extends DBError { } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( DBUnexpectedError::class, 'DBUnexpectedError' ); diff --git a/includes/libs/rdbms/field/Field.php b/includes/libs/rdbms/field/Field.php index a33b2555e572..ed99542a4502 100644 --- a/includes/libs/rdbms/field/Field.php +++ b/includes/libs/rdbms/field/Field.php @@ -32,7 +32,5 @@ interface Field { public function isNullable(); } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( Field::class, 'Field' ); diff --git a/includes/libs/rdbms/loadbalancer/LoadBalancer.php b/includes/libs/rdbms/loadbalancer/LoadBalancer.php index 7ea9b748b0c7..ecba085dd508 100644 --- a/includes/libs/rdbms/loadbalancer/LoadBalancer.php +++ b/includes/libs/rdbms/loadbalancer/LoadBalancer.php @@ -1985,7 +1985,5 @@ class LoadBalancer implements ILoadBalancerForOwner { } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( LoadBalancer::class, 'LoadBalancer' ); diff --git a/includes/libs/rdbms/loadbalancer/LoadBalancerSingle.php b/includes/libs/rdbms/loadbalancer/LoadBalancerSingle.php index b73859ef4d21..cf8de47091bb 100644 --- a/includes/libs/rdbms/loadbalancer/LoadBalancerSingle.php +++ b/includes/libs/rdbms/loadbalancer/LoadBalancerSingle.php @@ -96,7 +96,5 @@ class LoadBalancerSingle extends LoadBalancer { } } -/** - * @deprecated since 1.29 - */ +/** @deprecated class alias since 1.29 */ class_alias( LoadBalancerSingle::class, 'LoadBalancerSingle' ); diff --git a/includes/linkeddata/PageDataRequestHandler.php b/includes/linkeddata/PageDataRequestHandler.php index 66d042bc1ad2..0b1ed32c9120 100644 --- a/includes/linkeddata/PageDataRequestHandler.php +++ b/includes/linkeddata/PageDataRequestHandler.php @@ -187,7 +187,5 @@ class PageDataRequestHandler { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( PageDataRequestHandler::class, 'PageDataRequestHandler' ); diff --git a/includes/linker/DummyLinker.php b/includes/linker/DummyLinker.php index 137d51ba1fde..68cef718f122 100644 --- a/includes/linker/DummyLinker.php +++ b/includes/linker/DummyLinker.php @@ -641,7 +641,5 @@ class DummyLinker { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( DummyLinker::class, 'DummyLinker' ); diff --git a/includes/linker/Linker.php b/includes/linker/Linker.php index 4b561f646af9..8b29f3b2249b 100644 --- a/includes/linker/Linker.php +++ b/includes/linker/Linker.php @@ -2476,7 +2476,5 @@ class Linker { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( Linker::class, 'Linker' ); diff --git a/includes/logging/LogPager.php b/includes/logging/LogPager.php index 7c7e73ed2adb..9117b758cb44 100644 --- a/includes/logging/LogPager.php +++ b/includes/logging/LogPager.php @@ -537,8 +537,5 @@ class LogPager extends ReverseChronologicalPager { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( LogPager::class, 'LogPager' ); diff --git a/includes/page/File/BadFileLookup.php b/includes/page/File/BadFileLookup.php index f4a573d223a9..1c619804e14d 100644 --- a/includes/page/File/BadFileLookup.php +++ b/includes/page/File/BadFileLookup.php @@ -140,7 +140,5 @@ class BadFileLookup { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( BadFileLookup::class, 'MediaWiki\\BadFileLookup' ); diff --git a/includes/page/File/FileDeleteForm.php b/includes/page/File/FileDeleteForm.php index 4d88fa57c198..9f94891b419f 100644 --- a/includes/page/File/FileDeleteForm.php +++ b/includes/page/File/FileDeleteForm.php @@ -172,7 +172,5 @@ class FileDeleteForm { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( FileDeleteForm::class, 'FileDeleteForm' ); diff --git a/includes/page/MergeHistory.php b/includes/page/MergeHistory.php index 98a10a37bd0a..f90cb00a1115 100644 --- a/includes/page/MergeHistory.php +++ b/includes/page/MergeHistory.php @@ -645,7 +645,5 @@ class MergeHistory { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( MergeHistory::class, 'MergeHistory' ); diff --git a/includes/page/MovePage.php b/includes/page/MovePage.php index 33a9f6bf411a..f398c146f1ed 100644 --- a/includes/page/MovePage.php +++ b/includes/page/MovePage.php @@ -1063,7 +1063,5 @@ class MovePage { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( MovePage::class, 'MovePage' ); diff --git a/includes/page/PageProps.php b/includes/page/PageProps.php index 205293758abb..e395c26a081b 100644 --- a/includes/page/PageProps.php +++ b/includes/page/PageProps.php @@ -288,7 +288,5 @@ class PageProps { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( PageProps::class, 'PageProps' ); diff --git a/includes/page/ProtectionForm.php b/includes/page/ProtectionForm.php index 2d5e400f2ac3..a4111583fdd0 100644 --- a/includes/page/ProtectionForm.php +++ b/includes/page/ProtectionForm.php @@ -663,7 +663,5 @@ class ProtectionForm { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( ProtectionForm::class, 'ProtectionForm' ); diff --git a/includes/pager/AlphabeticPager.php b/includes/pager/AlphabeticPager.php index 68527f7fdd7c..336f5bcf1773 100644 --- a/includes/pager/AlphabeticPager.php +++ b/includes/pager/AlphabeticPager.php @@ -53,8 +53,5 @@ abstract class AlphabeticPager extends IndexPager { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( AlphabeticPager::class, 'AlphabeticPager' ); diff --git a/includes/pager/IndexPager.php b/includes/pager/IndexPager.php index cef5d7f52dd7..7576b6b582ca 100644 --- a/includes/pager/IndexPager.php +++ b/includes/pager/IndexPager.php @@ -966,8 +966,5 @@ abstract class IndexPager extends ContextSource implements Pager { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( IndexPager::class, 'IndexPager' ); diff --git a/includes/pager/Pager.php b/includes/pager/Pager.php index 822d1647e804..d361994560b0 100644 --- a/includes/pager/Pager.php +++ b/includes/pager/Pager.php @@ -39,8 +39,5 @@ interface Pager { public function getBody(); } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( Pager::class, 'Pager' ); diff --git a/includes/pager/RangeChronologicalPager.php b/includes/pager/RangeChronologicalPager.php index da320b8d70b4..931438c9d8fa 100644 --- a/includes/pager/RangeChronologicalPager.php +++ b/includes/pager/RangeChronologicalPager.php @@ -118,8 +118,5 @@ abstract class RangeChronologicalPager extends ReverseChronologicalPager { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( RangeChronologicalPager::class, 'RangeChronologicalPager' ); diff --git a/includes/pager/ReverseChronologicalPager.php b/includes/pager/ReverseChronologicalPager.php index abd590b900fe..20525015816c 100644 --- a/includes/pager/ReverseChronologicalPager.php +++ b/includes/pager/ReverseChronologicalPager.php @@ -335,8 +335,5 @@ abstract class ReverseChronologicalPager extends IndexPager { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ReverseChronologicalPager::class, 'ReverseChronologicalPager' ); diff --git a/includes/pager/TablePager.php b/includes/pager/TablePager.php index 3c33cd9fc283..7126b2af21c4 100644 --- a/includes/pager/TablePager.php +++ b/includes/pager/TablePager.php @@ -500,8 +500,5 @@ abstract class TablePager extends IndexPager { abstract protected function getFieldNames(); } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( TablePager::class, 'TablePager' ); diff --git a/includes/parser/Hook/ParserModifyImageHTMLHook.php b/includes/parser/Hook/ParserModifyImageHTMLHook.php index 27b2a619460b..1ba1d958627f 100644 --- a/includes/parser/Hook/ParserModifyImageHTMLHook.php +++ b/includes/parser/Hook/ParserModifyImageHTMLHook.php @@ -29,8 +29,5 @@ interface ParserModifyImageHTMLHook { array $params, string &$html ): void; } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ParserModifyImageHTMLHook::class, 'MediaWiki\Hook\ParserModifyImageHTML' ); diff --git a/includes/parser/MagicWord.php b/includes/parser/MagicWord.php index eae3370036ad..dd3274e1bd9d 100644 --- a/includes/parser/MagicWord.php +++ b/includes/parser/MagicWord.php @@ -287,7 +287,5 @@ class MagicWord { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( MagicWord::class, 'MagicWord' ); diff --git a/includes/parser/MagicWordArray.php b/includes/parser/MagicWordArray.php index 51d30916ca9a..1103259dbf2a 100644 --- a/includes/parser/MagicWordArray.php +++ b/includes/parser/MagicWordArray.php @@ -339,7 +339,5 @@ class MagicWordArray { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( MagicWordArray::class, 'MagicWordArray' ); diff --git a/includes/parser/MagicWordFactory.php b/includes/parser/MagicWordFactory.php index 6c75a1c9dbda..ce5fb19d8807 100644 --- a/includes/parser/MagicWordFactory.php +++ b/includes/parser/MagicWordFactory.php @@ -243,7 +243,5 @@ class MagicWordFactory { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( MagicWordFactory::class, 'MagicWordFactory' ); diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index 6cd7af81e13f..9fd1e58607ff 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -6478,8 +6478,5 @@ class Parser { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( Parser::class, 'Parser' ); diff --git a/includes/parser/ParserOutput.php b/includes/parser/ParserOutput.php index 23c8b7cc005a..d8ea44147191 100644 --- a/includes/parser/ParserOutput.php +++ b/includes/parser/ParserOutput.php @@ -2873,7 +2873,5 @@ class ParserOutput extends CacheTime implements ContentMetadataCollector { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( ParserOutput::class, 'ParserOutput' ); diff --git a/includes/parser/Sanitizer.php b/includes/parser/Sanitizer.php index 004ab86ac4f4..d44197e4551e 100644 --- a/includes/parser/Sanitizer.php +++ b/includes/parser/Sanitizer.php @@ -1820,8 +1820,5 @@ class Sanitizer { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( Sanitizer::class, 'Sanitizer' ); diff --git a/includes/password/Pbkdf2PasswordUsingHashExtension.php b/includes/password/Pbkdf2PasswordUsingHashExtension.php index 65743891f20a..170512ecf66c 100644 --- a/includes/password/Pbkdf2PasswordUsingHashExtension.php +++ b/includes/password/Pbkdf2PasswordUsingHashExtension.php @@ -29,7 +29,7 @@ declare( strict_types = 1 ); * password hashes were generated using an algorithm not supported by OpenSSL, or the * OpenSSL PHP extension is unavailable, Pbkdf2PasswordUsingOpenSSL should be used. * - * @since 1.40 + * @since 1.40 (since 1.29 under the old name) */ class Pbkdf2PasswordUsingHashExtension extends AbstractPbkdf2Password { protected function getDigestAlgo( string $algo ): ?string { @@ -54,12 +54,5 @@ class Pbkdf2PasswordUsingHashExtension extends AbstractPbkdf2Password { } } -/** - * Retain the old class name for backwards compatibility. - * - * In particular, old LocalSettings.php files may reference the old class name. - * - * @deprecated since 1.40 - * @since 1.24 - */ +/** @deprecated class alias since 1.40 */ class_alias( Pbkdf2PasswordUsingHashExtension::class, 'Pbkdf2Password' ); diff --git a/includes/poolcounter/PoolCounter.php b/includes/poolcounter/PoolCounter.php index db9aac8fd312..67b98d9d338a 100644 --- a/includes/poolcounter/PoolCounter.php +++ b/includes/poolcounter/PoolCounter.php @@ -244,7 +244,5 @@ abstract class PoolCounter implements LoggerAwareInterface { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( PoolCounter::class, 'PoolCounter' ); diff --git a/includes/poolcounter/PoolCounterNull.php b/includes/poolcounter/PoolCounterNull.php index 36b4d0a2ac5f..308f341eb351 100644 --- a/includes/poolcounter/PoolCounterNull.php +++ b/includes/poolcounter/PoolCounterNull.php @@ -47,7 +47,5 @@ class PoolCounterNull extends PoolCounter { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( PoolCounterNull::class, 'PoolCounterNull' ); diff --git a/includes/poolcounter/PoolCounterRedis.php b/includes/poolcounter/PoolCounterRedis.php index 35c3253cd272..007a0102552d 100644 --- a/includes/poolcounter/PoolCounterRedis.php +++ b/includes/poolcounter/PoolCounterRedis.php @@ -448,7 +448,5 @@ LUA; } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( PoolCounterRedis::class, 'PoolCounterRedis' ); diff --git a/includes/poolcounter/PoolCounterWork.php b/includes/poolcounter/PoolCounterWork.php index 7ba14e953e2b..de85ea647a95 100644 --- a/includes/poolcounter/PoolCounterWork.php +++ b/includes/poolcounter/PoolCounterWork.php @@ -207,7 +207,5 @@ abstract class PoolCounterWork { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( PoolCounterWork::class, 'PoolCounterWork' ); diff --git a/includes/poolcounter/PoolCounterWorkViaCallback.php b/includes/poolcounter/PoolCounterWorkViaCallback.php index d79aa87b217d..740f3fe18824 100644 --- a/includes/poolcounter/PoolCounterWorkViaCallback.php +++ b/includes/poolcounter/PoolCounterWorkViaCallback.php @@ -95,7 +95,5 @@ class PoolCounterWorkViaCallback extends PoolCounterWork { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( PoolCounterWorkViaCallback::class, 'PoolCounterWorkViaCallback' ); diff --git a/includes/poolcounter/PoolWorkArticleView.php b/includes/poolcounter/PoolWorkArticleView.php index 5fe4beb8a556..ae6fcee98f94 100644 --- a/includes/poolcounter/PoolWorkArticleView.php +++ b/includes/poolcounter/PoolWorkArticleView.php @@ -103,7 +103,5 @@ class PoolWorkArticleView extends PoolCounterWork { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( PoolWorkArticleView::class, 'PoolWorkArticleView' ); diff --git a/includes/poolcounter/PoolWorkArticleViewCurrent.php b/includes/poolcounter/PoolWorkArticleViewCurrent.php index bd86b47ee726..b54aa06af18d 100644 --- a/includes/poolcounter/PoolWorkArticleViewCurrent.php +++ b/includes/poolcounter/PoolWorkArticleViewCurrent.php @@ -190,7 +190,5 @@ class PoolWorkArticleViewCurrent extends PoolWorkArticleView { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( PoolWorkArticleViewCurrent::class, 'PoolWorkArticleViewCurrent' ); diff --git a/includes/poolcounter/PoolWorkArticleViewOld.php b/includes/poolcounter/PoolWorkArticleViewOld.php index a5004695a37e..9303bc3a974d 100644 --- a/includes/poolcounter/PoolWorkArticleViewOld.php +++ b/includes/poolcounter/PoolWorkArticleViewOld.php @@ -89,7 +89,5 @@ class PoolWorkArticleViewOld extends PoolWorkArticleView { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( PoolWorkArticleViewOld::class, 'PoolWorkArticleViewOld' ); diff --git a/includes/rcfeed/FormattedRCFeed.php b/includes/rcfeed/FormattedRCFeed.php index e51e89ba6e1d..179dd2c5e18b 100644 --- a/includes/rcfeed/FormattedRCFeed.php +++ b/includes/rcfeed/FormattedRCFeed.php @@ -69,9 +69,5 @@ abstract class FormattedRCFeed extends RCFeed { } } -/** - * Backward-compatibility alias. - * @since 1.22 - * @deprecated since 1.29 Use FormattedRCFeed instead - */ +/** @deprecated class alias since 1.22 */ class_alias( FormattedRCFeed::class, 'RCFeedEngine' ); diff --git a/includes/site/CachingSiteStore.php b/includes/site/CachingSiteStore.php index f32e169ef558..62a8eb6ea14a 100644 --- a/includes/site/CachingSiteStore.php +++ b/includes/site/CachingSiteStore.php @@ -169,7 +169,5 @@ class CachingSiteStore implements SiteStore { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( CachingSiteStore::class, 'CachingSiteStore' ); diff --git a/includes/site/DBSiteStore.php b/includes/site/DBSiteStore.php index f4b2f918b1f8..cd37a2e9f11c 100644 --- a/includes/site/DBSiteStore.php +++ b/includes/site/DBSiteStore.php @@ -258,7 +258,5 @@ class DBSiteStore implements SiteStore { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( DBSiteStore::class, 'DBSiteStore' ); diff --git a/includes/site/HashSiteStore.php b/includes/site/HashSiteStore.php index b71b628f20a9..f2347c31b50c 100644 --- a/includes/site/HashSiteStore.php +++ b/includes/site/HashSiteStore.php @@ -110,7 +110,5 @@ class HashSiteStore implements SiteStore { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( HashSiteStore::class, 'HashSiteStore' ); diff --git a/includes/site/MediaWikiSite.php b/includes/site/MediaWikiSite.php index d555aee6081a..85c58bc0482b 100644 --- a/includes/site/MediaWikiSite.php +++ b/includes/site/MediaWikiSite.php @@ -216,7 +216,5 @@ class MediaWikiSite extends Site { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( MediaWikiSite::class, 'MediaWikiSite' ); diff --git a/includes/site/Site.php b/includes/site/Site.php index 38f825e9596b..3403425fc8aa 100644 --- a/includes/site/Site.php +++ b/includes/site/Site.php @@ -673,7 +673,5 @@ class Site { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( Site::class, 'Site' ); diff --git a/includes/site/SiteExporter.php b/includes/site/SiteExporter.php index 17e71799d57c..fd03b4f4bfb3 100644 --- a/includes/site/SiteExporter.php +++ b/includes/site/SiteExporter.php @@ -119,7 +119,5 @@ class SiteExporter { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( SiteExporter::class, 'SiteExporter' ); diff --git a/includes/site/SiteImporter.php b/includes/site/SiteImporter.php index 4b0fd1da1ea9..0ba2e2eae68f 100644 --- a/includes/site/SiteImporter.php +++ b/includes/site/SiteImporter.php @@ -270,7 +270,5 @@ class SiteImporter { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( SiteImporter::class, 'SiteImporter' ); diff --git a/includes/site/SiteList.php b/includes/site/SiteList.php index dc29afa6fc33..784e9dfb67e8 100644 --- a/includes/site/SiteList.php +++ b/includes/site/SiteList.php @@ -431,7 +431,5 @@ class SiteList extends ArrayObject { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( SiteList::class, 'SiteList' ); diff --git a/includes/site/SiteLookup.php b/includes/site/SiteLookup.php index 792aea7dc3c3..ff6bad17bea5 100644 --- a/includes/site/SiteLookup.php +++ b/includes/site/SiteLookup.php @@ -49,7 +49,5 @@ interface SiteLookup { } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( SiteLookup::class, 'SiteLookup' ); diff --git a/includes/site/SiteStore.php b/includes/site/SiteStore.php index f078084c5015..e922e35228c2 100644 --- a/includes/site/SiteStore.php +++ b/includes/site/SiteStore.php @@ -56,7 +56,5 @@ interface SiteStore extends SiteLookup { public function clear(); } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( SiteStore::class, 'SiteStore' ); diff --git a/includes/specialpage/AuthManagerSpecialPage.php b/includes/specialpage/AuthManagerSpecialPage.php index 5ea0c0c219cb..2f387b79164c 100644 --- a/includes/specialpage/AuthManagerSpecialPage.php +++ b/includes/specialpage/AuthManagerSpecialPage.php @@ -865,8 +865,5 @@ abstract class AuthManagerSpecialPage extends SpecialPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( AuthManagerSpecialPage::class, 'AuthManagerSpecialPage' ); diff --git a/includes/specialpage/ChangesListSpecialPage.php b/includes/specialpage/ChangesListSpecialPage.php index 1c1c0c6fcd82..de0f4cd7779d 100644 --- a/includes/specialpage/ChangesListSpecialPage.php +++ b/includes/specialpage/ChangesListSpecialPage.php @@ -2031,8 +2031,5 @@ abstract class ChangesListSpecialPage extends SpecialPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ChangesListSpecialPage::class, 'ChangesListSpecialPage' ); diff --git a/includes/specialpage/DisabledSpecialPage.php b/includes/specialpage/DisabledSpecialPage.php index 5169f1d60106..f4a232b4ad37 100644 --- a/includes/specialpage/DisabledSpecialPage.php +++ b/includes/specialpage/DisabledSpecialPage.php @@ -76,8 +76,5 @@ class DisabledSpecialPage extends UnlistedSpecialPage { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( DisabledSpecialPage::class, 'DisabledSpecialPage' ); diff --git a/includes/specialpage/FormSpecialPage.php b/includes/specialpage/FormSpecialPage.php index e470dc543cb0..573250cee211 100644 --- a/includes/specialpage/FormSpecialPage.php +++ b/includes/specialpage/FormSpecialPage.php @@ -325,8 +325,5 @@ abstract class FormSpecialPage extends SpecialPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( FormSpecialPage::class, 'FormSpecialPage' ); diff --git a/includes/specialpage/ImageQueryPage.php b/includes/specialpage/ImageQueryPage.php index 7e3f0bee0a6a..5a9bd3e51fed 100644 --- a/includes/specialpage/ImageQueryPage.php +++ b/includes/specialpage/ImageQueryPage.php @@ -102,8 +102,5 @@ abstract class ImageQueryPage extends QueryPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ImageQueryPage::class, 'ImageQueryPage' ); diff --git a/includes/specialpage/IncludableSpecialPage.php b/includes/specialpage/IncludableSpecialPage.php index edc0ed4c3578..fb5aa2907ade 100644 --- a/includes/specialpage/IncludableSpecialPage.php +++ b/includes/specialpage/IncludableSpecialPage.php @@ -40,8 +40,5 @@ class IncludableSpecialPage extends SpecialPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( IncludableSpecialPage::class, 'IncludableSpecialPage' ); diff --git a/includes/specialpage/LoginSignupSpecialPage.php b/includes/specialpage/LoginSignupSpecialPage.php index d6843390ab8e..5dfeec0140aa 100644 --- a/includes/specialpage/LoginSignupSpecialPage.php +++ b/includes/specialpage/LoginSignupSpecialPage.php @@ -1348,8 +1348,5 @@ abstract class LoginSignupSpecialPage extends AuthManagerSpecialPage { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( LoginSignupSpecialPage::class, 'LoginSignupSpecialPage' ); diff --git a/includes/specialpage/PageQueryPage.php b/includes/specialpage/PageQueryPage.php index e49fc99dd6e8..ad1669d2a053 100644 --- a/includes/specialpage/PageQueryPage.php +++ b/includes/specialpage/PageQueryPage.php @@ -105,8 +105,5 @@ abstract class PageQueryPage extends QueryPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( PageQueryPage::class, 'PageQueryPage' ); diff --git a/includes/specialpage/QueryPage.php b/includes/specialpage/QueryPage.php index 44d3e3f4bf24..82cc4f327289 100644 --- a/includes/specialpage/QueryPage.php +++ b/includes/specialpage/QueryPage.php @@ -997,8 +997,5 @@ abstract class QueryPage extends SpecialPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( QueryPage::class, 'QueryPage' ); diff --git a/includes/specialpage/RedirectSpecialArticle.php b/includes/specialpage/RedirectSpecialArticle.php index 2644f175192d..9ddfe1313c82 100644 --- a/includes/specialpage/RedirectSpecialArticle.php +++ b/includes/specialpage/RedirectSpecialArticle.php @@ -141,8 +141,5 @@ abstract class RedirectSpecialArticle extends RedirectSpecialPage { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( RedirectSpecialArticle::class, 'RedirectSpecialArticle' ); diff --git a/includes/specialpage/RedirectSpecialPage.php b/includes/specialpage/RedirectSpecialPage.php index 4e555cc62414..bf46b040abdb 100644 --- a/includes/specialpage/RedirectSpecialPage.php +++ b/includes/specialpage/RedirectSpecialPage.php @@ -123,8 +123,5 @@ abstract class RedirectSpecialPage extends UnlistedSpecialPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( RedirectSpecialPage::class, 'RedirectSpecialPage' ); diff --git a/includes/specialpage/SpecialPage.php b/includes/specialpage/SpecialPage.php index 3931ec3804dc..7b57d47003d9 100644 --- a/includes/specialpage/SpecialPage.php +++ b/includes/specialpage/SpecialPage.php @@ -1216,8 +1216,5 @@ class SpecialPage implements MessageLocalizer { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialPage::class, 'SpecialPage' ); diff --git a/includes/specialpage/SpecialRedirectToSpecial.php b/includes/specialpage/SpecialRedirectToSpecial.php index 2295e603fe63..310affd13726 100644 --- a/includes/specialpage/SpecialRedirectToSpecial.php +++ b/includes/specialpage/SpecialRedirectToSpecial.php @@ -70,8 +70,5 @@ abstract class SpecialRedirectToSpecial extends RedirectSpecialPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialRedirectToSpecial::class, 'SpecialRedirectToSpecial' ); diff --git a/includes/specialpage/SpecialRedirectWithAction.php b/includes/specialpage/SpecialRedirectWithAction.php index a2bf5e3aaefa..0195b939827d 100644 --- a/includes/specialpage/SpecialRedirectWithAction.php +++ b/includes/specialpage/SpecialRedirectWithAction.php @@ -156,8 +156,5 @@ abstract class SpecialRedirectWithAction extends RedirectSpecialPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialRedirectWithAction::class, 'SpecialRedirectWithAction' ); diff --git a/includes/specialpage/UnlistedSpecialPage.php b/includes/specialpage/UnlistedSpecialPage.php index 380b951c2af9..f671b12a78a0 100644 --- a/includes/specialpage/UnlistedSpecialPage.php +++ b/includes/specialpage/UnlistedSpecialPage.php @@ -49,8 +49,5 @@ class UnlistedSpecialPage extends SpecialPage { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( UnlistedSpecialPage::class, 'UnlistedSpecialPage' ); diff --git a/includes/specialpage/WantedQueryPage.php b/includes/specialpage/WantedQueryPage.php index b0f9480be5df..4643308d2d6b 100644 --- a/includes/specialpage/WantedQueryPage.php +++ b/includes/specialpage/WantedQueryPage.php @@ -165,8 +165,5 @@ abstract class WantedQueryPage extends QueryPage { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( WantedQueryPage::class, 'WantedQueryPage' ); diff --git a/includes/specials/SpecialActiveUsers.php b/includes/specials/SpecialActiveUsers.php index 83e793273747..4e39ab1ca3ad 100644 --- a/includes/specials/SpecialActiveUsers.php +++ b/includes/specials/SpecialActiveUsers.php @@ -227,7 +227,5 @@ class SpecialActiveUsers extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialActiveUsers::class, 'SpecialActiveUsers' ); diff --git a/includes/specials/SpecialAllMessages.php b/includes/specials/SpecialAllMessages.php index 3f963e50468e..2d0a0a9ab011 100644 --- a/includes/specials/SpecialAllMessages.php +++ b/includes/specials/SpecialAllMessages.php @@ -178,7 +178,5 @@ class SpecialAllMessages extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialAllMessages::class, 'SpecialAllMessages' ); diff --git a/includes/specials/SpecialAllPages.php b/includes/specials/SpecialAllPages.php index 75539559f1fa..47dcf7373827 100644 --- a/includes/specials/SpecialAllPages.php +++ b/includes/specials/SpecialAllPages.php @@ -410,7 +410,5 @@ class SpecialAllPages extends IncludableSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialAllPages::class, 'SpecialAllPages' ); diff --git a/includes/specials/SpecialAncientPages.php b/includes/specials/SpecialAncientPages.php index 4abddcb8e93c..db5e7b71bdf8 100644 --- a/includes/specials/SpecialAncientPages.php +++ b/includes/specials/SpecialAncientPages.php @@ -134,7 +134,5 @@ class SpecialAncientPages extends QueryPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialAncientPages::class, 'SpecialAncientPages' ); diff --git a/includes/specials/SpecialApiHelp.php b/includes/specials/SpecialApiHelp.php index 0ecbd41ea562..17a3ca0a763a 100644 --- a/includes/specials/SpecialApiHelp.php +++ b/includes/specials/SpecialApiHelp.php @@ -113,7 +113,5 @@ class SpecialApiHelp extends UnlistedSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialApiHelp::class, 'SpecialApiHelp' ); diff --git a/includes/specials/SpecialApiSandbox.php b/includes/specials/SpecialApiSandbox.php index 7d3215c8819b..c21945be3284 100644 --- a/includes/specials/SpecialApiSandbox.php +++ b/includes/specials/SpecialApiSandbox.php @@ -63,7 +63,5 @@ class SpecialApiSandbox extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialApiSandbox::class, 'SpecialApiSandbox' ); diff --git a/includes/specials/SpecialAutoblockList.php b/includes/specials/SpecialAutoblockList.php index a33de2a1c4c4..0f5a8fdb1fba 100644 --- a/includes/specials/SpecialAutoblockList.php +++ b/includes/specials/SpecialAutoblockList.php @@ -239,7 +239,5 @@ class SpecialAutoblockList extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialAutoblockList::class, 'SpecialAutoblockList' ); diff --git a/includes/specials/SpecialBlankpage.php b/includes/specials/SpecialBlankpage.php index 10ad2595b521..61c37ed84c89 100644 --- a/includes/specials/SpecialBlankpage.php +++ b/includes/specials/SpecialBlankpage.php @@ -42,7 +42,5 @@ class SpecialBlankpage extends UnlistedSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialBlankpage::class, 'SpecialBlankpage' ); diff --git a/includes/specials/SpecialBlock.php b/includes/specials/SpecialBlock.php index e92486f8bb7b..c8c4b1620fa5 100644 --- a/includes/specials/SpecialBlock.php +++ b/includes/specials/SpecialBlock.php @@ -1054,7 +1054,5 @@ class SpecialBlock extends FormSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialBlock::class, 'SpecialBlock' ); diff --git a/includes/specials/SpecialBlockList.php b/includes/specials/SpecialBlockList.php index 9da4d37ad8dd..e0ed3f441e68 100644 --- a/includes/specials/SpecialBlockList.php +++ b/includes/specials/SpecialBlockList.php @@ -359,7 +359,5 @@ class SpecialBlockList extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialBlockList::class, 'SpecialBlockList' ); diff --git a/includes/specials/SpecialBookSources.php b/includes/specials/SpecialBookSources.php index 1a9439385416..1b6199af503e 100644 --- a/includes/specials/SpecialBookSources.php +++ b/includes/specials/SpecialBookSources.php @@ -234,7 +234,5 @@ class SpecialBookSources extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialBookSources::class, 'SpecialBookSources' ); diff --git a/includes/specials/SpecialBotPasswords.php b/includes/specials/SpecialBotPasswords.php index d834db2038e8..79130202ac41 100644 --- a/includes/specials/SpecialBotPasswords.php +++ b/includes/specials/SpecialBotPasswords.php @@ -449,7 +449,5 @@ class SpecialBotPasswords extends FormSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialBotPasswords::class, 'SpecialBotPasswords' ); diff --git a/includes/specials/SpecialBrokenRedirects.php b/includes/specials/SpecialBrokenRedirects.php index 28826b416707..e4f967b11f6e 100644 --- a/includes/specials/SpecialBrokenRedirects.php +++ b/includes/specials/SpecialBrokenRedirects.php @@ -210,7 +210,5 @@ class SpecialBrokenRedirects extends QueryPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialBrokenRedirects::class, 'SpecialBrokenRedirects' ); diff --git a/includes/specials/SpecialCategories.php b/includes/specials/SpecialCategories.php index ec9e7f47c232..69fc2aa28d25 100644 --- a/includes/specials/SpecialCategories.php +++ b/includes/specials/SpecialCategories.php @@ -83,7 +83,5 @@ class SpecialCategories extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialCategories::class, 'SpecialCategories' ); diff --git a/includes/specials/SpecialChangeContentModel.php b/includes/specials/SpecialChangeContentModel.php index afa2d32e0e9f..1966a66fbd60 100644 --- a/includes/specials/SpecialChangeContentModel.php +++ b/includes/specials/SpecialChangeContentModel.php @@ -279,7 +279,5 @@ class SpecialChangeContentModel extends FormSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialChangeContentModel::class, 'SpecialChangeContentModel' ); diff --git a/includes/specials/SpecialChangeCredentials.php b/includes/specials/SpecialChangeCredentials.php index d6aafa78b402..6afc964ec883 100644 --- a/includes/specials/SpecialChangeCredentials.php +++ b/includes/specials/SpecialChangeCredentials.php @@ -300,7 +300,5 @@ class SpecialChangeCredentials extends AuthManagerSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialChangeCredentials::class, 'SpecialChangeCredentials' ); diff --git a/includes/specials/SpecialChangeEmail.php b/includes/specials/SpecialChangeEmail.php index 0c15094f7bc9..992d1afdc60d 100644 --- a/includes/specials/SpecialChangeEmail.php +++ b/includes/specials/SpecialChangeEmail.php @@ -222,7 +222,5 @@ class SpecialChangeEmail extends FormSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialChangeEmail::class, 'SpecialChangeEmail' ); diff --git a/includes/specials/SpecialChangePassword.php b/includes/specials/SpecialChangePassword.php index 9e3e3e58e5fb..1ffe18f6d8f8 100644 --- a/includes/specials/SpecialChangePassword.php +++ b/includes/specials/SpecialChangePassword.php @@ -38,7 +38,5 @@ class SpecialChangePassword extends SpecialRedirectToSpecial { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialChangePassword::class, 'SpecialChangePassword' ); diff --git a/includes/specials/SpecialComparePages.php b/includes/specials/SpecialComparePages.php index 8ad43c006202..9d05c3e135cc 100644 --- a/includes/specials/SpecialComparePages.php +++ b/includes/specials/SpecialComparePages.php @@ -186,7 +186,5 @@ class SpecialComparePages extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialComparePages::class, 'SpecialComparePages' ); diff --git a/includes/specials/SpecialConfirmEmail.php b/includes/specials/SpecialConfirmEmail.php index 4a3da813ecae..03754c80675a 100644 --- a/includes/specials/SpecialConfirmEmail.php +++ b/includes/specials/SpecialConfirmEmail.php @@ -207,7 +207,5 @@ class SpecialConfirmEmail extends UnlistedSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialConfirmEmail::class, 'SpecialConfirmEmail' ); diff --git a/includes/specials/SpecialContribute.php b/includes/specials/SpecialContribute.php index 93754592524b..92957a2d869b 100644 --- a/includes/specials/SpecialContribute.php +++ b/includes/specials/SpecialContribute.php @@ -101,7 +101,5 @@ class SpecialContribute extends IncludableSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialContribute::class, 'SpecialContribute' ); diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index d10dd1d51224..28c515e23e0a 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -976,7 +976,5 @@ class SpecialContributions extends IncludableSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialContributions::class, 'SpecialContributions' ); diff --git a/includes/specials/SpecialCreateAccount.php b/includes/specials/SpecialCreateAccount.php index 40b2e18b8caf..fb67d395964c 100644 --- a/includes/specials/SpecialCreateAccount.php +++ b/includes/specials/SpecialCreateAccount.php @@ -192,7 +192,5 @@ class SpecialCreateAccount extends LoginSignupSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialCreateAccount::class, 'SpecialCreateAccount' ); diff --git a/includes/specials/SpecialDeadendPages.php b/includes/specials/SpecialDeadendPages.php index a6bc4f10a97d..811d26871c3a 100644 --- a/includes/specials/SpecialDeadendPages.php +++ b/includes/specials/SpecialDeadendPages.php @@ -117,7 +117,5 @@ class SpecialDeadendPages extends PageQueryPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialDeadendPages::class, 'SpecialDeadendPages' ); diff --git a/includes/specials/SpecialDeletePage.php b/includes/specials/SpecialDeletePage.php index f4b309d36315..2775233fcc70 100644 --- a/includes/specials/SpecialDeletePage.php +++ b/includes/specials/SpecialDeletePage.php @@ -47,7 +47,5 @@ class SpecialDeletePage extends SpecialRedirectWithAction { // specialdeletepage-submit } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialDeletePage::class, 'SpecialDeletePage' ); diff --git a/includes/specials/SpecialDeletedContributions.php b/includes/specials/SpecialDeletedContributions.php index 63833dcdfc5d..e69c23e5eaf0 100644 --- a/includes/specials/SpecialDeletedContributions.php +++ b/includes/specials/SpecialDeletedContributions.php @@ -336,7 +336,5 @@ class SpecialDeletedContributions extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialDeletedContributions::class, 'SpecialDeletedContributions' ); diff --git a/includes/specials/SpecialDiff.php b/includes/specials/SpecialDiff.php index 5e363205c8e8..f525c7dbac48 100644 --- a/includes/specials/SpecialDiff.php +++ b/includes/specials/SpecialDiff.php @@ -142,7 +142,5 @@ class SpecialDiff extends RedirectSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialDiff::class, 'SpecialDiff' ); diff --git a/includes/specials/SpecialDoubleRedirects.php b/includes/specials/SpecialDoubleRedirects.php index de5b3d8e986c..bfb5175d66cf 100644 --- a/includes/specials/SpecialDoubleRedirects.php +++ b/includes/specials/SpecialDoubleRedirects.php @@ -256,7 +256,5 @@ class SpecialDoubleRedirects extends QueryPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialDoubleRedirects::class, 'SpecialDoubleRedirects' ); diff --git a/includes/specials/SpecialEditPage.php b/includes/specials/SpecialEditPage.php index d1f446b8b119..7ba7cc94184f 100644 --- a/includes/specials/SpecialEditPage.php +++ b/includes/specials/SpecialEditPage.php @@ -43,7 +43,5 @@ class SpecialEditPage extends SpecialRedirectWithAction { // specialeditpage-submit } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialEditPage::class, 'SpecialEditPage' ); diff --git a/includes/specials/SpecialEditTags.php b/includes/specials/SpecialEditTags.php index 2c02f9860196..246c47267653 100644 --- a/includes/specials/SpecialEditTags.php +++ b/includes/specials/SpecialEditTags.php @@ -505,7 +505,5 @@ class SpecialEditTags extends UnlistedSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialEditTags::class, 'SpecialEditTags' ); diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index d84d5482c486..dc46e97d6223 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -960,7 +960,5 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialEditWatchlist::class, 'SpecialEditWatchlist' ); diff --git a/includes/specials/SpecialEmailInvalidate.php b/includes/specials/SpecialEmailInvalidate.php index 0fd0a667e700..ac3a63b8e31e 100644 --- a/includes/specials/SpecialEmailInvalidate.php +++ b/includes/specials/SpecialEmailInvalidate.php @@ -94,7 +94,5 @@ class SpecialEmailInvalidate extends UnlistedSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialEmailInvalidate::class, 'SpecialEmailInvalidate' ); diff --git a/includes/specials/SpecialEmailUser.php b/includes/specials/SpecialEmailUser.php index ac4d5da71614..6aaa2ab90cb7 100644 --- a/includes/specials/SpecialEmailUser.php +++ b/includes/specials/SpecialEmailUser.php @@ -465,7 +465,5 @@ class SpecialEmailUser extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialEmailUser::class, 'SpecialEmailUser' ); diff --git a/includes/specials/SpecialExpandTemplates.php b/includes/specials/SpecialExpandTemplates.php index 2d19d7885f28..758c94d93715 100644 --- a/includes/specials/SpecialExpandTemplates.php +++ b/includes/specials/SpecialExpandTemplates.php @@ -285,7 +285,5 @@ class SpecialExpandTemplates extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialExpandTemplates::class, 'SpecialExpandTemplates' ); diff --git a/includes/specials/SpecialExport.php b/includes/specials/SpecialExport.php index 45bf0d052fbf..07b4f2b2e5ce 100644 --- a/includes/specials/SpecialExport.php +++ b/includes/specials/SpecialExport.php @@ -624,7 +624,5 @@ class SpecialExport extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialExport::class, 'SpecialExport' ); diff --git a/includes/specials/SpecialFewestRevisions.php b/includes/specials/SpecialFewestRevisions.php index 21b4187bb1a6..d1c4f69978e9 100644 --- a/includes/specials/SpecialFewestRevisions.php +++ b/includes/specials/SpecialFewestRevisions.php @@ -150,7 +150,5 @@ class SpecialFewestRevisions extends QueryPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialFewestRevisions::class, 'SpecialFewestRevisions' ); diff --git a/includes/specials/SpecialFileDuplicateSearch.php b/includes/specials/SpecialFileDuplicateSearch.php index 2fedeaa849c9..424d5a8f4f2b 100644 --- a/includes/specials/SpecialFileDuplicateSearch.php +++ b/includes/specials/SpecialFileDuplicateSearch.php @@ -271,7 +271,5 @@ class SpecialFileDuplicateSearch extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialFileDuplicateSearch::class, 'SpecialFileDuplicateSearch' ); diff --git a/includes/specials/SpecialFilepath.php b/includes/specials/SpecialFilepath.php index 2324adc1d357..443c2d66037b 100644 --- a/includes/specials/SpecialFilepath.php +++ b/includes/specials/SpecialFilepath.php @@ -102,7 +102,5 @@ class SpecialFilepath extends RedirectSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialFilepath::class, 'SpecialFilepath' ); diff --git a/includes/specials/SpecialGoToInterwiki.php b/includes/specials/SpecialGoToInterwiki.php index 8d2acdbc39c1..c67f2fb28d58 100644 --- a/includes/specials/SpecialGoToInterwiki.php +++ b/includes/specials/SpecialGoToInterwiki.php @@ -107,7 +107,5 @@ class SpecialGoToInterwiki extends UnlistedSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialGoToInterwiki::class, 'SpecialGoToInterwiki' ); diff --git a/includes/specials/SpecialImport.php b/includes/specials/SpecialImport.php index 9a919f625d0b..ae4a58f5a313 100644 --- a/includes/specials/SpecialImport.php +++ b/includes/specials/SpecialImport.php @@ -479,7 +479,5 @@ class SpecialImport extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialImport::class, 'SpecialImport' ); diff --git a/includes/specials/SpecialJavaScriptTest.php b/includes/specials/SpecialJavaScriptTest.php index ae5d753a636b..6ecb7a3e2628 100644 --- a/includes/specials/SpecialJavaScriptTest.php +++ b/includes/specials/SpecialJavaScriptTest.php @@ -195,7 +195,5 @@ HTML; } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialJavaScriptTest::class, 'SpecialJavaScriptTest' ); diff --git a/includes/specials/SpecialLinkAccounts.php b/includes/specials/SpecialLinkAccounts.php index cfc8387f1be6..4dc5748ca993 100644 --- a/includes/specials/SpecialLinkAccounts.php +++ b/includes/specials/SpecialLinkAccounts.php @@ -122,7 +122,5 @@ class SpecialLinkAccounts extends AuthManagerSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialLinkAccounts::class, 'SpecialLinkAccounts' ); diff --git a/includes/specials/SpecialLinkSearch.php b/includes/specials/SpecialLinkSearch.php index 2d3beecf8c93..b27b3e9f9462 100644 --- a/includes/specials/SpecialLinkSearch.php +++ b/includes/specials/SpecialLinkSearch.php @@ -277,7 +277,5 @@ class SpecialLinkSearch extends QueryPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialLinkSearch::class, 'SpecialLinkSearch' ); diff --git a/includes/specials/SpecialListDuplicatedFiles.php b/includes/specials/SpecialListDuplicatedFiles.php index 4dec7eabf60f..ca0f58747d1e 100644 --- a/includes/specials/SpecialListDuplicatedFiles.php +++ b/includes/specials/SpecialListDuplicatedFiles.php @@ -129,7 +129,5 @@ class SpecialListDuplicatedFiles extends QueryPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialListDuplicatedFiles::class, 'SpecialListDuplicatedFiles' ); diff --git a/includes/specials/SpecialListFiles.php b/includes/specials/SpecialListFiles.php index f412135b54f2..a62c44c3f320 100644 --- a/includes/specials/SpecialListFiles.php +++ b/includes/specials/SpecialListFiles.php @@ -152,7 +152,5 @@ class SpecialListFiles extends IncludableSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialListFiles::class, 'SpecialListFiles' ); diff --git a/includes/specials/SpecialListGrants.php b/includes/specials/SpecialListGrants.php index 86f268c7ab2f..779a03971a28 100644 --- a/includes/specials/SpecialListGrants.php +++ b/includes/specials/SpecialListGrants.php @@ -109,7 +109,5 @@ class SpecialListGrants extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialListGrants::class, 'SpecialListGrants' ); diff --git a/includes/specials/SpecialListGroupRights.php b/includes/specials/SpecialListGroupRights.php index bfb8e95df2bf..7d217252e764 100644 --- a/includes/specials/SpecialListGroupRights.php +++ b/includes/specials/SpecialListGroupRights.php @@ -326,7 +326,5 @@ class SpecialListGroupRights extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialListGroupRights::class, 'SpecialListGroupRights' ); diff --git a/includes/specials/SpecialListRedirects.php b/includes/specials/SpecialListRedirects.php index 77ee829650d8..5758e0548817 100644 --- a/includes/specials/SpecialListRedirects.php +++ b/includes/specials/SpecialListRedirects.php @@ -188,7 +188,5 @@ class SpecialListRedirects extends QueryPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialListRedirects::class, 'SpecialListRedirects' ); diff --git a/includes/specials/SpecialListUsers.php b/includes/specials/SpecialListUsers.php index e064bfa41a6a..3b8faca1ede6 100644 --- a/includes/specials/SpecialListUsers.php +++ b/includes/specials/SpecialListUsers.php @@ -123,7 +123,5 @@ class SpecialListUsers extends IncludableSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialListUsers::class, 'SpecialListUsers' ); diff --git a/includes/specials/SpecialLockdb.php b/includes/specials/SpecialLockdb.php index d1c4d519fc2a..06a9c1f9f5c0 100644 --- a/includes/specials/SpecialLockdb.php +++ b/includes/specials/SpecialLockdb.php @@ -124,7 +124,5 @@ class SpecialLockdb extends FormSpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialLockdb::class, 'SpecialLockdb' ); diff --git a/includes/specials/SpecialLog.php b/includes/specials/SpecialLog.php index 94f2fd0b82ad..94eed3fda046 100644 --- a/includes/specials/SpecialLog.php +++ b/includes/specials/SpecialLog.php @@ -382,7 +382,5 @@ class SpecialLog extends SpecialPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialLog::class, 'SpecialLog' ); diff --git a/includes/specials/SpecialLonelyPages.php b/includes/specials/SpecialLonelyPages.php index 966f53955c56..095ac570c5c8 100644 --- a/includes/specials/SpecialLonelyPages.php +++ b/includes/specials/SpecialLonelyPages.php @@ -136,7 +136,5 @@ class SpecialLonelyPages extends PageQueryPage { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialLonelyPages::class, 'SpecialLonelyPages' ); diff --git a/includes/specials/SpecialLongPages.php b/includes/specials/SpecialLongPages.php index 56df128a5a7a..e9e9c57e0842 100644 --- a/includes/specials/SpecialLongPages.php +++ b/includes/specials/SpecialLongPages.php @@ -59,7 +59,5 @@ class SpecialLongPages extends SpecialShortPages { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialLongPages::class, 'SpecialLongPages' ); diff --git a/includes/specials/redirects/SpecialListAdmins.php b/includes/specials/redirects/SpecialListAdmins.php index 5c6964ce07e9..f7dea33d50b4 100644 --- a/includes/specials/redirects/SpecialListAdmins.php +++ b/includes/specials/redirects/SpecialListAdmins.php @@ -40,7 +40,5 @@ class SpecialListAdmins extends SpecialRedirectToSpecial { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialListAdmins::class, 'SpecialListAdmins' ); diff --git a/includes/specials/redirects/SpecialListBots.php b/includes/specials/redirects/SpecialListBots.php index 844edc1c026e..ae2a56cd8a12 100644 --- a/includes/specials/redirects/SpecialListBots.php +++ b/includes/specials/redirects/SpecialListBots.php @@ -40,7 +40,5 @@ class SpecialListBots extends SpecialRedirectToSpecial { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SpecialListBots::class, 'SpecialListBots' ); diff --git a/includes/title/ForeignTitle.php b/includes/title/ForeignTitle.php index 04fc499bfb9e..36039eccaeff 100644 --- a/includes/title/ForeignTitle.php +++ b/includes/title/ForeignTitle.php @@ -119,8 +119,5 @@ class ForeignTitle { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ForeignTitle::class, 'ForeignTitle' ); diff --git a/includes/title/ForeignTitleFactory.php b/includes/title/ForeignTitleFactory.php index 012ea5e7a83c..f571726b75c0 100644 --- a/includes/title/ForeignTitleFactory.php +++ b/includes/title/ForeignTitleFactory.php @@ -38,8 +38,5 @@ interface ForeignTitleFactory { public function createForeignTitle( $title, $ns = null ); } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ForeignTitleFactory::class, 'ForeignTitleFactory' ); diff --git a/includes/title/ImportTitleFactory.php b/includes/title/ImportTitleFactory.php index ded1a988a0fe..c90b37d5c839 100644 --- a/includes/title/ImportTitleFactory.php +++ b/includes/title/ImportTitleFactory.php @@ -36,8 +36,5 @@ interface ImportTitleFactory { public function createTitleFromForeignTitle( ForeignTitle $foreignTitle ); } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ImportTitleFactory::class, 'ImportTitleFactory' ); diff --git a/includes/title/MalformedTitleException.php b/includes/title/MalformedTitleException.php index b9d021b05e0a..59a08490aa01 100644 --- a/includes/title/MalformedTitleException.php +++ b/includes/title/MalformedTitleException.php @@ -94,8 +94,5 @@ class MalformedTitleException extends Exception implements ILocalizedException { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( MalformedTitleException::class, 'MalformedTitleException' ); diff --git a/includes/title/MediaWikiTitleCodec.php b/includes/title/MediaWikiTitleCodec.php index 1d919d4e79ff..3846e6845a78 100644 --- a/includes/title/MediaWikiTitleCodec.php +++ b/includes/title/MediaWikiTitleCodec.php @@ -620,8 +620,5 @@ class MediaWikiTitleCodec implements TitleFormatter, TitleParser { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( MediaWikiTitleCodec::class, 'MediaWikiTitleCodec' ); diff --git a/includes/title/NaiveForeignTitleFactory.php b/includes/title/NaiveForeignTitleFactory.php index 1c13e071566d..33fc958c8438 100644 --- a/includes/title/NaiveForeignTitleFactory.php +++ b/includes/title/NaiveForeignTitleFactory.php @@ -86,8 +86,5 @@ class NaiveForeignTitleFactory implements ForeignTitleFactory { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( NaiveForeignTitleFactory::class, 'NaiveForeignTitleFactory' ); diff --git a/includes/title/NaiveImportTitleFactory.php b/includes/title/NaiveImportTitleFactory.php index 45e244c16ad7..b5938f7b901d 100644 --- a/includes/title/NaiveImportTitleFactory.php +++ b/includes/title/NaiveImportTitleFactory.php @@ -92,8 +92,5 @@ class NaiveImportTitleFactory implements ImportTitleFactory { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( NaiveImportTitleFactory::class, 'NaiveImportTitleFactory' ); diff --git a/includes/title/NamespaceAwareForeignTitleFactory.php b/includes/title/NamespaceAwareForeignTitleFactory.php index 7bea24376e81..1943bf88f10a 100644 --- a/includes/title/NamespaceAwareForeignTitleFactory.php +++ b/includes/title/NamespaceAwareForeignTitleFactory.php @@ -144,8 +144,5 @@ class NamespaceAwareForeignTitleFactory implements ForeignTitleFactory { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( NamespaceAwareForeignTitleFactory::class, 'NamespaceAwareForeignTitleFactory' ); diff --git a/includes/title/NamespaceImportTitleFactory.php b/includes/title/NamespaceImportTitleFactory.php index af30a8089c56..2c3ccc7c80f4 100644 --- a/includes/title/NamespaceImportTitleFactory.php +++ b/includes/title/NamespaceImportTitleFactory.php @@ -64,8 +64,5 @@ class NamespaceImportTitleFactory implements ImportTitleFactory { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( NamespaceImportTitleFactory::class, 'NamespaceImportTitleFactory' ); diff --git a/includes/title/NamespaceInfo.php b/includes/title/NamespaceInfo.php index 26bd50e0f986..c9a4b5ec002e 100644 --- a/includes/title/NamespaceInfo.php +++ b/includes/title/NamespaceInfo.php @@ -642,8 +642,5 @@ class NamespaceInfo { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( NamespaceInfo::class, 'NamespaceInfo' ); diff --git a/includes/title/SubpageImportTitleFactory.php b/includes/title/SubpageImportTitleFactory.php index 8b8b8c081c66..91d17cec8b9d 100644 --- a/includes/title/SubpageImportTitleFactory.php +++ b/includes/title/SubpageImportTitleFactory.php @@ -67,8 +67,5 @@ class SubpageImportTitleFactory implements ImportTitleFactory { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( SubpageImportTitleFactory::class, 'SubpageImportTitleFactory' ); diff --git a/includes/title/Title.php b/includes/title/Title.php index 0ea374bbe577..446a0b49725c 100644 --- a/includes/title/Title.php +++ b/includes/title/Title.php @@ -3959,7 +3959,5 @@ class Title implements LinkTarget, PageIdentity { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( Title::class, 'Title' ); diff --git a/includes/title/TitleArrayFromResult.php b/includes/title/TitleArrayFromResult.php index 39aa30bec764..581e8bd84f29 100644 --- a/includes/title/TitleArrayFromResult.php +++ b/includes/title/TitleArrayFromResult.php @@ -103,7 +103,5 @@ class TitleArrayFromResult implements Countable, Iterator { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( TitleArrayFromResult::class, 'TitleArrayFromResult' ); diff --git a/includes/title/TitleFactory.php b/includes/title/TitleFactory.php index 55e4878f8402..bb3470923c85 100644 --- a/includes/title/TitleFactory.php +++ b/includes/title/TitleFactory.php @@ -200,7 +200,5 @@ class TitleFactory { } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( TitleFactory::class, 'TitleFactory' ); diff --git a/includes/title/TitleFormatter.php b/includes/title/TitleFormatter.php index de091d6b6272..956b484da991 100644 --- a/includes/title/TitleFormatter.php +++ b/includes/title/TitleFormatter.php @@ -106,8 +106,5 @@ interface TitleFormatter { public function getNamespaceName( $namespace, $text ); } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( TitleFormatter::class, 'TitleFormatter' ); diff --git a/includes/title/TitleParser.php b/includes/title/TitleParser.php index 5bb7a11ae40d..d4149ee02e26 100644 --- a/includes/title/TitleParser.php +++ b/includes/title/TitleParser.php @@ -59,8 +59,5 @@ interface TitleParser { public function makeTitleValueSafe( $namespace, $text, $fragment = '', $interwiki = '' ); } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( TitleParser::class, 'TitleParser' ); diff --git a/includes/title/TitleValue.php b/includes/title/TitleValue.php index 144d53bf11fc..93931f41a0bf 100644 --- a/includes/title/TitleValue.php +++ b/includes/title/TitleValue.php @@ -264,8 +264,5 @@ class TitleValue implements LinkTarget { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( TitleValue::class, 'TitleValue' ); diff --git a/includes/user/ActorMigration.php b/includes/user/ActorMigration.php index b23ddaa2d238..dd2aceb38bee 100644 --- a/includes/user/ActorMigration.php +++ b/includes/user/ActorMigration.php @@ -97,7 +97,5 @@ class ActorMigration extends ActorMigrationBase { } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( ActorMigration::class, 'ActorMigration' ); diff --git a/includes/user/ActorMigrationBase.php b/includes/user/ActorMigrationBase.php index 525c7ab3e2fa..392f40cd3ec6 100644 --- a/includes/user/ActorMigrationBase.php +++ b/includes/user/ActorMigrationBase.php @@ -386,7 +386,5 @@ class ActorMigrationBase { } } -/** - * @deprecated since 1.40 - */ +/** @deprecated class alias since 1.40 */ class_alias( ActorMigrationBase::class, 'ActorMigrationBase' ); diff --git a/includes/user/BotPassword.php b/includes/user/BotPassword.php index c99b0f6d036f..5e9e766a1cb5 100644 --- a/includes/user/BotPassword.php +++ b/includes/user/BotPassword.php @@ -540,8 +540,5 @@ class BotPassword { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( BotPassword::class, 'BotPassword' ); diff --git a/includes/user/CentralId/CentralIdLookup.php b/includes/user/CentralId/CentralIdLookup.php index 32cf16678c4a..2cde2af7bc30 100644 --- a/includes/user/CentralId/CentralIdLookup.php +++ b/includes/user/CentralId/CentralIdLookup.php @@ -306,8 +306,5 @@ abstract class CentralIdLookup { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( CentralIdLookup::class, 'CentralIdLookup' ); diff --git a/includes/user/CentralId/LocalIdLookup.php b/includes/user/CentralId/LocalIdLookup.php index 13ecfc995a93..16a63dcbe81c 100644 --- a/includes/user/CentralId/LocalIdLookup.php +++ b/includes/user/CentralId/LocalIdLookup.php @@ -146,8 +146,5 @@ class LocalIdLookup extends CentralIdLookup { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( LocalIdLookup::class, 'LocalIdLookup' ); diff --git a/includes/user/ExternalUserNames.php b/includes/user/ExternalUserNames.php index c17cc2d31327..12bcd89fcdd6 100644 --- a/includes/user/ExternalUserNames.php +++ b/includes/user/ExternalUserNames.php @@ -168,8 +168,5 @@ class ExternalUserNames { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ExternalUserNames::class, 'ExternalUserNames' ); diff --git a/includes/user/LoggedOutEditToken.php b/includes/user/LoggedOutEditToken.php index d19aebd86064..d99fd22a4dd1 100644 --- a/includes/user/LoggedOutEditToken.php +++ b/includes/user/LoggedOutEditToken.php @@ -54,8 +54,5 @@ class LoggedOutEditToken extends Token { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( LoggedOutEditToken::class, 'LoggedOutEditToken' ); diff --git a/includes/user/Options/DefaultOptionsLookup.php b/includes/user/Options/DefaultOptionsLookup.php index b132efc0593a..ef5ac51ebbeb 100644 --- a/includes/user/Options/DefaultOptionsLookup.php +++ b/includes/user/Options/DefaultOptionsLookup.php @@ -200,7 +200,5 @@ class DefaultOptionsLookup extends UserOptionsLookup { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( DefaultOptionsLookup::class, 'MediaWiki\\User\\DefaultOptionsLookup' ); diff --git a/includes/user/Options/StaticUserOptionsLookup.php b/includes/user/Options/StaticUserOptionsLookup.php index df1015138738..c239610a3c98 100644 --- a/includes/user/Options/StaticUserOptionsLookup.php +++ b/includes/user/Options/StaticUserOptionsLookup.php @@ -65,7 +65,5 @@ class StaticUserOptionsLookup extends UserOptionsLookup { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( StaticUserOptionsLookup::class, 'MediaWiki\User\StaticUserOptionsLookup' ); diff --git a/includes/user/Options/UserOptionsLookup.php b/includes/user/Options/UserOptionsLookup.php index ab27be040be2..9bf09358616c 100644 --- a/includes/user/Options/UserOptionsLookup.php +++ b/includes/user/Options/UserOptionsLookup.php @@ -143,7 +143,5 @@ abstract class UserOptionsLookup { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( UserOptionsLookup::class, 'MediaWiki\\User\\UserOptionsLookup' ); diff --git a/includes/user/Options/UserOptionsManager.php b/includes/user/Options/UserOptionsManager.php index 766fe2bb64e5..fee08ba36ddd 100644 --- a/includes/user/Options/UserOptionsManager.php +++ b/includes/user/Options/UserOptionsManager.php @@ -733,7 +733,5 @@ class UserOptionsManager extends UserOptionsLookup { } } -/** - * @deprecated since 1.42 - */ +/** @deprecated class alias since 1.41 */ class_alias( UserOptionsManager::class, 'MediaWiki\\User\\UserOptionsManager' ); diff --git a/includes/user/PasswordReset.php b/includes/user/PasswordReset.php index f25c06a08480..30e07dd2ed64 100644 --- a/includes/user/PasswordReset.php +++ b/includes/user/PasswordReset.php @@ -372,8 +372,5 @@ class PasswordReset implements LoggerAwareInterface { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( PasswordReset::class, 'PasswordReset' ); diff --git a/includes/user/User.php b/includes/user/User.php index b65852ae877e..9c0340da98b2 100644 --- a/includes/user/User.php +++ b/includes/user/User.php @@ -3551,8 +3551,5 @@ class User implements Authority, UserIdentity, UserEmailContact { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( User::class, 'User' ); diff --git a/includes/user/UserArray.php b/includes/user/UserArray.php index 0afde67da78f..bed961951908 100644 --- a/includes/user/UserArray.php +++ b/includes/user/UserArray.php @@ -105,8 +105,5 @@ abstract class UserArray implements Iterator { abstract public function key(): int; } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( UserArray::class, 'UserArray' ); diff --git a/includes/user/UserArrayFromResult.php b/includes/user/UserArrayFromResult.php index 05d441f93b03..f9d19d1b3078 100644 --- a/includes/user/UserArrayFromResult.php +++ b/includes/user/UserArrayFromResult.php @@ -92,8 +92,5 @@ class UserArrayFromResult extends UserArray implements Countable { } } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( UserArrayFromResult::class, 'UserArrayFromResult' ); diff --git a/includes/user/UserGroupMembership.php b/includes/user/UserGroupMembership.php index 8f39c96275b0..6ed886a0abc1 100644 --- a/includes/user/UserGroupMembership.php +++ b/includes/user/UserGroupMembership.php @@ -305,8 +305,5 @@ class UserGroupMembership { } -/** - * Retain the old class name for backwards compatibility. - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( UserGroupMembership::class, 'UserGroupMembership' ); diff --git a/includes/utils/ExtensionInfo.php b/includes/utils/ExtensionInfo.php index f4bc7d16be40..23d853b12d57 100644 --- a/includes/utils/ExtensionInfo.php +++ b/includes/utils/ExtensionInfo.php @@ -63,7 +63,5 @@ class ExtensionInfo { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( ExtensionInfo::class, 'MediaWiki\\ExtensionInfo' ); diff --git a/includes/utils/GitInfo.php b/includes/utils/GitInfo.php index 752000c09095..b23f6885089e 100644 --- a/includes/utils/GitInfo.php +++ b/includes/utils/GitInfo.php @@ -457,7 +457,5 @@ class GitInfo { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( GitInfo::class, 'GitInfo' ); diff --git a/includes/utils/MWTimestamp.php b/includes/utils/MWTimestamp.php index 03b471d59639..30957f707598 100644 --- a/includes/utils/MWTimestamp.php +++ b/includes/utils/MWTimestamp.php @@ -156,7 +156,5 @@ class MWTimestamp extends ConvertibleTimestamp { } } -/** - * @deprecated since 1.41 - */ +/** @deprecated class alias since 1.41 */ class_alias( MWTimestamp::class, 'MWTimestamp' ); |