wiki.techinc.nl/includes/content
Kunal Mehta fa31bf1675 Add Special:ChangeContentModel
Special:ChangeContentModel allows for users with the 'editcontentmodel'
right to change the content model of a page.

Visiting Special:ChangeContentModel will contain an input field for a
page title. The user will then be sent to
Special:ChangeContentModel?pagetitle=<input> where the page title is
read only, with a content model selector and optional reason field.

The special page only allows converting between content models that
extend TextContent for simplicity. Advanced conversions should be done
via the API.

All content model changes via the special page or API generate a null
revision in the page history and a log entry at
Special:Log/contentmodel. The log entry has a revert link for
convenience (like the move log).

Bug: T72592
Co-Authored-By: Lewis Cawte <lewis@lewiscawte.me>
Change-Id: I296a67c09fcbc880c8c3a648eb5086580725ea46
2015-06-30 13:14:50 -07:00
..
AbstractContent.php Clean up oldid argument to Content::prepareSave() 2015-03-12 23:14:26 +00:00
CodeContentHandler.php Add lots of @throws 2014-12-24 13:49:20 +00:00
Content.php Clean up oldid argument to Content::prepareSave() 2015-03-12 23:14:26 +00:00
ContentHandler.php Add Special:ChangeContentModel 2015-06-30 13:14:50 -07:00
CssContent.php Fix subclassing of CssContent and JavaScriptContent 2014-09-13 15:31:18 -07:00
CssContentHandler.php CSS/JSON/JavaScript ContentHandler refactoring 2014-09-15 08:24:15 +00:00
JavaScriptContent.php Fix subclassing of CssContent and JavaScriptContent 2014-09-13 15:31:18 -07:00
JavaScriptContentHandler.php content: Minor clean up to make JsonContent match other classes 2014-12-02 00:38:01 +00:00
JsonContent.php JsonContent: Pass FormatJson::UTF8_OK when beautifying JSON 2015-03-16 21:53:33 +01:00
JsonContentHandler.php content: Minor clean up to make JsonContent match other classes 2014-12-02 00:38:01 +00:00
MessageContent.php CSS/JSON/JavaScript ContentHandler refactoring 2014-09-15 08:24:15 +00:00
TextContent.php Add lots of @throws 2014-12-24 13:49:20 +00:00
TextContentHandler.php Add supportsDirectEditing methods to ContentHandler 2015-04-17 15:55:20 +00:00
WikitextContent.php Remove unneeded empty lines at begin of if/else/foreach body 2015-06-19 20:05:45 +02:00
WikitextContentHandler.php Make it easier to subclass Content and ContentHandler subclasses 2014-08-16 23:04:08 -07:00