MediaWiki
REL1_22
|
Database ^--- needed, because we do need the database to test link updates
Definition at line 9 of file WikitextContentTest.php.
static WikitextContentTest::dataEquals | ( | ) | [static] |
Reimplemented from TextContentTest.
Definition at line 381 of file WikitextContentTest.php.
static WikitextContentTest::dataGetDeletionUpdates | ( | ) | [static] |
Reimplemented from TextContentTest.
Definition at line 391 of file WikitextContentTest.php.
static WikitextContentTest::dataGetParserOutput | ( | ) | [static] |
Reimplemented from TextContentTest.
Definition at line 26 of file WikitextContentTest.php.
References array().
static WikitextContentTest::dataGetRedirectTarget | ( | ) | [static] |
Reimplemented from TextContentTest.
Definition at line 217 of file WikitextContentTest.php.
static WikitextContentTest::dataGetSecondaryDataUpdates | ( | ) | [static] |
Definition at line 38 of file WikitextContentTest.php.
References array().
static WikitextContentTest::dataGetSection | ( | ) | [static] |
Definition at line 100 of file WikitextContentTest.php.
static WikitextContentTest::dataGetTextForSummary | ( | ) | [static] |
Reimplemented from TextContentTest.
Definition at line 231 of file WikitextContentTest.php.
static WikitextContentTest::dataIsCountable | ( | ) | [static] |
Reimplemented from TextContentTest.
Definition at line 268 of file WikitextContentTest.php.
static WikitextContentTest::dataPreloadTransform | ( | ) | [static] |
Reimplemented from TextContentTest.
Definition at line 206 of file WikitextContentTest.php.
static WikitextContentTest::dataPreSaveTransform | ( | ) | [static] |
Reimplemented from TextContentTest.
Definition at line 191 of file WikitextContentTest.php.
static WikitextContentTest::dataReplaceSection | ( | ) | [static] |
Definition at line 135 of file WikitextContentTest.php.
WikitextContentTest::newContent | ( | $ | text | ) |
Reimplemented from TextContentTest.
Definition at line 22 of file WikitextContentTest.php.
WikitextContent::addSectionHeader
Definition at line 184 of file WikitextContentTest.php.
WikitextContent::getContentHandler
Reimplemented from TextContentTest.
Definition at line 375 of file WikitextContentTest.php.
Reimplemented from TextContentTest.
Definition at line 366 of file WikitextContentTest.php.
WikitextContentTest::testGetSecondaryDataUpdates | ( | $ | title, |
$ | model, | ||
$ | text, | ||
$ | expectedStuff | ||
) |
dataGetSecondaryDataUpdates Database WikitextContent::getSecondaryDataUpdates
Definition at line 69 of file WikitextContentTest.php.
References $title, $value, as, WikiPage\factory(), MediaWikiTestCase\getDefaultWikitextNS(), ContentHandler\makeContent(), and Title\newFromText().
WikitextContentTest::testGetSection | ( | $ | text, |
$ | sectionId, | ||
$ | expectedText | ||
) |
dataGetSection WikitextContent::getSection
Definition at line 122 of file WikitextContentTest.php.
WikitextContent::matchMagicWord
Definition at line 331 of file WikitextContentTest.php.
WikitextContentTest::testReplaceSection | ( | $ | text, |
$ | section, | ||
$ | with, | ||
$ | sectionTitle, | ||
$ | expected | ||
) |
dataReplaceSection WikitextContent::replaceSection
Definition at line 174 of file WikitextContentTest.php.
WikitextContent::updateRedirect
Definition at line 344 of file WikitextContentTest.php.
WikitextContentTest::$sections [static] |
"Intro == stuff == hello world == test == just a test == foo == more stuff "
Definition at line 10 of file WikitextContentTest.php.
Referenced by JavaScriptContentTest\dataGetSection(), and JavaScriptContentTest\dataReplaceSection().