For MediaWiki (recent comments | status changes | tags | authors | states | release notes | statistics)
Index: trunk/phase3/includes/Article.php =================================================================== --- trunk/phase3/includes/Article.php (revision 34561) +++ trunk/phase3/includes/Article.php (revision 34562) @@ -3314,6 +3314,8 @@ * @return string An appropriate autosummary, or an empty string. */ public static function getAutosummary( $oldtext, $newtext, $flags ) { + global $wgUseAutomaticEditSummaries; + if ( !$wgUseAutomaticEditSummaries ) return ''; # This code is UGLY UGLY UGLY. # Somebody PLEASE come up with a more elegant way to do it. Index: trunk/phase3/includes/DefaultSettings.php =================================================================== --- trunk/phase3/includes/DefaultSettings.php (revision 34561) +++ trunk/phase3/includes/DefaultSettings.php (revision 34562) @@ -3202,3 +3202,11 @@ * if one is to be generated for all namespaces. */ $wgSitemapNamespaces = false; + + +/** + * If user doesn't specify any edit summary when making a an edit, + * MediaWiki will try to automatically create one. This feature can + * be disabled by setting this variable false. + */ +$wgUseAutomaticEditSummaries = true; \ No newline at end of file Index: trunk/phase3/RELEASE-NOTES =================================================================== --- trunk/phase3/RELEASE-NOTES (revision 34561) +++ trunk/phase3/RELEASE-NOTES (revision 34562) @@ -37,7 +37,7 @@ you to use a shared database with a different prefix. Or you can now use a local database and use prefixes to separate wiki and the shared tables. And the new $wgSharedTables variable allows you to specify a list of tables to share. - +* Automatic edit summaries can be turned of with $wgUseAutomaticEditSummaries === New features in 1.13 ===