Last modified: 2014-04-12 01:59:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59473, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57473 - MassMessage should support using a category as an input list
MassMessage should support using a category as an input list
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
MassMessage (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: wctaiwan
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-23 05:18 UTC by Kunal Mehta (Legoktm)
Modified: 2014-04-12 01:59 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-11-23 05:18:41 UTC
Allow users to input a Category and use all the pages in it as targets.

Ideally we should use the same input box as the existing one, so we might want to prevent users from using {{#target:}} in NS_CATEGORY since the form would ignore those.
Comment 1 MZMcBride 2013-11-25 06:25:51 UTC
I'm not sure what the user interface for this should look like.
Comment 2 Quim Gil 2013-12-03 18:19:54 UTC
(In reply to comment #1)
> I'm not sure what the user interface for this should look like.

Couldn't we use the same form at Special:MassMessage, only introducing e.g. 

Category:User_ru

at "Page containing list of pages to leave a message on:" ?

In this example, the message would be delivered to the talk pages of https://meta.wikimedia.org/wiki/Category:User_ru
Comment 3 MZMcBride 2013-12-03 22:54:22 UTC
(In reply to comment #2)
> Couldn't we use the same form at Special:MassMessage, only introducing e.g. 
> 
> Category:User_ru
> 
> at "Page containing list of pages to leave a message on:" ?

So this single text input would accept either a category name or an input page list title? That might work.
Comment 4 Quim Gil 2014-01-08 16:38:01 UTC
Just in case it helps, some examples of why this feature is useful:

* Posting to discussion pages of articles under a common category.

* Contacting users by language through Babel (e.g. [[w:Category:User es]]) and through userboxes (usually generating categories e.g. [[w:Category:Wikipedians interested in astronomy]]).

One question though is what to do with subcategories under the selected category. Discard them? Go just one level down? There is some risk of ending up spamming a lot more people than you initially expected.
Comment 5 Tilman Bayer 2014-01-08 19:08:24 UTC
(In reply to comment #4)
> Just in case it helps, some examples of why this feature is useful:
> 
> * Posting to discussion pages of articles under a common category.
> 
> * Contacting users by language through Babel (e.g. [[w:Category:User es]])
> and
> through userboxes (usually generating categories e.g.
> [[w:Category:Wikipedians
> interested in astronomy]]).
Thanks for these examples! The first one is especially interesting, although I'm wondering how MassMessage would know to use the associated talk pages instead of the articles in that category directly.

> 
> One question though is what to do with subcategories under the selected
> category. Discard them? Go just one level down? There is some risk of ending
> up
> spamming a lot more people than you initially expected.
True; perhaps bug 57472 ("MassMessage preview should output the number of recipients") will help with that.
Comment 6 MZMcBride 2014-01-09 16:13:10 UTC
(In reply to comment #5)
> (In reply to comment #4)
>> * Contacting users by language through Babel (e.g. [[w:Category:User es]])
>> [...]
> 
> Thanks for these examples! The first one is especially interesting, although
> I'm wondering how MassMessage would know to use the associated talk pages
> instead of the articles in that category directly.

MassMessage already changes "User:Foo" inputs to "User talk:Foo". That is, MassMessage will not post to a page in the User namespace due to $wgNamespacesToConvert being set (cf. [[mw:Extension:MassMessage]]).
Comment 7 Quim Gil 2014-01-09 16:19:31 UTC
The first example was 

> * Posting to discussion pages of articles under a common category.

What Tilman is askig is whether MassMessage would always post to discussion pages of articles within a category, never to the article itself.

For most cases MM always wants to past in the Talk pages, isn't it. The only exceptions I can think of are village pumps and the like, where the page itself is dedicated to discuss.
Comment 8 MZMcBride 2014-01-10 06:54:32 UTC
(In reply to comment #7)
> The first example was 
> 
>> * Posting to discussion pages of articles under a common category.
> 
> What Tilman is asking is whether MassMessage would always post to discussion
> pages of articles within a category, never to the article itself.

Oh, sorry about that.

Posting to article talk pages was never considered as part of the design or architecture of MassMessage. You'd have to play around with it or read the code to be sure, but I imagine it won't work well without a bit of additional coding. As I recall, if you try to post to the article namespace, it'll just get logged as a skip currently. On the other hand, I think talk pages are often categorized. You could simply use those categories instead.

> For most cases MM always wants to past in the Talk pages, isn't it. The only
> exceptions I can think of are village pumps and the like, where the page
> itself is dedicated to discuss.

There are other quirks. For example, Meta-Wiki actually has a few discussion boards in the main (article) namespace. But generally speaking talk pages are for talk, yes. :-)
Comment 9 Gerrit Notification Bot 2014-03-23 01:20:21 UTC
Change 120334 had a related patch set uploaded by Wctaiwan:
Add ability to deliver to all pages in a category

https://gerrit.wikimedia.org/r/120334
Comment 10 Gerrit Notification Bot 2014-04-12 01:58:00 UTC
Change 120334 merged by jenkins-bot:
Add ability to deliver to all pages in a category

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links