Index: trunk/phase3/includes/Article.php |
— | — | @@ -2697,17 +2697,15 @@ |
2698 | 2698 | |
2699 | 2699 | $summary = ''; |
2700 | 2700 | |
2701 | | - #Blanking autosummaries |
2702 | | - if (!($flags & EDIT_NEW)) |
2703 | | - $summary = self::getBlankingAutosummary( $oldtext, $newtext ); |
| 2701 | + #Redirect autosummaries |
| 2702 | + $summary = self::getRedirectAutosummary( $newtext ); |
2704 | 2703 | |
2705 | 2704 | if ($summary) |
2706 | 2705 | return $summary; |
2707 | 2706 | |
2708 | | - #New redirect autosummaries. |
2709 | | - if ( $flags & EDIT_NEW ) { |
2710 | | - $summary = self::getRedirectAutosummary( $newtext ); |
2711 | | - } |
| 2707 | + #Blanking autosummaries |
| 2708 | + if (!($flags & EDIT_NEW)) |
| 2709 | + $summary = self::getBlankingAutosummary( $oldtext, $newtext ); |
2712 | 2710 | |
2713 | 2711 | if ($summary) |
2714 | 2712 | return $summary; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -213,6 +213,7 @@ |
214 | 214 | can be protected from autoblocking. These ranges are specified, in list format, |
215 | 215 | in the autoblock_whitelist system message. |
216 | 216 | * Added placeholders for text injection by hooks to EditPage.php |
| 217 | +* (bug 8009) Automatic edit summary for redirects is not filled for edits in existing pages |
217 | 218 | |
218 | 219 | == Languages updated == |
219 | 220 | |