I'm mark as deprecated:
- \WikiPage::$mPreparedEdit
- \WikiPage::clearPreparedEdit
- \Article::clearPreparedEdit
\MediaWiki\Edit\PreparedEdit also deprecated since 1.32 (2018-01-27)
It does not work or hasn't effect. I think we can remove that legacy code after deprecation
@tstarling says:
If you do this then you need to update Wikibase which uses this method. It seems to me that Wikibase was possibly broken by e8632ab0f6264851d2115a2e6338c2074b9a9b8c, i.e. the commit which caused clearPreparedEdit() to have no effect. Perhaps it was accidental that clearPreparedEdit() has no effect. Deprecating this method was not part of the referenced Phabricator task. I suggest splitting all changes to this file into a separate commit.