Page MenuHomePhabricator

Hard deprecate Article::insertProtectNullRevision
Closed, ResolvedPublic

Description

Rather than making sure it callers pass a user parameter, it should just be deprecated entirely (see also T239975: Complete WikiPage/Article split and deprecate Page interface)
Then, once the wikipage function requires a user, we can just remove the article function
It has no known callers: https://codesearch.wmflabs.org/search/?q=-%3EinsertProtectNullRevision%5C(&i=nope&files=&repos=

Event Timeline

DannyS712 triaged this task as Medium priority.Feb 20 2020, 2:24 AM
DannyS712 created this task.
DannyS712 moved this task from Unsorted to Next on the User-DannyS712 board.
DannyS712 updated the task description. (Show Details)

Change 573425 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Hard deprecate Article::insertProtectNullRevision

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

Change 573425 merged by jenkins-bot:
[mediawiki/core@master] Hard deprecate Article::insertProtectNullRevision

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