mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Notification: use speechBubbles icon for all talk pages
Bug: T56433 Change-Id: I14e1af9dda1c08e1526fde59072f93189ab0b0d0
This commit is contained in:
parent
6b36375ded
commit
860404eded
|
@ -415,10 +415,9 @@ abstract class EchoEventPresentationModel implements JsonSerializable {
|
|||
* @return array
|
||||
*/
|
||||
final protected function getPageLink( Title $title, $description, $prioritized, $query = array() ) {
|
||||
$ns = $title->getNamespace();
|
||||
if ( $ns === NS_USER_TALK ) {
|
||||
if ( $title->getNamespace() === NS_USER_TALK ) {
|
||||
$icon = 'userSpeechBubble';
|
||||
} elseif ( $ns === NS_TALK ) {
|
||||
} elseif ( $title->isTalkPage() ) {
|
||||
$icon = 'speechBubbles';
|
||||
} else {
|
||||
$icon = 'article';
|
||||
|
|
Loading…
Reference in a new issue