From a889ad1227c8cfd604f6d0c4fcdd389d6b37ec04 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Thu, 10 Apr 2014 19:58:34 +0200 Subject: [PATCH] Document new param of Title::countRevisionsBetween Follow-Up: Ie51a491ff5d22c2d84934e83d4b3f690c9dbd595 Change-Id: I61483f50512027559c4c3b63c49602b8aea755fd --- includes/Title.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Title.php b/includes/Title.php index 34ebf3a697..31e586835e 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -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 ) { -- 2.20.1