Document new param of Title::countRevisionsBetween
authorumherirrender <umherirrender_de.wp@web.de>
Thu, 10 Apr 2014 17:58:34 +0000 (19:58 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Thu, 10 Apr 2014 17:58:34 +0000 (19:58 +0200)
Follow-Up: Ie51a491ff5d22c2d84934e83d4b3f690c9dbd595
Change-Id: I61483f50512027559c4c3b63c49602b8aea755fd

includes/Title.php

index 34ebf3a..31e5868 100644 (file)
@@ -4341,6 +4341,7 @@ class Title {
         *
         * @param int|Revision $old Old revision or rev ID (first before range)
         * @param int|Revision $new New revision or rev ID (first after range)
+        * @param int|null $max Limit of Revisions to count, will be incremented to detect truncations
         * @return Int Number of revisions between these revisions.
         */
        public function countRevisionsBetween( $old, $new, $max = null ) {