Page MenuHomePhabricator

Resurrect minimalist version of ArticleCreationWorkflow extension (to build on further)
Closed, ResolvedPublic8 Estimated Story Points

Description

The ArticleCreationWorkflow extension was abandoned 4 years ago. The code in it is bitrotted and unfinished and includes lots of obsolete pieces like interfaces to ClickTracking. Let's start with a clean slate and reboot the extension with just the following functionality:

  • If a user tries to create a main namespace page (e.g. "MyNewPage") through any route (clicking a redlink, going to the action=edit URL directly, etc.), and they don't have permission to create the page, redirect them to Special:ArticleCreation/MyNewPage instead (which should just be a placeholder page for now).
  • This functionality should depend on a global config variable that is false by default.

You may want to look at the old code in the commit history of the extension for ideas, but don't get hung-up on using any of it. It will probably be easier to mostly start from scratch.

Event Timeline

kaldari set the point value for this task to 8.
MaxSem edited projects, added: Community-Tech-Sprint; removed: Community-Tech.
MaxSem moved this task from Ready to In Development on the Community-Tech-Sprint board.

Change 365197 had a related patch set uploaded (by MaxSem; owner: MaxSem):
[mediawiki/extensions/ArticleCreationWorkflow@master] Resurrect this extension

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

Change 365198 had a related patch set uploaded (by MaxSem; owner: MaxSem):
[integration/config@master] Restore ArticleCreationWorkflow

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

Change 365282 had a related patch set uploaded (by MaxSem; owner: MaxSem):
[mediawiki/vagrant@master] Add a role for ArticleCreationWorkflow

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

Change 365282 merged by jenkins-bot:
[mediawiki/vagrant@master] Add a role for ArticleCreationWorkflow

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

I left a couple of tiny comments on the 365197 patch.

The repository is throwing an error about being archived:

fail-archived-repositories https://integration.wikimedia.org/ci/job/fail-archived-repositories/36/console : This repository has been archived and new patches are not being accepted. If you want to maintain it follow https://www.mediawiki.org/wiki/Gerrit/Project_ownership#Requesting_repository_ownership and then change which jobs get run. in 0s

Change 365198 merged by jenkins-bot:
[integration/config@master] Restore ArticleCreationWorkflow

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

kaldari moved this task from In Development to Q1 2018-19 on the Community-Tech-Sprint board.

Change 365197 merged by jenkins-bot:
[mediawiki/extensions/ArticleCreationWorkflow@master] Resurrect this extension

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