mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-15 11:11:02 +00:00
Add a primary link to the notification
Bug: T163856 Change-Id: Ie8d51b4f0aecb857e8ab95ed15c4d776da7e495f
This commit is contained in:
parent
b8c7205781
commit
b0d0086a4c
|
@ -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() {
|
public function getPrimaryLink() {
|
||||||
return false;
|
return [
|
||||||
|
'url' => 'https://mediawiki.org/wiki/Help:Login_notifications'
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue