jenkins-bot has submitted this change and it was merged.
Change subject: Convert spaces to tabs
......................................................................
Convert spaces to tabs
Change-Id: I60823d1f3d442951713f8182dd0e5da35ad24b3a
---
M includes/Notifications/PageTriageAddDeletionTagPresentationModel.php
M includes/Notifications/PageTriageAddMaintenanceTagPresentationModel.php
M includes/Notifications/PageTriageMarkAsReviewedPresentationModel.php
3 files changed, 118 insertions(+), 118 deletions(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git
a/includes/Notifications/PageTriageAddDeletionTagPresentationModel.php
b/includes/Notifications/PageTriageAddDeletionTagPresentationModel.php
index cdba980..b40145b 100644
--- a/includes/Notifications/PageTriageAddDeletionTagPresentationModel.php
+++ b/includes/Notifications/PageTriageAddDeletionTagPresentationModel.php
@@ -1,56 +1,56 @@
<?php
class PageTriageAddDeletionTagPresentationModel extends
EchoEventPresentationModel {
- /**
- * {@inheritdoc}
- */
- public function canRender() {
- return $this->event->getTitle() instanceof Title;
- }
+ /**
+ * {@inheritdoc}
+ */
+ public function canRender() {
+ return $this->event->getTitle() instanceof Title;
+ }
- /**
- * {@inheritdoc}
- */
- public function getIconType() {
- return 'trash';
- }
+ /**
+ * {@inheritdoc}
+ */
+ public function getIconType() {
+ return 'trash';
+ }
- /**
- * {@inheritdoc}
- */
- public function getPrimaryLink() {
- return array(
- 'url' => $this->event->getTitle()->getFullURL(),
- 'label' => $this->msg( 'notification-link-text-view-page'
)->text(),
- );
- }
+ /**
+ * {@inheritdoc}
+ */
+ public function getPrimaryLink() {
+ return array(
+ 'url' => $this->event->getTitle()->getFullURL(),
+ 'label' => $this->msg(
'notification-link-text-view-page' )->text(),
+ );
+ }
- /**
- * {@inheritdoc}
- */
- public function getHeaderMessage() {
- $msg = parent::getHeaderMessage();
+ /**
+ * {@inheritdoc}
+ */
+ public function getHeaderMessage() {
+ $msg = parent::getHeaderMessage();
- // parent adds agent & gender, this adds title as 3rd param, tag list
as
- // 4th & amount of tags as 5th (for PLURAL)
- $msg->params( $this->event->getTitle() );
- $msg->params( $this->getTagsForOutput() );
+ // parent adds agent & gender, this adds title as 3rd param,
tag list as
+ // 4th & amount of tags as 5th (for PLURAL)
+ $msg->params( $this->event->getTitle() );
+ $msg->params( $this->getTagsForOutput() );
- return $msg;
- }
+ return $msg;
+ }
- /**
- * Returns an array of [tag list, amount of tags], to be used as msg
params.
- *
- * @return array [(string) tag list, (int) amount of tags]
- */
- protected function getTagsForOutput() {
- $eventData = $this->event->getExtra();
+ /**
+ * Returns an array of [tag list, amount of tags], to be used as msg
params.
+ *
+ * @return array [(string) tag list, (int) amount of tags]
+ */
+ protected function getTagsForOutput() {
+ $eventData = $this->event->getExtra();
- if ( !is_array( $eventData ) ) {
- return array( '', 0 );
- }
+ if ( !is_array( $eventData ) ) {
+ return array( '', 0 );
+ }
- return array( $this->language->listToText( $eventData ), count(
$eventData ) );
- }
+ return array( $this->language->listToText( $eventData ), count(
$eventData ) );
+ }
}
diff --git
a/includes/Notifications/PageTriageAddMaintenanceTagPresentationModel.php
b/includes/Notifications/PageTriageAddMaintenanceTagPresentationModel.php
index f75951a..1a47095 100644
--- a/includes/Notifications/PageTriageAddMaintenanceTagPresentationModel.php
+++ b/includes/Notifications/PageTriageAddMaintenanceTagPresentationModel.php
@@ -1,56 +1,56 @@
<?php
class PageTriageAddMaintenanceTagPresentationModel extends
EchoEventPresentationModel {
- /**
- * {@inheritdoc}
- */
- public function canRender() {
- return $this->event->getTitle() instanceof Title;
- }
+ /**
+ * {@inheritdoc}
+ */
+ public function canRender() {
+ return $this->event->getTitle() instanceof Title;
+ }
- /**
- * {@inheritdoc}
- */
- public function getIconType() {
- return 'checkmark';
- }
+ /**
+ * {@inheritdoc}
+ */
+ public function getIconType() {
+ return 'checkmark';
+ }
- /**
- * {@inheritdoc}
- */
- public function getPrimaryLink() {
- return array(
- 'url' => $this->event->getTitle()->getFullURL(),
- 'label' => $this->msg( 'notification-link-text-view-page'
)->text(),
- );
- }
+ /**
+ * {@inheritdoc}
+ */
+ public function getPrimaryLink() {
+ return array(
+ 'url' => $this->event->getTitle()->getFullURL(),
+ 'label' => $this->msg(
'notification-link-text-view-page' )->text(),
+ );
+ }
- /**
- * {@inheritdoc}
- */
- public function getHeaderMessage() {
- $msg = parent::getHeaderMessage();
+ /**
+ * {@inheritdoc}
+ */
+ public function getHeaderMessage() {
+ $msg = parent::getHeaderMessage();
- // parent adds agent & gender, this adds title as 3rd param, tag list
as
- // 4th & amount of tags as 5th (for PLURAL)
- $msg->params( $this->event->getTitle() );
- $msg->params( $this->getTagsForOutput() );
+ // parent adds agent & gender, this adds title as 3rd param,
tag list as
+ // 4th & amount of tags as 5th (for PLURAL)
+ $msg->params( $this->event->getTitle() );
+ $msg->params( $this->getTagsForOutput() );
- return $msg;
- }
+ return $msg;
+ }
- /**
- * Returns an array of [tag list, amount of tags], to be used as msg
params.
- *
- * @return array [(string) tag list, (int) amount of tags]
- */
- protected function getTagsForOutput() {
- $eventData = $this->event->getExtra();
+ /**
+ * Returns an array of [tag list, amount of tags], to be used as msg
params.
+ *
+ * @return array [(string) tag list, (int) amount of tags]
+ */
+ protected function getTagsForOutput() {
+ $eventData = $this->event->getExtra();
- if ( !is_array( $eventData ) ) {
- return array( '', 0 );
- }
+ if ( !is_array( $eventData ) ) {
+ return array( '', 0 );
+ }
- return array( $this->language->listToText( $eventData ), count(
$eventData ) );
- }
+ return array( $this->language->listToText( $eventData ), count(
$eventData ) );
+ }
}
diff --git
a/includes/Notifications/PageTriageMarkAsReviewedPresentationModel.php
b/includes/Notifications/PageTriageMarkAsReviewedPresentationModel.php
index 723ddb4..3dc36d7 100644
--- a/includes/Notifications/PageTriageMarkAsReviewedPresentationModel.php
+++ b/includes/Notifications/PageTriageMarkAsReviewedPresentationModel.php
@@ -1,39 +1,39 @@
<?php
class PageTriageMarkAsReviewedPresentationModel extends
EchoEventPresentationModel {
- /**
- * {@inheritdoc}
- */
- public function canRender() {
- return $this->event->getTitle() instanceof Title;
- }
+ /**
+ * {@inheritdoc}
+ */
+ public function canRender() {
+ return $this->event->getTitle() instanceof Title;
+ }
- /**
- * {@inheritdoc}
- */
- public function getIconType() {
- return 'checkmark';
- }
+ /**
+ * {@inheritdoc}
+ */
+ public function getIconType() {
+ return 'checkmark';
+ }
- /**
- * {@inheritdoc}
- */
- public function getPrimaryLink() {
- return array(
- 'url' => $this->event->getTitle()->getFullURL(),
- 'label' => $this->msg( 'notification-link-text-view-page'
)->text(),
- );
- }
+ /**
+ * {@inheritdoc}
+ */
+ public function getPrimaryLink() {
+ return array(
+ 'url' => $this->event->getTitle()->getFullURL(),
+ 'label' => $this->msg(
'notification-link-text-view-page' )->text(),
+ );
+ }
- /**
- * {@inheritdoc}
- */
- public function getHeaderMessage() {
- $msg = parent::getHeaderMessage();
+ /**
+ * {@inheritdoc}
+ */
+ public function getHeaderMessage() {
+ $msg = parent::getHeaderMessage();
- // parent adds agent & gender, this adds title as 3rd param
- $msg->params( $this->event->getTitle() );
+ // parent adds agent & gender, this adds title as 3rd param
+ $msg->params( $this->event->getTitle() );
- return $msg;
- }
+ return $msg;
+ }
}
--
To view, visit https://gerrit.wikimedia.org/r/259539
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I60823d1f3d442951713f8182dd0e5da35ad24b3a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/PageTriage
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Matthias Mullie <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits