can be protected from autoblocking. These ranges are specified, in list format,
in the autoblock_whitelist system message.
* Added placeholders for text injection by hooks to EditPage.php
+* (bug 8009) Automatic edit summary for redirects is not filled for edits in existing pages
== Languages updated ==
$summary = '';
- #Blanking autosummaries
- if (!($flags & EDIT_NEW))
- $summary = self::getBlankingAutosummary( $oldtext, $newtext );
+ #Redirect autosummaries
+ $summary = self::getRedirectAutosummary( $newtext );
if ($summary)
return $summary;
- #New redirect autosummaries.
- if ( $flags & EDIT_NEW ) {
- $summary = self::getRedirectAutosummary( $newtext );
- }
+ #Blanking autosummaries
+ if (!($flags & EDIT_NEW))
+ $summary = self::getBlankingAutosummary( $oldtext, $newtext );
if ($summary)
return $summary;