From: Erik Moeller Date: Fri, 23 May 2003 04:26:51 +0000 (+0000) Subject: Deletion feature improved: X-Git-Tag: 1.1.0~531 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=8d13af81b7b87f95399dec327a18ba2006e08a85;p=lhc%2Fweb%2Fwiklou.git Deletion feature improved: If an article with less than 500 characters is to be deleted, at most the first 150 characters are automatically suggested as a deletion reason. This should automate the frequent practice of pasting the text of nonsense articles into the deletion reason. If an article with a history is to be deleted, a warning is inserted, linking to the article history (so as to avoid accidentally deleting a vandalized page with a valid history). If a blanked article with a history is to be deleted, and the next earlier revision contains less than 500 characters, at most the first 150 characters are automatically suggested as a deletion reason. Nonsense pages are often blanked, just checking the current revision for nonsense is not good enough. New texts in Language.php for this feature: - excontent, exblank, exbeforeblank, historywarning --- diff --git a/includes/Article.php b/includes/Article.php index 4896d84905..0a29aa7f08 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -540,7 +540,6 @@ class Article { $wgOut->addHTML( "
-