mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-14 11:16:16 +00:00
5031539327
Bug: T124003 Change-Id: I21c6570e178fd03d969a516bdb31a6da9735d242
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()
|
|
);
|
|
}
|
|
}
|