Return a typed object from WikiPage::prepareContentForEdit
authorKunal Mehta <legoktm@member.fsf.org>
Mon, 17 Jul 2017 21:44:53 +0000 (14:44 -0700)
committerTim Starling <tstarling@wikimedia.org>
Wed, 19 Jul 2017 06:24:39 +0000 (06:24 +0000)
commit85585c47ecbf21982e77d54e0e20fcfb9434c245
treefbb9f7bb8a1d9f4379f6c995c1e8b6029ed1a6e4
parente54511ae37c0b6a0a8ef8fe328cf0825f0e1ebfb
Return a typed object from WikiPage::prepareContentForEdit

This makes it easier to figure out what values are available and
includes documentation about each field.

This will also allow us to add deprecation warnings for deprecated
properties via __get() in the future.

Change-Id: I4ecc900372546013253256749563aaa203ff8963
autoload.php
includes/edit/PreparedEdit.php [new file with mode: 0644]
includes/page/WikiPage.php