MediaWiki  REL1_19
ExtraParserTest Class Reference

Parser-related tests that don't suit for parserTests.txt. More...

Inheritance diagram for ExtraParserTest:
Collaboration diagram for ExtraParserTest:

List of all members.

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)

Detailed Description

Parser-related tests that don't suit for parserTests.txt.

Definition at line 6 of file ExtraParserTest.php.


Member Function Documentation

Definition at line 8 of file ExtraParserTest.php.

References $wgAlwaysUseTidy, $wgContLang, $wgLanguageCode, $wgMemc, $wgShowDBErrorBacktrace, and ParserOptions\setTemplateCallback().

Here is the call graph for this function:

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().

Here is the call graph for this function:

cleanSig() makes all templates substs and removes tildes

Definition at line 65 of file ExtraParserTest.php.

References $title, $wgCleanSignatures, and Title\newFromText().

Here is the call graph for this function:

cleanSig() should do nothing if disabled

Definition at line 81 of file ExtraParserTest.php.

References $title, $wgCleanSignatures, and Title\newFromText().

Here is the call graph for this function:

ExtraParserTest::testCleanSigInSig ( in,
out 
)

cleanSigInSig() just removes tildes provideStringsForCleanSigInSig

Definition at line 98 of file ExtraParserTest.php.

References $in, $out, and Parser\cleanSigInSig().

Here is the call graph for this function:

Templates and comments are not affected, but noinclude/onlyinclude is.

Definition at line 127 of file ExtraParserTest.php.

References $title, and Title\newFromText().

Here is the call graph for this function:

Definition at line 110 of file ExtraParserTest.php.

Definition at line 41 of file ExtraParserTest.php.

References $title, and Title\newFromText().

Here is the call graph for this function:

Definition at line 55 of file ExtraParserTest.php.

References $title, and Title\newFromText().

Here is the call graph for this function:

Definition at line 47 of file ExtraParserTest.php.

References $title, $wgUser, and Title\newFromText().

Here is the call graph for this function:

Database

Definition at line 147 of file ExtraParserTest.php.

References $result, $title, Title\makeTitleSafe(), Title\newFromText(), and wfMsgForContent().

Here is the call graph for this function:

Database

Definition at line 160 of file ExtraParserTest.php.

References $result, $title, and SpecialPage\getTitleFor().

Here is the call graph for this function:


The documentation for this class was generated from the following file: