Index: trunk/phase3/includes/Title.php |
— | — | @@ -3639,6 +3639,10 @@ |
3640 | 3640 | |
3641 | 3641 | $newpage->doEditUpdates( $nullRevision, $wgUser, array( 'changed' => false ) ); |
3642 | 3642 | |
| 3643 | + if ( !$moveOverRedirect ) { |
| 3644 | + WikiPage::onArticleCreate( $nt ); |
| 3645 | + } |
| 3646 | + |
3643 | 3647 | # Recreate the redirect, this time in the other direction. |
3644 | 3648 | if ( $redirectSuppressed ) { |
3645 | 3649 | WikiPage::onArticleDelete( $this ); |
Index: branches/REL1_19/phase3/includes/Title.php |
— | — | @@ -3639,6 +3639,10 @@ |
3640 | 3640 | |
3641 | 3641 | $newpage->doEditUpdates( $nullRevision, $wgUser, array( 'changed' => false ) ); |
3642 | 3642 | |
| 3643 | + if ( !$moveOverRedirect ) { |
| 3644 | + WikiPage::onArticleCreate( $nt ); |
| 3645 | + } |
| 3646 | + |
3643 | 3647 | # Recreate the redirect, this time in the other direction. |
3644 | 3648 | if ( $redirectSuppressed ) { |
3645 | 3649 | WikiPage::onArticleDelete( $this ); |