mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-15 03:35:01 +00:00
20 lines
503 B
PHP
20 lines
503 B
PHP
|
<?php
|
||
|
|
||
|
class EchoEditThresholdPresentationModel extends EchoEventPresentationModel {
|
||
|
|
||
|
public function getIconType() {
|
||
|
return 'edit';
|
||
|
}
|
||
|
|
||
|
public function getHeaderMessageKey() {
|
||
|
return 'notification-header-thank-you-' . $this->event->getExtraParam( 'editCount' ) . '-edit';
|
||
|
}
|
||
|
|
||
|
public function getPrimaryLink() {
|
||
|
return array(
|
||
|
'url' => $this->event->getTitle()->getLocalURL(),
|
||
|
'label' => $this->msg( 'notification-link-thank-you-edit', $this->getViewingUserForGender() )->text()
|
||
|
);
|
||
|
}
|
||
|
}
|