Page MenuHomePhabricator

PHP Deprecated: Use of MediaWiki\Skin\Skin::appendSpecialPagesLinkIfAbsent was deprecated in MediaWiki 1.44. [Called from MediaWiki\Skin\Skin::buildSidebar]
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Deprecated: Use of MediaWiki\Skin\Skin::appendSpecialPagesLinkIfAbsent was deprecated in MediaWiki 1.44. [Called from MediaWiki\Skin\Skin::buildSidebar]
FrameLocationCall
from/srv/mediawiki/php-master/includes/skins/Skin.php(1639)
#0[internal function]MediaWiki\Exception\MWExceptionHandler::handleError(int, string, string, string)
#1/srv/mediawiki/php-master/includes/debug/MWDebug.php(386)trigger_error(string, int)
#2/srv/mediawiki/php-master/includes/debug/MWDebug.php(357)MediaWiki\Debug\MWDebug::sendRawDeprecated(string, bool, string)
#3/srv/mediawiki/php-master/includes/debug/MWDebug.php(238)MediaWiki\Debug\MWDebug::deprecatedMsg(string, string, string, int)
#4/srv/mediawiki/php-master/includes/GlobalFunctions.php(782)MediaWiki\Debug\MWDebug::deprecated(string, string, string, int)
#5/srv/mediawiki/php-master/includes/skins/Skin.php(1556)wfDeprecated(string, string)
#6/srv/mediawiki/php-master/includes/skins/Skin.php(1639)MediaWiki\Skin\Skin->appendSpecialPagesLinkIfAbsent()
#7/srv/mediawiki/php-master/includes/skins/SkinTemplate.php(615)MediaWiki\Skin\Skin->buildSidebar()
#8/srv/mediawiki/php-master/includes/skins/SkinTemplate.php(194)MediaWiki\Skin\SkinTemplate->getPortletsTemplateData()
#9/srv/mediawiki/php-master/includes/skins/SkinMustache.php(131)MediaWiki\Skin\SkinTemplate->getTemplateData()
#10/srv/mediawiki/php-master/skins/Vector/includes/SkinVector22.php(314)MediaWiki\Skin\SkinMustache->getTemplateData()
#11/srv/mediawiki/php-master/includes/skins/SkinMustache.php(93)MediaWiki\Skins\Vector\SkinVector22->getTemplateData()
#12/srv/mediawiki/php-master/includes/skins/SkinTemplate.php(187)MediaWiki\Skin\SkinMustache->generateHTML()
#13/srv/mediawiki/php-master/includes/skins/Skin.php(682)MediaWiki\Skin\SkinTemplate->outputPage()
#14/srv/mediawiki/php-master/includes/Output/OutputPage.php(3286)MediaWiki\Skin\Skin->outputPageFinal(MediaWiki\Output\OutputPage)
#15/srv/mediawiki/php-master/includes/actions/ActionEntryPoint.php(160)MediaWiki\Output\OutputPage->output(bool)
#16/srv/mediawiki/php-master/includes/MediaWikiEntryPoint.php(202)MediaWiki\Actions\ActionEntryPoint->execute()
#17/srv/mediawiki/php-master/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#18/srv/mediawiki/w/index.php(3)require(string)
#19{main}
Impact/Notes

The beta-scap-sync-world job is currently failing due to these warnings.

Details

Request URL
https://de.wikipedia.beta.wmflabs.org/w/index.php?days=*&from=*&hideminor=*&hidemyself=*&title=*
Related Changes in Gerrit:

Event Timeline

Why hast this not been backported to 1.44.0?

I'm facing this error on an instance of mine:

Deprecated: Use of MediaWiki\Skin\Skin::appendSpecialPagesLinkIfAbsent was deprecated in MediaWiki 1.44. [Called from MediaWiki\Skin\Skin::buildSidebar in /var/www/html/includes/skins/Skin.php at line 1639] in /var/www/html/includes/debug/MWDebug.php on line 386

See on top of https://wiki.elearning.mathphys.info/index.php/Main_Page

I too wonder why this could not be backported? (says do not back port in the patch) This is causing a lot of unnecessary log spam.

Change #1166202 had a related patch set uploaded (by MacFan4000; author: Aaron liu):

[mediawiki/core@REL1_44] Skins: Remove appendSpecialPagesLinksIfAbsent()

https://gerrit.wikimedia.org/r/1166202

Change #1166202 abandoned by MacFan4000:

[mediawiki/core@REL1_44] Skins: Remove appendSpecialPagesLinksIfAbsent()

https://gerrit.wikimedia.org/r/1166202

Change #1167713 had a related patch set uploaded (by MacFan4000; author: MacFan4000):

[mediawiki/core@REL1_44] Remove usage of deprecated appendSpecialPagesLinksIfAbsent().

https://gerrit.wikimedia.org/r/1167713

I too wonder why this could not be backported? (says do not back port in the patch) This is causing a lot of unnecessary log spam.

I see why now, after looking more closely. Made a new patch to just remove the call to the method rather then complexly remove the method.

Change #1167713 abandoned by MacFan4000:

[mediawiki/core@REL1_44] Remove usage of deprecated appendSpecialPagesLinksIfAbsent().

https://gerrit.wikimedia.org/r/1167713