diff options
author | Umherirrender <umherirrender_de.wp@web.de> | 2025-03-26 21:03:36 +0100 |
---|---|---|
committer | Umherirrender <umherirrender_de.wp@web.de> | 2025-03-26 21:03:36 +0100 |
commit | 663f485ac679736d946cdc2928df68172a2c5e9c (patch) | |
tree | 5442b6812484214a277672222c767543cc08d776 /includes/api/ApiPageSet.php | |
parent | c792adc3b35bb045b2780d19944c118a05add5a2 (diff) | |
download | mediawikicore-663f485ac679736d946cdc2928df68172a2c5e9c.tar.gz mediawikicore-663f485ac679736d946cdc2928df68172a2c5e9c.zip |
api: Remove deprecated ApiPageSet::get*Titles
The following functions were removed:
- ApiPageSet::getTitles
- ApiPageSet::getGoodTitles
- ApiPageSet::getMissingTitles
- ApiPageSet::getGoodAndMissingTitles
- ApiPageSet::getRedirectTitles
- ApiPageSet::getSpecialTitles
Bug: T339384
Change-Id: Iba8499c2d1b4a10b918f563069534b90fed7f6f9
Diffstat (limited to 'includes/api/ApiPageSet.php')
-rw-r--r-- | includes/api/ApiPageSet.php | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/includes/api/ApiPageSet.php b/includes/api/ApiPageSet.php index 47db90330f3d..5ec41d3a0283 100644 --- a/includes/api/ApiPageSet.php +++ b/includes/api/ApiPageSet.php @@ -457,19 +457,6 @@ class ApiPageSet extends ApiBase { * Does not include special pages, interwiki links, and invalid titles. * If redirects are resolved, both the redirect and the target will be included here. * - * @deprecated since 1.37, use getPages() instead, hard-deprecated since 1.43. - * @return Title[] - */ - public function getTitles() { - wfDeprecated( __METHOD__, '1.37' ); - return $this->mTitles; - } - - /** - * All existing and missing pages including redirects. - * Does not include special pages, interwiki links, and invalid titles. - * If redirects are resolved, both the redirect and the target will be included here. - * * @since 1.37 * @return PageIdentity[] */ @@ -494,17 +481,6 @@ class ApiPageSet extends ApiBase { } /** - * Title objects that were found in the database, including redirects. - * If redirects are resolved, this will include existing redirect targets. - * @deprecated since 1.37, use getGoodPages() instead, hard-deprecated since 1.43. - * @return array<int,Title> Array page_id (int) => Title (obj) - */ - public function getGoodTitles() { - wfDeprecated( __METHOD__, '1.37' ); - return $this->mGoodTitles; - } - - /** * Pages that were found in the database, including redirects. * If redirects are resolved, this will include existing redirect targets. * @since 1.37 @@ -532,18 +508,6 @@ class ApiPageSet extends ApiBase { } /** - * Title objects that were NOT found in the database. - * The array's index will be negative for each item. - * If redirects are resolved, this will include missing redirect targets. - * @deprecated since 1.37, use getMissingPages instead, hard-deprecated since 1.43. - * @return array<int,Title> - */ - public function getMissingTitles() { - wfDeprecated( __METHOD__, '1.37' ); - return $this->mMissingTitles; - } - - /** * Pages that were NOT found in the database. * The array's index will be negative for each item. * If redirects are resolved, this will include missing redirect targets. @@ -563,16 +527,6 @@ class ApiPageSet extends ApiBase { } /** - * Title objects for good and missing titles. - * @deprecated since 1.37, use getGoodAndMissingPages() instead, hard-deprecated since 1.43. - * @return Title[] - */ - public function getGoodAndMissingTitles() { - wfDeprecated( __METHOD__, '1.37' ); - return $this->mGoodTitles + $this->mMissingTitles; - } - - /** * Pages for good and missing titles. * @since 1.37 * @return PageIdentity[] @@ -601,17 +555,6 @@ class ApiPageSet extends ApiBase { /** * Get a list of redirect resolutions - maps a title to its redirect * target. - * @deprecated since 1.37, use getRedirectTargets instead, hard-deprecated since 1.43. - * @return array<string,Title> - */ - public function getRedirectTitles() { - wfDeprecated( __METHOD__, '1.37' ); - return $this->mRedirectTitles; - } - - /** - * Get a list of redirect resolutions - maps a title to its redirect - * target. * @since 1.37 * @return LinkTarget[] */ @@ -872,16 +815,6 @@ class ApiPageSet extends ApiBase { } /** - * Get the list of titles with negative namespace - * @deprecated since 1.37, use getSpecialPages() instead, hard-deprecated since 1.43. - * @return Title[] - */ - public function getSpecialTitles() { - wfDeprecated( __METHOD__, '1.37' ); - return $this->mSpecialTitles; - } - - /** * Get the list of pages with negative namespace * @since 1.37 * @return PageReference[] |