(bug 9656) Generate autosummaries on the deletion of all pages, not just those <...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 22 Apr 2007 03:09:42 +0000 (03:09 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 22 Apr 2007 03:09:42 +0000 (03:09 +0000)
RELEASE-NOTES
includes/Article.php

index b29af22..9936dec 100644 (file)
@@ -120,6 +120,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Introduced media handlers for file-type specific operations. 
 * Improved error reporting for image thumbnailing
 * Added sharpening option for ImageMagick thumbnailing
+* (bug 9656) Autosummaries will be generated for deletion of pages longer than
+  500 characters
 
 
 == Bugfixes since 1.9 ==
index c48e2ed..86f9b55 100644 (file)
@@ -1865,7 +1865,7 @@ class Article {
                                $reason = wfMsgForContent( 'exblank' );
                        }
 
-                       if( $length < 500 && $reason === '' ) {
+                       if( $reason === '' ) {
                                # comment field=255, let's grep the first 150 to have some user
                                # space left
                                global $wgContLang;