Extension talk:MassMessage

About this board

RamzyM (WMF) (talkcontribs)

Hi @Legoktm and Wctaiwan: what is the maximum amount of MassMessages that can be sent at once?

Legoktm (talkcontribs)

It's been a while since I looked through the code, but I did just now and didn't immediately see a limit. There are some practical limits, if you want to send bigger deliveries there are better options depending on what you're doing though.

RamzyM (WMF) (talkcontribs)

Thanks a lot, Legoktm!

Reply to "Hard limit?"

Customizing the header of sent messages

1
Derek Jones Smr (talkcontribs)

Hello!

This is a very useful extension for me.

But I'm wondering if there is a way to add some sentences to the header of message, like "massmessage-message-footer" for its footer?

The ideal announcement message I want to send to my users should look something like this:

1. Several lines of custom announcement header

2.The first page of the article (the entire article is not needed, especially if it is large)

3.Footer with common phrases

Reply to "Customizing the header of sent messages"
RXerself (talkcontribs)

Does anyone know how to unsubscribe myself from a periodical message sent by this extension. I have removed my username from this list: id:Wikipedia:Gambar pilihan/Usulan/Pesan massal but I'm still receiving the messages for almost a month now. Thank you.

Quiddity (WMF) (talkcontribs)

You might have an incoming redirect from another/old username. I suggest checking for that. Let us know if that doesn't explain and solve it!

RXerself (talkcontribs)

Ah yes, I have deleted that now. Let's see when the next cycle of new message is sent whether I'll receive that or not. Thanks.

Reply to "Unsubscirbe"
Ian Rose (talkcontribs)

Hi, I've been using MassMessage for years to despatch ''The Bugle'', the monthly Military History WikiProject newsletter, and never had a problem before now. The last issue I despatched on 7 May was sent out a second time on 8 May. Is there a bug or is it possible I put the thing on 'repeat' (didn't know there was such a thing though)...?! Cheers, Ian Rose (talk) 13:12, 8 May 2023 (UTC)

Quiddity (WMF) (talkcontribs)

There is a long-standing occasional (unpredictable) bug (phab:T93049) that the devs have had difficulties diagnosing. However, it looks like there is a recent software patch drafted, and once that has been tested & reviewed & merged it might help prevent future occurrences.

I've been affected by this bug, too, so you have my deepest empathy. Thanks for reporting it here!

Reply to "Duplicate despatch?"

Error code of Ratelimit

1
Lotusccong (talkcontribs)

I send to a category that have 220 pages, Delivery of "Test message" to Test Page failed with an error code of ratelimited ?

Any idea how to resolved this issues ?

Second issue that I have the Mass message log show that message has been sent to a page but when I visited the page, it doesn't show any message ?

Reply to "Error code of Ratelimit"

regex to extract usernames from a free text member list

1
Jeremyb (talkcontribs)
< input.txt perl -lne 'while (/\[\[user([ _]talk)? *: *([^ \[\]\|]+)(\|[^ \[\]\|]+)?\]\]/gi) { print "user talk:$2"; }' | sort 
| uniq > output.txt
Reply to "regex to extract usernames from a free text member list"

Is there a way to unsend and resend?

3
Miniapolis (talkcontribs)

I sent out a WikiProject-wide newsletter before realizing that there were errors on the page that was sent. I corrected the errors on the page, but is there a way to rescind a MM and then resend it? Thanks for any help.

Legoktm (talkcontribs)

You can undo all the edits the delivery account made and resend it. Other than that, it's like sending an email - there's no practical way to unsend it.

Miniapolis (talkcontribs)

Thanks for your reply; I don't think this is fixable, although in my early mass-messaging days I seem to remember someone (I forget who) helping me out of an oopsie with some kind of mass-reversion tool. Cheers!

Reply to "Is there a way to unsend and resend?"
Maksim E. Otstavnov (talkcontribs)

What's wrong with the file?

$ cat test.txt

User:Test

$ php sitename/extensions/MassMessage/maintenance/sendMessages.php --pagelist test.txt --subject test.txt --message test.txt

test.txt is empty, must have some content.


MediaWiki 1.36.1, PHP 7.4.15 (cgi-fcgi), MySQL 5.7.28-log, ICU 60.2, Apache 2.4.29-1ubuntu4.16

Extensions: Echo – (1a15ef8), VisualEditor 0.1.2, MyVariables 3.5.1, NoTitle 0.4.0 (780dbb6), DynamicSidebar 1.1 (b2f3feb), Lockdown – (2409546), MassMessage0.4.0 (c9b6e87) 19:21, 22 July 2021

Maksim E. Otstavnov (talkcontribs)

Update:

$ ln -s test.txt test1.txt
$ ln -s test.txt test2.txt
$ php sitename/extensions/MassMessage/maintenance/sendMessages.php --pagelist test.txt --subject test1.txt --message test2.txt
test.txt is empty, must have some content.
Reply to "sendMessages.php"

Section of the page?

1
Maksim E. Otstavnov (talkcontribs)

After previewing the form with "Тест" in "Page to be sent as a message" I don't see any sections in "Section of the page" pulldown. The page contains the following:

==Section1==
Section1
==Section2==
Section2

MediaWiki 1.36.1, PHP 7.4.15 (cgi-fcgi), MySQL 5.7.28-log, ICU 60.2, Apache 2.4.29-1ubuntu4.16

Extensions: Echo – (1a15ef8), VisualEditor 0.1.2, MyVariables 3.5.1, NoTitle 0.4.0 (780dbb6), DynamicSidebar 1.1 (b2f3feb), Lockdown – (2409546), MassMessage0.4.0 (c9b6e87) 19:21, 22 July 2021

Reply to "Section of the page?"

I suggest adding Special:Log/massmessage to Interface section of the description

1
Maksim E. Otstavnov (talkcontribs)

I suggest adding [[Special:Log/massmessage]] to Interface section of the description.

Reply to "I suggest adding Special:Log/massmessage to Interface section of the description"