MediaWiki
REL1_19
|
Parser-related tests that don't suit for parserTests.txt. More...
Public Member Functions | |
provideStringsForCleanSigInSig () | |
setUp () | |
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 | statelessFetchTemplate ($title, $parser=false) |
Parser-related tests that don't suit for parserTests.txt.
Definition at line 6 of file ExtraParserTest.php.
Definition at line 102 of file ExtraParserTest.php.
Definition at line 8 of file ExtraParserTest.php.
References $wgAlwaysUseTidy, $wgContLang, $wgLanguageCode, $wgMemc, $wgShowDBErrorBacktrace, and ParserOptions\setTemplateCallback().
static ExtraParserTest::statelessFetchTemplate | ( | $ | title, |
$ | parser = false |
||
) | [static] |
Definition at line 134 of file ExtraParserTest.php.
References $title.
Definition at line 27 of file ExtraParserTest.php.
References $options, $t, $wgLang, $wgUser, Title\newFromText(), and ParserOptions\newFromUser().
cleanSig() makes all templates substs and removes tildes
Definition at line 65 of file ExtraParserTest.php.
References $title, $wgCleanSignatures, and Title\newFromText().
cleanSig() should do nothing if disabled
Definition at line 81 of file ExtraParserTest.php.
References $title, $wgCleanSignatures, and Title\newFromText().
ExtraParserTest::testCleanSigInSig | ( | $ | in, |
$ | out | ||
) |
cleanSigInSig() just removes tildes provideStringsForCleanSigInSig
Definition at line 98 of file ExtraParserTest.php.
References $in, $out, and Parser\cleanSigInSig().
Templates and comments are not affected, but noinclude/onlyinclude is.
Definition at line 127 of file ExtraParserTest.php.
References $title, and Title\newFromText().
Definition at line 110 of file ExtraParserTest.php.
Definition at line 41 of file ExtraParserTest.php.
References $title, and Title\newFromText().
Definition at line 55 of file ExtraParserTest.php.
References $title, and Title\newFromText().
Definition at line 47 of file ExtraParserTest.php.
References $title, $wgUser, and Title\newFromText().
Definition at line 118 of file ExtraParserTest.php.
Definition at line 147 of file ExtraParserTest.php.
References $result, $title, Title\makeTitleSafe(), Title\newFromText(), and wfMsgForContent().
Definition at line 160 of file ExtraParserTest.php.
References $result, $title, and SpecialPage\getTitleFor().