Page MenuHomePhabricator

Re-work editing and creation interface for collaboration kit to be based on EditPage
Closed, ResolvedPublic

Description

Instead of reimplementing show preview/diff/edit conflict/etc for editing collabkit, we should just subclass EditPage instead and get all that for free.

This will include hub creation. Consensus of the development team is that the creation logic should be handled in EditPage through ?action=edit&model=CollaborationHubContent, but should not be directly exposed in the UI. This is because making the EditPage UI accommodate multiple content models is a fundamental MediaWiki question we are not prepared to address at this time. So we will continue to use Special:CreateCollaborationHub for the creation form and have that feed into EditPage, which means we won't have to do as much wheel reinvention.

Related Objects

Event Timeline

Harej triaged this task as High priority.Jul 22 2016, 4:09 PM
Harej renamed this task from Re-work editing interface for collaboration kit to be based on EditPage to Re-work editing and creation interface for collaboration kit to be based on EditPage.Sep 8 2016, 7:42 PM
Harej updated the task description. (Show Details)

Change 316284 had a related patch set uploaded (by Harej):
Creating basic editing interface for CollaborationHubContent.

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

Change 316284 merged by jenkins-bot:
Creating basic editing interface for CollaborationHubContent.

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