mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-15 11:11:02 +00:00
Merge "Add a primary link to the notification"
This commit is contained in:
commit
c2f5c8174e
|
@ -11,12 +11,14 @@ class LoginNotifyPresentationModel extends EchoEventPresentationModel {
|
|||
}
|
||||
|
||||
/**
|
||||
* Nothing really to link to
|
||||
* Link to help page on mediawiki
|
||||
*
|
||||
* @return boolean false to disable link
|
||||
* @return array url to link to
|
||||
*/
|
||||
public function getPrimaryLink() {
|
||||
return false;
|
||||
return [
|
||||
'url' => 'https://mediawiki.org/wiki/Help:Login_notifications'
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue