r87956 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87955‎ | r87956 | r87957 >
Date:09:30, 13 May 2011
Author:ialex
Status:ok
Tags:
Comment:
Follow-up r87955: fix comment
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/search/SearchEngineTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/search/SearchEngineTest.php
@@ -79,7 +79,13 @@
8080 return $matches;
8181 }
8282
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+ */
8490 function insertPage( $pageName, $text, $ns ) {
8591 $dbw = $this->db;
8692 $title = Title::newFromText( $pageName );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r87955Use Article::doEdit(), much, much easierialex09:28, 13 May 2011

Status & tagging log