[MCR] Add and use $title param to RevisionStore getPrevious/Next
authoraddshore <addshorewiki@gmail.com>
Fri, 22 Dec 2017 14:25:12 +0000 (14:25 +0000)
committeraddshore <addshorewiki@gmail.com>
Fri, 22 Dec 2017 14:40:02 +0000 (14:40 +0000)
commita760526bb41df8a46f70b498a2059323a99a683c
tree99c1832bce01378ad1f94d22beeb3126499adf2d
parent7bfb4f195121008471974490ae24a86f2a450951
[MCR] Add and use $title param to RevisionStore getPrevious/Next

When the title is already known use it.

This is similar to the issue fixed in
I714ee391caac9bc56ce4c037967e424b44d9c2fe.

As of this patch all methods within RevisionStore
that call getTitle internally also have an option
to pass in an already known Title object.

Bug: T183548
Change-Id: Ieabca1cf157fb667c75fc907b9da2917f71c61b3
includes/Revision.php
includes/Storage/RevisionStore.php
includes/page/PageArchive.php