Hello,
With the ContentHandler merge, WikiPage::doEdit() has been marked as
deprecated in favor of WikiPage::doEditContent(). I would like us to
reconsider that deprecation based on conciseness of our code.
Previously we could simply:
$page->doEdit( 'some text', 'summary' );
Now we will have to:
$page->doEditContent(
ContentHandler:makeContent( 'some text', $page->getTitle() ),
'summary'
);
Cant we keep the doEdit() shortcut or am I missing something?
--
Antoine "hashar" Musso
Hey,
Looking at the code I can't see any obvious reason to remove the shortcut.
However DanielK might :)
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--