Follow-up r87955: fix comment
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 13 May 2011 09:30:19 +0000 (09:30 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 13 May 2011 09:30:19 +0000 (09:30 +0000)
tests/phpunit/includes/search/SearchEngineTest.php

index 86ef3a9..4863df2 100644 (file)
@@ -79,7 +79,13 @@ class SearchEngineTest extends MediaWikiTestCase {
                return $matches;
        }
 
-       // Modified version of WikiRevision::importOldRevision()
+       /**
+        * Insert a new page
+        *
+        * @param $pageName String: page name
+        * @param $text String: page's content
+        * @param $n Integer: unused
+        */
        function insertPage( $pageName, $text, $ns ) {
                        $dbw = $this->db;
                        $title = Title::newFromText( $pageName );