action=changecontentmodel to accompany the new Special:ChangeContentModel (rMWfa31bf1675af: Add Special:ChangeContentModel). We already allow people to change content model via action=edit, this would let them do it without re-sending the page text.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add a ContentModelChange helper, and an api module that uses it | mediawiki/core | master | +1 K -99 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Seems reasonable and uncontroversial to me, I'd review and merge a patch without asking for additional consensus. I don't know what the actual PMs might think.
Comment Actions
Thanks. I've written most of it, just trying to expand the tests to bit more (currently at 84% coverage)
Comment Actions
Change 563701 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Add an api module to edit the content model of a page
Comment Actions
@Anomie I've eliminated the duplication and added lots of tests. Can you take another look?
Comment Actions
Change 563701 merged by jenkins-bot:
[mediawiki/core@master] Add a ContentModelChange helper, and an api module that uses it