http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97239

Revision: 97239
Author:   nikerabbit
Date:     2011-09-16 06:15:44 +0000 (Fri, 16 Sep 2011)
Log Message:
-----------
* Fixed indentation
* Fixed assumption about message keys that was no longer true
* Ping r97207
* Clarified the part about null

Modified Paths:
--------------
    trunk/phase3/includes/revisiondelete/RevisionDeleter.php

Modified: trunk/phase3/includes/revisiondelete/RevisionDeleter.php
===================================================================
--- trunk/phase3/includes/revisiondelete/RevisionDeleter.php    2011-09-16 
06:13:57 UTC (rev 97238)
+++ trunk/phase3/includes/revisiondelete/RevisionDeleter.php    2011-09-16 
06:15:44 UTC (rev 97239)
@@ -29,14 +29,17 @@
 
        /**
         * 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.
         * @return An array as described above.


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to