Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

importTests.php File Reference

Go to the source code of this file.

Functions

 runTests ()
 passTest ($testname, $note="")
 failTest ($testname, $notes="")
 testTimestamp ()
 testRecode ()
 testFreeToNormal ()
 testTransformTitle ()
 testMediaLinks ()
 testRemoveTalkLink ()
 testSubPages ()

Variables

print This script is obsolete
print It is retained in the
source here in case some of
its code might be useful for
ad hoc conversion 
tasks
print It is retained in the
source here in case some of
its code might be useful for
ad hoc conversion but it is
not maintained and probably
won t even work as 
is
 $testingonly = true
 $wgRootDirectory = "./testconvert"


Function Documentation

failTest testname,
notes = ""
 

Definition at line 58 of file importTests.php.

Referenced by testFreeToNormal(), testMediaLinks(), testRecode(), testRemoveTalkLink(), testSubPages(), testTimestamp(), and testTransformTitle().

passTest testname,
note = ""
 

Definition at line 52 of file importTests.php.

Referenced by testFreeToNormal(), testMediaLinks(), testRecode(), testRemoveTalkLink(), testSubPages(), testTimestamp(), and testTransformTitle().

runTests  ) 
 

Definition at line 34 of file importTests.php.

References testFreeToNormal(), testMediaLinks(), testRecode(), testRemoveTalkLink(), testSubPages(), testTimestamp(), and testTransformTitle().

testFreeToNormal  ) 
 

Definition at line 94 of file importTests.php.

References failTest(), FreeToNormal(), and passTest().

Referenced by runTests().

testMediaLinks  ) 
 

Definition at line 137 of file importTests.php.

References failTest(), fetchMediaFile(), and passTest().

Referenced by runTests().

testRecode  ) 
 

Definition at line 79 of file importTests.php.

References failTest(), and passTest().

Referenced by runTests().

testRemoveTalkLink  ) 
 

Definition at line 170 of file importTests.php.

References $talkending, failTest(), passTest(), and removeTalkLink().

Referenced by runTests().

testSubPages  ) 
 

Definition at line 201 of file importTests.php.

References failTest(), and passTest().

Referenced by runTests().

testTimestamp  ) 
 

Definition at line 64 of file importTests.php.

References failTest(), passTest(), wfTimestamp2Unix(), and wfUnix2Timestamp().

Referenced by runTests().

testTransformTitle  ) 
 

Definition at line 114 of file importTests.php.

References $talkending, failTest(), passTest(), and transformTitle().

Referenced by runTests().


Variable Documentation

$testingonly = true
 

Definition at line 25 of file importTests.php.

$wgRootDirectory = "./testconvert"
 

Definition at line 31 of file importTests.php.

Referenced by fetchKeptPages(), fetchPage(), fetchUser(), firstPass(), and importPages().

print It is retained in the source here in case some of its code might be useful for ad hoc conversion but it is not maintained and probably won t even work as is
 

Definition at line 5 of file importTests.php.

print This script is obsolete
 

Definition at line 3 of file importTests.php.

print It is retained in the source here in case some of its code might be useful for ad hoc conversion tasks
 

Definition at line 5 of file importTests.php.


Generated on Tue Jun 29 23:40:08 2004 for Mediawiki by doxygen 1.3.7