MediaWiki
REL1_22
|
Parser-related tests that don't suit for parserTests.txt. More...
Public Member Functions | |
testBug8689 () | |
testCleanSig () | |
cleanSig() makes all templates substs and removes tildes | |
testCleanSigDisabled () | |
cleanSig() should do nothing if disabled | |
testCleanSigInSig ($in, $out) | |
cleanSigInSig() just removes tildes provideStringsForCleanSigInSig | |
testGetPreloadText () | |
Templates and comments are not affected, but noinclude/onlyinclude is. | |
testGetSection () | |
testParse () | |
testPreprocess () | |
testPreSaveTransform () | |
testReplaceSection () | |
testTrackingCategory () | |
Database | |
testTrackingCategorySpecial () | |
Database | |
Static Public Member Functions | |
static | provideStringsForCleanSigInSig () |
static | statelessFetchTemplate ($title, $parser=false) |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. |
Parser-related tests that don't suit for parserTests.txt.
Definition at line 6 of file ExtraParserTest.php.
static ExtraParserTest::provideStringsForCleanSigInSig | ( | ) | [static] |
Definition at line 92 of file ExtraParserTest.php.
References array().
ExtraParserTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 8 of file ExtraParserTest.php.
References array(), MagicWord\clearCache(), Language\factory(), ParserOptions\newFromUserAndLang(), options(), Parser, and MediaWikiTestCase\setMwGlobals().
static ExtraParserTest::statelessFetchTemplate | ( | $ | title, |
$ | parser = false |
||
) | [static] |
Definition at line 124 of file ExtraParserTest.php.
Definition at line 30 of file ExtraParserTest.php.
References $options, $t, $wgUser, global, Title\newFromText(), and ParserOptions\newFromUser().
cleanSig() makes all templates substs and removes tildes
Definition at line 65 of file ExtraParserTest.php.
References $title, and Title\newFromText().
cleanSig() should do nothing if disabled
Definition at line 75 of file ExtraParserTest.php.
References $title, Title\newFromText(), and MediaWikiTestCase\setMwGlobals().
ExtraParserTest::testCleanSigInSig | ( | $ | in, |
$ | out | ||
) |
cleanSigInSig() just removes tildes provideStringsForCleanSigInSig
Definition at line 88 of file ExtraParserTest.php.
References $in, $out, and Parser\cleanSigInSig().
Templates and comments are not affected, but noinclude/onlyinclude is.
Definition at line 117 of file ExtraParserTest.php.
References $title, Title\newFromText(), and options().
Definition at line 100 of file ExtraParserTest.php.
Definition at line 41 of file ExtraParserTest.php.
References $title, Title\newFromText(), and options().
Definition at line 55 of file ExtraParserTest.php.
References $title, Title\newFromText(), and options().
Definition at line 47 of file ExtraParserTest.php.
References $title, $wgUser, global, Title\newFromText(), and options().
Definition at line 108 of file ExtraParserTest.php.
Database
Definition at line 137 of file ExtraParserTest.php.
References $result, $title, array(), Title\makeTitleSafe(), Title\newFromText(), options(), and wfMessage().
Database
Definition at line 150 of file ExtraParserTest.php.
References $result, $title, SpecialPage\getTitleFor(), and options().