Index: trunk/phase3/includes/Article.php |
— | — | @@ -383,6 +383,9 @@ |
384 | 384 | global $wgOut, $wgUser, $wgTitle, $wgLinkCache; |
385 | 385 | global $wgDBtransactions; |
386 | 386 | $fname = "Article::updateArticle"; |
| 387 | + |
| 388 | + $this->loadLastEdit(); |
| 389 | + |
387 | 390 | // insert updated section into old text if we have only edited part |
388 | 391 | // of the article |
389 | 392 | if ($section != "") { |
— | — | @@ -405,7 +408,6 @@ |
406 | 409 | $text = $m[1] . "\n"; # Remove all content but redirect |
407 | 410 | } |
408 | 411 | else { $redir = 0; } |
409 | | - $this->loadLastEdit(); |
410 | 412 | |
411 | 413 | $text = $this->preSaveTransform( $text ); |
412 | 414 | |