r13644 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r13643‎ | r13644 | r13645 >
Date:18:00, 14 April 2006
Author:robchurch
Status:old
Tags:
Comment:
Do onArticleCreate updates upon page import
Modified paths:
  • /trunk/phase3/maintenance/importTextFile.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/importTextFile.inc
@@ -35,7 +35,9 @@
3636 $dbw->immediateCommit();
3737 # Update recent changes if appropriate
3838 if( $rc )
39 - updateRecentChanges( $dbw, $title, $user, $comment, strlen( $text ), $articleId );
 39+ updateRecentChanges( $dbw, $title, $user, $comment, strlen( $text ), $articleId );
 40+ # Touch links etc.
 41+ Article::onArticleCreate( $title );
4042 return( true );
4143 } else {
4244 # Title exists; touch nothing

Status & tagging log