Index: trunk/phase3/tests/phpunit/includes/search/SearchEngineTest.php |
— | — | @@ -79,7 +79,13 @@ |
80 | 80 | return $matches; |
81 | 81 | } |
82 | 82 | |
83 | | - // Modified version of WikiRevision::importOldRevision() |
| 83 | + /** |
| 84 | + * Insert a new page |
| 85 | + * |
| 86 | + * @param $pageName String: page name |
| 87 | + * @param $text String: page's content |
| 88 | + * @param $n Integer: unused |
| 89 | + */ |
84 | 90 | function insertPage( $pageName, $text, $ns ) { |
85 | 91 | $dbw = $this->db; |
86 | 92 | $title = Title::newFromText( $pageName ); |