From c69761dc847deb492eac57a2d903e49053342ee1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Fri, 16 Sep 2011 06:15:44 +0000 Subject: [PATCH] * Fixed indentation * Fixed assumption about message keys that was no longer true * Ping r97207 * Clarified the part about null --- includes/revisiondelete/RevisionDeleter.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/includes/revisiondelete/RevisionDeleter.php b/includes/revisiondelete/RevisionDeleter.php index b6d3cb6966..ff62f7ebd8 100644 --- a/includes/revisiondelete/RevisionDeleter.php +++ b/includes/revisiondelete/RevisionDeleter.php @@ -29,13 +29,16 @@ class RevisionDeleter { /** * Gets an array of message keys describing the changes made to the - * visibility of the revision. - * - * If the resulting array is $arr, then $arr[0] will contain an array of - * message keys describing the items that were hidden, $arr[1] will contain - * an array of message keys describing the items that were unhidden, and $arr[2] - * will contain an array with a single message key, which can be one of - * "revdelete-restricted", "revdelete-unrestricted", or null, indicating (un)suppression. + * visibility of the revision. + * + * If the resulting array is $arr, then $arr[0] will contain an array of + * keys describing the items that were hidden, $arr[1] will contain + * an array of keys describing the items that were unhidden, and $arr[2] + * will contain an array with a single message key, which can be one of + * "revdelete-restricted", "revdelete-unrestricted" indicating (un)suppression + * or null to indicate nothing in particular. + * You can turn the keys in 0 and 1 into message keys by appendin -hid and + * and -unhid to they keys respectively. * * @param $n Integer: the new bitfield. * @param $o Integer: the old bitfield. -- 2.20.1