r114932 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114931‎ | r114932 | r114933 >
Date:21:46, 16 April 2012
Author:kaldari
Status:ok
Tags:
Comment:
making infinite scrolling the default
Modified paths:
  • /trunk/extensions/PageTriage/PageTriage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PageTriage/PageTriage.php
@@ -50,7 +50,8 @@
5151
5252 // Begin configuration variables
5353 $wgPageTriagePagesPerRequest = 20; // Maximum number of articles for the API to retrieve at once
54 -$wgPageTriageInfiniteScrolling = false; // Whether or not to use infinite scrolling in the page list
 54+$wgPageTriageInfiniteScrolling = true; // Whether or not to use infinite scrolling in the page list
 55+$wgPageTriageMarkPatrolledLinkExpiry = 3600 * 24 * 30; // 30 days
5556 // End configuration variables
5657
5758 $dir = dirname( __FILE__ ) . '/';
@@ -103,8 +104,6 @@
104105 $wgHooks['BeforePageDisplay'][] = 'PageTriageHooks::beforePageDisplay';
105106 $wgHooks['BlockIpComplete'][] = 'PageTriageHooks::onBlockIpComplete';
106107
107 -$wgPageTriageMarkPatrolledLinkExpiry = 3600 * 24 * 30; // 30 days
108 -
109108 /**
110109 * @param $updater DatabaseUpdater
111110 * @return bool

Status & tagging log