From: umherirrender Date: Thu, 10 Apr 2014 17:58:34 +0000 (+0200) Subject: Document new param of Title::countRevisionsBetween X-Git-Tag: 1.31.0-rc.0~16269^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=a889ad1227c8cfd604f6d0c4fcdd389d6b37ec04;p=lhc%2Fweb%2Fwiklou.git Document new param of Title::countRevisionsBetween Follow-Up: Ie51a491ff5d22c2d84934e83d4b3f690c9dbd595 Change-Id: I61483f50512027559c4c3b63c49602b8aea755fd --- 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 ) {