Extension talk:MassMessage

About this board

Duplicate despatch?

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

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

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?

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


$ 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)


$ 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?

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:


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

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" (talkcontribs)

Why this extension is useful? I didn't understand what I can do with it. If you installed it, please tell me the goal on your wiki, or an example of use.

Legoktm (talkcontribs)

It allows you to send a message to multiple users at the same time, potentially across a wikifarm. Wikimedia wikis use it for global message delivery, so newsletters and other messages can be sent to users' talk pages.

Reply to "Examples of use?"

Incoherent instructions - lists should be lists of users according to the extension description

Hoggle42 (talkcontribs)

Why are all the instructions talking about lists of pages when the extension description clearly says "The MassMessage extension allows a user to send a message to a list of users"?

How does sending a message to a page manifest itself? Are you tagging some extra content onto the page? How can a page respond to a message?

Is this a language/translation problem?

Can someone fill in this gaping hole in explaining what this extension actually does?

Whatamidoing (WMF) (talkcontribs)

The tool posts messages on a list of pages. Usually, those "pages" are specifically "user talk pages". However, they could be other kinds of pages, like Village pump pages or WikiProject pages.

Wctaiwan (talkcontribs)

I've changed the description to say pages instead of users.

Hoggle42 (talkcontribs)

ok, thank you - so it doesn't do what I thought it did and send out mass emails.

Tosfos (talkcontribs)
Reply to "Incoherent instructions - lists should be lists of users according to the extension description"

Unescaped language links - what to do?

Summary by Quiddity (WMF)

Filed as phab:T150225

Peteforsyth (talkcontribs)

I'm getting "Warning: There are unescaped language links in your message." This is for delivery of the Signpost, so it's a bunch of code -- I don't see links in wikitext. The only language code I see is this one:

<div lang="en" dir="ltr"

This help page does not explain what the problem is with wikitext (what to do if you get the error) -- but I think my problem is even deeper than that. Any ideas? -Pete F (talk) 16:59, 4 November 2016 (UTC)

Quiddity (WMF) (talkcontribs)
Peteforsyth (talkcontribs)

I'm using the manual process at that link. (Sorry for not including it, but good job finding it!) Our automated process has been broken for several months, I believe because our bot or templates were unable to handle some updates to MediaWiki.

Here's the code: <div lang="en" dir="ltr" class="mw-content-ltr"><div style="-moz-column-count:2; -webkit-column-count:2; column-count:2;"> {{Wikipedia:Wikipedia Signpost/2016-XX-XX}} </div><!--Volume 12, Issue XX--> <div class="hlist" style="margin-top:10px; font-size:90%; padding-left:5px; font-family:Georgia, Palatino, Palatino Linotype, Times, Times New Roman, serif;"> * '''[[Wikipedia:Wikipedia Signpost|Read this Signpost in full]]''' * [[Wikipedia:Wikipedia Signpost/Single/2016-xx-xx|Single-page]] * [[Wikipedia:Wikipedia Signpost/Subscribe|Unsubscribe]] * [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) ~~~~~ </div></div>

I did send it, and did not notice any problems. Here is an example of the output: https://en.wikipedia.org/w/index.php?title=User_talk:Peteforsyth&diff=747840030&oldid=747638885

Quiddity (WMF) (talkcontribs)

Does this mean you've resolved the issue? (I assume so, as my copy was delivered!)

If so, did you change/fix something in particular? (I.e. anything that should be noted in the Signpost publication docs, or, anything that should be noted in the MassMessage help docs)

Re: Signposts's automated system not working - Have you asked Jarry1250 for help? (he's the tool's maintainer, but I can't see any related questions about it in his talkpage archives or his recent (750) contributions.)

Peteforsyth (talkcontribs)

No, I have not resolved it -- I just took the chance that it would be OK, and I think I got away with something this time. But I suspect this will come up every time we publish going forward; I'd like to either (a) know for sure that it's not a problem, so I can put it in the docs that we can ignore it, or (b) fix the problem (obviously preferable!)

Thank you for pointing me to Jarry1250. I will certainly reach out to him, but not immediately; we have some personnel issues to resolve internally first, and I want to be sure we have the right technical skills "in house" at the Signpost first, before we go seeking advice or help that we might not be equipped to make use of. But regardless, very happy to know who to ask! -Pete F (talk) 22:53, 4 November 2016 (UTC)

Peteforsyth (talkcontribs)

Also -- apart from my specific issue -- I think the main page here could benefit from a little more detail on the "unescaped language links" item.

Peteforsyth (talkcontribs)

Quiddity (WMF), can you think of anywhere else I can ask? Should I create a Phabricator ticket, perhaps?

Quiddity (WMF) (talkcontribs)

Ah, the documentation explains the message at Help:Extension:MassMessage#Input_checking (note, the Help: page, not the extension page, although that talkpage redirects here).

However, I'm not sure what the problem was in your case... The pasted code doesn't contain any interwiki links misformatted as interlanguage links (unescaped language links), and I can't figure out how w:en:Wikipedia:Wikipedia Signpost/2016-11-04 would have caused any problems...

Oh... I wonder if it's due to the [[Wikipedia:...]] ? (which would work differently on other wikis, linking to Enwiki per Special:Interwiki, instead of the namespace itself, and hence potentially warrant triggering a warning like this).

I'll ask a dev, and if necessary file a task.

Quiddity (WMF) (talkcontribs)

My guess was incorrect, but there was a bug. It's been filed as phab:T150225. Just ignore the warning for now. Thanks for the nudge to look again. :-)

Legoktm (talkcontribs)
Reply to "Unescaped language links - what to do?"
Return to "MassMessage" page.