Page MenuHomePhabricator

PHP Deprecated: WikiPage constructed on a Title that cannot exist as a page: mw:User:TCipriani (WMF) [Called from CirrusSearch\Updater::updateLinkedArticles]
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Deprecated: WikiPage constructed on a Title that cannot exist as a page: mw:User:TCipriani (WMF) [Called from CirrusSearch\Updater::updateLinkedArticles]
exception.trace
from /srv/mediawiki/php-1.37.0-wmf.4/extensions/CirrusSearch/includes/Updater.php(374)
#0 [internal function]: MWExceptionHandler::handleError(integer, string, string, string, array)
#1 /srv/mediawiki/php-1.37.0-wmf.4/includes/debug/MWDebug.php(376): trigger_error(string, integer)
#2 /srv/mediawiki/php-1.37.0-wmf.4/includes/debug/MWDebug.php(352): MWDebug::sendRawDeprecated(string, boolean, string)
#3 /srv/mediawiki/php-1.37.0-wmf.4/includes/GlobalFunctions.php(1068): MWDebug::deprecatedMsg(string, string, string, integer)
#4 /srv/mediawiki/php-1.37.0-wmf.4/includes/page/WikiPage.php(182): wfDeprecatedMsg(string, string)
#5 /srv/mediawiki/php-1.37.0-wmf.4/extensions/CirrusSearch/includes/Updater.php(374): WikiPage->__construct(Title)
#6 /srv/mediawiki/php-1.37.0-wmf.4/extensions/CirrusSearch/includes/Job/IncomingLinkCount.php(39): CirrusSearch\Updater->updateLinkedArticles(array)
#7 /srv/mediawiki/php-1.37.0-wmf.4/extensions/CirrusSearch/includes/Job/JobTraits.php(136): CirrusSearch\Job\IncomingLinkCount->doJob()
#8 /srv/mediawiki/php-1.37.0-wmf.4/includes/jobqueue/JobRunner.php(373): CirrusSearch\Job\CirrusTitleJob->run()
#9 /srv/mediawiki/php-1.37.0-wmf.4/includes/jobqueue/JobRunner.php(334): JobRunner->doExecuteJob(CirrusSearch\Job\IncomingLinkCount)
#10 /srv/mediawiki/php-1.37.0-wmf.4/includes/jobqueue/JobRunner.php(247): JobRunner->executeJob(CirrusSearch\Job\IncomingLinkCount)
#11 /srv/mediawiki/php-1.37.0-wmf.4/maintenance/runJobs.php(93): JobRunner->run(array)
#12 /srv/mediawiki/php-1.37.0-wmf.4/maintenance/doMaintenance.php(108): RunJobs->execute()
#13 /srv/mediawiki/php-1.37.0-wmf.4/maintenance/runJobs.php(130): require_once(string)
#14 /srv/mediawiki/multiversion/MWScript.php(116): require_once(string)
#15 {main}
Impact

Presumed no direct impact as deprecations (should) mean that the discouraged logic still works as well as it did before. However, as being a deprecation in prod, it means by definition it was thought to be unused and turns out not to be, hence high priority and blocking the (next) train.

Notes

See also:

\cc @daniel

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 686387 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/CirrusSearch@master] Check if target exists before calling WikiPage

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

Change 686387 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] Check if target exists before calling WikiPage

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

Zabe triaged this task as High priority.

Should be fixed, could someone check?

Change 724744 had a related patch set uploaded (by Abijeet Patro; author: Zabe):

[mediawiki/extensions/CirrusSearch@REL1_36] Check if target exists before calling WikiPage

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

Change 724744 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@REL1_36] Check if target exists before calling WikiPage

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