Extension talk:Newsletter

Is Newsletter stable enough to use on other WMF Production wikis?

Hello. Is this Newsletter extension stable enough to be installed/used on further wikis? Meta-Wiki, for example, handle lots of crosswiki newsletters through MassMessage, e.g. m:Tech/News, which may benefit from Newsletter instead of weekly MassMessages. Thanks, MarcoAurelio (talk) 11:02, 17 April 2023 (UTC)

Evidently the deployers think it isn't, but I see no good reason for that stance. * Pppery * it has begun 16:48, 26 April 2023 (UTC)
Hmm; I wonder what are those "blockers". This summer I might have some time to look at some bugs to prioritise. Is it the cross wiki posting a big blocker? I can see that a lot has been happening in https://www.mediawiki.org/wiki/Special:Newsletters?filter=all and would be nice to bring it to daylight. 01tonythomas (talk) 12:42, 20 July 2024 (UTC)

@Lea Lacroix (WMDE), for some reason - the previous thread got archived. Moving it here: https://www.mediawiki.org/w/index.php?title=Extension%20talk%3ANewsletter/Archive%201/Flow%20export#c-Lea_Lacroix_%28WMDE%29-20230524121900-Lea_Lacroix_%28WMDE%29-20220801085100

my reply to your latest question:

> Hej @Lea Lacroix (WMDE). Sorry, I thought I replied to this already. I can see two Phabricator tasks T174664 and T110645 on this direction and a very old Gerrit PR: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Newsletter/+/446832/

Hopefully, planning to work a bit more on this soon. But if someone can spend some time on it, that would be great as well. 01tonythomas (talk) 19:29, 30 May 2023 (UTC)

Error

In our local server testwiki.wiki a new user group was created abusefilter-admin and since the newsletter extension isn't working, can anyone help me out

[086256d6dbf7e6165d88aed2] /wiki/Newsletter:TestWiki_Admin_Newsletter MWContentSerializationException: The Newsletter content is invalid.

Backtrace:

from /var/www/html/extensions/Newsletter/includes/Content/NewsletterContentHandler.php(72)

  1. 0 /var/www/html/includes/Revision/RevisionStore.php(1237): MediaWiki\Extension\Newsletter\Content\NewsletterContentHandler->unserializeContent()
  2. 1 /var/www/html/includes/Revision/RevisionStore.php(1520): MediaWiki\Revision\RevisionStore->loadSlotContent()
  3. 2 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}()
  4. 3 /var/www/html/includes/Revision/SlotRecord.php(324): call_user_func()
  5. 4 /var/www/html/includes/Revision/RevisionRecord.php(183): MediaWiki\Revision\SlotRecord->getContent()
  6. 5 /var/www/html/includes/Revision/RenderedRevision.php(229): MediaWiki\Revision\RevisionRecord->getContentOrThrow()
  7. 6 /var/www/html/includes/Revision/RevisionRenderer.php(223): MediaWiki\Revision\RenderedRevision->getSlotParserOutput()
  8. 7 /var/www/html/includes/Revision/RevisionRenderer.php(164): MediaWiki\Revision\RevisionRenderer->combineSlotOutput()
  9. 8 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}()
  10. 9 /var/www/html/includes/Revision/RenderedRevision.php(199): call_user_func()
  11. 10 /var/www/html/includes/poolcounter/PoolWorkArticleView.php(84): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
  12. 11 /var/www/html/includes/poolcounter/PoolWorkArticleView.php(69): PoolWorkArticleView->renderRevision()
  13. 12 /var/www/html/includes/poolcounter/PoolCounterWork.php(167): PoolWorkArticleView->doWork()
  14. 13 /var/www/html/includes/page/ParserOutputAccess.php(304): PoolCounterWork->execute()
  15. 14 /var/www/html/includes/page/Article.php(746): MediaWiki\Page\ParserOutputAccess->getParserOutput()
  16. 15 /var/www/html/includes/page/Article.php(550): Article->generateContentOutput()
  17. 16 /var/www/html/includes/actions/ViewAction.php(78): Article->view()
  18. 17 /var/www/html/includes/MediaWiki.php(583): ViewAction->show()
  19. 18 /var/www/html/includes/MediaWiki.php(363): MediaWiki->performAction()
  20. 19 /var/www/html/includes/MediaWiki.php(960): MediaWiki->performRequest()
  21. 20 /var/www/html/includes/MediaWiki.php(613): MediaWiki->main()
  22. 21 /var/www/html/index.php(50): MediaWiki->run()
  23. 22 /var/www/html/index.php(46): wfIndexMain()
  24. 23 {main}

Theultrabot (talk) 12:40, 21 May 2024 (UTC)

Ignore the first set series of number ,it generated automatically Theultrabot (talk) 12:40, 21 May 2024 (UTC)
Sorry for the late reply, but are you still facing this issue, @Theultrabot? 01tonythomas (talk) 07:23, 23 July 2024 (UTC)

Non-existance of Special:ManageNewsletter

On the wiki I manage, the Special:ManageNewsletter page doesn't seem to exist. Has anyone else come across this kind of issue? 2406:3003:2005:2789:2C3C:C2FC:5A57:BD7D 23:30, 27 February 2025 (UTC)

The documentation was out of date. You now manage a newsletter by going to the wiki page for it and performing appropriate actions there. * Pppery * it has begun 00:20, 28 February 2025 (UTC)

Feature request

https://www.mediawiki.org/wiki/Extension_talk:Echo#Sending_notifications_to_group_and_then_updating_on_status

I am thinking of using the newsletter extension to deliver Echo messages to a group of users, for example, members of a wikiproject, about recent edits in their topic. I will try to test it out now. Gryllida 12:07, 9 May 2025 (UTC)

I think it is working mostly fine, but I need it to not drop section anchors from newsletter issue page title.
Then I can announce a particular talk page section to my subscribers.
Can this be configured or do I need to provide a patch? Gryllida 12:29, 9 May 2025 (UTC)
Hmm. A very good question. I think we had some discussion about it at one point. Cannot find it now, but it seems to be a very interesting proposal. Right now, we store only the page_idwhen creating a new issue, and hence this would require a bit of code changes. Ideally, it should be like:
- We should have an optional field storing the anchor link when creating a newsletter issue (if we find out at the backend that this is indeed an anchor link)
- We should then use that for announcing. 01tonythomas (talk) 12:02, 11 May 2025 (UTC)
Also, @Gryllida: Created a phabricated task here: https://phabricator.wikimedia.org/T393844 01tonythomas (talk) 12:06, 11 May 2025 (UTC)
Also: could you please add documentation of API? 2-3 relevant links to API Sandbox would do. Gryllida 12:46, 9 May 2025 (UTC)
@Tinaj1234 @01tonythomas Please see the two questions above. And I am curious why did you develop this? For what wiki? Thanks. Gryllida 21:18, 9 May 2025 (UTC)
The sections bug should probably be reported on Phabricator. * Pppery * it has begun 00:11, 10 May 2025 (UTC)