Page MenuHomePhabricator

Add Discord extension to translatewiki.net
Closed, ResolvedPublic2 Estimated Story Points

Description

Project information

Name: Discord
Homepage: https://www.mediawiki.org/wiki/Extension:Discord
Project link: https://www.mediawiki.org/wiki/Extension:Discord
Code repository: https://github.com/jayktaylor/mw-discord

  • Source branch: master
  • Target branch: master

OS License: MIT
Issue Tracker: https://github.com/jayktaylor/mw-discord/issues
Project contact: jayden@weirdgloop.org

Logo:
N/A

Project description:
MediaWiki extension that sends messages to one or more Discord channels when specific hooks are fired.

NOTE: Section below will be filled by twn staff

Project setup checklist

Project configuration (for translation admins)

Namespace: NS_MEDIAWIKI
Prefix: mw-discord
Validators: Same as other mwgithub extensions
Support:
Optional messages:

  • discord-userlinks
  • discord-revisionlinks
  • discord-size
  • discord-blocktimeformat
  • discord-timestampformat

Concerns

Event Timeline

@JaydenKieran Can you give access to the Translatewiki bot: https://github.com/translatewiki to commit to the repository?

Change 923534 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[translatewiki@master] Add Discord extension

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

@abi_ Hey! Translatewiki should have a pending invitation for the repo at https://github.com/jayktaylor/mw-discord/invitations.

Thanks accepted.

abi_ changed the task status from Open to In Progress.May 26 2023, 9:09 AM
abi_ claimed this task.
abi_ updated the task description. (Show Details)

@abi_ Hey! Translatewiki should have a pending invitation for the repo at https://github.com/jayktaylor/mw-discord/invitations.

Thanks accepted.

Thanks - although weirdly, GitHub seems to indicate that this is not the case (and the invitation has disappeared). Let me know if you need me to send it again. Cheers!

@abi_ Hey! Translatewiki should have a pending invitation for the repo at https://github.com/jayktaylor/mw-discord/invitations.

Thanks accepted.

Thanks - although weirdly, GitHub seems to indicate that this is not the case (and the invitation has disappeared). Let me know if you need me to send it again. Cheers!

Hmm, you are right. The invitation seems to have disappeared. I'm not sure. Can you resend the invite again? Thanks.

Another request, can you update the documentation for messages like discord-blocktimeformat(https://github.com/jayktaylor/mw-discord/blob/master/i18n/en.json#L24) that use the PHP date time format, to link to the PHP documentation? That should make it easier for translators to understand what each character/symbol does.

Change 923534 merged by jenkins-bot:

[translatewiki@master] Add Discord extension

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

@abi_ Hey! Translatewiki should have a pending invitation for the repo at https://github.com/jayktaylor/mw-discord/invitations.

Thanks accepted.

Thanks - although weirdly, GitHub seems to indicate that this is not the case (and the invitation has disappeared). Let me know if you need me to send it again. Cheers!

Hmm, you are right. The invitation seems to have disappeared. I'm not sure. Can you resend the invite again? Thanks.

Another request, can you update the documentation for messages like discord-blocktimeformat(https://github.com/jayktaylor/mw-discord/blob/master/i18n/en.json#L24) that use the PHP date time format, to link to the PHP documentation? That should make it easier for translators to understand what each character/symbol does.

Invite re-sent. Hopefully GitHub plays ball this time.

And sure thing, I'll work on updating the documentation for those messages.

Project is now available for translation on translatewiki.net: https://translatewiki.net/wiki/Special:Translate?group=mwgithub-mw-discord

Thanks @JaydenKieran, I've now accepted the invite. Translations should from translatewiki.net should be exported to GitHub tomorrow.

For messages that have parameter documentation; eg: 1 . I recommend following the structure below:

Parameters:\n* $1 - target string\n* $2 - replacement string\n* $3 - number of pages

Some of the documentation messages are already following that structure

EDIT: Correction: Exports will happen on Thursday, so day after tomorrow.

Marking this as done.