r105452 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105451‎ | r105452 | r105453 >
Date:19:17, 7 December 2011
Author:krinkle
Status:ok
Tags:
Comment:
[HarvardResearch] Another tiny update
* Follows-up r105450
Modified paths:
  • /trunk/extensions/CentralNotice/CentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/CentralNotice.php
@@ -280,7 +280,7 @@
281281 } else {
282282 global $wgNoticeBanner_Harvard2011_salt, $wgContLang;
283283
284 - $launchTimestamp = wfTimestamp( TS_UNIX, '2011-12-06 00:00:00' );
 284+ $launchTimestamp = wfTimestamp( TS_UNIX, '2011-12-08 00:00:00' );
285285 $groups = $wgUser->getGroups();
286286 $registrationDate = $wgUser->getRegistration() ? $wgUser->getRegistration() : 0;
287287 $daysOld = floor( ( $launchTimestamp - wfTimestamp( TS_UNIX, $registrationDate ) ) / ( 60*60*24 ) );
@@ -323,7 +323,7 @@
324324
325325 if (
326326 in_array( 'sysop', $groups )
327 - || ( $postData['editcounts'] >= 300 && $postData['last6monthseditcount'] >= 20 )
 327+ || ( $postData['duration'] >= 180 && $postData['editcounts'] >= 300 && $postData['last6monthseditcount'] >= 20 )
328328 || ( $postData['duration'] < 30 )
329329 ) {
330330 $value = $postData;

Follow-up revisions

RevisionCommit summaryAuthorDate
r105588CentralNotice MFT r105239, 105241, r105267, r105450, r105452, r105453, r105586reedy20:57, 8 December 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r105450[HarvardResearch] Update output according new protocol and banner-javascript...krinkle19:05, 7 December 2011

Status & tagging log