[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Page MenuHomePhabricator

Move webservice consumers to namespace and use service injection
Closed, ResolvedPublic4 Estimated Story Points

Description

These are present under the webservices folder.

Event Timeline

Nikerabbit set the point value for this task to 4.Mar 1 2022, 8:17 AM
Nikerabbit lowered the priority of this task from Medium to Low.Mar 1 2022, 9:39 AM

Change 770507 had a related patch set uploaded (by Wangombe; author: Wangombe):

[mediawiki/extensions/Translate@master] Move webservice consumers to namespace

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

T193166 | Convert Translate to PSR-4 has a patch 724782 with classes that depend on some of the work done for this task such as MachineTranslationAid.php, QueryAggregatorAwareTranslationAid.php, TranslationAidsActionApi.php & TTMServerAid.php . As a result, I think the build for this task will always fail without making necessary updates to the aforementioned classes. I have made updates to the classes but haven't committed the changes since I don't believe they are part of the scope for this task. Could you advise on the best way to approach this?

Change 771574 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] TranslationWebService: Use ObjectFactory and inject HttpServiceFactory

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

Change 770507 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Move webservice consumers to WebService namespace

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

abi_ added a subscriber: Wangombe.

I'm currently working on this.

Change 776675 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] Remove file comments from MediaWiki\Extension\Translate\WebService

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

Change 776718 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] Add type hints and strict types to web services under namespace

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

Change 776722 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] Add type hints and strict types for remaining WebServices

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

Change 778246 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] TranslationQueryResponse: Remove factory method and use constructor

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

Change 771574 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] TranslationWebService: Use ObjectFactory and inject HttpServiceFactory

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

Change 776675 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Remove file comments from MediaWiki\Extension\Translate\WebService

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

Change 776718 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Add type hints and strict types to MT webservices under namespace

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

Change 776722 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Add type hints and strict types for non MT webservice classes

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

Change 778246 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] TranslationQueryResponse: Remove factory method and use constructor

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

Change 778991 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] TranslationWebService: Actually return the service object

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

Change 778991 merged by Wangombe:

[mediawiki/extensions/Translate@master] TranslationWebService: Actually return the service object in factory

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

Change 779028 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] WebService: Further fixes for strict types

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

Change 779028 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] WebService: Further fixes for strict types

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

Tested on translatewiki.net