Page MenuHomePhabricator

Convert PageApi to PageGateway pattern
Closed, ResolvedPublic

Description

We are converting our API classes to be gateways that don't extend the Api but rather interact with the API via an instance of mw.Api.
(Preliminary reading: http://martinfowler.com/eaaCatalog/gateway.html)
This class should be converted to a gateway

Event Timeline

Jdlrobson raised the priority of this task from to Low.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a project: MobileFrontend.
Jdlrobson moved this task to Backlog on the MobileFrontend board.
Jdlrobson subscribed.

Change 240143 had a related patch set uploaded (by Jdlrobson):
Hygiene: Convert PageApi to PageGateway

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

@jhobs: I've reviewed 240143 and tested it locally but since you said that you were going to review it at yesterday's standup I've only +1d it.

Change 240143 merged by jenkins-bot:
Hygiene: Convert PageApi to PageGateway

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

Signing off, the task is purely technical.

Tested the talk overlay and and wikitext editor on the Beta Cluster and they both LGTM.