Page MenuHomePhabricator

extensions / CheckUser: replace uses of AbstractBlock ::getTargetAndType() and ::getTarget()
Closed, ResolvedPublic

Description

The new Block ::getTargetName() and ::getTargetUserIdentity() methods should be used instead of AbstractBlock ::getTargetAndType() and ::getTarget()

Event Timeline

Vlad.shapik triaged this task as Medium priority.
Vlad.shapik updated the task description. (Show Details)

This tasks title mentions CheckUser but it has the CentralAuth tag, which one is correct?

In T284024#7124653, @Majavah wrote:

This tasks title mentions CheckUser but it has the CentralAuth tag, which one is correct?

Sorry, it was misclick.

Change 697443 had a related patch set uploaded (by Vlad.shapik; author: Vlad.shapik):

[mediawiki/extensions/CheckUser@master] Replace uses of AbstractBlock ::getTargetAndType() and ::getTarget()

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

Change 697443 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Replace uses of AbstractBlock::getTarget()

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