Page MenuHomePhabricator

Defer all references to Special:Flow into UrlGenerator
Closed, ResolvedPublic

Description

UrlGenerator is now the go-to place to get links for a particular workflow. It has the smarts to link appropriatly to either Special:Flow or the article itself if we have occupied it. Anywhere that explicitly references Special:Flow should be ported to either UrlGenerator, or if that doesn't make any sense use the OccupationController


Version: unspecified
Severity: normal

Details

Reference
bz54936

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:38 AM
bzimport set Reference to bz54936.
bzimport added a subscriber: Unknown Object (MLST).

I suppose i missed a bit in the previous comment, what i mean is for example

Workflow::getTitle and Workflow::getArticleTitle, moving forward getArticleTitle should be deprecated and getTitle should return what getArticleTitle currently does. We can't just change one line though, someone needs to look through all places that either reference NS_SPECIAL, Special, or SpecialPage.

Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/295

Change 89612 had a related patch set uploaded by Werdna:
Fix bug 54936: Redirect most references to Special:Flow through UrlGenerator

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

Change 89612 merged by jenkins-bot:
Fix bug 54936: Redirect most references to Special:Flow through UrlGenerator.

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