From: Rotem Liss Date: Sun, 4 Nov 2007 16:26:14 +0000 (+0000) Subject: Fixing comment - it is possible. X-Git-Tag: 1.31.0-rc.0~51013 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=aebb8997ab9c7ec1735cb86248e17d968d0a40ac;p=lhc%2Fweb%2Fwiklou.git Fixing comment - it is possible. --- diff --git a/includes/Article.php b/includes/Article.php index 660220b130..52a416658b 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1923,8 +1923,8 @@ class Article { $length = strlen( $text ); - # this should not happen, since it is not possible to store an empty, new - # page. Let's insert a standard text in case it does, though + # If the last revision is a blank revision (move, import or + # protection summary) and the one before it was blank if( $length == 0 && $reason === '' ) { $reason = wfMsgForContent( 'exblank' ); }