X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2FWikiPage.php;h=f4ed70d67212d6039ba75bb2e84bf9f66df5ab2b;hb=a38bde74e124f6736202aab8b4842b4db4aa02ce;hp=9dc9c2c84808e94b4498f92bc42fdd88ee0ce3c4;hpb=e31e045931590d276d9dd59c83dc1550fe98175b;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WikiPage.php b/includes/WikiPage.php index 9dc9c2c848..f4ed70d672 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -2078,11 +2078,8 @@ class WikiPage extends Page implements IDBAccessObject { * Deletes the article with database consistency, writes logs, purges caches * * @param $reason string delete reason for deletion log - * @param $suppress int bitfield - * Revision::DELETED_TEXT - * Revision::DELETED_COMMENT - * Revision::DELETED_USER - * Revision::DELETED_RESTRICTED + * @param $suppress boolean suppress all revisions and log the deletion in + * the suppression log instead of the deletion log * @param $id int article ID * @param $commit boolean defaults to true, triggers transaction end * @param &$error Array of errors to append to @@ -2100,13 +2097,11 @@ class WikiPage extends Page implements IDBAccessObject { * Back-end article deletion * Deletes the article with database consistency, writes logs, purges caches * + * @since 1.19 + * * @param $reason string delete reason for deletion log - * @param $suppress int bitfield - * Revision::DELETED_TEXT - * Revision::DELETED_COMMENT - * Revision::DELETED_USER - * Revision::DELETED_RESTRICTED - * @param $id int article ID + * @param $suppress boolean suppress all revisions and log the deletion in + * the suppression log instead of the deletion log * @param $commit boolean defaults to true, triggers transaction end * @param &$error Array of errors to append to * @param $user User The deleting user