diff --git a/RELEASE-NOTES-1.41 b/RELEASE-NOTES-1.41 index 3226ca5f3b1..98011d7a1ae 100644 --- a/RELEASE-NOTES-1.41 +++ b/RELEASE-NOTES-1.41 @@ -522,6 +522,7 @@ because of Phabricator reports. * The following methods, previously deprecated, now emit deprecation warnings: - ConfigFactory::getDefaultInstance(), deprecated since 1.27 - AbstractContent::getNativeData(), deprecated since 1.33 + - TablePager::getBody(), deprecated since 1.24 * … === Other changes in 1.41 === diff --git a/includes/pager/TablePager.php b/includes/pager/TablePager.php index 2fd8689234a..15fa00e1445 100644 --- a/includes/pager/TablePager.php +++ b/includes/pager/TablePager.php @@ -73,9 +73,11 @@ abstract class TablePager extends IndexPager { * rather than mysteriously render things wrong. * * @deprecated since 1.24, use getBodyOutput() or getFullOutput() instead + * Emitting deprecation warnings since 1.41. * @return string */ final public function getBody() { + wfDeprecated( __METHOD__, '1.24' ); return parent::getBody(); }