Page MenuHomePhabricator

MassMessage should support LiquidThreads
Closed, ResolvedPublic

Description

(Creating this as suggested on bug 52723 comment 2)

Ideally, it should create a new thread if the page uses LQT, instead of adding a new section to the header of the page.

https://pt.wikibooks.org/wiki/Thread:Wikilivros:Di%C3%A1logos_comunit%C3%A1rios/Convite_para_o_referendo_sobre_o_filtro_de_imagem

See also [[User talk:EdwardsBot/Archive 1#LQT compatibility]].


Version: master
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=33260
https://bugzilla.wikimedia.org/show_bug.cgi?id=41276

Details

Reference
bz52729

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:06 AM
bzimport added a project: MassMessage.
bzimport set Reference to bz52729.
He7d3r created this task.Aug 11 2013, 3:44 PM

This shouldn't be too difficult.

The API request will look like action=threadaction&threadaction=newthread&subject=blah&text=blah&token=token.

(In reply to comment #1)

This shouldn't be too difficult.

I haven't looked at the code closely, but the annoying part didn't seem to be forming the POST request, it seemed to be figuring out whether LiquidThreads was used on a particular talk page prior to submitting a job.

(In reply to comment #2)

(In reply to comment #1)

This shouldn't be too difficult.

I haven't looked at the code closely, but the annoying part didn't seem to be
forming the POST request, it seemed to be figuring out whether LiquidThreads
was used on a particular talk page prior to submitting a job.

( class_exists( 'LqtDispatch' ) && LqtDispatch::isLqtPage( $title ) )

Change 78781 had a related patch set uploaded by Legoktm:
If the page is using LiquidThreads, add a new thread

https://gerrit.wikimedia.org/r/78781

Change 78781 merged by jenkins-bot:
If the page is using LiquidThreads, add a new thread

https://gerrit.wikimedia.org/r/78781

Tested and merged.

(In reply to comment #1)

This shouldn't be too difficult.

This was not the case >.>

It is not working anymore:
https://pt.wikibooks.org/wiki/Special:Log/massmessage?uselang=en

When I tried to send a message to
https://pt.wikibooks.org/wiki/Wikilivros_Discuss%C3%A3o:Caixa_de_areia
by creating this list
https://pt.wikibooks.org/w/index.php?title=Wikilivros:Caixa_de_areia&oldid=273032
it showed
"Send mass message
Your message delivery to 1 page has been queued.
Send another message or view how many messages are queued."
but the message was not sent. There are now 6 queued mass messages on
https://pt.wikibooks.org/wiki/Special:Statistics?uselang=en

(In reply to Helder from comment #7)

In the future, please file a new bug instead of opening old ones. I re-filed this as bug 71081.