Author: nsk
Description:
r42034 added the userWasLastToEdit function in trunk/phase3/includes/EditPage.php (revision 42034), with a hard-coded revisions limit of 20:
+ * Check if no edits were made by other users since
+ * the time a user started editing the page. Limit to
+ * 20 revisions for the sake of sanity.
+ */
+ protected function userWasLastToEdit( $id, $edittime ) {
[...]
+ array( 'ORDER BY' => 'rev_timestamp ASC', 'LIMIT' => 20 ) );
I would like that revisions limit, which is currently hard-coded to 20, to become customisable to better suit wikis with different edit cultures.
Version: 1.14.x
Severity: enhancement