Hard deprecate BaseTemplate::getFooterIcons()

BaseTemplate::getFooterIcons() is soft deprecated since 1.35 and unused.

Bug: T267447
Change-Id: Iff952cff08a5c93b93ab75743ea6f1e18067572f
This commit is contained in:
ZabeMath 2021-03-19 15:11:00 +01:00 committed by jdlrobson
parent 1e0426e6c3
commit e91c0ad729
2 changed files with 3 additions and 0 deletions

View file

@ -650,6 +650,8 @@ because of Phabricator reports.
DatabaseBlock::isExemptedFromAutoblocks instead.
* User::isIPRange(), deprecated in 1.35, is hard deprecated.
Use the UserNameUtils service or IPUtils directly.
* BaseTemplate::getFooterIcons(), deprecated in 1.35, is hard deprecated. Read
footer icons from template data requested via $this->get('footericons').
* …
=== Other changes in 1.36 ===

View file

@ -327,6 +327,7 @@ abstract class BaseTemplate extends QuickTemplate {
* @return array
*/
protected function getFooterIcons( $option = null ) {
wfDeprecated( __METHOD__, '1.35' );
// Generate additional footer icons
$footericons = $this->get( 'footericons' );