Page MenuHomePhabricator

Verify that actionOverrides callbacks work with Article as a parameter
Closed, ResolvedPublic

Description

Action::factory() removes Page support and will only support Article as a parameter, thus Article will now be passed into the action overrides callbacks. The documentation for the callbacks state that they should work with any Page instance, but we need to validate that it's the case first and check if converting deprecated WikiPage into Article in Action::factory wouldn't break the callbacks.

Check action overrides for Page parameter
https://codesearch.wmflabs.org/deployed/?q=function%20getActionOverrides&i=nope&files=%5C.php%24&repos=

Event Timeline

Pchelolo renamed this task from Action::factory() with Article to Verify that actionOverrides callbacks work with Article as a parameter.Apr 1 2020, 6:04 PM
Pchelolo updated the task description. (Show Details)
WDoranWMF set Due Date to Apr 9 2020, 4:00 AM.Apr 9 2020, 3:21 PM
mmodell changed the subtype of this task from "Task" to "Deadline".Apr 9 2020, 3:23 PM

Change 588517 had a related patch set uploaded (by Art-Baltai; owner: Art-Baltai):
[mediawiki/extensions/Flow@master] For Action::__construct() use Article instead of Page

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

Change 588521 had a related patch set uploaded (by Art-Baltai; owner: Art-Baltai):
[mediawiki/extensions/Wikibase@master] For Action::__construct use Article instead of Page

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

Change 588522 had a related patch set uploaded (by Art-Baltai; owner: Art-Baltai):
[mediawiki/extensions/WikibaseLexeme@master] For Action::__construct use Article instead of Page

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

Change 588527 had a related patch set uploaded (by Art-Baltai; owner: Art-Baltai):
[mediawiki/extensions/EntitySchema@master] For Action::__construct use Article instead of Page

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

Change 588534 had a related patch set uploaded (by Art-Baltai; owner: Art-Baltai):
[mediawiki/core@master] For Action::__construct use Article instead of Page

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

We can't merge developed patches until 1.36 version of MediaWiki core
Status: temporary blocked until 1.36

WDoranWMF changed the task status from Open to Stalled.May 21 2020, 1:34 PM
Aklapper changed the task status from Stalled to Open.Jul 23 2020, 8:21 PM

Resetting task status as we've branched for 1.36

Change 588527 abandoned by Umherirrender:

[mediawiki/extensions/EntitySchema@master] v1.36 For Action::__construct use Article instead of Page

Reason:

Superseeded by If16fc24343c43fa9e3e69a7724afa649bcea8bb0

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

Change 588517 abandoned by Umherirrender:

[mediawiki/extensions/Flow@master] v1.36 For Action::__construct() use Article instead of Page

Reason:

Was done as part of Iec3704522827f41e2a23656b9a5763416dc36047

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

Change 588522 abandoned by Umherirrender:

[mediawiki/extensions/WikibaseLexeme@master] v1.36 For Action::__construct use Article instead of Page

Reason:

Was done in Ie4da10da61d22e0fe93905ebe92db8fa7e505be5

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

Change 588521 abandoned by Umherirrender:

[mediawiki/extensions/Wikibase@master] v1.36 For Action::__construct use Article instead of Page

Reason:

Was done in I6f1d137e6e52e99d4e9ea6e504e19d356b33572e

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

Change 588534 abandoned by Umherirrender:

[mediawiki/core@master] v1.36 For Action::__construct use Article instead of Page

Reason:

Was done as part of I8188172aeb7ec775eeb2060a1e163112e9e5ed66

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

Umherirrender subscribed.

All work/replacement seems done