dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d996d37
)
Document new param of Title::countRevisionsBetween
author
umherirrender
<umherirrender_de.wp@web.de>
Thu, 10 Apr 2014 17:58:34 +0000
(19:58 +0200)
committer
umherirrender
<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
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
34ebf3a
..
31e5868
100644
(file)
--- 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 ) {