MediaWiki
master
|
Tests for MediaWiki api.php?action=edit. More...
Public Member Functions | |
setup () | |
teardown () | |
testEdit () | |
testEditAppend ($text, $op, $append, $expected) | |
provideEditAppend | |
testEditSection () | |
testNonTextEdit () | |
testUndo () | |
Static Public Member Functions | |
static | provideEditAppend () |
Tests for MediaWiki api.php?action=edit.
API Database
Definition at line 11 of file ApiEditPageTest.php.
static ApiEditPageTest::provideEditAppend | ( | ) | [static] |
Definition at line 123 of file ApiEditPageTest.php.
Definition at line 13 of file ApiEditPageTest.php.
References $wgContLang, cache, MWNamespace\getCanonicalNamespaces(), and global.
Definition at line 30 of file ApiEditPageTest.php.
References $wgContLang, cache, MWNamespace\getCanonicalNamespaces(), and global.
Definition at line 45 of file ApiEditPageTest.php.
References $name, array(), and ApiTestCase\doApiRequestWithToken().
ApiEditPageTest::testEditAppend | ( | $ | text, |
$ | op, | ||
$ | append, | ||
$ | expected | ||
) |
provideEditAppend
Definition at line 149 of file ApiEditPageTest.php.
References $count, $name, $page, array(), ApiTestCase\doApiRequestWithToken(), list, and Title\newFromText().
Definition at line 192 of file ApiEditPageTest.php.
Definition at line 96 of file ApiEditPageTest.php.
References $name, $page, array(), ApiTestCase\doApiRequestWithToken(), WikiPage\factory(), and Title\newFromText().
Definition at line 196 of file ApiEditPageTest.php.