Page MenuHomePhabricator

ApiThreadAction extends ApiEditPage
Open, Needs TriagePublic

Description

The ApiThreadAction class in liquid threads extends the ApiEditPage class in core
The ApiEditPage class is not stable to extend
This led to T264200: ArgumentCountError on action=help&modules=threadaction when switching the ApiEditPage class to dependency injection

Recomendation:
Rewrite ApiThreadAction to avoid using ApiEditPage

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 631219 had a related patch set uploaded (by MusikAnimal; owner: MusikAnimal):
[mediawiki/extensions/LiquidThreads@master] ApiThreadAction: Fix conflict with DI of ApiEditPage

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

Change 631219 abandoned by MusikAnimal:
[mediawiki/extensions/LiquidThreads@master] ApiThreadAction: Fix conflict with DI of ApiEditPage

Reason:
Going the less hacky route for now https://gerrit.wikimedia.org/r/c/mediawiki/core/ /631222

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

Change 631219 restored by Ammarpad:
[mediawiki/extensions/LiquidThreads@master] ApiThreadAction: Fix conflict with DI of ApiEditPage

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

Change 631219 abandoned by Ammarpad:

[mediawiki/extensions/LiquidThreads@master] ApiThreadAction: Fix conflict with DI of ApiEditPage

Reason:

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