Awight has uploaded a new change for review. https://gerrit.wikimedia.org/r/237296
Change subject: Typo and whitespace ...................................................................... Typo and whitespace Change-Id: I43c4de6fa8cdea6c57c8ed10e432f07a30f16c6b --- M CentralNotice.php M resources/subscribing/ext.centralNotice.bannerHistoryLogger.js 2 files changed, 4 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CentralNotice refs/changes/96/237296/1 diff --git a/CentralNotice.php b/CentralNotice.php index eeb9e32..f7abdea 100644 --- a/CentralNotice.php +++ b/CentralNotice.php @@ -241,7 +241,7 @@ // See http://www.mediawiki.org/wiki/Extension:CentralNotice/Banner_mixins $wgCentralNoticeBannerMixins = array(); -// Available campaign mixins. Mixins must declare at lesat a module and an i18n +// Available campaign mixins. Mixins must declare at least a module and an i18n // key for their name. Allowed parameter types are 'string', 'integer', // 'float' and 'boolean'. diff --git a/resources/subscribing/ext.centralNotice.bannerHistoryLogger.js b/resources/subscribing/ext.centralNotice.bannerHistoryLogger.js index 868a19b..2a1b1df 100644 --- a/resources/subscribing/ext.centralNotice.bannerHistoryLogger.js +++ b/resources/subscribing/ext.centralNotice.bannerHistoryLogger.js @@ -17,7 +17,7 @@ EVENT_LOGGING_SCHEMA = 'CentralNoticeBannerHistory', // The maximum random shift applied to timestamps, for user privacy - TIMPESTAMP_RANDOM_SHIFT_MAX = 60; + TIMESTAMP_RANDOM_SHIFT_MAX = 60; /** * Load the banner history log from KV storage @@ -46,8 +46,8 @@ // linked to specific Web requests. This is to strengthen user // privacy. randomTimeShift = - Math.round( Math.random() * TIMPESTAMP_RANDOM_SHIFT_MAX ) - - ( TIMPESTAMP_RANDOM_SHIFT_MAX / 2 ), + Math.round( Math.random() * TIMESTAMP_RANDOM_SHIFT_MAX ) - + ( TIMESTAMP_RANDOM_SHIFT_MAX / 2 ), time = now + randomTimeShift, -- To view, visit https://gerrit.wikimedia.org/r/237296 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I43c4de6fa8cdea6c57c8ed10e432f07a30f16c6b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/CentralNotice Gerrit-Branch: master Gerrit-Owner: Awight <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
