Legoktm has uploaded a new change for review.
https://gerrit.wikimedia.org/r/86999
Change subject: Add links for the user once the special page has been submitted
......................................................................
Add links for the user once the special page has been submitted
Bug: 54253
Change-Id: I7c84d50c27fefc8b09bfef3c1261f0b180574b53
---
M MassMessage.i18n.php
M SpecialMassMessage.php
2 files changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MassMessage
refs/changes/99/86999/1
diff --git a/MassMessage.i18n.php b/MassMessage.i18n.php
index 936b300..f75269b 100644
--- a/MassMessage.i18n.php
+++ b/MassMessage.i18n.php
@@ -45,6 +45,7 @@
'logentry-massmessage-skipnouser' => 'Delivery of "$4" to $3 was
skipped because user account does not exist',
'massmessage-cannot-rename' => 'This is a system account and cannot be
renamed.',
'massmessage-message-footer' => '',
+ 'massmessage-nextsteps' => 'You can now [[Special:MassMessage|send
another message]] or [[Special:Statistics|view how many messages are queued]].',
);
/** Message documentation (Message documentation)
@@ -116,6 +117,7 @@
* $4 - the subject line of the message',
'massmessage-cannot-rename' => 'Error message a user sees when they try
renaming the bot account.',
'massmessage-message-footer' => 'The footer that is by added at the end
of very message. It is left blank so individual wikis can customize it.',
+ 'massmessage-nextsteps' => 'Message after
{{mw-msg|massmessage-submitted}} on the special page once the form has been
submitted. ',
);
/** Bengali (বাংলা)
diff --git a/SpecialMassMessage.php b/SpecialMassMessage.php
index 5ab6732..53a30cb 100644
--- a/SpecialMassMessage.php
+++ b/SpecialMassMessage.php
@@ -72,6 +72,7 @@
if ( $this->state == 'submit' ) { // If it's preview,
everything is shown already.
$msg = $this->msg( 'massmessage-submitted'
)->params( $this->count )->plain();
$this->getOutput()->addWikiText( $msg );
+ $this->getOutput()->addWikiMsg(
'massmessage-nextsteps' );
}
} else {
$form->displayForm( $result );
--
To view, visit https://gerrit.wikimedia.org/r/86999
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c84d50c27fefc8b09bfef3c1261f0b180574b53
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MassMessage
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits