Page MenuHomePhabricator

Four deprecation warnings from Flow
Closed, DuplicatePublic

Description

reqId:f6724f52-b835-43e6-b374-f4cdf4709645 resulted in four deprecation warnings from Flow code:

  • Flow\Exception\InvalidActionException overrides getHTML which was deprecated in MediaWiki 1.42.
  • Flow\Exception\FlowException overrides reportHTML which was deprecated in MediaWiki 1.42.
  • Flow\Exception\InvalidActionException overrides getPageTitle which was deprecated in MediaWiki 1.42.
  • Use of MWException::reportHTML was deprecated in MediaWiki 1.42. [Called from Flow\Exception\FlowException::reportHTML]

The request URL was https://www.mediawiki.org/wiki/Topic:Qtt5jtlz6wxo052b. While trying to reproduce this, I accidentally went to https://www.mediawiki.org/wiki/Topic:Qtt5jtlz6wxo052b%C2%BF (that’s a ¿ at the end) and, with reqId:fc0ee592-de26-43a4-9dc7-a4a61a7a6657, got a few additional deprecation warnings in logstash:

  • Flow\Exception\InvalidTopicUuidException overrides getHTML which was deprecated in MediaWiki 1.42.
  • Flow\Exception\InvalidTopicUuidException overrides getPageTitle which was deprecated in MediaWiki 1.42.

(They’re essentially the same warnings, but from a different exception class in Flow.)