mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Remove the feedback link from the flyout - no longer needed
Change-Id: I0531fdd126c3030097b5485b1140c66fc6306ae0
This commit is contained in:
parent
7eb57c25bf
commit
e8df780d9a
3
Echo.php
3
Echo.php
|
@ -246,9 +246,6 @@ $wgEchoEnableEmailBatch = true;
|
|||
// URL for more information about the Echo notification system
|
||||
$wgEchoHelpPage = '//www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:Echo';
|
||||
|
||||
// URL for a feedback/survey page
|
||||
$wgEchoFeedbackPage = '//www.surveymonkey.com/s/notifications1';
|
||||
|
||||
// Whether to use job queue to process web and email notifications, bypass the queue for now
|
||||
// since it's taking more than an hour to run in mediawiki.org, this is not acceptable for the
|
||||
// purpose of testing notification.
|
||||
|
|
|
@ -622,13 +622,10 @@ class EchoHooks {
|
|||
}
|
||||
|
||||
if ( $user->isLoggedIn() && $user->getOption( 'echo-notify-show-link' ) ) {
|
||||
global $wgEchoFeedbackPage;
|
||||
// Load the module for the Notifications flyout
|
||||
$out->addModules( array( 'ext.echo.overlay' ) );
|
||||
// Load the styles for the Notifications badge
|
||||
$out->addModuleStyles( 'ext.echo.badge' );
|
||||
// Pass needed global vars to the client
|
||||
$out->addJsConfigVars( array( 'wgEchoFeedbackPage' => $wgEchoFeedbackPage ) );
|
||||
}
|
||||
if ( $wgEchoNewMsgAlert && $user->isLoggedIn() && $user->getOption( 'echo-show-alert' ) ) {
|
||||
$out->addModules( array( 'ext.echo.alert' ) );
|
||||
|
|
|
@ -12,7 +12,6 @@ class SpecialNotifications extends SpecialPage {
|
|||
}
|
||||
|
||||
public function execute( $par ) {
|
||||
global $wgEchoFeedbackPage;
|
||||
|
||||
$this->setHeaders();
|
||||
|
||||
|
@ -97,7 +96,6 @@ class SpecialNotifications extends SpecialPage {
|
|||
array(
|
||||
'wgEchoDisplayNum' => self::$displayNum,
|
||||
'wgEchoNextContinue' => $nextContinue,
|
||||
'wgEchoFeedbackPage' => $wgEchoFeedbackPage,
|
||||
'wgEchoDateHeader' => $dateHeader
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue