From 8817b53fe90dd564760518273ddf7e5789ce09e9 Mon Sep 17 00:00:00 2001 From: bsitu Date: Tue, 2 Jul 2013 10:37:31 -0700 Subject: [PATCH] Fix two typos + one js integer casting Change-Id: Ie5c4c39e94e5531dbfa48e8cde7b608967cec0c8 --- formatters/UserRightsFormatter.php | 2 +- modules/overlay/ext.echo.overlay.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/formatters/UserRightsFormatter.php b/formatters/UserRightsFormatter.php index 4c8dbb54b..ed707cd67 100644 --- a/formatters/UserRightsFormatter.php +++ b/formatters/UserRightsFormatter.php @@ -54,7 +54,7 @@ class EchoUserRightsFormatter extends EchoBasicFormatter { // Set up link parameters based on the destination (or pass to parent) switch ( $destination ) { case 'user-rights-list': - $target = SpeicalPage::getTitleFor( 'ListsGroupRights' ); + $target = SpecialPage::getTitleFor( 'ListGroupRights' ); break; default: return parent::getLinkParams( $event, $user, $destination ); diff --git a/modules/overlay/ext.echo.overlay.js b/modules/overlay/ext.echo.overlay.js index 83e8144fc..54d430675 100644 --- a/modules/overlay/ext.echo.overlay.js +++ b/modules/overlay/ext.echo.overlay.js @@ -86,7 +86,7 @@ $li.click( function() { if ( mw.echo.clickThroughEnabled ) { // Log the clickthrough - mw.echo.logInteraction( 'notification-link-click', 'flyout', data.id, data.type ); + mw.echo.logInteraction( 'notification-link-click', 'flyout', +data.id, data.type ); } window.location.href = $li.find( '.mw-echo-notification-primary-link' ).attr( 'href' ); } );