Index: trunk/phase3/includes/revisiondelete/RevisionDeleter.php |
— | — | @@ -29,14 +29,17 @@ |
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Gets an array of message keys describing the changes made to the |
33 | | - * visibility of the revision. |
34 | | - * |
35 | | - * If the resulting array is $arr, then $arr[0] will contain an array of |
36 | | - * message keys describing the items that were hidden, $arr[1] will contain |
37 | | - * an array of message keys describing the items that were unhidden, and $arr[2] |
38 | | - * will contain an array with a single message key, which can be one of |
39 | | - * "revdelete-restricted", "revdelete-unrestricted", or null, indicating (un)suppression. |
| 33 | + * visibility of the revision. |
40 | 34 | * |
| 35 | + * If the resulting array is $arr, then $arr[0] will contain an array of |
| 36 | + * keys describing the items that were hidden, $arr[1] will contain |
| 37 | + * an array of keys describing the items that were unhidden, and $arr[2] |
| 38 | + * will contain an array with a single message key, which can be one of |
| 39 | + * "revdelete-restricted", "revdelete-unrestricted" indicating (un)suppression |
| 40 | + * or null to indicate nothing in particular. |
| 41 | + * You can turn the keys in 0 and 1 into message keys by appendin -hid and |
| 42 | + * and -unhid to they keys respectively. |
| 43 | + * |
41 | 44 | * @param $n Integer: the new bitfield. |
42 | 45 | * @param $o Integer: the old bitfield. |
43 | 46 | * @return An array as described above. |