Page MenuHomePhabricator

Use TitleFormatter instead of direct access in SearchHandler
Open, Needs TriagePublic

Description

Context

This task came from a review to T250144.
As far as title is being under long deprecation process in favour of LinkTarget, the use of the following methods should be avoided:

$title->getPrefixedDBkey(),
$title->getPrefixedText(),

Expected Result

  • TitleFormatter should be injected with DI
  • $title->getPrefixedDBkey(), $title->getPrefixedText() should be replaced with relevant from TitleFormatter

Event Timeline

Aklapper removed a subscriber: Pchelolo.

Removing task assignee due to inactivity as this open task has been assigned for more than two years. See the email sent to the task assignee on August 22nd, 2022.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome!
If this task has been resolved in the meantime, or should not be worked on ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!