Page MenuHomePhabricator

ctype_digit(): Argument of type int will be interpreted as string in the future (via ApiBase::filterIDs)
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Visit api.php?action=query&list=blocks&bkids=-1

What happens?:

Message shown:

Deprecated: ctype_digit(): Argument of type int will be interpreted as string in the future in includes\api\ApiBase.php on line 1362

What should have happened instead?:

No message should be shown.

Event Timeline

Change 937545 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@master] ApiBase: Cast $id to string in filterIDs

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

Change 937545 merged by jenkins-bot:

[mediawiki/core@master] ApiBase: Cast $id to string in filterIDs

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

Change 937906 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_40] ApiBase: Cast $id to string in filterIDs

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

Change 937907 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_39] ApiBase: Cast $id to string in filterIDs

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

Change 937908 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_35] ApiBase: Cast $id to string in filterIDs

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

Change 937908 merged by jenkins-bot:

[mediawiki/core@REL1_35] ApiBase: Cast $id to string in filterIDs

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

Change 937907 merged by jenkins-bot:

[mediawiki/core@REL1_39] ApiBase: Cast $id to string in filterIDs

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

Change 937906 merged by jenkins-bot:

[mediawiki/core@REL1_40] ApiBase: Cast $id to string in filterIDs

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

Reedy claimed this task.