Wow.
$page = WikiPage::factory( $title );
$page->doEditContent( ContentHandler::makeContent( $text, $title ),
$comment, 0, false, $user );
Thank you Addshore, and I say - close enough :P
--
Tony Thomas
https://mediawiki.org/wiki/User:01tonythomas
--
On Wed, Dec 27, 2017 at 1:59 PM,
Take a look at MediaWikitestCase::insertPage
https://phabricator.wikimedia.org/source/mediawiki/browse/master/tests/phpunit/MediaWikiTestCase.php;8eaee6fd06d9089ef90032530af9a9d25a52a1fc$997
On 26 December 2017 at 09:58, Tony Thomas <01tonytho...@gmail.com> wrote:
> Great. This would really
Hi all,
TL;DR: TechCom has published a new version of the RFC process, at <
https://www.mediawiki.org/wiki/Requests_for_comment/Process>.
For comparison, here is the last revision before recent changes: <
https://www.mediawiki.org/w/index.php?oldid=2089457>.
## Highlights
* Reduce complexity